Repository navigation
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
42 lines (37 loc) · 1.84 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
42 lines (37 loc) · 1.84 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
# Reviewed lifecycle-script allowlist for dependencies.
allowBuilds:
# Sets up Tailwind v4's native Rust engine. Required for any
# Tailwind build to produce CSS. Maintained by Tailwind Labs.
"@tailwindcss/oxide": true
# Fetches or builds the prebuilt native filesystem-watcher binary.
# Pulled in transitively by @tailwindcss/cli. Maintained by the
# Parcel team.
"@parcel/watcher": true
# Copies node_modules/@ovx/svelte over node_modules/svelte — a
# Svelte-packaging workaround on altcha's side. Irrelevant to our
# usage (we only consume altcha/dist_external). Allowed so contributors
# don't trip strictDepBuilds on a script that has no effect for us.
altcha: true
# Fail the install when a dependency ships a
# lifecycle script not present in `allowBuilds`.
strictDepBuilds: true
# Reject transitive deps pulled from git/tarball/local sources;
# pair to scripts/check-lockfile.sh which gates the lockfile itself.
blockExoticSubdeps: true
# Cooldown for new releases of 3 days (4320 min). Most malicious package versions are
# unpublished within hours to a few days;
minimumReleaseAge: 4320
# Font Awesome Pro lives on a private single-publisher registry, so
# exclude it from the cooldown
minimumReleaseAgeExclude:
- "@awesome.me/*"
# Link node_modules/.bin entries as symlinks rather than shell shims.
# Hugo runs Node tools as `node <script>` and follows the .bin entry to
# find that script; it understands a symlink but not pnpm's shim, and
# otherwise fails with `binary "tailwindcss" is not a Node.js script`.
preferSymlinkedExecutables: true
# Lay out node_modules flat and without symlinks, like npm does. We mount
# several node_modules packages into assets/, and Hugo (0.166+) drops any
# mount whose source path goes through a symlink; pnpm's default isolated
# layout links every package via node_modules/.pnpm/.
nodeLinker: hoisted