Skip to content

Commit 65d81ad

Browse files
committed
feat: format script add experimental-cli option
1 parent 450bc7f commit 65d81ad

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"scripts": {
2020
"prepare": "husky",
21-
"format": "prettier --write .",
21+
"format": "prettier --write . --experimental-cli",
2222
"build": "rolldown -c rolldown.config.ts",
2323
"snapshot": "zx ./scripts/snapshot.mjs",
2424
"pretest": "pnpm run build && pnpm run snapshot",

template/code/default/src/components/TheWelcome.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
3232
recommended IDE setup is
3333
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
3434
+
35-
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36-
you need to test your components and web pages, check out
35+
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36+
>Vue - Official</a
37+
>. If you need to test your components and web pages, check out
3738
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
3839
and
3940
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>

template/code/router/src/components/TheWelcome.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
3232
recommended IDE setup is
3333
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
3434
+
35-
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36-
you need to test your components and web pages, check out
35+
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36+
>Vue - Official</a
37+
>. If you need to test your components and web pages, check out
3738
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
3839
and
3940
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>

template/code/typescript-default/src/components/TheWelcome.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
3232
recommended IDE setup is
3333
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
3434
+
35-
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36-
you need to test your components and web pages, check out
35+
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36+
>Vue - Official</a
37+
>. If you need to test your components and web pages, check out
3738
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
3839
and
3940
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>

template/code/typescript-router/src/components/TheWelcome.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
3232
recommended IDE setup is
3333
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
3434
+
35-
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
36-
you need to test your components and web pages, check out
35+
<a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
36+
>Vue - Official</a
37+
>. If you need to test your components and web pages, check out
3738
<a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
3839
and
3940
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>

0 commit comments

Comments
 (0)