Skip to content

[SCF-2416] [Part 8] ember-cli-update to the 5.4 addon blueprint - #23

Open
Gaurav0 wants to merge 2 commits into
gaurav/chore/SCF-2416-part-7-keep-bootstrap-3-and-subclassingfrom
gaurav/chore/SCF-2416-part-8-ember-cli-update-5-4
Open

Gaurav0 wants to merge 2 commits into
gaurav/chore/SCF-2416-part-7-keep-bootstrap-3-and-subclassingfrom
gaurav/chore/SCF-2416-part-8-ember-cli-update-5-4

Conversation

@Gaurav0

@Gaurav0 Gaurav0 commented Nov 5, 2026 •

Copy link
Copy Markdown

Summary

The blueprint's dependency upgrades landed in Parts 2–6. This part bumps ember-cli itself and syncs the blueprint files.

  • ember-cli-update --to 5.4.2 from the 3.28.6 addon blueprint, with ember-cli ~5.4.2.
    • ember-cli 5 no longer minifies CSS itself, so ember-cli-clean-css is added.
    • config/ember-try.js moves to tests/dummy/config/ unchanged, and the empty root config/environment.js is removed.
    • Blueprint updates to dotfiles, ignore files, meta tags and CONTRIBUTING, plus the new tests/helpers/index.js.
    • Our README, CI workflow and lint rule customizations are kept.
    • Held back as follow-ups: ember-template-lint stays ^3 (v5 reports 168 errors) and eslint-plugin-qunit stays ^6.
  • Finishes the test tooling: @ember/test-helpers ^3.2.0, ember-qunit ^8.0.1, ember-a11y-testing ^6.1.1 and ember-cli-fastboot-testing ^0.7.0. The ember-a11y-testing/ember-auto-import resolution is dropped.

+71/−54 lines, not counting yarn.lock.

Stack

Part of the SCF-2416 work (ember-bootstrap 5.0.0), split from scf-2416-rework for easier review. This is part 8 of 9. Stacked on Part 7: its base is gaurav/chore/SCF-2416-part-7-keep-bootstrap-3-and-subclassing, so the diff only shows this part. Merge in order.

Part PR Title
1 #16 Drop Ember 3.28 and 4.4, bump to 5.0.0
2 #17 Upgrade test and lint tooling (ESLint 8, Prettier 3, ember-try 3, stylelint)
3 #18 Upgrade build dependencies and drop polyfills
4 #19 Require Node 20 and switch @embroider/util to a fork
5 #20 Replace ember-on-helper and ember-ref-bucket
6 #21 Upgrade addon dependencies off ember-cli-babel 7
7 #22 Keep Bootstrap 3 and subclassing, drop their deprecations
8 this PR ember-cli-update to the 5.4 addon blueprint
9 #24 Force and refresh remaining vulnerable dependencies

Review notes

The first commit is mostly blueprint output. The tests/helpers/setup-stylesheet-support.js fix in the second commit is the one hand-written change worth reading.

Testing

Run on this branch with Node 20.19.6: yarn install --frozen-lockfile passes, yarn lint reports 0 errors (the same 150 warnings as scf_master), and ember test (Ember 4.8, the default) has 535 passed, 9 skipped and 0 failed. No new tests. CI covers the ember-try matrix.

🤖 Generated with Claude Code

Gaurav0 and others added 2 commits November 5, 2026 09:02
Runs `ember-cli-update --to 5.4.2` from the 3.28.6 addon blueprint. The
blueprint's dependency upgrades landed in the preceding commits; this one
bumps ember-cli itself and syncs the blueprint files. ember-cli 5.3
removed the "not tested against Node X" platform check, so ember-cli
~5.4.2 runs on Node 20 without the warning.

Dependencies:
- ember-cli ~5.4.2.
- ember-cli-clean-css, since ember-cli 5 no longer minifies CSS itself.
- Held back for lint churn (follow-up): ember-template-lint stays ^3
  (v5 reports 168 errors, including a11y rules on addon templates), and
  eslint-plugin-qunit stays ^6 (v8 adds 44 no-assert-equal errors).

Config:
- config/ember-try.js moves to tests/dummy/config/ (blueprint layout)
  unchanged. The empty root config/environment.js is gone.
- Blueprint updates to the dotfiles and ignore files, the
  X-UA-Compatible meta tags, CONTRIBUTING's ember-cli link, and the new
  tests/helpers/index.js.
- Our README, CI workflow and lint rule customizations are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Finishes what "upgrade test tooling toward the 5.4 blueprint versions"
held back. On ember-cli 3.28, ember-qunit 8 failed with "Testem was
unable to detect a test framework"; on ember-cli 5.4 it works with the
existing tests/test-helper.js, which already matches the blueprint.

- @ember/test-helpers ^3.2.0 and ember-qunit ^8.0.1, the 5.4 blueprint
  versions.
- ember-a11y-testing ^6.1.1 (4.x only accepts test-helpers ^2) and
  ember-cli-fastboot-testing ^0.7.0 (0.6.2+ wants test-helpers >= 3).
- Drop the ember-a11y-testing/ember-auto-import resolution: a11y 6 asks
  for ember-auto-import ^2.2.4 itself, so the ember-auto-import 1.x copy
  is gone.

- tests/helpers/setup-stylesheet-support.js: ember-qunit 8 no longer
  ships test-support.css, so under Embroider there is no such stylesheet
  and the 9 tests that call insertCSSRule threw. Insert into dummy.css
  instead, at cssRules.length (CSSStyleSheet has no length, so rules
  went to index 0, where they'd lose to bootstrap's). Same as upstream
  ember-bootstrap#2224.

test-helpers 2.9 was the last thing pulling npm's @embroider/util
1.13.3, so only the fork remains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant