Skip to content

build(release): npm publishConfig for all three packages - #338

Closed
YunchuWang wants to merge 1 commit into
mainfrom
npm-publish-config
Closed

build(release): npm publishConfig for all three packages#338
YunchuWang wants to merge 1 commit into
mainfrom
npm-publish-config

Conversation

@YunchuWang

@YunchuWang YunchuWang commented Jul 29, 2026

Copy link
Copy Markdown
Member

Splits the npm publish configuration out of #335. Smallest of the four split PRs and the most urgent for publishing.

What

  • publishConfig.registry: https://registry.npmjs.org/ on all three packages.
  • publishConfig.access: "public" on the two scoped packages (@microsoft/durabletask-js, @microsoft/durabletask-js-azuremanaged).
  • prepublishOnly guard (npm run build && npm run test) on core.

Why

Ensures the packages publish to the public npm registry during release; scoped packages default to restricted access without an explicit access: "public".

Provenance

Content is byte-identical to the CI-green #335 branch at 8501bc0 — a pure re-partition, no behavior change. npm run lint exits 0.


Part of the #335 split

#335 is being decomposed into four mutually independent PRs that can merge in any order:

Together these carry every one of #335's 10 files with no overlap. #335 stays open until the file→PR mapping posted there is confirmed; these PRs neither merge nor close it.

Split out of #335 as a standalone, independently reviewable change.

Adds `publishConfig.registry` to all three package.json files,
`publishConfig.access: "public"` to the two scoped packages
(@microsoft/durabletask-js and @microsoft/durabletask-js-azuremanaged), and a
`prepublishOnly` guard to core. This ensures the packages publish to the
public npm registry during release.

Content is byte-identical to the CI-green #335 branch at 8501bc0; this is a
pure re-partition with no behavior change. Smallest of the four split PRs and
the most urgent for publishing.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d86f5f69-4e1a-4c1d-b017-5e290c85cc05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates per-package npm publishing settings so releases reliably publish to the public npm registry (and scoped packages publish as public) across the monorepo packages.

Changes:

  • Adds publishConfig.registry: https://registry.npmjs.org/ to all three package manifests.
  • Adds publishConfig.access: "public" to the two scoped packages (@microsoft/durabletask-js, @microsoft/durabletask-js-azuremanaged).
  • Adds a prepublishOnly guard (npm run build && npm run test) to the core SDK package.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/durabletask-js/package.json Adds publishConfig (registry + public access) and adds prepublishOnly to guard publishing with build+test.
packages/durabletask-js-azuremanaged/package.json Adds publishConfig (registry + public access) for correct scoped-package publishing defaults.
packages/azure-functions-durable/package.json Adds publishConfig.registry to ensure publishing targets the public npm registry.

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