-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpnpm-policy.yaml
More file actions
41 lines (33 loc) · 1.67 KB
/
Copy pathpnpm-policy.yaml
File metadata and controls
41 lines (33 loc) · 1.67 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
# Supply-chain policy for this workspace. The pnpm settings it produces live in
# pnpm-workspace.yaml under the `Managed by pnpm-policy` marker — edit this file,
# then run `pnpm run policy`. `pnpm run policy:check` fails CI when they drift.
# Third-party releases wait two days. A compromised release is normally reported
# and yanked within hours, so the short wait catches it without stalling upgrades.
minimumReleaseAge: 2d
# Transitive dependencies must resolve from the registry, not from git or a URL.
blockExoticSubdeps: true
# The npm accounts WE publish under. Everything they publish skips the wait, so
# this lists accounts we control — nobody else's.
maintainers:
- pyramation
# Scopes we own outright, emitted as `@scope/*` globs so they also cover packages
# published there tomorrow.
scopes:
- "@constructive-io"
- "@constructive-db"
- "@launchql"
- "@pgpm"
- "@pgpmjs"
- "@pgsql"
# Resolved from the pinned data package rather than regenerated per repo.
inventory: "@constructive-io/pnpm-policy/inventory.json"
# Only emit the first-party names this lockfile actually resolves, instead of all
# ~1100 we publish.
intersect: true
# Dependencies allowed to run install scripts. The value is the reason.
allowBuilds:
"@launchql/protobufjs": postinstall runs scripts/postinstall to select/bundle the protobuf runtime for this platform; the package is inert without it.
nx: postinstall runs bin/post-install to fetch the platform-specific nx native binary (@nx/nx-<platform>) the CLI needs to execute.
# Third-party escape hatches. A reason is required; `until` expires the waiver so
# `check` makes you re-justify it instead of letting it live forever.
exceptions: []