Skip to content

chore: ensure all packages publish to pkg.pr.new#4481

Merged
ScriptedAlchemy merged 5 commits intomainfrom
cursor/module-federation-pr-new-publishing-b383
Feb 27, 2026
Merged

chore: ensure all packages publish to pkg.pr.new#4481
ScriptedAlchemy merged 5 commits intomainfrom
cursor/module-federation-pr-new-publishing-b383

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

Description

Previously, the pkg.pr.new publishing workflow in .github/workflows/pkg-pr-new.yml relied on a static fixed list from .changeset/config.json, which resulted in several @module-federation/* packages (e.g., utilities) not being published.

This PR refactors the publishing logic into a new dedicated script, tools/scripts/publish-pkg-pr-new-previews.mjs. This script now dynamically discovers all non-private @module-federation/* packages recursively within the packages/ directory, ensuring comprehensive publishing. The workflow has been updated to call this script, centralizing and improving the maintainability of the publishing logic.

Related Issue

N/A

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Open in Web Open in Cursor 

cursoragent and others added 2 commits February 27, 2026 20:04
Co-authored-by: zackary.l.jackson <zackary.l.jackson@gmail.com>
Co-authored-by: zackary.l.jackson <zackary.l.jackson@gmail.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Feb 27, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 27, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 804aa94
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69a201fb922e960008a391f3
😎 Deploy Preview https://deploy-preview-4481--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.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 27, 2026

⚠️ No Changeset found

Latest commit: 804aa94

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 27, 2026

Open in StackBlitz

@module-federation/devtools

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

@module-federation/cli

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

create-module-federation

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

@module-federation/data-prefetch

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

@module-federation/dts-plugin

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

@module-federation/enhanced

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

@module-federation/error-codes

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

@module-federation/esbuild

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

@module-federation/managers

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

@module-federation/manifest

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

@module-federation/metro

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

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

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

@module-federation/metro-plugin-rnef

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

@module-federation/modern-js

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

@module-federation/modern-js-v3

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

@module-federation/native-federation-tests

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

@module-federation/native-federation-typescript

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

@module-federation/nextjs-mf

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

@module-federation/node

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

@module-federation/retry-plugin

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

@module-federation/rsbuild-plugin

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

@module-federation/rspack

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

@module-federation/rspress-plugin

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

@module-federation/runtime

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

@module-federation/runtime-core

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

@module-federation/runtime-tools

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

@module-federation/sdk

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

@module-federation/storybook-addon

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

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

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

@module-federation/treeshake-frontend

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

@module-federation/treeshake-server

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

@module-federation/typescript

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

@module-federation/utilities

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

@module-federation/webpack-bundler-runtime

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

@module-federation/bridge-react

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

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

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

@module-federation/bridge-shared

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

@module-federation/bridge-vue3

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

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

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

commit: 7571118

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

No bundle size changes detected.

Total dist: 6.88 MB (no change)
Total ESM gzip: 138.7 kB (no change)

@ScriptedAlchemy ScriptedAlchemy changed the title Module federation pr.new publishing chore: ensure all packages publish to pkg.pr.new Feb 27, 2026
@ScriptedAlchemy ScriptedAlchemy marked this pull request as ready for review February 27, 2026 20:32
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1a9ac715a4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

cursoragent and others added 2 commits February 27, 2026 20:39
Co-authored-by: zackary.l.jackson <zackary.l.jackson@gmail.com>
Co-authored-by: zackary.l.jackson <zackary.l.jackson@gmail.com>
@ScriptedAlchemy ScriptedAlchemy merged commit 66491bc into main Feb 27, 2026
24 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the cursor/module-federation-pr-new-publishing-b383 branch February 27, 2026 20:52
@2heal1 2heal1 mentioned this pull request Mar 5, 2026
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