Skip to content

fix(assemble-release-plan): move build to tsdown#4532

Merged
ScriptedAlchemy merged 1 commit intomainfrom
codex/assemble-release-plan-tsdown
Mar 12, 2026
Merged

fix(assemble-release-plan): move build to tsdown#4532
ScriptedAlchemy merged 1 commit intomainfrom
codex/assemble-release-plan-tsdown

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

Summary

  • replace the preconstruct-based assemble-release-plan build with a standard tsdown dist build
  • point package entry metadata at dist/index.cjs and dist/index.mjs so the local changesets override resolves directly to built output
  • keep pnpm install and pnpm build from mutating src/index.ts

Verification

  • pnpm install --no-frozen-lockfile
  • pnpm build
  • node -e "const path=require('path'); const cliPkg=require.resolve('@changesets/cli/package.json',{paths:['/Users/zackjackson/.codex/worktrees/3f7c/core/packages/cli']}); const cliDir=path.dirname(cliPkg); console.log(require.resolve('@changesets/assemble-release-plan',{paths:[cliDir]}));"

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 12, 2026

⚠️ No Changeset found

Latest commit: 51f1b73

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 12, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 51f1b73
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69b258f2351ec000086b1ca8
😎 Deploy Preview https://deploy-preview-4532--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 12, 2026

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/@module-federation/devtools@4532

@module-federation/cli

pnpm add https://pkg.pr.new/@module-federation/cli@4532

create-module-federation

pnpm add https://pkg.pr.new/create-module-federation@4532

@module-federation/data-prefetch

pnpm add https://pkg.pr.new/@module-federation/data-prefetch@4532

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/@module-federation/dts-plugin@4532

@module-federation/enhanced

pnpm add https://pkg.pr.new/@module-federation/enhanced@4532

@module-federation/error-codes

pnpm add https://pkg.pr.new/@module-federation/error-codes@4532

@module-federation/esbuild

pnpm add https://pkg.pr.new/@module-federation/esbuild@4532

@module-federation/managers

pnpm add https://pkg.pr.new/@module-federation/managers@4532

@module-federation/manifest

pnpm add https://pkg.pr.new/@module-federation/manifest@4532

@module-federation/metro

pnpm add https://pkg.pr.new/@module-federation/metro@4532

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnc-cli@4532

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnef@4532

@module-federation/modern-js

pnpm add https://pkg.pr.new/@module-federation/modern-js@4532

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/@module-federation/modern-js-v3@4532

@module-federation/native-federation-tests

pnpm add https://pkg.pr.new/@module-federation/native-federation-tests@4532

@module-federation/native-federation-typescript

pnpm add https://pkg.pr.new/@module-federation/native-federation-typescript@4532

@module-federation/nextjs-mf

pnpm add https://pkg.pr.new/@module-federation/nextjs-mf@4532

@module-federation/node

pnpm add https://pkg.pr.new/@module-federation/node@4532

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/@module-federation/retry-plugin@4532

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/@module-federation/rsbuild-plugin@4532

@module-federation/rspack

pnpm add https://pkg.pr.new/@module-federation/rspack@4532

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/@module-federation/rspress-plugin@4532

@module-federation/runtime

pnpm add https://pkg.pr.new/@module-federation/runtime@4532

@module-federation/runtime-core

pnpm add https://pkg.pr.new/@module-federation/runtime-core@4532

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/@module-federation/runtime-tools@4532

@module-federation/sdk

pnpm add https://pkg.pr.new/@module-federation/sdk@4532

@module-federation/storybook-addon

pnpm add https://pkg.pr.new/@module-federation/storybook-addon@4532

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/@module-federation/third-party-dts-extractor@4532

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/@module-federation/treeshake-frontend@4532

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/@module-federation/treeshake-server@4532

@module-federation/typescript

pnpm add https://pkg.pr.new/@module-federation/typescript@4532

@module-federation/utilities

pnpm add https://pkg.pr.new/@module-federation/utilities@4532

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/@module-federation/webpack-bundler-runtime@4532

@module-federation/bridge-react

