From 3c1e4779a2f7cc69b421ceab91a599c21e5876f1 Mon Sep 17 00:00:00 2001 From: Cory Loken Date: Mon, 9 Sep 2024 11:54:52 -0400 Subject: [PATCH] Update try --- test-app/config/ember-try.js | 45 ++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/test-app/config/ember-try.js b/test-app/config/ember-try.js index b1bca622..1c3524e5 100644 --- a/test-app/config/ember-try.js +++ b/test-app/config/ember-try.js @@ -5,44 +5,53 @@ const { embroiderSafe, embroiderOptimized } = require('@embroider/test-setup'); module.exports = async function () { return { + usePnpm: true, scenarios: [ { - name: 'ember-lts-4.4', + name: 'ember-3.28', npm: { devDependencies: { - 'ember-source': '~4.4.0', + 'ember-source': '~3.28.0', }, }, }, { - name: 'ember-lts-4.8', + name: 'ember-4.0.0', npm: { devDependencies: { - 'ember-source': '~4.8.0', + 'ember-source': '~4.0.0', }, }, }, { - name: 'ember-lts-4.12', + name: 'ember-4.4', npm: { devDependencies: { - 'ember-source': '~4.12.0', + 'ember-source': '~4.4.0', }, }, }, { - name: 'ember-lts-5.4', + name: 'ember-4.8', npm: { devDependencies: { - 'ember-source': '~5.4.0', + 'ember-source': '~4.8.0', + }, + }, + }, + { + name: 'ember-4.12', + npm: { + devDependencies: { + 'ember-source': '~4.12.0', }, }, }, { - name: 'ember-test-helpers-v3', + name: 'ember-5.4', npm: { devDependencies: { - '@ember/test-helpers': '^3.3.1', + 'ember-source': '~5.4.0', }, }, }, @@ -70,8 +79,20 @@ module.exports = async function () { }, }, }, - embroiderSafe(), - embroiderOptimized(), + embroiderSafe({ + npm: { + devDependencies: { + 'ember-source': await getChannelURL('release'), + }, + }, + }), + embroiderOptimized({ + npm: { + devDependencies: { + 'ember-source': await getChannelURL('release'), + }, + }, + }), ], }; };