mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:50:45 +08:00
5276afa9b2
Moves the patch from ember-source to ember-cli so that it's easier for us to feature-flag an ember-source upgrade without fighting with patch-package. We'll be able to remove this patch once we're fully on Ember 5.x. (ref https://github.com/discourse/discourse/pull/21720)
17 lines
528 B
Diff
17 lines
528 B
Diff
diff --git a/node_modules/ember-cli/lib/models/project.js b/node_modules/ember-cli/lib/models/project.js
|
|
index 7b3c7c9..e0c5fb9 100644
|
|
--- a/node_modules/ember-cli/lib/models/project.js
|
|
+++ b/node_modules/ember-cli/lib/models/project.js
|
|
@@ -716,6 +716,11 @@ class Project {
|
|
logger.info('getProjectRoot %s -> %s', process.cwd(), directory);
|
|
return directory;
|
|
}
|
|
+
|
|
+ // Allows us to use recent ember-cli with ember-source 3.28.12
|
|
+ bowerDependencies(){
|
|
+ return [];
|
|
+ }
|
|
}
|
|
|
|
class NotFoundError extends Error {
|