-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #312 from emberjs/update-try-config
Update ember-try config to avoid bower for Ember channels.
- Loading branch information
Showing
6 changed files
with
375 additions
and
220 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
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 |
---|---|---|
@@ -1,113 +1,117 @@ | ||
/* eslint-env node */ | ||
module.exports = { | ||
useYarn: true, | ||
scenarios: [ | ||
{ | ||
name: 'ember-2.0', | ||
bower: { | ||
dependencies: { | ||
ember: '~2.0.0', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.4', | ||
bower: { | ||
dependencies: { | ||
ember: 'components/ember#lts-2-4', | ||
}, | ||
resolutions: { | ||
ember: 'lts-2-4', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.8', | ||
bower: { | ||
dependencies: { | ||
ember: 'components/ember#lts-2-8', | ||
}, | ||
resolutions: { | ||
ember: 'lts-2-8', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.12', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.12.0', | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-release', | ||
bower: { | ||
dependencies: { | ||
ember: 'components/ember#release', | ||
}, | ||
resolutions: { | ||
ember: 'release', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-beta', | ||
bower: { | ||
dependencies: { | ||
ember: 'components/ember#beta', | ||
}, | ||
resolutions: { | ||
ember: 'beta', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-canary', | ||
bower: { | ||
dependencies: { | ||
ember: 'components/ember#canary', | ||
}, | ||
resolutions: { | ||
ember: 'canary', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-default', | ||
npm: { | ||
devDependencies: {}, | ||
}, | ||
}, | ||
], | ||
/* eslint-env node, es6 */ | ||
'use strict'; | ||
|
||
const getChannelURL = require('ember-source-channel-url'); | ||
|
||
module.exports = function() { | ||
return Promise.all([ | ||
getChannelURL('release'), | ||
getChannelURL('beta'), | ||
getChannelURL('canary'), | ||
]).then(urls => { | ||
return { | ||
useYarn: true, | ||
scenarios: [ | ||
{ | ||
name: 'ember-2.0', | ||
bower: { | ||
dependencies: { | ||
ember: '~2.0.0', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.4', | ||
bower: { | ||
dependencies: { | ||
ember: 'components/ember#lts-2-4', | ||
}, | ||
resolutions: { | ||
ember: 'lts-2-4', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.8', | ||
bower: { | ||
dependencies: { | ||
ember: 'components/ember#lts-2-8', | ||
}, | ||
resolutions: { | ||
ember: 'lts-2-8', | ||
}, | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.12', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.12.0', | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.16', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.16.0', | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-lts-2.18', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.18.0', | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-release', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[0], | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-beta', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[1], | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-canary', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[2], | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'ember-default', | ||
npm: { | ||
devDependencies: {}, | ||
}, | ||
}, | ||
], | ||
}; | ||
}); | ||
}; |
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
Oops, something went wrong.