Skip to content

Commit

Permalink
Use ember-auto-import@2 to test ember-source >= 4
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Oct 6, 2021
1 parent df4aebd commit c7bcb13
Show file tree
Hide file tree
Showing 3 changed files with 341 additions and 18 deletions.
18 changes: 12 additions & 6 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ const embroider = {
'@embroider/core': EMBROIDER_VERSION,
'@embroider/webpack': EMBROIDER_VERSION,
'@embroider/compat': EMBROIDER_VERSION,

// Webpack is a peer dependency of `@embroider/webpack`
webpack: '^5.0.0',
},
},
env: {
Expand All @@ -27,9 +24,6 @@ const embroider = {
'@embroider/core': EMBROIDER_VERSION,
'@embroider/webpack': EMBROIDER_VERSION,
'@embroider/compat': EMBROIDER_VERSION,

// Webpack is a peer dependency of `@embroider/webpack`
webpack: '^5.0.0',
},
},
env: {
Expand Down Expand Up @@ -83,6 +77,9 @@ module.exports = async function () {
{
name: 'ember-release',
npm: {
dependencies: {
'ember-auto-import': '^2.2.0',
},
devDependencies: {
'ember-source': await getChannelURL('release'),
},
Expand All @@ -91,6 +88,9 @@ module.exports = async function () {
{
name: 'ember-beta',
npm: {
dependencies: {
'ember-auto-import': '^2.2.0',
},
devDependencies: {
'ember-source': await getChannelURL('beta'),
},
Expand All @@ -99,6 +99,9 @@ module.exports = async function () {
{
name: 'ember-canary',
npm: {
dependencies: {
'ember-auto-import': '^2.2.0',
},
devDependencies: {
'ember-source': await getChannelURL('canary'),
},
Expand Down Expand Up @@ -128,6 +131,9 @@ module.exports = async function () {
}),
},
npm: {
devDependencies: {
'ember-source': '~3.28.0',
},
ember: {
edition: 'classic',
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"prettier": "2.3.2",
"qunit": "^2.16.0",
"release-it": "^14.11.5",
"release-it-lerna-changelog": "^3.1.0"
"release-it-lerna-changelog": "^3.1.0",
"webpack": "^5.57.1"
},
"peerDependencies": {
"@ember/test-helpers": "^2.4.0",
Expand Down
Loading

0 comments on commit c7bcb13

Please sign in to comment.