Skip to content

Conversation

@boorad
Copy link
Collaborator

@boorad boorad commented Feb 1, 2026

Summary

Fixes the Release CI workflow failing with npm error Cannot read properties of null (reading 'matches') during npm version step.

Problem

After upgrading to Bun 1.3, the lockfile format changed to configVersion: 1 which records workspace dependencies as workspace:* symlinks. npm 11's arborist has issues walking this node_modules structure, causing npm version to fail.

Solution

Add --workspaces-update=false to the npm.versionArgs in release-it config. This prevents npm from walking the workspace tree during version bump. The @release-it/bumper plugin already handles updating example/package.json explicitly.

Changes

  • Add versionArgs: ["--workspaces-update=false"] to release-it npm config

Testing

Merge and run Release workflow with dry-run enabled to verify npm version succeeds.

…ility

npm 11's arborist has issues with bun's workspace symlinks in node_modules.
This flag prevents npm from walking the workspace tree during version bump.
@boorad boorad self-assigned this Feb 1, 2026
@boorad boorad merged commit e12faa7 into main Feb 2, 2026
3 checks passed
@boorad boorad deleted the fix/release-npm-workspaces-update branch February 2, 2026 00:03
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