packages: - "@commitlint/*" - "@packages/*" - "@alias/*" # Install scripts are denied by default. Each entry below is an explicit # decision; flip to true only with a documented reason. allowBuilds: "@swc/core": false esbuild: false nx: false # Supply-chain hardening; pnpm ignores these in .npmrc, silently, so they live here. # - strictDepBuilds: an unlisted build script fails the install instead of warning # - verifyDepsBeforeRun: refuse to run scripts against a lockfile-stale node_modules # - minimumReleaseAge: never resolve a version published less than two days ago, so a # freshly compromised release cannot reach the lockfile. The unit is minutes. Keep it # below renovate.minimumReleaseAge in package.json (3 days), otherwise pnpm refuses # the very versions Renovate proposes. Setting it also enables # minimumReleaseAgeStrict, so the existing lockfile is verified against the policy on # every install; a genuinely urgent bump needs # `pnpm install --config.minimumReleaseAge=0`. # # resolutionMode stays at the default (highest). time-based looks like the same # hardening, but it also resolves every direct dependency to the floor of its range, so # the first full re-resolution after it went live turned lock file maintenance into a # mass downgrade -- nx 14.0.0 (2022) via the config-nx-scopes peer range, vitepress # 1.3.4, @types/node 22.0.0 -- see #4983. # # engineStrict is off on purpose: it enforces every dependency's engines, which # currently resolves above engines.node here. Revisit with the node floor bump; # do not raise engines.node to satisfy it. strictDepBuilds: true verifyDepsBeforeRun: error minimumReleaseAge: 2880