Skip to content

fix(pnpm): pin Node dep, switch to npm version source#12160

Open
timothytlewis wants to merge 1 commit intomainfrom
audit/pnpm.io
Open

fix(pnpm): pin Node dep, switch to npm version source#12160
timothytlewis wants to merge 1 commit intomainfrom
audit/pnpm.io

Conversation

@timothytlewis
Copy link
Contributor

Summary

  • Switch version source from github: pnpm/pnpm to npm: pnpm to avoid needing the pre-release ignore regex
  • Pin nodejs.org dependency from * to ^18 || ^20 || ^22 matching pnpm's supported Node.js versions
  • Add pnpm --version test for version verification
  • Fix YAML formatting: script: |script: list form

Test plan

  • bk build pnpm.io — passes
  • bk audit pnpm.io — passes
  • bk test pnpm.io — passes

🤖 Generated with Claude Code

…rove tests

- Change version source from github tags to npm registry for more
  reliable version tracking
- Pin nodejs.org dependency to ^18 || ^20 || ^22 (pnpm 9+ requires
  Node 18+) instead of permissive wildcard '*'
- Add version verification test (pnpm --version | grep {{version}})
  alongside existing pnpm doctor check
- Convert build script from block scalar to plain scalar style

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

dependencies:
nodejs.org: '*'
nodejs.org: ^18 || ^20 || ^22
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will break older pnpms working with older nodes, as well as pnpm working with newer nodes.


build:
script: |
script:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change breaks the (string-style) script.

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.

2 participants