Skip to content

[codex] Fix workspace dependency publishing - #163

Merged
haltakov merged 1 commit into
mainfrom
fix/release-packed-workspace-deps
Jun 14, 2026
Merged

[codex] Fix workspace dependency publishing#163
haltakov merged 1 commit into
mainfrom
fix/release-packed-workspace-deps

Conversation

@haltakov

Copy link
Copy Markdown
Contributor

What changed

  • Replaced changeset publish with a release helper that packs each workspace with Yarn before publishing with npm.
  • Validates every packed manifest and fails if any dependency field still contains a raw workspace: range.
  • Bumped the publishable packages to 2.1.9 so npm latest can move past the broken 2.1.8 publish.

Why

simple-photo-gallery@2.1.8 was published through npm's pack path with raw workspace protocol dependencies, so npm install -g simple-photo-gallery@latest fails with Unsupported URL Type "workspace:". Yarn's pack path rewrites those ranges correctly; the release flow now uses that packed output.

Validation

  • yarn release:dry-run
  • git diff --check
  • yarn install --immutable
  • Inspected the generated 2.1.9 tarball manifests and confirmed simple-photo-gallery depends on @simple-photo-gallery/common: ^2.1.9 and @simple-photo-gallery/theme-modern: ^2.1.9.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@haltakov
haltakov merged commit e62678c into main Jun 14, 2026
1 check passed
@haltakov
haltakov deleted the fix/release-packed-workspace-deps branch June 14, 2026 00:26
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