mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 05:02:07 +00:00
Fix: Change prepublish to prepublishOnly to prevent build failing on npm install
The prepublish hook was running during npm install, before optional platform-specific dependencies were installed. This caused build failures on Linux for packages like @typescript/native-preview-linux-x64 and @parcel/watcher-linux-x64-glibc. prepublishOnly only runs before npm publish, not during install. Fixes #41
This commit is contained in:
parent
11aa39c5e4
commit
3655ce74f1
2 changed files with 2593 additions and 332 deletions
2919
package-lock.json
generated
2919
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -16,9 +16,9 @@
|
|||
"version:minor": "npm version minor -ws --no-git-tag-version && node scripts/sync-versions.js",
|
||||
"version:major": "npm version major -ws --no-git-tag-version && node scripts/sync-versions.js",
|
||||
"version:set": "npm version -ws",
|
||||
"prepublish": "npm run clean && npm run build && npm run check",
|
||||
"publish": "npm run prepublish && npm publish -ws --access public",
|
||||
"publish:dry": "npm run prepublish && npm publish -ws --access public --dry-run",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm run check",
|
||||
"publish": "npm run prepublishOnly && npm publish -ws --access public",
|
||||
"publish:dry": "npm run prepublishOnly && npm publish -ws --access public --dry-run",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue