chore(Meta): Added caret ranges to dedupe packages#9079
chore(Meta): Added caret ranges to dedupe packages#9079rllyy97 merged 10 commits intohotfix/v0.120from
Conversation
📊 Coverage CheckThe following changed files need attention: ❌ Please add tests for the uncovered files before merging. |
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | No change needed. |
| Commit Type | ✅ | No change needed. |
| Risk Level | Change to Medium label & PR body risk selection; explain rollout/test plan. |
|
| What & Why | ✅ | Expand the one-line entry with scope & intent. |
| Impact of Change | Add the specific libs impacted and local CI/test commands. | |
| Test Plan | Update checkboxes to match modified tests/snapshots and explain how they were validated. | |
| Contributors | ✅ | No change needed (add more only if applicable). |
| Screenshots/Videos | ✅ | No change needed. |
Final message
This PR body follows the template and is mostly complete. However, because the diff updates many package.json files across workspaces and a large pnpm-lock.yaml (plus numerous snapshot updates and a small test change), I advise treating this as a Medium-risk change. Please update the PR risk selection and label to risk:medium and adjust the Test Plan checkboxes to reflect the snapshot/test updates (or add a short explanation of why you only marked manual testing).
Concrete action items to update in the PR before merging:
- Change Risk Level selection in the PR body to
Mediumand request the labelrisk:medium(or add a note to justifyLowexplicitly). The label currently on the PR isrisk:low— please update it to match your updated assessment. - In What & Why, expand the single line to mention:
- the main goal (dedupe by using caret ranges),
- that pnpm-lock.yaml was regenerated, and
- which top-level libs were touched (designer, designer-v2, data-mapper, data-mapper-v2, chatbot, designer-ui, etc.).
- In Impact of Change, list the key libraries/files changed and give the commands to validate locally, e.g.:
- pnpm -w install
- pnpm -w rebuild
- pnpm -w test
- pnpm -w -C libs/ build (for the few affected libs)
- In Test Plan, either check
Unit tests added/updated(since many snapshots changed and one spec was adjusted) or add a short note explaining why only manual testing is checked and where the snapshot updates happened. Example note to add:- "Ran full unit and snapshot test suites locally, updated snapshots in designer-ui and other libs. Updated one unit test to flush timers to avoid teardown issues. No new tests required." Also include whether CI runs full matrix and which jobs must pass.
- Add a short note to reviewers on what to watch for in CI (e.g., transitive dependency upgrades that may affect release flows) and whether consumers of the package need to perform any special verification.
If you make those small PR body updates (and update the risk label), re-run CI and ensure all checks pass. Thanks — this is a well-scoped meta change, but because it affects dependencies across many libs it merits extra caution in verification.
Please update the PR title/body and labels as recommended above, then re-submit. Thank you for helping maintain high-quality PR descriptions for the team!
Last updated: Mon, 20 Apr 2026 20:42:15 GMT
* chore: use external sourcemaps instead of inline in all lib tsup configs Change sourcemap from 'inline' to true across all 8 library tsup configs. This emits .map files alongside JS instead of embedding them, reducing JS bundle sizes by 66-84% since inline sourcemaps were the dominant size contributor in every package. * chore: enable minification on all library packages Enable minify: true on data-mapper, data-mapper-v2, chatbot, and vscode-extension tsup configs. These 4 packages were previously shipping unminified code to npm, adding ~20-30% unnecessary size. * chore: remove test data export from parsers production barrel Remove export of __test__/data/manifests from the parsers barrel export. This test fixture data (492 lines of mock OperationManifest objects) was being bundled into every consumer of logic-apps-shared. The test that uses it imports directly via relative path. * revert: restore test data export in parsers barrel The test manifests file is only ~18KB and not a meaningful size contributor. Keeping it in the barrel avoids breaking cross-package test imports. * chore: remove src from npm package files field Remove 'src' from the files array in all 8 library package.json files. This stops shipping raw source files alongside the built output in npm packages, roughly halving the unpacked npm package size. * chore: drop CJS output format, emit ESM only Change format from ['cjs', 'esm'] to ['esm'] in all 8 library tsup configs. Update publishConfig in package.json files to point main/default to the ESM bundle. Also fixes the 'types:' typo (trailing colon) in all publishConfig export conditions. This halves the number of JS output files. * chore: clean up duplicate localization files and fix compile paths - Remove stale duplicate intl/compiled-lang/ directory (4.1MB of outdated locale files). The code imports from intl/src/compiled-lang/ instead. - Update compile:loc scripts in root package.json to output to the correct directory. - Fix test helper import path to reference the correct compiled-lang location. - Remove unused strings.xa.json file. * fix: externalize all dependencies in library tsup configs Externalize all dependencies (workspace packages, Fluent UI, Redux, React Query, etc.) in every library's tsup.config.ts so they are resolved by consumers rather than bundled into each package output. This is the highest-impact size reduction, preventing duplicate copies of large dependencies from being included in the published bundles. * chore: updated gitignore for tmp file removal * chore(Meta): Bump version to 5.120.0 (#9078) * chore: bump version to 5.120.0 * fix: fix loading state test in MCP server create panel --------- Co-authored-by: Riley Evans <rileyevans@microsoft.com> * chore(Meta): Added caret ranges to dedupe packages (#9079) * chore: bump version to 5.120.0 * fix: fix loading state test in MCP server create panel * Caret ranges for fluent packages * Use caret ranges for react-redux and react-use to enable dedup * Updated lock file * Fix data-mapper FluentIcon type incompatibility * Fix chatbot test teardown: flush pending timers before cleanup --------- Co-authored-by: Riley Evans <rileyevans@microsoft.com> * chore(Deps): Added caret to lexical packages (#9083) Added caret to lexical packages Co-authored-by: Riley Evans <rileyevans@microsoft.com> * Reverted version # change * Enable a2a-core minification and add ButtonContainer/ButtonPivot tests --------- Co-authored-by: Riley Evans <rileyevans@microsoft.com>
Commit Type
Risk Level
What & Why
Added caret ranges to dedupe packages
Impact of Change
Test Plan
Ran full test suite and build, fixed any issues that arose.
Private deployment, no testing needed.
Contributors
@rllyy97
Screenshots/Videos
N/A