Skip to content

Prepare composition-cli for its first npm release - #294

Merged
Gawor270 merged 1 commit into
mainfrom
update-composition-cli-version
Aug 6, 2026
Merged

Prepare composition-cli for its first npm release#294
Gawor270 merged 1 commit into
mainfrom
update-composition-cli-version

Conversation

@Gawor270

@Gawor270 Gawor270 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Bumps @fishjam-cloud/composition-cli from 0.29.0-rc.2 to 0.29.0, in line with the rest of the repo.

Manifest v1 hardcoded @fishjam-cloud/composition: 0.29.0-rc.2 in scaffoldDevDependencies. bump-version.sh only rewrites package.json version fields, so that string was invisible to the release automation and every release would leave it pointing at an old version. It fails quietly too: the stale version still installs, so a scaffolded template just silently gets an rc.

Fishjam deps are now listed in scaffoldCliVersionDevDependencies and pinned to the CLI's own version at scaffold time. The repo is versioned in lockstep, so that is the right number. Added a test that fails if anyone hardcodes a @fishjam-cloud/* version in the manifest again.

Also sets fail-fast: false on the release matrix. The three packages are independent npm publishes, and today one failure cancels the others mid-release.

Note: @fishjam-cloud/composition-cli does not exist on npm yet, and the release workflow publishes via OIDC trusted publishing, which is configured per package. The first publish needs to be done manually, as was done for @fishjam-cloud/composition.

…to 0.29.0

The composition version in manifest v1 was hardcoded, and bump-version.sh
only rewrites package.json version fields, so every release left it stale.
Deriving it from the CLI's own version keeps it correct without a manual step.

Also sets fail-fast: false on the release matrix so one package's publish
failure no longer cancels the others.
@Gawor270
Gawor270 requested a review from PiotrWodecki August 6, 2026 08:38
@Gawor270
Gawor270 merged commit 22602af into main Aug 6, 2026
2 checks passed
@Gawor270
Gawor270 deleted the update-composition-cli-version branch August 6, 2026 09:00
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