Skip to content

fix(release): format the experimental tag as npm does - #387

Merged
martinsafsten-codescene merged 1 commit into
mainfrom
fix/package-json-npm-format
Oct 30, 2026
Merged

martinsafsten-codescene merged 1 commit into
mainfrom
fix/package-json-npm-format

Conversation

@martinsafsten-codescene

Copy link
Copy Markdown
Contributor

The release-flow test "changes only the version fields in the real manifests" has been failing on main since #381: that change wrote "tags": ["experimental"] on one line, and npm version rewrites it expanded, so recording a version touched 4 lines of package.json instead of 1.

This writes the array the way npm does, so a version bump changes only the version line again. Checked by running npm version on the manifests: the diff is 1/1 for package.json.

npm version rewrites the one-line tags array, so the release-flow test that
checks only the version fields changed failed on main.

@codescene-access codescene-access Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No application code in the PR — skipped Code Health checks.

See analysis details in CodeScene

Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

@codescene-access codescene-access Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Coverage Gates Passed
New & Changed Code Coverage: 100% (required = 95%)

Review details by gate
  • New & Changed Code Coverage
    • Pass/Fail Reason:
      No executable lines of code changed. (The change touched 0 files).

@martinsafsten-codescene
martinsafsten-codescene merged commit 4431554 into main Oct 30, 2026
7 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.

1 participant