Skip to content

Resolve ember-primitives and decorator-transforms to one version each - #2262

Merged
NullVoxPopuli merged 1 commit into
mainfrom
nvp/dedupe-ember-primitives
Sep 17, 2026
Merged

NullVoxPopuli merged 1 commit into
mainfrom
nvp/dedupe-ember-primitives

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown
Collaborator

The build now has one copy of ember-primitives (0.62.0) and one of decorator-transforms (2.4.0). Before, it had three of each.

This is for correctness, not for speed. The duplicate copies were 10 small modules, and the entry JavaScript does not change in size (892 kB to 893 kB compressed, on the main build mode).

Why pnpm dedupe does not do it

Package Asks for
nvp.ui 0.5.3 ember-primitives ^0.51.0
ember-container-query 7.0.3 ember-primitives ^0.57.0
workspace packages ember-primitives ^0.61.1
kolay resolved 0.62.0

For a 0.x version, a caret range covers one minor only: ^0.51.0 means >=0.51.0 <0.52.0. The ranges do not overlap, so this PR adds overrides in pnpm-workspace.yaml. ember-primitives and ember-repl also pin decorator-transforms to exact versions (2.3.1, 2.3.2).

Risk

nvp.ui and ember-container-query now run against an ember-primitives that is 5 to 11 minor versions newer than what they ask for.

Checked: pnpm turbo build:prod --force passes for all 11 tasks, lint:types passes in apps/repl, and the Chrome suite of apps/repl passes (67 pass, 7 skip, 0 fail). I did not run the tutorial tests or click through the UI.

🤖 Generated with Claude Code

The build had three versions of each package: nvp.ui asks for
ember-primitives ^0.51.0, ember-container-query for ^0.57.0, and the
workspace for ^0.61.1. For a 0.x version, a caret range covers one
minor only, so `pnpm dedupe` cannot merge them. ember-primitives and
ember-repl also pin decorator-transforms to exact versions.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedember-primitives@​0.61.1 ⏵ 0.62.095 +6100100 +196100

View full report

@NullVoxPopuli
NullVoxPopuli merged commit b69dfc0 into main Sep 17, 2026
14 checks passed
@NullVoxPopuli
NullVoxPopuli deleted the nvp/dedupe-ember-primitives branch September 17, 2026 18:36
@github-actions

Copy link
Copy Markdown
Contributor
Project Preview URL1 Manage
Limber https://nvp-dedupe-ember-primitives.limber-glimdown.pages.dev on Cloudflare
Tutorial https://nvp-dedupe-ember-primitives.limber-glimmer-tutorial.pages.dev on Cloudflare

Logs

Footnotes

  1. if these branch preview links are not working, please check the logs for the commit-based preview link. There is a character limit of 28 for the branch subdomain, as well as some other heuristics, described here for the sake of implementation ease in deploy-preview.yml, that algo has been omitted. The URLs are logged in the wrangler output, but it's hard to get outputs from a matrix job. ↩

@github-actions github-actions Bot mentioned this pull request Sep 17, 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