From c044e28ab335c0e08c56eaf7703420d2ad527f43 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 5 May 2026 11:35:50 -0400 Subject: [PATCH 1/2] Add package override examples for ember dependencies Added examples of package overrides for pnpm and npm to address build-time deprecation warnings for ember-cli-htmlbars and ember-cli-babel. --- content/ember/v6/using-amd-bundles.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/content/ember/v6/using-amd-bundles.md b/content/ember/v6/using-amd-bundles.md index 8e76dcc6..0f07765b 100644 --- a/content/ember/v6/using-amd-bundles.md +++ b/content/ember/v6/using-amd-bundles.md @@ -12,6 +12,7 @@ Ember will no longer publish legacy AMD-specific Ember builds. There are two way To clear this build-time deprecation, you may need to upgrade any of the following deps (if you have them in package.json) to these minimums: - ember-cli-htmlbars 7.0.0 + - ember-cli-babel 8.3.1 - babel-plugin-ember-template-compilation 3.1.0 or 4.0.0 - ember-auto-import 2.13.1 - @embroider/compat 4.1.16 @@ -19,6 +20,23 @@ To clear this build-time deprecation, you may need to upgrade any of the followi Of these, ember-cli-htmlbars is the only one that must be recursively updated -- if any of your addons depend on ember-cli-htmlbars 6.x, you will continue to hit this deprecation warning and won't be able to upgrade Ember 7 until it's addressed. It is usually safe to use your package manager to override the ember-cli-htmlbars version, because the vast majority of v1 addons don't care which version they're using. +Example overrides in pnpm: +``` +"pnpm": { + "overrides": { + "ember-cli-htmlbars": "7.0.1", + "ember-cli-babel": "8.3.1" + } +} +``` +Example override in npm: +``` +"overrides": { + "ember-cli-htmlbars": "7.0.1", + "ember-cli-babel": "8.3.1" +} +``` + ### Runtime use of ember.debug.js, ember.prod.js, ember-testing.js AMD bundles To opt-in to consuming Ember as ES modules and clear this deprecation, enable the From afb8bca35c4a3f13f2644533bc7d0b2b33d02f42 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Mon, 31 Aug 2026 15:55:24 -0400 Subject: [PATCH 2/2] Fix lints --- .markdownlint.json | 3 ++- content/ember/v6/using-amd-bundles.md | 17 +++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.markdownlint.json b/.markdownlint.json index 3536479a..31665740 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -13,7 +13,8 @@ "text", "json", "html", - "css" + "css", + "yaml" ] } } diff --git a/content/ember/v6/using-amd-bundles.md b/content/ember/v6/using-amd-bundles.md index 0f07765b..21d05cbf 100644 --- a/content/ember/v6/using-amd-bundles.md +++ b/content/ember/v6/using-amd-bundles.md @@ -20,17 +20,14 @@ To clear this build-time deprecation, you may need to upgrade any of the followi Of these, ember-cli-htmlbars is the only one that must be recursively updated -- if any of your addons depend on ember-cli-htmlbars 6.x, you will continue to hit this deprecation warning and won't be able to upgrade Ember 7 until it's addressed. It is usually safe to use your package manager to override the ember-cli-htmlbars version, because the vast majority of v1 addons don't care which version they're using. -Example overrides in pnpm: -``` -"pnpm": { - "overrides": { - "ember-cli-htmlbars": "7.0.1", - "ember-cli-babel": "8.3.1" - } -} -``` -Example override in npm: +Example overrides in [ pnpm ](https://pnpm.io/settings/dependency-resolution#overrides): +```yaml +"overrides": + "ember-cli-htmlbars": "7.0.1" + "ember-cli-babel": "8.3.1" ``` +Example override in [ npm ](https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides): +```json "overrides": { "ember-cli-htmlbars": "7.0.1", "ember-cli-babel": "8.3.1"