[READ-ONLY] Mirror of https://github.com/flo-bit/tiny-docs. quick setup, simple, minimalistic docs for your github project flo-bit.dev/tiny-docs/
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(ci): declare built dependencies to stop ERR_PNPM_IGNORED_BUILDS

pnpm 10 refuses to silently run dependency build scripts. Locally this is
just an 'Ignored build scripts' warning, but in CI (withastro/action runs
pnpm install in CI mode) it escalates to a hard ERR_PNPM_IGNORED_BUILDS
error with exit code 1, which fails the Deploy Docs workflow on every push
to main.

Declare the packages that have install/build scripts so pnpm has an explicit
policy for each:
- esbuild, sharp: allowed (they need their native binaries)
- es5-ext: ignored (its script is only a funding notice)

With all three classified there are no remaining ignored builds, so neither
the warning nor the CI error fires. Verified with a clean
'CI=true pnpm install --frozen-lockfile': no warning, exit 0, and esbuild +
sharp native artifacts present.

+11
+11
pnpm-workspace.yaml
··· 1 1 packages: 2 2 - "." 3 + 4 + # Allow native deps to run their install/build scripts. Without this, 5 + # pnpm 10 reports "Ignored build scripts", which is only a warning locally 6 + # but becomes a hard ERR_PNPM_IGNORED_BUILDS failure in CI (e.g. inside 7 + # withastro/action). That is what breaks the Deploy Docs workflow. 8 + # es5-ext's script is only a funding notice, so it stays ignored. 9 + onlyBuiltDependencies: 10 + - esbuild 11 + - sharp 12 + ignoredBuiltDependencies: 13 + - es5-ext