Skip to content

test: the consumer install takes the locked versions, a week old, with scripts off - #34

Merged
TylerVigario merged 1 commit into
mainfrom
test/consumer-install-reviewed
Dec 1, 2026
Merged

TylerVigario merged 1 commit into
mainfrom
test/consumer-install-reviewed

Conversation

@TylerVigario

Copy link
Copy Markdown
Owner

The Consumer install resolves job's scratch install now takes what every other install here takes. The scratch project sits outside the repository, so neither package-lock.json nor .npmrc ever reached it.

  • Locked versions. @commitlint/cli and the parser preset install at the versions package-lock.json holds, so Dependabot's bumps reach this job as they reach the others. The preset is held by an override, which sets its version without adding the package.
  • A week's wait. --min-release-age=7, as .npmrc sets for the repository.
  • No install scripts. --ignore-scripts on the install, and on npm pack, which now packs as the release does. npm 11.19 only warns about an unreviewed install script; it does not block one.

Proven

  • Locked, not newest: npm's newest @commitlint/cli is 21.3.0, published 2026-11-28. The install took the locked 21.2.4. With the override set to 10.0.0, the preset installed as 10.0.0.
  • The override adds nothing: with the peer declaration deleted and no CLI installed, the preset is absent.
  • The week's wait is read: @commitlint/cli@21.3.0 with --min-release-age=7 is refused, ETARGET.
  • Pack scripts are off: with a prepack that exits 1, a plain npm pack fails and the suite passes.
  • Install scripts are off: a postinstall writing a marker file runs on an install without --ignore-scripts, and not with it.
  • node --test: 27 pass, on Linux. Windows runs here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Eky1CPt1rz6BWLAqWVNmU9

…h scripts off

The scratch project sits outside the repository, so neither package-lock.json
nor .npmrc reaches it. It now installs @commitlint/cli and the parser preset at
the locked versions, the preset through an override, which adds no package;
waits a week with --min-release-age=7; and runs no install script, packing as
the release does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Eky1CPt1rz6BWLAqWVNmU9
@TylerVigario
TylerVigario merged commit 91df867 into main Dec 1, 2026
10 checks passed
@TylerVigario
TylerVigario deleted the test/consumer-install-reviewed branch December 1, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant