Skip to content

Update lib np to v12.1 - #856

Merged
Polo2 merged 1 commit into
mainfrom
upgrade-np-to-v12
Oct 23, 2026
Merged

Polo2 merged 1 commit into
mainfrom
upgrade-np-to-v12

Conversation

@Polo2

@Polo2 Polo2 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

locally I use npm version 12.1.0,
so the command npm run release is blocked by the version mismatch.

more details:

np 11.2.2 lists the files to publish by running npm pack --dry-run --json. It then parses the output from the first [ and expects an array: [{ id, files: [...] }].

npm 12 changed that output to an object keyed by package name: { "bump-cli": { id, files: [...] } }. The first [ is now the nested files array, so JSON.parse fails on the trailing }}.

It fails before the version prompt, so nothing was committed, tagged or published.

locally I use npm version 12.1.0,
so the command `npm run release` is blocked by the version mismatch.
@Polo2 Polo2 self-assigned this Oct 23, 2026

@paulRbr paulRbr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

blocked by the version mismatch.

npm and np are two tools which have their own versioning. The number mismatch (or match) has nothing to do with this PR :)

However I understand we need to update np to support newer versions of npm 👍

@Polo2
Polo2 merged commit 2f52c89 into main Oct 23, 2026
9 checks passed
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