From e9cf0a2d8fc1af96c33819ab4911e719a6c0dfc9 Mon Sep 17 00:00:00 2001 From: Nicolas Martinos Date: Wed, 2 Aug 2023 14:43:50 +0300 Subject: [PATCH] chore: updates ember-try config --- config/ember-try.js | 126 ++++++++++++-------------------------------- 1 file changed, 33 insertions(+), 93 deletions(-) diff --git a/config/ember-try.js b/config/ember-try.js index 0c2bc2f..2aac129 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -1,102 +1,42 @@ -module.exports = { - useYarn: true, - scenarios: [ - { - name: 'ember-lts-2.4', - bower: { - dependencies: { - 'ember': 'components/ember#lts-2-4' - }, - resolutions: { - 'ember': 'lts-2-4' +'use strict' + +const getChannelURL = require('ember-source-channel-url') + +module.exports = async function () { + return { + useYarn: true, + scenarios: [ + { + name: 'ember-lts-3.12', + npm: { + devDependencies: { + 'ember-source': '~3.12.0' + } } }, - npm: { - devDependencies: { - 'ember-source': null - } - } - }, - { - name: 'ember-lts-2.8', - bower: { - dependencies: { - 'ember': 'components/ember#lts-2-8' - }, - resolutions: { - 'ember': 'lts-2-8' + { + name: 'ember-lts-4.8', + npm: { + devDependencies: { + 'ember-source': '~4.8.0' + } } }, - }, - { - 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-release', - bower: { - dependencies: { - 'ember': 'components/ember#release' - }, - resolutions: { - 'ember': 'release' + { + name: 'release', + allowedToFail: true, + npm: { + devDependencies: { + 'ember-source': await getChannelURL('release') + } } }, - npm: { - devDependencies: { - 'ember-source': null - } - } - }, - { - name: 'ember-beta', - bower: { - dependencies: { - 'ember': 'components/ember#beta' - }, - resolutions: { - 'ember': 'beta' + { + name: 'default', + npm: { + devDependencies: {} } - }, - 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: {} } - } - ] + ] + } };