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:
Mario Zechner 2025-11-20 17:47:52 +01:00
parent 11aa39c5e4
commit 3655ce74f1
2 changed files with 2593 additions and 332 deletions

2919
package-lock.json generated

File diff suppressed because it is too large Load diff