Skip to content

test: accept npm 12 script output - #28

Merged
anusbutt merged 1 commit into
mainfrom
fix/npm12-onboarding-output
Aug 14, 2026
Merged

test: accept npm 12 script output#28
anusbutt merged 1 commit into
mainfrom
fix/npm12-onboarding-output

Conversation

@anusbutt

Copy link
Copy Markdown
Owner

Outcome

Keep the clean-source onboarding release test compatible with npm's newer script banner.

npm 12 prints npm notice run graphkeeper@0.4.0 typecheck instead of the older > graphkeeper@0.4.0 typecheck. The test now checks the stable package/version/script identity without coupling to npm's cosmetic prefix.

No production, package, schema, validator, hook, documentation, or version behavior changes.

Evidence

Before:

  • The release prepublish run passed 302/303 tests.
  • contributor-onboarding.test rejected the npm 12 banner because it required a leading >.

After:

  • Focused WSL onboarding suite: 2/2 passed.
  • Native typecheck/build passed.
  • The native focused run reached an unrelated existing jq process timing boundary after the changed assertion had passed; required Windows CI remains authoritative.

Checklist

  • One focused test assertion changed.
  • Production behavior is untouched.
  • Schema and diagnostics are unchanged.
  • No generated archives or unrelated edits are included.
  • Publication and tagging remain paused pending merge and release verification.

Compatibility and recovery

The assertion accepts both the established npm output and npm 12's new npm notice run output because both contain the same stable graphkeeper@<version> typecheck identity. No recovery or repository migration is required.

@anusbutt
anusbutt merged commit 015d7a9 into main Aug 14, 2026
6 checks passed
@anusbutt
anusbutt deleted the fix/npm12-onboarding-output branch August 14, 2026 01:11
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