Skip to content

fix: publish @executor-js library packages on release - #138

Closed
RhysSullivan wants to merge 2 commits into
sdk-type-derivationfrom
publish-public-packages
Closed

fix: publish @executor-js library packages on release#138
RhysSullivan wants to merge 2 commits into
sdk-type-derivationfrom
publish-public-packages

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

The @executor-js/core, @executor-js/sdk, and @executor-js/plugin-*
packages were never reachable by the release workflow:

  • All seven @executor-js/plugin-* packages were still in the changeset
    ignore list, so changeset version never bumped them.
  • The root build:packages script still had a stale @executor/plugin-*
    glob, so plugin dist output was never built for publish.
  • changesets/action@v1 was invoked with version: only — no publish:
    step — and the CLI publish workflow only ships the executor wrapper.

Fix by removing the public plugins from the ignore list, correcting the
build glob, adding scripts/publish-packages.ts (which packs + publishes
every public @executor-js package whose version is not already on npm),
and wiring a new publish step into release.yml that runs whenever the
Version Packages PR is merged. Library publish now runs in parallel with
the existing CLI publish dispatch.

The `@executor-js/core`, `@executor-js/sdk`, and `@executor-js/plugin-*`
packages were never reachable by the release workflow:

- All seven `@executor-js/plugin-*` packages were still in the changeset
  `ignore` list, so `changeset version` never bumped them.
- The root `build:packages` script still had a stale `@executor/plugin-*`
  glob, so plugin dist output was never built for publish.
- `changesets/action@v1` was invoked with `version:` only — no `publish:`
  step — and the CLI publish workflow only ships the executor wrapper.

Fix by removing the public plugins from the ignore list, correcting the
build glob, adding `scripts/publish-packages.ts` (which packs + publishes
every public @executor-js package whose version is not already on npm),
and wiring a new publish step into `release.yml` that runs whenever the
Version Packages PR is merged. Library publish now runs in parallel with
the existing CLI publish dispatch.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
executor-cloud 62afec6 Apr 09 2026, 09:16 PM

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 9, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 98ddb2f Commit Preview URL

Branch Preview URL
Apr 09 2026, 09:23 PM

`npm publish --provenance` requires each package.json to advertise a
repository URL so the minted sigstore attestation can be tied to a
specific source location. Add `license: "MIT"`, `repository` (with the
monorepo `directory` subpath), `homepage`, and `bugs` to every public
`@executor-js/*` package so the upcoming provenance publish step in
`release.yml` can actually attach attestations instead of erroring out.
@RhysSullivan

Copy link
Copy Markdown
Collaborator Author

Superseded by #142 — consolidated @executor-js/core + @executor-js/sdk into one package with dual entry points.

@RhysSullivan
RhysSullivan deleted the publish-public-packages branch June 11, 2026 08:01
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