Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Allow build scripts for native dependencies
only-built-dependencies[]=sharp
only-built-dependencies[]=unrs-resolver
# Build script allowances for native dependencies live in pnpm-workspace.yaml
# (allowBuilds) β€” the old `only-built-dependencies` key is no longer honored by
# current pnpm versions.
5 changes: 5 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Allow native build scripts for dependencies with ignored builds (pnpm v10+).
# This replaces the old `onlyBuiltDependencies` setting.
allowBuilds:
sharp: true
unrs-resolver: true
Loading