-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(addon): add required dependencies to addon blueprints
- Loading branch information
Showing
7 changed files
with
76 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
packages/distribution/blueprints/@projectcaluma/ember-distribution/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
normalizeEntityName() {}, | ||
|
||
afterInstall() { | ||
/** | ||
* Automatically install all ember addons that expose helpers / components | ||
* used in templates of the addon itself. Other dependencies that are only | ||
* used in JS code don't need to be installed in the host app and therefore | ||
* don't have to be included here. | ||
*/ | ||
return this.addAddonsToProject({ | ||
packages: [ | ||
{ name: "@ember/legacy-built-in-components" }, | ||
{ name: "@projectcaluma/ember-core" }, | ||
{ name: "@projectcaluma/ember-form" }, | ||
{ name: "@projectcaluma/ember-workflow" }, | ||
{ name: "ember-concurrency" }, | ||
{ name: "ember-engines" }, | ||
{ name: "ember-svg-jar" }, | ||
], | ||
}); | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters