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:
2919
package-lock.json
generated
2919
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user