-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
31 lines (29 loc) · 1.45 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
31 lines (29 loc) · 1.45 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
# pnpm 11's supply-chain policy defaults to a 24-hour minimumReleaseAge,
# which blocks legitimate routine dep bumps when CI runs within a day of
# an upstream patch release (e.g. cloudflare/wrangler, cloudflare/miniflare).
# 60 minutes still prevents publish-and-pivot attacks but unblocks normal flow.
minimumReleaseAge: 60
# pnpm 11 blocks all package build scripts by default. The allowBuilds
# map below is security-sensitive — true = postinstall runs; false = skipped.
# Warning: pnpm auto-manages this block. Edits made while pnpm install is
# running may be clobbered. If you see an autogenerated duplicate allowBuilds
# block, remove the duplicate and keep THIS one as source of truth.
# - better-sqlite3: native SQLite binding used by @nuxt/content
# - esbuild: Vite/Nuxt bundler, verifies prebuilt binary matches platform
# - sharp: image processing for @nuxt/fonts OG image generation
# - unrs-resolver: Nuxt 4 module resolver, rust-native platform-specific
# - workerd: Cloudflare Workers runtime used by wrangler
# - @parcel/watcher: falls back to polling; safe to skip native build
# - vue-demi: alias/symlink script; not required at runtime
# Force the entire workspace onto Vite 8 even though @nuxt/vite-builder
# (Nuxt 4.4.6) declares a "vite": "^7.3.2" peer dependency.
overrides:
vite: ^8.1.4
allowBuilds:
'@parcel/watcher': false
better-sqlite3: true
esbuild: true
sharp: true
unrs-resolver: true
vue-demi: false
workerd: true