-
Notifications
You must be signed in to change notification settings - Fork 15.7k
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
49 lines (44 loc) · 2.09 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
49 lines (44 loc) · 2.09 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
# Minimum age (in minutes) a package version must be published before pnpm will install it.
# 1440 minutes = 24 hours. Reduces risk from newly-published compromised packages.
minimumReleaseAge: 1440
# First-party package published as part of the Nimbus migration; exempt from the
# age guard so freshly-cut versions install without a 24h wait.
minimumReleaseAgeExclude:
- nimbus-docs
# First-party Cloudflare packages, published frequently. The docs site bumps
# Wrangler often to regenerate the autogenerated command reference, so exempt
# it (and its miniflare dependency) from the 24h wait.
- wrangler
- miniflare
- workerd
- "@cloudflare/workers-types"
# @astrojs/mdx's @astrojs/markdown-satteri peer is optional and only engages when
# markdown.processor is Sätteri (the Nimbus target, via nimbus-docs's pinned mdx
# 6.0.1 + markdown-satteri 0.2.1). nimbus-docs pulls 0.2.1 into the tree, and pnpm
# satisfies every mdx's optional peer from it — including Starlight's mdx 6.0.3,
# which prefers 0.3.0 but never loads the Sätteri bridge (verified inert). The
# wiring is identical with or without this rule; it only silences the cosmetic
# version-mismatch warning. Pulling markdown-satteri 0.3.x instead would drag in
# an unused satteri 0.9 major, so accept 0.2.1 for the peer everywhere.
peerDependencyRules:
allowedVersions:
"@astrojs/mdx>@astrojs/markdown-satteri": "0.2.1"
# Prevent transitive dependencies from using exotic sources (git repos, direct tarball URLs).
# Only direct dependencies may use exotic sources.
blockExoticSubdeps: true
# Explicit allowlist of packages permitted to run install scripts.
# These are well-known packages that require build scripts to download platform-specific binaries.
allowBuilds:
esbuild: true
sharp: true
tldjs: true
workerd: true
# Transitive deps of @flue/runtime and agents — native binaries not needed by this repo
"@google/genai": false
"@mongodb-js/zstd": false
core-js-pure: false
node-liblzma: false
protobufjs: false
# Always save dependencies as exact versions and to devDependencies by default.
saveExact: true
saveDev: true