Repository: ember-cli/ember-cli
Pull request #10437 (2024-02-07 09:55:25)

[ENHANCEMENT] Update LTS scenarios in `addon` blueprint


Patch:
diff --git a/blueprints/addon/files/.github/workflows/ci.yml b/blueprints/addon/files/.github/workflows/ci.yml
index 67d5e5bec..a6f45f0ab 100644
--- a/blueprints/addon/files/.github/workflows/ci.yml
+++ b/blueprints/addon/files/.github/workflows/ci.yml
@@ -64,8 +64,8 @@ jobs:
       fail-fast: false
       matrix:
         try-scenario:
-          - ember-lts-4.8
           - ember-lts-4.12
+          - ember-lts-5.4
           - ember-release
           - ember-beta
           - ember-canary
diff --git a/blueprints/addon/files/.travis.yml b/blueprints/addon/files/.travis.yml
index d6772e726..ab615756e 100644
--- a/blueprints/addon/files/.travis.yml
+++ b/blueprints/addon/files/.travis.yml
@@ -62,8 +62,8 @@ jobs:
 
     # we recommend new addons test the current and previous LTS
     # as well as latest stable release (bonus points to beta/canary)
-    - env: EMBER_TRY_SCENARIO=ember-lts-4.8
     - env: EMBER_TRY_SCENARIO=ember-lts-4.12
+    - env: EMBER_TRY_SCENARIO=ember-lts-5.4
     - env: EMBER_TRY_SCENARIO=ember-release
     - env: EMBER_TRY_SCENARIO=ember-beta
     - env: EMBER_TRY_SCENARIO=ember-canary
diff --git a/blueprints/addon/files/README.md b/blueprints/addon/files/README.md
index cbb5fba59..d26640497 100644
--- a/blueprints/addon/files/README.md
+++ b/blueprints/addon/files/README.md
@@ -5,8 +5,8 @@
 
 ## Compatibility
 
-* Ember.js v4.8 or above
-* Ember CLI v4.8 or above
+* Ember.js v4.12 or above
+* Ember CLI v4.12 or above
 * Node.js v18 or above
 
 
