-
-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
36 lines (34 loc) · 1.29 KB
/
pnpm-workspace.yaml
File metadata and controls
36 lines (34 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cleanupUnusedCatalogs: true
linkWorkspacePackages: true
preferWorkspacePackages: true
packages:
- examples/**/*
- packages/*
# Explicit allowlist of packages whose install scripts may run. pnpm 11
# refuses to run any postinstall by default; declaring them here is the
# secure-by-default way to acknowledge them. Keep this list minimal:
# only packages that are strictly required for the production build.
#
# Allowed (strictly required):
# - esbuild: vite/tsup pull the platform binary in its postinstall
# - nx: build orchestrator; postinstall sets up native bindings
#
# Denied (not required for `pnpm run build` / `pnpm run test:ci`):
# - @parcel/watcher: only used for `nx watch`, not for builds
# - lmdb / msgpackr-extract: nx cache optimization (JS fallback works)
# - protobufjs: postinstall is a perf-only optimization
# - sharp: not used by any package in this repo's build
# - unrs-resolver: native fast-path resolver (JS fallback works)
# - vue-demi: postinstall is a no-op outside Vue 2/3 projects
# - workerd: only used by the bundling-repro example (excluded from build)
allowBuilds:
'@parcel/watcher': false
esbuild: true
lmdb: false
msgpackr-extract: false
nx: true
protobufjs: false
sharp: false
unrs-resolver: false
vue-demi: false
workerd: false