Repository: ember-cli/ember-cli (js)

Issue:
Remove `@ember/string` from `app` blueprint
`ember-data` does not need it anymore: https://github.com/emberjs/data/pull/9468.

Pull request:
[ENHANCEMENT] Remove `@ember/string` from `app` blueprint
Closes #10541.

Patch:
diff --git a/blueprints/addon/index.js b/blueprints/addon/index.js
index 23899dbf0..063d678bf 100644
--- a/blueprints/addon/index.js
+++ b/blueprints/addon/index.js
@@ -80,9 +80,6 @@ module.exports = {
     }
     delete contents.devDependencies['ember-fetch'];
 
-    // `@ember/string` is a peer dependency of `ember-data`.
-    delete contents.devDependencies['@ember/string'];
-
     // Per RFC #811, addons should not have this dependency.
     // @see https://github.com/emberjs/rfcs/blob/master/text/0811-element-modifiers.md#detailed-design
     delete contents.devDependencies['ember-modifier'];
diff --git a/blueprints/app/files/package.json b/blueprints/app/files/package.json
index a19098c4f..2c730a939 100644
--- a/blueprints/app/files/package.json
+++ b/blueprints/app/files/package.json
@@ -40,7 +40,6 @@
     "@ember-data/store": "~5.4.0-beta.12",
     "@ember-data/tracking": "~5.4.0-beta.12<% } %>",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4<% if (embroider) { %>",
     "@embroider/compat": "^3.7.0",
     "@embroider/core": "^3.4.19",


Test patch:
diff --git a/tests/fixtures/app/defaults/package.json b/tests/fixtures/app/defaults/package.json
index 939bc2bac..ae217cfbc 100644
--- a/tests/fixtures/app/defaults/package.json
+++ b/tests/fixtures/app/defaults/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@eslint/js": "^9.14.0",
     "@glimmer/component": "^1.1.2",
diff --git a/tests/fixtures/app/embroider-no-welcome/package.json b/tests/fixtures/app/embroider-no-welcome/package.json
index a5d033077..c6774306a 100644
--- a/tests/fixtures/app/embroider-no-welcome/package.json
+++ b/tests/fixtures/app/embroider-no-welcome/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@embroider/compat": "^3.7.0",
     "@embroider/core": "^3.4.19",
diff --git a/tests/fixtures/app/embroider-pnpm/package.json b/tests/fixtures/app/embroider-pnpm/package.json
index 6ae94c5dc..219376cd9 100644
--- a/tests/fixtures/app/embroider-pnpm/package.json
+++ b/tests/fixtures/app/embroider-pnpm/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@embroider/compat": "^3.7.0",
     "@embroider/core": "^3.4.19",
diff --git a/tests/fixtures/app/embroider-yarn/package.json b/tests/fixtures/app/embroider-yarn/package.json
index 30abf9637..3bfa432e4 100644
--- a/tests/fixtures/app/embroider-yarn/package.json
+++ b/tests/fixtures/app/embroider-yarn/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@embroider/compat": "^3.7.0",
     "@embroider/core": "^3.4.19",
diff --git a/tests/fixtures/app/embroider/package.json b/tests/fixtures/app/embroider/package.json
index 4b46423d2..f9807bb1e 100644
--- a/tests/fixtures/app/embroider/package.json
+++ b/tests/fixtures/app/embroider/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@embroider/compat": "^3.7.0",
     "@embroider/core": "^3.4.19",
diff --git a/tests/fixtures/app/npm/package.json b/tests/fixtures/app/npm/package.json
index 67d9e55ff..329587535 100644
--- a/tests/fixtures/app/npm/package.json
+++ b/tests/fixtures/app/npm/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@eslint/js": "^9.14.0",
     "@glimmer/component": "^1.1.2",
diff --git a/tests/fixtures/app/pnpm/package.json b/tests/fixtures/app/pnpm/package.json
index 888e913ed..bf47f73f3 100644
--- a/tests/fixtures/app/pnpm/package.json
+++ b/tests/fixtures/app/pnpm/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@eslint/js": "^9.14.0",
     "@glimmer/component": "^1.1.2",
diff --git a/tests/fixtures/app/typescript-embroider/package.json b/tests/fixtures/app/typescript-embroider/package.json
index af36ad146..caa29371f 100644
--- a/tests/fixtures/app/typescript-embroider/package.json
+++ b/tests/fixtures/app/typescript-embroider/package.json
@@ -38,7 +38,6 @@
     "@ember-data/store": "~5.4.0-beta.12",
     "@ember-data/tracking": "~5.4.0-beta.12",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@embroider/compat": "^3.7.0",
     "@embroider/core": "^3.4.19",
diff --git a/tests/fixtures/app/typescript/package.json b/tests/fixtures/app/typescript/package.json
index 5b862a480..f0d97c69b 100644
--- a/tests/fixtures/app/typescript/package.json
+++ b/tests/fixtures/app/typescript/package.json
@@ -38,7 +38,6 @@
     "@ember-data/store": "~5.4.0-beta.12",
     "@ember-data/tracking": "~5.4.0-beta.12",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@eslint/js": "^9.14.0",
     "@glimmer/component": "^1.1.2",
diff --git a/tests/fixtures/app/yarn/package.json b/tests/fixtures/app/yarn/package.json
index dc3058781..d45c97807 100644
--- a/tests/fixtures/app/yarn/package.json
+++ b/tests/fixtures/app/yarn/package.json
@@ -29,7 +29,6 @@
     "@babel/eslint-parser": "^7.25.9",
     "@babel/plugin-proposal-decorators": "^7.25.9",
     "@ember/optional-features": "^2.2.0",
-    "@ember/string": "^4.0.0",
     "@ember/test-helpers": "^4.0.4",
     "@eslint/js": "^9.14.0",
     "@glimmer/component": "^1.1.2",