-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX release] Add blueprints to ember-data package.
In 3.11 ember-data migrated its blueprints to belong to the specific packages that they operate on. Unfortunately, ember-cli (at least as of 3.12) only supports discovering blueprints from addons that are direct dependencies or devDependencies of the project. This adds re-exports for each of the blueprints from the top level `ember-data` package in order to make `ember g model` (and friends) work properly when the project depends on `ember-data` and not the individual `@ember-data/*` packages themselves.
- Loading branch information
Showing
8 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/adapter/blueprints/adapter-test'); |
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,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/adapter/blueprints/adapter'); |
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,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/model/blueprints/model-test'); |
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,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/model/blueprints/model'); |
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,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/serializer/blueprints/serializer-test'); |
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,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/serializer/blueprints/serializer'); |
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,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/serializer/blueprints/transform-test'); |
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,4 @@ | ||
// Re-exporting the blueprints from the top level `ember-data` package | ||
// because blueprint discovery in ember-cli (as of 3.12) is only done | ||
// for top level packages. | ||
module.exports = require('@ember-data/serializer/blueprints/transform'); |