Skip to content

Use jq in release prepare script#497

Merged
marcospassos merged 1 commit into
masterfrom
fix-release-workflow
May 25, 2026
Merged

Use jq in release prepare script#497
marcospassos merged 1 commit into
masterfrom
fix-release-workflow

Conversation

@Fryuni
Copy link
Copy Markdown
Member

@Fryuni Fryuni commented May 25, 2026

Summary

Update the release prepare script to mutate package.json with jq instead of brittle sed replacements.

Changes

  • Replace the three sed commands with a single jq expression.
  • Set the package version from the release tag.
  • Strip the leading dist/ prefix from main and types in the copied package metadata.

Testing

  • Ran git diff --check.
  • Runtime jq smoke test was not run because the environment blocked the command.

@Fryuni Fryuni requested a review from a team as a code owner May 25, 2026 15:01
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 25, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@croct/eslint-plugin@497

commit: 5e9ce49

@marcospassos marcospassos merged commit 745c34a into master May 25, 2026
7 checks passed
@marcospassos marcospassos deleted the fix-release-workflow branch May 25, 2026 15:09
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.

3 participants