Repository navigation
chore(deps): update npm to v12 - #12073
Conversation
|
@cursor update the project for npm 12 |
|
Updated the project for npm 12. Renovate had bumped Root causeCI uses Node 24 with bundled npm 11. After the engines bump, Changes made
VerificationTested locally with npm 12.0.2:
For local development, upgrade with |
- Add packageManager field pinning npm@12.0.2 - Install npm 12 in CI before npm ci to satisfy engine-strict - Update README prerequisite to npm 12.x Fixes CI EBADENGINE failures after engines.npm was bumped to 12.x.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
@cursor schema update job is failing |
|
The Fix
Verification
Commit: |
npm 12 throws EUNKNOWNCONFIG for package.json config fields like commitizen.path. Move the configuration to .czrc so npm-run-all and graphql:update work in CI again.
|
@cursor depcheck now failing |
|
The Root causeAfter moving commitizen config from FixAdded Verification
|
Depcheck's commitizen special only reads package.json config.commitizen. After moving commitizen config to .czrc for npm 12 compatibility, mark the adapter as an intentional devDependency.
* Revert "chore(deps): update npm to v12 (#12073)" This reverts commit e4dc077. * chore(Renovate): keep npm on the version bundled with Node No Node release bundles npm 12 (nodejs/node#64882 was closed), so a 12.x engine pin forces every environment to install npm on top of Node for the life of the LTS. Stay on the bundled major and stop Renovate from proposing the next one.


This PR contains the following updates:
11.x→12.xRelease Notes
npm/cli (npm)
v12.0.2Compare Source
Bug Fixes
834408e#9760 pack: honor min-release-age-exclude (#9760) (@martinrrm, @Copilot)ef6cfea#9786 owner: use scoped registry for user lookup (#9786) (@martinrrm, @Copilot)Documentation
9e17dc0#9805 clarify npm 12 unknown-config breaking change in changelogs (#9805) (@Hashim1999164)Chores
7b1f6c1#9747 parse pack --json object output in node integration (#9747) (@reggi, @Copilot)Dependencies
@npmcli/arborist@10.0.2@npmcli/config@11.0.1libnpmdiff@9.0.2libnpmexec@11.0.2libnpmfund@8.0.2libnpmpack@10.0.2v12.0.1Compare Source
Bug Fixes
ecb02a8#9745 view: avoid wrapping array results (#9745) (@reggi, @martinrrm, @Copilot)47fc8b1#9740 correct bundled sigstore from dev dependency conflict (#9740) (@james-pre)Dependencies
@npmcli/arborist@10.0.1libnpmdiff@9.0.1libnpmexec@11.0.1libnpmfund@8.0.1libnpmpack@10.0.1v12.0.0Compare Source
npm sbom --sbom-format=cyclonedxnow reports thenamefield from each package'spackage.jsoninstead of the on-disk directory name. Thename,bom-ref, andpurlof the root component and of aliased dependencies may change.man npm-installwill no longer work, butnpm help installis unaffected.npm pkgoutput is no longer forced to json. This means you can get single values without having to worry about wrapping of the values. It also outputs non-json content more similarly tonpm view.npm shrinkwrapis removed, theshrinkwrapconfig alias is removed, andnpm-shrinkwrap.jsonis no longer loaded or honored at the project root or from inside dependency tarballs. Rename project-rootnpm-shrinkwrap.jsontopackage-lock.json; usebundleDependenciesif you need to ship a locked dependency tree.npm packandnpm publishhave changed. They are now always consistent, and in the same format.star,starsandunstarcommands have been removednpm addusercommand has been removed. Create and manage user accounts on the npm website, and usenpm loginto authenticate on the command line.npm inithas been changed from "ISC" to an empty string. If not set, the license field will be omitted from new packages.npmnow supports node^22.22.2 || ^24.15.0 || >=26.0.0Chores
b77b532#9735 remove pre-release mode from npm 12 and workspaces (#9735) (@reggi, @Copilot)Dependencies
@npmcli/arborist@10.0.0@npmcli/config@11.0.0libnpmaccess@11.0.0libnpmdiff@9.0.0libnpmexec@11.0.0libnpmfund@8.0.0libnpmorg@9.0.0libnpmpack@10.0.0libnpmpublish@12.0.0libnpmsearch@10.0.0libnpmteam@9.0.0libnpmversion@9.0.0Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.