-
-
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.
Avoid bower usage in config/ember-try.js
- Loading branch information
Showing
1 changed file
with
56 additions
and
116 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 |
---|---|---|
@@ -1,122 +1,62 @@ | ||
/* eslint-env node */ | ||
module.exports = { | ||
scenarios: [ | ||
{ | ||
name: 'default', | ||
bower: { }, | ||
npm: { } | ||
}, | ||
{ | ||
name: 'ember-1-13', | ||
bower: { | ||
dependencies: { | ||
'ember': '1.13.13' | ||
/* eslint-env node, es6 */ | ||
|
||
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: 'default', | ||
bower: { }, | ||
npm: { } | ||
}, | ||
resolutions: { | ||
'ember': '1.13.13' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-2-4', | ||
bower: { | ||
dependencies: { | ||
'ember': '~2.4.0' | ||
}, | ||
resolutions: { | ||
'ember': '~2.4.0' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-2-8', | ||
bower: { | ||
dependencies: { | ||
'ember': '~2.8.0' | ||
}, | ||
resolutions: { | ||
'ember': '~2.8.0' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-release', | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#release' | ||
{ | ||
name: 'ember-lts-2.12', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.12.0' | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'release' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-beta', | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#beta' | ||
{ | ||
name: 'ember-lts-2.16', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': '~2.16.0' | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'beta' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-canary', | ||
bower: { | ||
dependencies: { | ||
'ember': 'components/ember#canary' | ||
{ | ||
name: 'ember-release', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[0] | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'canary' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
}, | ||
{ | ||
name: 'ember-alpha', | ||
bower: { | ||
dependencies: { | ||
'ember': 'alpha' | ||
{ | ||
name: 'ember-beta', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[1] | ||
} | ||
} | ||
}, | ||
resolutions: { | ||
'ember': 'alpha' | ||
} | ||
}, | ||
npm: { | ||
devDependencies: { | ||
'ember-source': null | ||
} | ||
} | ||
} | ||
] | ||
{ | ||
name: 'ember-canary', | ||
npm: { | ||
devDependencies: { | ||
'ember-source': urls[2] | ||
} | ||
} | ||
} | ||
] | ||
}; | ||
}); | ||
}; |