diff --git a/blueprints/addon/files/addon-config/ember-try.js b/blueprints/addon/files/addon-config/ember-try.js
index 5ae276f30..57bab12cd 100644
--- a/blueprints/addon/files/addon-config/ember-try.js
+++ b/blueprints/addon/files/addon-config/ember-try.js
@@ -9,18 +9,18 @@ module.exports = async function () {
     <% } else if (yarn) { %>useYarn: true,
     <% } %>scenarios: [
       {
-        name: 'ember-lts-4.8',
+        name: 'ember-lts-4.12',
         npm: {
           devDependencies: {
-            'ember-source': '~4.8.0',
+            'ember-source': '~4.12.0',
           },
         },
       },
       {
-        name: 'ember-lts-4.12',
+        name: 'ember-lts-5.4',
         npm: {
           devDependencies: {
-            'ember-source': '~4.12.0',
+            'ember-source': '~5.4.0',
           },
         },
       },


Test patch:
diff --git a/tests/fixtures/addon/defaults-travis/.travis.yml b/tests/fixtures/addon/defaults-travis/.travis.yml
index 27238106a..3c6d442af 100644
--- a/tests/fixtures/addon/defaults-travis/.travis.yml
+++ b/tests/fixtures/addon/defaults-travis/.travis.yml
@@ -58,8 +58,8 @@ jobs:
 
     # we recommend new addons test the current and previous LTS
     # as well as latest stable release (bonus points to beta/canary)
-    - env: EMBER_TRY_SCENARIO=ember-lts-4.8
     - env: EMBER_TRY_SCENARIO=ember-lts-4.12
+    - env: EMBER_TRY_SCENARIO=ember-lts-5.4
     - env: EMBER_TRY_SCENARIO=ember-release
     - env: EMBER_TRY_SCENARIO=ember-beta
     - env: EMBER_TRY_SCENARIO=ember-canary
diff --git a/tests/fixtures/addon/defaults-travis/README.md b/tests/fixtures/addon/defaults-travis/README.md
index 144011484..174ff8423 100644
--- a/tests/fixtures/addon/defaults-travis/README.md
+++ b/tests/fixtures/addon/defaults-travis/README.md
@@ -7,8 +7,8 @@ foo
 Compatibility
 ------------------------------------------------------------------------------
 
-* Ember.js v4.8 or above
-* Ember CLI v4.8 or above
+* Ember.js v4.12 or above
+* Ember CLI v4.12 or above
 * Node.js v18 or above
 
 
diff --git a/tests/fixtures/addon/defaults-travis/tests/dummy/config/ember-try.js b/tests/fixtures/addon/defaults-travis/tests/dummy/config/ember-try.js
index 93b9f51f9..e3e6b9474 100644
--- a/tests/fixtures/addon/defaults-travis/tests/dummy/config/ember-try.js
+++ b/tests/fixtures/addon/defaults-travis/tests/dummy/config/ember-try.js
@@ -7,18 +7,18 @@ module.exports = async function () {
   return {
     scenarios: [
       {
-        name: 'ember-lts-4.8',
+        name: 'ember-lts-4.12',
         npm: {
           devDependencies: {
-            'ember-source': '~4.8.0',
+            'ember-source': '~4.12.0',
           },
         },
       },
       {
-        name: 'ember-lts-4.12',
+        name: 'ember-lts-5.4',
         npm: {
           devDependencies: {
-            'ember-source': '~4.12.0',
+            'ember-source': '~5.4.0',
           },
         },
       },
diff --git a/tests/fixtures/addon/defaults/.github/workflows/ci.yml b/tests/fixtures/addon/defaults/.github/workflows/ci.yml
index 57a6bf253..86eff7151 100644
--- a/tests/fixtures/addon/defaults/.github/workflows/ci.yml
+++ b/tests/fixtures/addon/defaults/.github/workflows/ci.yml
@@ -57,8 +57,8 @@ jobs:
       fail-fast: false
       matrix:
         try-scenario:
-          - ember-lts-4.8
           - ember-lts-4.12
+          - ember-lts-5.4
           - ember-release
           - ember-beta
           - ember-canary
diff --git a/tests/fixtures/addon/defaults/README.md b/tests/fixtures/addon/defaults/README.md
index 955d33266..394b21ace 100644
--- a/tests/fixtures/addon/defaults/README.md
+++ b/tests/fixtures/addon/defaults/README.md
@@ -5,8 +5,8 @@
 
 ## Compatibility
 
-* Ember.js v4.8 or above
-* Ember CLI v4.8 or above
+* Ember.js v4.12 or above
+* Ember CLI v4.12 or above
 * Node.js v18 or above
 
 
diff --git a/tests/fixtures/addon/defaults/tests/dummy/config/ember-try.js b/tests/fixtures/addon/defaults/tests/dummy/config/ember-try.js
index 93b9f51f9..e3e6b9474 100644
--- a/tests/fixtures/addon/defaults/tests/dummy/config/ember-try.js
+++ b/tests/fixtures/addon/defaults/tests/dummy/config/ember-try.js
@@ -7,18 +7,18 @@ module.exports = async function () {
   return {
     scenarios: [
       {
-        name: 'ember-lts-4.8',
+        name: 'ember-lts-4.12',
         npm: {
           devDependencies: {
-            'ember-source': '~4.8.0',
+            'ember-source': '~4.12.0',
           },
         },
       },
       {
-        name: 'ember-lts-4.12',
+        name: 'ember-lts-5.4',
         npm: {
           devDependencies: {
-            'ember-source': '~4.12.0',
+            'ember-source': '~5.4.0',
           },
         },
       },
diff --git a/tests/fixtures/addon/pnpm/.github/workflows/ci.yml b/tests/fixtures/addon/pnpm/.github/workflows/ci.yml
index dfa740db8..ab54c8272 100644
--- a/tests/fixtures/addon/pnpm/.github/workflows/ci.yml
+++ b/tests/fixtures/addon/pnpm/.github/workflows/ci.yml
@@ -51,8 +51,8 @@ jobs:
       fail-fast: false
       matrix:
         try-scenario:
-          - ember-lts-4.8
           - ember-lts-4.12
+          - ember-lts-5.4
           - ember-release
           - ember-beta
           - ember-canary
diff --git a/tests/fixtures/addon/pnpm/README.md b/tests/fixtures/addon/pnpm/README.md
index 955d33266..394b21ace 100644
--- a/tests/fixtures/addon/pnpm/README.md
+++ b/tests/fixtures/addon/pnpm/README.md
@@ -5,8 +5,8 @@
 
 ## Compatibility
 
-* Ember.js v4.8 or above
-* Ember CLI v4.8 or above
+* Ember.js v4.12 or above
+* Ember CLI v4.12 or above
 * Node.js v18 or above
 
 
diff --git a/tests/fixtures/addon/pnpm/tests/dummy/config/ember-try.js b/tests/fixtures/addon/pnpm/tests/dummy/config/ember-try.js
index b3bcce11e..973ca16a1 100644
--- a/tests/fixtures/addon/pnpm/tests/dummy/config/ember-try.js
+++ b/tests/fixtures/addon/pnpm/tests/dummy/config/ember-try.js
@@ -8,18 +8,18 @@ module.exports = async function () {
     usePnpm: true,
     scenarios: [
       {
-        name: 'ember-lts-4.8',
+        name: 'ember-lts-4.12',
         npm: {
           devDependencies: {
-            'ember-source': '~4.8.0',
+            'ember-source': '~4.12.0',
           },
         },
       },
       {
-        name: 'ember-lts-4.12',
+        name: 'ember-lts-5.4',
         npm: {
           devDependencies: {
-            'ember-source': '~4.12.0',
+            'ember-source': '~5.4.0',
           },
         },
       },
diff --git a/tests/fixtures/addon/yarn/.github/workflows/ci.yml b/tests/fixtures/addon/yarn/.github/workflows/ci.yml
index 3c8799c91..75b537c75 100644
--- a/tests/fixtures/addon/yarn/.github/workflows/ci.yml
+++ b/tests/fixtures/addon/yarn/.github/workflows/ci.yml
@@ -57,8 +57,8 @@ jobs:
       fail-fast: false
       matrix:
         try-scenario:
-          - ember-lts-4.8
           - ember-lts-4.12
+          - ember-lts-5.4
           - ember-release
           - ember-beta
           - ember-canary
diff --git a/tests/fixtures/addon/yarn/.travis.yml b/tests/fixtures/addon/yarn/.travis.yml
index 11e1e8496..91ddb8d1b 100644
--- a/tests/fixtures/addon/yarn/.travis.yml
+++ b/tests/fixtures/addon/yarn/.travis.yml
@@ -57,8 +57,8 @@ jobs:
 
     # we recommend new addons test the current and previous LTS
     # as well as latest stable release (bonus points to beta/canary)
-    - env: EMBER_TRY_SCENARIO=ember-lts-4.8
     - env: EMBER_TRY_SCENARIO=ember-lts-4.12
+    - env: EMBER_TRY_SCENARIO=ember-lts-5.4
     - env: EMBER_TRY_SCENARIO=ember-release
     - env: EMBER_TRY_SCENARIO=ember-beta
     - env: EMBER_TRY_SCENARIO=ember-canary
diff --git a/tests/fixtures/addon/yarn/README.md b/tests/fixtures/addon/yarn/README.md
index 955d33266..394b21ace 100644
--- a/tests/fixtures/addon/yarn/README.md
+++ b/tests/fixtures/addon/yarn/README.md
@@ -5,8 +5,8 @@
 
 ## Compatibility
 
-* Ember.js v4.8 or above
-* Ember CLI v4.8 or above
+* Ember.js v4.12 or above
+* Ember CLI v4.12 or above
 * Node.js v18 or above
 
 
diff --git a/tests/fixtures/addon/yarn/tests/dummy/config/ember-try.js b/tests/fixtures/addon/yarn/tests/dummy/config/ember-try.js
index 283e42a4c..dbc77b026 100644
--- a/tests/fixtures/addon/yarn/tests/dummy/config/ember-try.js
+++ b/tests/fixtures/addon/yarn/tests/dummy/config/ember-try.js
@@ -8,18 +8,18 @@ module.exports = async function () {
     useYarn: true,
     scenarios: [
       {
-        name: 'ember-lts-4.8',
+        name: 'ember-lts-4.12',
         npm: {
           devDependencies: {
-            'ember-source': '~4.8.0',
+            'ember-source': '~4.12.0',
           },
         },
       },
       {
-        name: 'ember-lts-4.12',
+        name: 'ember-lts-5.4',
         npm: {
           devDependencies: {
-            'ember-source': '~4.12.0',
+            'ember-source': '~5.4.0',
           },
         },
       },