Skip to content

Latest commit

 

History

History
85 lines (70 loc) · 2.11 KB

File metadata and controls

85 lines (70 loc) · 2.11 KB

Upgrading your Ember project past 6.7

[email protected] is the first release to publish the default app blueprint as its own package @ember-tooling/classic-build-app-blueprint.

Starting with [email protected], creating an Ember application will use the new Vite-based blueprint and build process.

Moving to the new classic app blueprint

If you want to stay with the classic build process, you will need to update config/ember-cli-update.json and replace the base blueprint:

@@ -2,13 +2,11 @@
{
  "schemaVersion": "1.0.0",
  "packages": [
    {
-      "name": "ember-cli",
-      "version": "6.7.0",
+      "name": "@ember-tooling/classic-build-app-blueprint",
+      "version": "6.7.1",
        "blueprints": [
          {
-          "name": "app",
-          "outputRepo": "https://github.com/ember-cli/ember-new-output",
-          "codemodsSource": "ember-app-codemods-manifest@1",
+          "name": "@ember-tooling/classic-build-app-blueprint",
          "isBaseBlueprint": true,
          "options": [
            "--ci-provider=github"
          ]
        }
      ]
    }
  ]
}

Re-run ember-cli-update after that.

Moving to Vite

Use ember-vite-codemod to upgrade your project. Then see Already on Vite.

Already on Vite

You will also need to update config/ember-cli-update.json and replace the base blueprint:

@@ -2,13 +2,11 @@
{
  "schemaVersion": "1.0.0",
  "packages": [
    {
-      "name": "ember-cli",
-      "version": "6.7.0",
+      "name": "@ember/app-blueprint",
+      "version": "6.7.1",
        "blueprints": [
          {
-          "name": "app",
-          "outputRepo": "https://github.com/ember-cli/ember-new-output",
-          "codemodsSource": "ember-app-codemods-manifest@1",
+          "name": "@ember/app-blueprint",
          "isBaseBlueprint": true,
          "options": [
            "--ci-provider=github"
          ]
        }
      ]
    }
  ]
}

Re-run ember-cli-update after that.