Skip to content

Commit 333f056

Browse files
kategenglerCopilot
andauthored
Add instructions for already on vite for upgrading past 6.7 (#1285)
Co-authored-by: kategengler <444218+kategengler@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 9ccb3d4 commit 333f056

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

docs/upgrading-past-6-7-0.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,42 @@ Re-run `ember-cli-update` after that.
4444

4545
## Moving to Vite
4646

47-
Use [ember-vite-codemod][mod] to upgrade your project.
47+
Use [ember-vite-codemod][mod] to upgrade your project. Then see [Already on Vite].
48+
49+
## Already on Vite
50+
51+
[Already on Vite]: #already-on-vite
52+
53+
You will also need to update
54+
`config/ember-cli-update.json` and replace the base blueprint:
55+
56+
```diff
57+
@@ -2,13 +2,11 @@
58+
{
59+
"schemaVersion": "1.0.0",
60+
"packages": [
61+
{
62+
- "name": "ember-cli",
63+
- "version": "6.7.0",
64+
+ "name": "@ember/app-blueprint",
65+
+ "version": "6.7.1",
66+
"blueprints": [
67+
{
68+
- "name": "app",
69+
- "outputRepo": "https://github.com/ember-cli/ember-new-output",
70+
- "codemodsSource": "ember-app-codemods-manifest@1",
71+
+ "name": "@ember/app-blueprint",
72+
"isBaseBlueprint": true,
73+
"options": [
74+
"--ci-provider=github"
75+
]
76+
}
77+
]
78+
}
79+
]
80+
}
81+
```
82+
83+
Re-run `ember-cli-update` after that.
4884

4985
[mod]: https://github.com/mainmatter/ember-vite-codemod/

0 commit comments

Comments
 (0)