pnpm add https://pkg.pr.new/@module-federation/bridge-react@4532

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/@module-federation/bridge-react-webpack-plugin@4532

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/@module-federation/bridge-shared@4532

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/@module-federation/bridge-vue3@4532

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/@module-federation/inject-external-runtime-core-plugin@4532

commit: e189c04

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

14 package(s) changed, 27 unchanged.

Package dist + public ESM exports

Package Total dist (raw) Delta Public ESM gzip Delta
@changesets/assemble-release-plan 35.6 kB -15119 B (-29.3%) 4.3 kB -2301 B (-34.2%)
@module-federation/cli 26.7 kB no change 786 B no change
@module-federation/core 39.1 kB no change 173 B no change
@module-federation/devtools 4.80 MB -8411 B (-0.2%) 0 B no change
@module-federation/enhanced 841.5 kB no change 1.8 kB no change
@module-federation/managers 70.0 kB no change 334 B no change
@module-federation/manifest 138.4 kB no change 182 B no change
@module-federation/metro 243.9 kB no change 1.6 kB no change
@module-federation/metro-plugin-rnc-cli 0 B no change 314 B no change
@module-federation/modern-js 183.6 kB no change 11.8 kB no change
@module-federation/modern-js-v3 175.2 kB no change 11.3 kB no change
@module-federation/node 188.4 kB no change 4.6 kB no change
@module-federation/storybook-addon 76.5 kB no change 1.1 kB no change
@module-federation/utilities 110.6 kB no change 328 B no change

Bundle targets

Package Web bundle (gzip) Delta Node bundle (gzip) Delta
@changesets/assemble-release-plan 3.1 kB -10 B (-0.3%) 3.1 kB -10 B (-0.3%)
@module-federation/cli 2.3 kB -35 B (-1.5%) 2.3 kB -35 B (-1.5%)
@module-federation/core 1.1 kB -34 B (-3.0%) 1.0 kB -32 B (-3.0%)
@module-federation/devtools n/a n/a n/a n/a
@module-federation/enhanced 6.3 kB -61 B (-0.9%) 6.3 kB -61 B (-0.9%)
@module-federation/managers 2.4 kB -28 B (-1.1%) 2.4 kB -28 B (-1.1%)
@module-federation/manifest 6.2 kB -40 B (-0.6%) 6.2 kB -40 B (-0.6%)
@module-federation/metro 11.4 kB -55 B (-0.5%) 11.4 kB -55 B (-0.5%)
@module-federation/metro-plugin-rnc-cli 411 B -27 B (-6.2%) 411 B -27 B (-6.2%)
@module-federation/modern-js 7.0 kB -29 B (-0.4%) 7.0 kB -29 B (-0.4%)
@module-federation/modern-js-v3 6.8 kB -26 B (-0.4%) 6.8 kB -26 B (-0.4%)
@module-federation/node 13.2 kB -31 B (-0.2%) 13.1 kB -41 B (-0.3%)
@module-federation/storybook-addon 2.4 kB -26 B (-1.1%) 2.2 kB -25 B (-1.1%)
@module-federation/utilities 2.6 kB -33 B (-1.2%) 2.6 kB -33 B (-1.2%)

Total dist (raw): 10.68 MB (-23530 B (-0.2%))
Total ESM gzip: 116.1 kB (-2301 B (-1.9%))
Total web bundle (gzip): 194.9 kB (-435 B (-0.2%))
Total node bundle (gzip): 195.4 kB (-442 B (-0.2%))

Bundle sizes are generated with rslib (Rspack). Public ESM gzip aggregates explicit package export entry files (wildcard exports are ignored). Web/node bundles synthesize a single entry that imports those public ESM exports, set ENV_TARGET, and enable tree-shaking. Bare imports are externalized to keep sizes consistent with prior reporting, and assets are emitted as resources.

@ScriptedAlchemy ScriptedAlchemy merged commit f6a28dc into main Mar 12, 2026
23 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the codex/assemble-release-plan-tsdown branch March 12, 2026 06:19
@2heal1 2heal1 mentioned this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant