Files
sammykumar-ComfyUI-SwissArm…/web/package.json
Sam Kumar 72754c0dd8 ✨ (cache busting): implement comprehensive cache busting solution for JavaScript files to ensure users see the latest updates and improve development workflow
🐛 (init.py): add version extraction from pyproject.toml for cache busting and update __all__ exports

📝 (cache_bust.sh): create cache busting script to automate version syncing and generate cache_info.json

📝 (CACHE_BUSTING_SUMMARY.md): add detailed documentation on cache busting implementation and usage scenarios

📝 (JAVASCRIPT_CACHE_BUSTING.md): provide a guide on JavaScript cache busting strategies and troubleshooting steps

🔧 (.gitignore): exclude cache_info.json to prevent committing cache metadata files

♻️ (swiss-army-knife.js): update JavaScript file to include version tracking and cache busting utilities for development

⬆️ (pyproject.toml): bump version from 1.4.0 to 1.4.1 to reflect new features and improvements

✅ (package.json): add npm script for cache busting to streamline development process
2025-09-26 06:47:03 -05:00

27 lines
914 B
JSON

{
"name": "comfyui-swissarmyknife-web",
"version": "1.0.0",
"description": "Web extension for ComfyUI-SwissArmyKnife - JavaScript widgets for ComfyUI",
"scripts": {
"dev": "echo 'JavaScript widgets - no build step required. Files are in js/ and css/ directories.'",
"build": "echo 'JavaScript widgets - no build step required. Files are loaded directly by ComfyUI.'",
"lint": "eslint js/**/*.js",
"lint:fix": "eslint js/**/*.js --fix",
"format": "prettier --write js/**/*.js css/**/*.css",
"cache-bust": "../scripts/cache_bust.sh",
"test": "cd tests && npm test"
},
"devDependencies": {
"eslint": "^9.0.0",
"prettier": "^3.0.0"
},
"keywords": [
"comfyui",
"widgets",
"javascript",
"extension"
],
"author": "Sam Kumar <sam@skproductions.llc>",
"license": "GPL-3.0"
}