fix: update prepare script to skip lib check

- Replace shx with standard chmod command
- Add --skipLibCheck flag to resolve type dependencies issue
- Ensure smooth npm publish process
This commit is contained in:
kevinwatt
2025-07-28 04:46:20 +08:00
parent 5aecaa3b20
commit fa879ab9ab

View File

@@ -26,7 +26,7 @@
],
"main": "./lib/index.mjs",
"scripts": {
"prepare": "tsc && shx chmod +x ./lib/index.mjs",
"prepare": "tsc --skipLibCheck && chmod +x ./lib/index.mjs",
"test": "PYTHONPATH= PYTHONHOME= node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit"
},
"author": "Dewei Yen <k@funmula.com>",