Repository: ember-cli/ember-cli
Pull request #9753 (2022-01-06 18:56:17)

Upgrade to `ember-template-lint` v4 in blueprint
https://github.com/ember-template-lint/ember-template-lint/releases/tag/v4.0.0
https://github.com/ember-template-lint/ember-template-lint/blob/v4.0.0/docs/migration/v4.md


Patch:
diff --git a/blueprints/app/files/package.json b/blueprints/app/files/package.json
index 4e33a3605..8499d4e98 100644
--- a/blueprints/app/files/package.json
+++ b/blueprints/app/files/package.json
@@ -49,7 +49,7 @@
     "ember-qunit": "^5.1.5",
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
-    "ember-template-lint": "^3.15.0<% if (welcome) { %>",
+    "ember-template-lint": "^4.0.0<% if (welcome) { %>",
     "ember-welcome-page": "^6.0.0<% } %>",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",


Test patch:
diff --git a/tests/fixtures/addon/defaults-travis/package.json b/tests/fixtures/addon/defaults-travis/package.json
index 618776df4..837107f0d 100644
--- a/tests/fixtures/addon/defaults-travis/package.json
+++ b/tests/fixtures/addon/defaults-travis/package.json
@@ -52,7 +52,7 @@
     "ember-resolver": "^8.0.2",
     "ember-source": "~3.27.2",
     "ember-source-channel-url": "^3.0.0",
-    "ember-template-lint": "^3.4.2",
+    "ember-template-lint": "^4.0.0",
     "ember-try": "^1.4.0",
     "eslint": "^7.27.0",
     "eslint-config-prettier": "^8.3.0",
diff --git a/tests/fixtures/addon/defaults/package.json b/tests/fixtures/addon/defaults/package.json
index 4e9284f43..1864e248d 100644
--- a/tests/fixtures/addon/defaults/package.json
+++ b/tests/fixtures/addon/defaults/package.json
@@ -51,7 +51,7 @@
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
     "ember-source-channel-url": "^3.0.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "ember-try": "^2.0.0",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",
diff --git a/tests/fixtures/addon/yarn/package.json b/tests/fixtures/addon/yarn/package.json
index e9caedf1a..dffe60a69 100644
--- a/tests/fixtures/addon/yarn/package.json
+++ b/tests/fixtures/addon/yarn/package.json
@@ -51,7 +51,7 @@
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
     "ember-source-channel-url": "^3.0.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "ember-try": "^2.0.0",
     "ember-welcome-page": "^6.0.0",
     "eslint": "^7.32.0",
diff --git a/tests/fixtures/app/defaults/package.json b/tests/fixtures/app/defaults/package.json
index 64a7a8912..6c84d43e5 100644
--- a/tests/fixtures/app/defaults/package.json
+++ b/tests/fixtures/app/defaults/package.json
@@ -46,7 +46,7 @@
     "ember-qunit": "^5.1.5",
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "ember-welcome-page": "^6.0.0",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",
diff --git a/tests/fixtures/app/embroider-no-welcome/package.json b/tests/fixtures/app/embroider-no-welcome/package.json
index 05e8e5c64..408c3c3a4 100644
--- a/tests/fixtures/app/embroider-no-welcome/package.json
+++ b/tests/fixtures/app/embroider-no-welcome/package.json
@@ -49,7 +49,7 @@
     "ember-qunit": "^5.1.5",
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",
     "eslint-plugin-ember": "^10.5.8",
diff --git a/tests/fixtures/app/embroider-yarn/package.json b/tests/fixtures/app/embroider-yarn/package.json
index fd675b46f..497c252dc 100644
--- a/tests/fixtures/app/embroider-yarn/package.json
+++ b/tests/fixtures/app/embroider-yarn/package.json
@@ -49,7 +49,7 @@
     "ember-qunit": "^5.1.5",
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "ember-welcome-page": "^6.0.0",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",
diff --git a/tests/fixtures/app/embroider/package.json b/tests/fixtures/app/embroider/package.json
index fd675b46f..497c252dc 100644
--- a/tests/fixtures/app/embroider/package.json
+++ b/tests/fixtures/app/embroider/package.json
@@ -49,7 +49,7 @@
     "ember-qunit": "^5.1.5",
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "ember-welcome-page": "^6.0.0",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",
diff --git a/tests/fixtures/app/nested-project/actual-project/package.json b/tests/fixtures/app/nested-project/actual-project/package.json
index 67c757d7a..8dd7b940d 100644
--- a/tests/fixtures/app/nested-project/actual-project/package.json
+++ b/tests/fixtures/app/nested-project/actual-project/package.json
@@ -46,7 +46,7 @@
     "ember-qunit": "^5.1.4",
     "ember-resolver": "^8.0.2",
     "ember-source": "~3.27.0-beta.3",
