Skip to content

Commit 1d82baf

Browse files
authored
Add instructions for already on vite for upgrading past 6.7
1 parent 9ccb3d4 commit 1d82baf

1 file changed

Lines changed: 37 additions & 1 deletion

File tree

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

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

0 commit comments

Comments
 (0)