feat(npm): add postuninstall script

- add scripts/postuninstall.js for npm uninstall cleanup

- register in package.json scripts.postuninstall

- runs ccs --uninstall on npm uninstall -g
This commit is contained in:
kaitranntt committed 2026-01-25 20:05:43 -05:00
1 parent c44a5c221f
commit 4f28de9c90
2 files changed
+61

No files matched your search

+1
View File
@@ -51,6 +51,7 @@
"preferGlobal": true,
"scripts": {
"preinstall": "node scripts/preinstall.js",
"postuninstall": "node scripts/postuninstall.js",
"build": "tsc && node scripts/add-shebang.js",
"build:watch": "tsc --watch",
"build:server": "tsc && node scripts/add-shebang.js",