Repository navigation
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
50 lines (48 loc) · 2.06 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
50 lines (48 loc) · 2.06 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
cleanupUnusedCatalogs: true
linkWorkspacePackages: true
preferWorkspacePackages: true
blockExoticSubdeps: true
trustPolicy: 'no-downgrade'
trustPolicyExclude:
- 'chokidar@4.0.3' # transitive dependency of svelte-check; latest v4 with v5 available
- 'undici-types@6.21.0' # transitive dependency of @types/node 22; types only (same exclusion as TanStack/ai)
- 'semver@5.7.2 || 6.3.1' # transitive dependencies of Babel, already in the lockfile
- 'rxjs@7.8.2' # already in the lockfile; an earlier-published 8.0 alpha had provenance
- 'solid-js@1.9.17' # Solid 1 for examples on the published adapters; released after a provenance-signed 2.0 RC
packages:
- examples/**/*
- packages/*
- e2e/apps/*
- e2e/helpers
# SolidStart 1 example; it stays on the published Solid 1 adapter.
- '!examples/solid/start'
# 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`):
# - @google/genai: preinstall only echoes "no-op" (start-repro example)
# - @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:
'@google/genai': false
'@parcel/watcher': false
esbuild: true
lmdb: false
msgpackr-extract: false
nx: true
protobufjs: false
sharp: false
unrs-resolver: false
vue-demi: false
workerd: false