mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +08:00
9a34625cb8
It's backward compatible so still supports our 3.28 ember-source. The visible change is finally getting rid of this message: ``` WARNING: Node v18.12.0 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js. See https://git.io/v7S5n for details. ``` --- `@ember/string` dependency is added for future compatibility. See: https://github.com/ember-cli/ember-cli/pull/10125 --- `tests/helpers/index.js` is unused for now, but is a nice pattern. We could move some of our test setup into local `setupApplicationTest/setupRenderingTest/setupTest` helpers. Co-authored-by: David Taylor <david@taylorhq.com>
13 lines
517 B
Diff
13 lines
517 B
Diff
diff --git a/node_modules/ember-cli/lib/models/project.js b/node_modules/ember-cli/lib/models/project.js
|
|
index b21a9bcd4..6537fcc2e 100644
|
|
--- a/node_modules/ember-cli/lib/models/project.js
|
|
+++ b/node_modules/ember-cli/lib/models/project.js
|
|
@@ -409,6 +409,7 @@ class Project {
|
|
@return {Object} Bower dependencies
|
|
*/
|
|
bowerDependencies(bower) {
|
|
+ return {}; // Silence deprecation until Discourse is on ember-source 4.x
|
|
deprecate(
|
|
[
|
|
'`bowerDependencies` has been deprecated.',
|