Skip to content

[skip chg] Fix TypeSpec package publishing - #451

Merged
timotheeguerin merged 1 commit into
alloy-framework:mainfrom
timotheeguerin:fix-typespec-publish
Sep 8, 2026
Merged

timotheeguerin merged 1 commit into
alloy-framework:mainfrom
timotheeguerin:fix-typespec-publish

Conversation

@timotheeguerin

Copy link
Copy Markdown
Collaborator

The Publish workflow fails while packing @alloy-js/typespec: its prepack hook still invokes the deleted scripts/strip-dev-exports.js, blocking the release before publishing begins.

Remove the leftover hook from the migration in #433. The package already has publishConfig.exports and publishConfig.imports, so pnpm strips the source conditions while preserving runtime entry points without the script.

@timotheeguerin
timotheeguerin marked this pull request as ready for review September 8, 2026 16:36
@pkg-pr-new

pkg-pr-new Bot commented Sep 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/alloy-framework/alloy/@alloy-js/typespec@451

commit: 73521b6

@timotheeguerin
timotheeguerin merged commit 0bfd44b into alloy-framework:main Sep 8, 2026
6 checks passed
@timotheeguerin
timotheeguerin deleted the fix-typespec-publish branch September 8, 2026 16:38
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