Skip to content

fix(utils): align package.json entrypoints with rslib output#4439

Merged
ScriptedAlchemy merged 6 commits intomainfrom
codex/pr-4436-utilities-publint
Feb 14, 2026
Merged

fix(utils): align package.json entrypoints with rslib output#4439
ScriptedAlchemy merged 6 commits intomainfrom
codex/pr-4436-utilities-publint

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

Summary

This PR branches off main, merges in #4436, and adds @module-federation/utilities to the existing publint CI coverage.

User Impact

Consumers of @module-federation/utilities were affected by broken package entrypoint metadata after the rslib bundleless output layout change. The merged fix from #4436 restores resolvable package entrypoints, and this PR adds CI guardrails so the package is validated by publint in build-and-test.

Root Cause

packages/utilities/package.json still pointed at the old flat dist/index.* layout while build outputs now live under dist/cjs, dist/esm, and dist/types. In addition, the package was explicitly excluded from the publint loop in CI, so compatibility regressions for that package were not checked there.

Fix

  • Merged PR fix(utils): align package.json entrypoints with rslib output #4436 into this branch to align utilities package entry fields with current build outputs.
  • Updated .github/workflows/build-and-test.yml to include packages/utilities in the publint loop by removing the exclusion condition.
  • Added a patch changeset for @module-federation/utilities:
    • .changeset/soft-spoons-divide.md

Validation

Executed locally:

  • pnpm -w nx run utils:build
  • npx publint packages/utilities

Result: publint completed without errors (warnings/suggestions only).

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 14, 2026

🦋 Changeset detected

Latest commit: bed5071

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@module-federation/utilities Patch

Not sure what this means? Click here to learn what changesets are.

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

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 14, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit bed5071
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/698fc1c4128eb3000847f4de
😎 Deploy Preview https://deploy-preview-4439--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.

@ScriptedAlchemy ScriptedAlchemy marked this pull request as ready for review February 14, 2026 00:17
@ScriptedAlchemy ScriptedAlchemy changed the title [codex] merge #4436 and add publint coverage for utilities fix(utils): align package.json entrypoints with rslib output Feb 14, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 14, 2026

Open in StackBlitz

@module-federation/devtools

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

@module-federation/cli

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

create-module-federation

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

@module-federation/data-prefetch

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

@module-federation/dts-plugin

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

@module-federation/enhanced

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

@module-federation/error-codes

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

@module-federation/managers

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

@module-federation/manifest

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

@module-federation/metro

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

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

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

@module-federation/metro-plugin-rnef

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

@module-federation/modern-js-v3

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

@module-federation/retry-plugin

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

@module-federation/rsbuild-plugin

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

@module-federation/rspack

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

@module-federation/rspress-plugin

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

@module-federation/runtime

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

@module-federation/runtime-core

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

@module-federation/runtime-tools

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

@module-federation/sdk

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

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

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

@module-federation/treeshake-frontend

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

@module-federation/treeshake-server

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

@module-federation/webpack-bundler-runtime

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

@module-federation/bridge-react

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

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

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

@module-federation/bridge-shared

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

@module-federation/bridge-vue3

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

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

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

commit: bed5071

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

1 package(s) changed, 37 unchanged.

Package Total dist Delta ESM gzip Delta
utils 110.6 kB no change 328 B +328 B (+∞%)

Total dist: 6.66 MB (no change)
Total ESM gzip: 138.1 kB (+328 B (+0.2%))

@github-actions
Copy link
Copy Markdown
Contributor

Android Release APK for all devices

🔗 Download link.

Note: if the download link expires, please re-run the workflow to generate a new build.

Generated at 2026-02-14T00:38:33.432Z UTC

@github-actions
Copy link
Copy Markdown
Contributor

iOS Release APP for simulators

🔗 Download link.

Note: if the download link expires, please re-run the workflow to generate a new build.

Generated at 2026-02-14T00:45:17.081Z UTC

@ScriptedAlchemy ScriptedAlchemy merged commit 2a2042d into main Feb 14, 2026
25 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the codex/pr-4436-utilities-publint branch February 14, 2026 00:45
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants