Skip to content

Commit cf0e6fa

Browse files
committed
fix: allowlist markdown-codec's prepare script for this project too
documents.js's own pnpm-workspace.yaml already allowlists this exact git-hosted commit's build scripts, but allowBuilds is scoped per project, not inherited transitively -- this repo's own install needs the identical entry, or pnpm refuses to run markdown-codec's "husky" prepare script and the install fails outright (caught by this repo's own CI, not local testing, since the earlier local install reused an already-approved store entry).
1 parent 1acee20 commit cf0e6fa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ minimumReleaseAgeExclude:
77

88
# documents.js depends on markdown-codec via a pinned git commit, pending that package's own npm trusted-publisher setup (see documents.js's own pnpm-workspace.yaml/README for the full account) -- which makes markdown-codec a git-hosted (exotic) SUBdependency of this project. pnpm blocks exotic subdependencies by default; there is no per-package allowlist for this check the way allowBuilds/minimumReleaseAgeExclude offer, so this is disabled project-wide rather than left unset. Re-enable (remove this line) once markdown-codec is a real, published npm dependency.
99
blockExoticSubdeps: false
10+
11+
# markdown-codec's dist/ is committed and ships prebuilt (see that package's own README), so the only lifecycle script pnpm needs to run for it is "prepare": "husky" -- harmless (a no-op outside a real git checkout) but still gated behind allowBuilds like any other git-hosted dependency script, matching documents.js's own identical entry.
12+
allowBuilds:
13+
markdown-codec@https://codeload.github.com/ExaDev/markdown-codec/tar.gz/beda0a89d92fffd153d5dcd05d767b404b721cda: true

0 commit comments

Comments
 (0)