-    "ember-template-lint": "^3.2.0",
+    "ember-template-lint": "^4.0.0",
     "ember-welcome-page": "^5.0.0",
     "eslint": "^7.24.0",
     "eslint-config-prettier": "^8.1.0",
diff --git a/tests/fixtures/app/npm-travis/package.json b/tests/fixtures/app/npm-travis/package.json
index d25c6bafc..beb74e9e6 100644
--- a/tests/fixtures/app/npm-travis/package.json
+++ b/tests/fixtures/app/npm-travis/package.json
@@ -47,7 +47,7 @@
     "ember-qunit": "^5.1.4",
     "ember-resolver": "^8.0.2",
     "ember-source": "~3.27.2",
-    "ember-template-lint": "^3.4.2",
+    "ember-template-lint": "^4.0.0",
     "eslint": "^7.27.0",
     "eslint-config-prettier": "^8.3.0",
     "eslint-plugin-ember": "^10.4.2",
diff --git a/tests/fixtures/app/npm/package.json b/tests/fixtures/app/npm/package.json
index 68da40b38..dde9e0669 100644
--- a/tests/fixtures/app/npm/package.json
+++ b/tests/fixtures/app/npm/package.json
@@ -46,7 +46,7 @@
     "ember-qunit": "^5.1.5",
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",
     "eslint-plugin-ember": "^10.5.8",
diff --git a/tests/fixtures/app/with-blueprint-override-lint-fail/package.json b/tests/fixtures/app/with-blueprint-override-lint-fail/package.json
index daa0a616b..4b6dabfd9 100644
--- a/tests/fixtures/app/with-blueprint-override-lint-fail/package.json
+++ b/tests/fixtures/app/with-blueprint-override-lint-fail/package.json
@@ -46,7 +46,7 @@
     "ember-qunit": "^5.1.2",
     "ember-resolver": "^8.0.2",
     "ember-source": "~3.26.0-beta.2",
-    "ember-template-lint": "^2.18.1",
+    "ember-template-lint": "^4.0.0",
     "ember-welcome-page": "^5.0.0",
     "eslint": "^7.20.0",
     "eslint-config-prettier": "^7.2.0",
diff --git a/tests/fixtures/app/yarn-travis/package.json b/tests/fixtures/app/yarn-travis/package.json
index cc0fe67ba..27dc2d0b1 100644
--- a/tests/fixtures/app/yarn-travis/package.json
+++ b/tests/fixtures/app/yarn-travis/package.json
@@ -47,7 +47,7 @@
     "ember-qunit": "^5.1.4",
     "ember-resolver": "^8.0.2",
     "ember-source": "~3.27.2",
-    "ember-template-lint": "^3.4.2",
+    "ember-template-lint": "^4.0.0",
     "ember-welcome-page": "^4.0.0",
     "eslint": "^7.27.0",
     "eslint-config-prettier": "^8.3.0",
diff --git a/tests/fixtures/app/yarn/package.json b/tests/fixtures/app/yarn/package.json
index 64a7a8912..6c84d43e5 100644
--- a/tests/fixtures/app/yarn/package.json
+++ b/tests/fixtures/app/yarn/package.json
@@ -46,7 +46,7 @@
     "ember-qunit": "^5.1.5",
     "ember-resolver": "^8.0.3",
     "ember-source": "~4.1.0",
-    "ember-template-lint": "^3.15.0",
+    "ember-template-lint": "^4.0.0",
     "ember-welcome-page": "^6.0.0",
     "eslint": "^7.32.0",
     "eslint-config-prettier": "^8.3.0",