]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: `format` script add `experimental-cli` option (#837)
authorbtea <2356281422@qq.com>
Thu, 16 Oct 2025 01:05:43 +0000 (09:05 +0800)
committerGitHub <noreply@github.com>
Thu, 16 Oct 2025 01:05:43 +0000 (09:05 +0800)
package.json
template/code/default/src/components/TheWelcome.vue
template/code/router/src/components/TheWelcome.vue
template/code/typescript-default/src/components/TheWelcome.vue
template/code/typescript-router/src/components/TheWelcome.vue

index fe56444223382848cfe89d19b53b563ff26882e6..239775a77caa625ba12616a399f69e994b50ab05 100644 (file)
@@ -18,7 +18,7 @@
   },
   "scripts": {
     "prepare": "husky",
-    "format": "prettier --write .",
+    "format": "prettier --write . --experimental-cli",
     "build": "rolldown -c rolldown.config.ts",
     "snapshot": "zx ./scripts/snapshot.mjs",
     "pretest": "pnpm run build && pnpm run snapshot",
index fe48afc20626fd1457bcb3098456e8630dd4bbe7..68a970a51c47c871f2aab65279ed9a241f9d1974 100644 (file)
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
     +
-    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
-    you need to test your components and web pages, check out
+    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
+      >Vue - Official</a
+    >. If you need to test your components and web pages, check out
     <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
     and
     <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
index fe48afc20626fd1457bcb3098456e8630dd4bbe7..68a970a51c47c871f2aab65279ed9a241f9d1974 100644 (file)
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
     +
-    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
-    you need to test your components and web pages, check out
+    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
+      >Vue - Official</a
+    >. If you need to test your components and web pages, check out
     <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
     and
     <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
index 6092dff14de3243051b68076ecdc3cc18c18130b..8b731d918bc5236b399d7e73d3602509ad693c89 100644 (file)
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
     +
-    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
-    you need to test your components and web pages, check out
+    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
+      >Vue - Official</a
+    >. If you need to test your components and web pages, check out
     <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
     and
     <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
index 6092dff14de3243051b68076ecdc3cc18c18130b..8b731d918bc5236b399d7e73d3602509ad693c89 100644 (file)
@@ -32,8 +32,9 @@ const openReadmeInEditor = () => fetch('/__open-in-editor?file=README.md')
     recommended IDE setup is
     <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
     +
-    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener">Vue - Official</a>. If
-    you need to test your components and web pages, check out
+    <a href="https://github.com/vuejs/language-tools" target="_blank" rel="noopener"
+      >Vue - Official</a
+    >. If you need to test your components and web pages, check out
     <a href="https://vitest.dev/" target="_blank" rel="noopener">Vitest</a>
     and
     <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>