Repository navigation
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
39 lines (39 loc) · 1.81 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
39 lines (39 loc) · 1.81 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
blockExoticSubdeps: true
# Block updates where the new version looks less trustworthy than older ones
# (for example, published without proof of origin). This can signal a hacked package.
trustPolicy: no-downgrade
# Skip the trust check above for 5 old packages that were released before
# their authors started signing (so they fail the check even though they
# are safe). Listed by exact version; new releases are still fully checked.
# trustPolicyExcludePrune drops entries the lockfile no longer resolves.
trustPolicyExclude:
- semver@5.7.2
- semver@6.3.1
trustPolicyExcludePrune: true
# Fail the install if a package wants to run a setup script we have not
# reviewed yet. Approved and blocked scripts are listed under allowBuilds.
# (This is already pnpm's default; written here so the rule is visible.)
strictDepBuilds: true
# Lock universal-analytics to 0.5.3. Version 0.5.4 needs uuid v14, which only
# works as ESM and crashes firebase-tools. 0.5.3 uses uuid v8 and works.
overrides:
universal-analytics: 0.5.4
allowBuilds:
# Needed at runtime, no backup plan if skipped. Keep allowed.
# farmhash: used directly by firebase-admin.
farmhash: true
# Not needed, safe to block.
# re2: only used by the firebase dev server, which works fine without it.
re2: false
# Only add extra newrelic stats. The app works fine without them.
'@newrelic/native-metrics': false
# Function-level profiling helper for newrelic. Optional telemetry only.
'@newrelic/fn-inspect': false
'@contrast/fn-inspect': false
# Only prints a warning message. Nothing breaks without it.
protobufjs: false
# Only needed on very old node versions. We run node 22, so it does nothing.
spawn-sync: false
# Only matters on Firebase App Hosting. We don't deploy there,
# and the app already handles it being skipped.
'@firebase/util': false