Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions projects/pnpm.io/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@ distributable:
strip-components: 1

versions:
github: pnpm/pnpm
ignore: /-\d+$/ # ignore pre-releases
npm: pnpm

provides:
- bin/pnpm
- bin/pnpx

dependencies:
nodejs.org: '*'
nodejs.org: ^18 || ^20 || ^22
Copy link
Copy Markdown
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
Copy Markdown
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.

mkdir -p "{{prefix}}"
mv bin/pnpm.cjs bin/pnpm
mv bin/pnpx.cjs bin/pnpx
cp props/pnpmrc dist
cp -r bin dist package.json {{prefix}}

test:
script: |
pnpm doctor
- pnpm --version | grep {{version}}
- pnpm doctor
Loading