Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ onlyBuiltDependencies:
- '@tailwindcss/oxide'
- '@parcel/watcher'
- '@biomejs/biome'
- oxc-parser
- '@oxc-parser/binding-linux-x64-gnu'
Comment on lines 7 to +11

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Allow non-Linux oxc bindings to run install scripts

Adding only oxc-parser and the Linux @oxc-parser/binding-linux-x64-gnu to onlyBuiltDependencies means pnpm will still skip lifecycle scripts for the darwin and win32 binding packages. Those bindings execute postinstall steps to unpack the native binary; if their scripts are blocked, pnpm install on macOS or Windows will produce an unusable oxc-parser and downstream pnpm build will fail when the native module cannot be loaded. Include the other platform-specific bindings or remove the whitelist so that installs on non-Linux hosts continue to work.

Useful? React with 👍 / 👎.


# 余計なプラットフォーム用の optional を入れない(任意)
supportedArchitectures:
os:
- win32
cpu:
- x64
# あるいは、明確に要らないものを無視(任意・例)
# 余計なプラットフォーム用の optional を入れない
# supportedArchitectures:
# os:
# - win32
# - linux
# cpu:
# - x64
# libc:
# - glibc
# あるいは、明確に要らないものを無視(例)
# ignoredOptionalDependencies:
# - '@tailwindcss/oxide-android-arm64'