Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

pnpm-workspace.yaml

40 lines1.4 KB

1cleanupUnusedCatalogs: true
2linkWorkspacePackages: true
3preferWorkspacePackages: true
4blockExoticSubdeps: true
5trustPolicy: 'no-downgrade'
6​
7packages:
8 - examples/**/*
9 - packages/*
10 - e2e/apps/*
11 - e2e/helpers
12​
13# Explicit allowlist of packages whose install scripts may run. pnpm 11
14# refuses to run any postinstall by default; declaring them here is the
15# secure-by-default way to acknowledge them. Keep this list minimal:
16# only packages that are strictly required for the production build.
18# Allowed (strictly required):
19# - esbuild: vite/tsup pull the platform binary in its postinstall
20# - nx: build orchestrator; postinstall sets up native bindings
22# Denied (not required for `pnpm run build` / `pnpm run test:ci`):
23# - @parcel/watcher: only used for `nx watch`, not for builds
24# - lmdb / msgpackr-extract: nx cache optimization (JS fallback works)
25# - protobufjs: postinstall is a perf-only optimization
26# - sharp: not used by any package in this repo's build
27# - unrs-resolver: native fast-path resolver (JS fallback works)
28# - vue-demi: postinstall is a no-op outside Vue 2/3 projects
29# - workerd: only used by the bundling-repro example (excluded from build)
30allowBuilds:
31 '@parcel/watcher': false
32 esbuild: true
33 lmdb: false
34 msgpackr-extract: false
35 nx: true
36 protobufjs: false
37 sharp: false
38 unrs-resolver: false
39 vue-demi: false
40 workerd: false