Upgrade ember-cli-flash (#2870)

* chore: 🤖 upgrade ember-cli-flash to v6

* chore: 🤖 remove unneeded timer disabling

This is no longer needed since the test helpers as of v5 are explicit:
disableTimeout and enableTimeout

Old world:
> Essentially importing this helper would cause the init hook of the FlashObject to become a no-op and disable the timeout running in consuming apps test runs.

> To get the same behaviour as "Old world 🌐 " a consuming app needs only to remove the blueprint import. ✅

https://github.com/adopted-ember-addons/ember-cli-flash/pull/392

* chore: 🤖 add @embroider/macros for ember-cli-flash

ember-cli-flash requires @embroider/macros as a dev dependency:
https://github.com/adopted-ember-addons/ember-cli-flash/pull/392/files/6c5743f424d14143c9309bcb0be8152fdaec11a2#r1369522866
https://github.com/adopted-ember-addons/ember-cli-flash/pull/395
This commit is contained in:
hashicc authored and GitHub committed 2025-06-10 18:37:36 -04:00
1 parent f5d612c8b5
commit b8eb2c3c9b
7 files changed
+100 -81

No files matched your search

+2 -1
View File
@@ -48,6 +48,7 @@
"@ember/render-modifiers": "^2.0.4",
"@ember/string": "^4.0.0",
"@ember/test-helpers": "^5.2.1",
"@embroider/macros": "^1.18.0",
"@faker-js/faker": "^8.0.2",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
@@ -66,7 +67,7 @@
"ember-cli-code-coverage": "^1.0.3",
"ember-cli-content-security-policy": "^2.0.3",
"ember-cli-dependency-checker": "^3.3.2",
"ember-cli-flash": "^4.0.0",
"ember-cli-flash": "^6.0.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sass": "^11.0.1",