We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a176a40 commit 6a23bf6Copy full SHA for 6a23bf6
index.js
@@ -12,6 +12,10 @@ module.exports = {
12
init() {
13
this._super.init.apply(this, arguments);
14
15
+ // If we're a direct dependency of the app, we cheat and add our instance of the blueprints
16
+ // addon to the project, as only top-level addons contribute blueprints.
17
+ // This won't be necessary in 2.x if we shift to adding the blueprints addon as a host
18
+ // dependency on install.
19
if (this.project.addons.includes(this)) {
20
this.project.addons.push(this.addons.find(addon => addon.name === 'ember-cli-typescript-blueprints'));
21
}
0 commit comments