create-vue 3.14.1 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/LICENSE +51 -52
  2. package/README.md +11 -4
  3. package/locales/en-US.json +32 -28
  4. package/locales/fr-FR.json +31 -27
  5. package/locales/tr-TR.json +31 -27
  6. package/locales/zh-Hans.json +31 -27
  7. package/locales/zh-Hant.json +32 -32
  8. package/outfile.cjs +970 -2605
  9. package/package.json +11 -10
  10. package/template/base/package.json +2 -2
  11. package/template/config/cypress/package.json +1 -1
  12. package/template/config/cypress-ct/package.json +1 -1
  13. package/template/config/jsx/package.json +1 -1
  14. package/template/config/nightwatch/package.json +3 -3
  15. package/template/config/pinia/package.json +1 -1
  16. package/template/config/playwright/package.json +1 -1
  17. package/template/config/prettier/_gitattributes +1 -0
  18. package/template/config/prettier/_prettierrc.json +6 -0
  19. package/template/config/prettier/package.json +6 -0
  20. package/template/config/typescript/package.json +3 -3
  21. package/template/config/vitest/package.json +1 -1
  22. package/template/eslint/package.json +2 -2
  23. package/template/base/node_modules/.bin/vite +0 -17
  24. package/template/config/cypress/node_modules/.bin/cypress +0 -17
  25. package/template/config/cypress/node_modules/.bin/server-test +0 -17
  26. package/template/config/cypress/node_modules/.bin/start-server-and-test +0 -17
  27. package/template/config/cypress/node_modules/.bin/start-test +0 -17
  28. package/template/config/cypress-ct/node_modules/.bin/cypress +0 -17
  29. package/template/config/jsx/node_modules/.bin/vite +0 -17
  30. package/template/config/nightwatch/node_modules/.bin/chromedriver +0 -17
  31. package/template/config/nightwatch/node_modules/.bin/geckodriver +0 -17
  32. package/template/config/nightwatch/node_modules/.bin/nightwatch +0 -17
  33. package/template/config/nightwatch/node_modules/.bin/ts-node +0 -17
  34. package/template/config/nightwatch/node_modules/.bin/ts-node-cwd +0 -17
  35. package/template/config/nightwatch/node_modules/.bin/ts-node-esm +0 -17
  36. package/template/config/nightwatch/node_modules/.bin/ts-node-script +0 -17
  37. package/template/config/nightwatch/node_modules/.bin/ts-node-transpile-only +0 -17
  38. package/template/config/nightwatch/node_modules/.bin/ts-script +0 -17
  39. package/template/config/nightwatch/node_modules/.bin/vite +0 -17
  40. package/template/config/playwright/node_modules/.bin/playwright +0 -17
  41. package/template/config/typescript/node_modules/.bin/npm-run-all +0 -17
  42. package/template/config/typescript/node_modules/.bin/npm-run-all2 +0 -17
  43. package/template/config/typescript/node_modules/.bin/run-p +0 -17
  44. package/template/config/typescript/node_modules/.bin/run-s +0 -17
  45. package/template/config/typescript/node_modules/.bin/tsc +0 -17
  46. package/template/config/typescript/node_modules/.bin/tsserver +0 -17
  47. package/template/config/typescript/node_modules/.bin/vue-tsc +0 -17
  48. package/template/config/vitest/node_modules/.bin/vitest +0 -17
package/LICENSE CHANGED
@@ -128,10 +128,44 @@ For more information, please see
128
128
  ## Licenses of bundled dependencies
129
129
 
130
130
  The published create-vue artifact additionally contains code with the following licenses:
131
- MIT, Apache-2.0
131
+ MIT, Apache-2.0, ISC
132
132
 
133
133
  ## Bundled dependencies
134
134
 
135
+ ## @clack/core
136
+
137
+ License: MIT
138
+ By: Nate Moore
139
+ Repository: git+https://github.com/natemoo-re/clack.git
140
+
141
+ > MIT License
142
+ >
143
+ > Copyright (c) Nate Moore
144
+ >
145
+ > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
146
+ >
147
+ > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
148
+ >
149
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
150
+ >
151
+
152
+ ## @clack/prompts
153
+
154
+ License: MIT
155
+ By: Nate Moore
156
+ Repository: git+https://github.com/natemoo-re/clack.git
157
+
158
+ > MIT License
159
+ >
160
+ > Copyright (c) Nate Moore
161
+ >
162
+ > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
163
+ >
164
+ > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
165
+ >
166
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
167
+ >
168
+
135
169
  ## @vue/create-eslint-config
136
170
 
137
171
  License: MIT
@@ -371,62 +405,27 @@ Repository: git://github.com/mde/ejs.git
371
405
  > limitations under the License.
372
406
  >
373
407
 
374
- ## kleur
375
-
376
- License: MIT
377
- By: Luke Edwards
378
- Repository: git+https://github.com/lukeed/kleur.git
379
-
380
- > The MIT License (MIT)
381
- >
382
- > Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
383
- >
384
- > Permission is hereby granted, free of charge, to any person obtaining a copy
385
- > of this software and associated documentation files (the "Software"), to deal
386
- > in the Software without restriction, including without limitation the rights
387
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
388
- > copies of the Software, and to permit persons to whom the Software is
389
- > furnished to do so, subject to the following conditions:
390
- >
391
- > The above copyright notice and this permission notice shall be included in
392
- > all copies or substantial portions of the Software.
393
- >
394
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
395
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
396
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
397
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
398
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
399
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
400
- > THE SOFTWARE.
401
- >
402
-
403
- ## prompts
408
+ ## picocolors
404
409
 
405
- License: MIT
406
- By: Terkel Gjervig
407
- Repository: git+https://github.com/terkelg/prompts.git
410
+ License: ISC
411
+ By: Alexey Raspopov
412
+ Repository: git+https://github.com/alexeyraspopov/picocolors.git
408
413
 
409
- > MIT License
410
- >
411
- > Copyright (c) 2018 Terkel Gjervig Nielsen
414
+ > ISC License
412
415
  >
413
- > Permission is hereby granted, free of charge, to any person obtaining a copy
414
- > of this software and associated documentation files (the "Software"), to deal
415
- > in the Software without restriction, including without limitation the rights
416
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
417
- > copies of the Software, and to permit persons to whom the Software is
418
- > furnished to do so, subject to the following conditions:
416
+ > Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
419
417
  >
420
- > The above copyright notice and this permission notice shall be included in all
421
- > copies or substantial portions of the Software.
418
+ > Permission to use, copy, modify, and/or distribute this software for any
419
+ > purpose with or without fee is hereby granted, provided that the above
420
+ > copyright notice and this permission notice appear in all copies.
422
421
  >
423
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
424
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
426
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
427
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
428
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
429
- > SOFTWARE.
422
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
423
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
424
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
425
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
426
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
427
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
428
+ > OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
430
429
  >
431
430
 
432
431
  ## sisteransi
package/README.md CHANGED
@@ -14,13 +14,20 @@ To create a new Vue project using `create-vue`, simply run the following command
14
14
  npm create vue@latest
15
15
  ```
16
16
 
17
- > [!NOTE]
17
+ > [!IMPORTANT]
18
18
  > (`@latest` or `@legacy`) MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package.
19
19
 
20
- By default the command will run in interactive mode, but you can also provide feature flags in the CLI arguments to skip the prompts. Run `npm create vue@latest -- --help` to see all available options.
20
+ By default, the command runs in interactive mode with prompts. You can skip these prompts by providing feature flags as CLI arguments. To see all available feature flags and options:
21
21
 
22
- > [!NOTE]
23
- > If you're using PowerShell, you'll need to quote the `--`, that is, run `npm create vue@latest '--' --help`.
22
+ ```sh
23
+ npm create vue@latest -- --help
24
+ ```
25
+
26
+ This will show you various feature flags (like `--typescript`, `--router`) and options (like `--bare` for creating a project with minimal boilerplate).
27
+
28
+ **PowerShell users:** You'll need to quote the double dashes: `npm create vue@latest '--' --help`
29
+
30
+ ### Creating Vue 2 Projects
24
31
 
25
32
  If you need to support IE11, you can create a Vue 2 project with:
26
33
 
@@ -1,63 +1,66 @@
1
1
  {
2
2
  "projectName": {
3
- "message": "Project name:"
3
+ "message": "Project name (target directory):",
4
+ "invalidMessage": "Should not be empty"
4
5
  },
5
6
  "shouldOverwrite": {
6
7
  "dirForPrompts": {
7
8
  "current": "Current directory",
8
9
  "target": "Target directory"
9
10
  },
10
- "message": "is not empty. Remove existing files and continue?"
11
+ "message": "is not empty. Remove existing files and continue"
11
12
  },
12
13
  "packageName": {
13
14
  "message": "Package name:",
14
15
  "invalidMessage": "Invalid package.json name"
15
16
  },
17
+ "featureSelection": {
18
+ "message": "Select features to include in your project:",
19
+ "hint": "(↑/↓ to navigate, space to select, a to toggle all, enter to confirm)"
20
+ },
16
21
  "needsTypeScript": {
17
- "message": "Add TypeScript?"
22
+ "message": "TypeScript"
18
23
  },
19
24
  "needsJsx": {
20
- "message": "Add JSX Support?"
25
+ "message": "JSX Support"
21
26
  },
22
27
  "needsRouter": {
23
- "message": "Add Vue Router for Single Page Application development?"
28
+ "message": "Router (SPA development)"
24
29
  },
25
30
  "needsPinia": {
26
- "message": "Add Pinia for state management?"
31
+ "message": "Pinia (state management)"
27
32
  },
28
33
  "needsVitest": {
29
- "message": "Add Vitest for Unit Testing?"
34
+ "message": "Vitest (unit testing)"
30
35
  },
31
36
  "needsE2eTesting": {
32
- "message": "Add an End-to-End Testing Solution?",
33
- "hint": "- Use arrow-keys. Return to submit.",
37
+ "message": "End-to-End Testing"
38
+ },
39
+ "needsEslint": {
40
+ "message": "ESLint (error prevention)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier (code formatting)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "Select an End-to-End testing framework:",
47
+ "hint": "(↑/↓ to navigate, enter to confirm)",
34
48
  "selectOptions": {
35
- "negative": { "title": "No" },
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
36
50
  "cypress": {
37
51
  "title": "Cypress",
38
- "desc": "also supports unit testing with Cypress Component Testing"
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "also supports unit testing with Cypress Component Testing - https://www.cypress.io/"
39
54
  },
40
55
  "nightwatch": {
41
56
  "title": "Nightwatch",
42
- "desc": "also supports unit testing with Nightwatch Component Testing"
43
- },
44
- "playwright": { "title": "Playwright" }
45
- }
46
- },
47
- "needsEslint": {
48
- "message": "Add ESLint for code quality?",
49
- "selectOptions": {
50
- "negative": { "title": "No" },
51
- "eslintOnly": {
52
- "title": "Yes"
53
- },
54
- "speedUpWithOxlint": {
55
- "title": "Yes, and speed up with Oxlint (experimental)"
57
+ "desc": "https://nightwatchjs.org/",
58
+ "hintOnComponentTesting": "also supports unit testing with Nightwatch Component Testing - https://nightwatchjs.org/"
56
59
  }
57
60
  }
58
61
  },
59
- "needsPrettier": {
60
- "message": "Add Prettier for code formatting?"
62
+ "needsOxlint": {
63
+ "message": "Install Oxlint for faster linting? (experimental)"
61
64
  },
62
65
  "errors": {
63
66
  "operationCancelled": "Operation cancelled"
@@ -68,6 +71,7 @@
68
71
  },
69
72
  "infos": {
70
73
  "scaffolding": "Scaffolding project in",
71
- "done": "Done. Now run:"
74
+ "done": "Done. Now run:",
75
+ "optionalGitCommand": "Optional: Initialize Git in your project directory with:"
72
76
  }
73
77
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "projectName": {
3
- "message": "Nom du projet\u00a0:"
3
+ "message": "Nom du projet\u00a0:",
4
+ "invalidMessage": "Ne doit pas être vide"
4
5
  },
5
6
  "shouldOverwrite": {
6
7
  "dirForPrompts": {
@@ -13,51 +14,53 @@
13
14
  "message": "Nom du package\u00a0:",
14
15
  "invalidMessage": "Le nom du package.json est invalide"
15
16
  },
17
+ "featureSelection": {
18
+ "message": "Sélectionnez les fonctionnalités à inclure dans votre projet\u00a0:",
19
+ "hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)"
20
+ },
16
21
  "needsTypeScript": {
17
- "message": "Ajouter TypeScript\u00a0?"
22
+ "message": "TypeScript"
18
23
  },
19
24
  "needsJsx": {
20
- "message": "Ajouter le support de JSX\u00a0?"
25
+ "message": "Support de JSX"
21
26
  },
22
27
  "needsRouter": {
23
- "message": "Ajouter Vue Router pour le développement d'applications _single page_\u00a0?"
28
+ "message": "Router (développement SPA)"
24
29
  },
25
30
  "needsPinia": {
26
- "message": "Ajouter Pinia pour la gestion de l'état\u00a0?"
31
+ "message": "Pinia (gestion de l'état)"
27
32
  },
28
33
  "needsVitest": {
29
- "message": "Ajouter Vitest pour les tests unitaires\u00a0?"
34
+ "message": "Vitest (tests unitaires)"
30
35
  },
31
36
  "needsE2eTesting": {
32
- "message": "Ajouter une solution de test de bout en bout (e2e)\u00a0?",
33
- "hint": "- Utilisez les flèches et appuyez sur la touche Entrée pour valider",
37
+ "message": "Tests de bout en bout"
38
+ },
39
+ "needsEslint": {
40
+ "message": "ESLint (prévention des erreurs)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier (formatage du code)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "Sélectionnez un framework de test de bout en bout\u00a0:",
47
+ "hint": "(↑/↓ pour naviguer, entrée pour confirmer)",
34
48
  "selectOptions": {
35
- "negative": { "title": "Non" },
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
36
50
  "cypress": {
37
51
  "title": "Cypress",
38
- "desc": "prend également en charge les tests unitaires avec Cypress Component Testing"
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "prend également en charge les tests unitaires avec Cypress Component Testing - https://www.cypress.io/"
39
54
  },
40
55
  "nightwatch": {
41
56
  "title": "Nightwatch",
42
- "desc": "prend également en charge les tests unitaires avec Nightwatch Component Testing"
43
- },
44
- "playwright": { "title": "Playwright" }
45
- }
46
- },
47
- "needsEslint": {
48
- "message": "Ajouter ESLint pour la qualité du code\u00a0?",
49
- "selectOptions": {
50
- "negative": { "title": "Non" },
51
- "eslintOnly": {
52
- "title": "Oui"
53
- },
54
- "speedUpWithOxlint": {
55
- "title": "Oui, et accélérer avec Oxlint (expérimental)"
57
+ "desc": "https://nightwatchjs.org/",
58
+ "hintOnComponentTesting": "prend également en charge les tests unitaires avec Nightwatch Component Testing - https://nightwatchjs.org/"
56
59
  }
57
60
  }
58
61
  },
59
- "needsPrettier": {
60
- "message": "Ajouter Prettier pour le formatage du code\u00a0?"
62
+ "needsOxlint": {
63
+ "message": "Installer Oxlint pour un linting plus rapide\u00a0? (expérimental)"
61
64
  },
62
65
  "errors": {
63
66
  "operationCancelled": "Operation annulée"
@@ -68,6 +71,7 @@
68
71
  },
69
72
  "infos": {
70
73
  "scaffolding": "Génération du projet dans",
71
- "done": "Terminé. Exécutez maintenant\u00a0:"
74
+ "done": "Terminé. Exécutez maintenant\u00a0:",
75
+ "optionalGitCommand": "Optionnel\u00a0: Initialisez Git dans votre répertoire de projet avec\u00a0:"
72
76
  }
73
77
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "projectName": {
3
- "message": "Proje adı:"
3
+ "message": "Proje adı:",
4
+ "invalidMessage": "Boş bırakılamaz"
4
5
  },
5
6
  "shouldOverwrite": {
6
7
  "dirForPrompts": {
@@ -13,51 +14,53 @@
13
14
  "message": "Paket adı:",
14
15
  "invalidMessage": "Geçersiz package.json adı"
15
16
  },
17
+ "featureSelection": {
18
+ "message": "Projenize eklenecek özellikleri seçin:",
19
+ "hint": "(↑/↓ gezinmek için, boşluk seçmek için, a tümünü seçmek için, enter onaylamak için)"
20
+ },
16
21
  "needsTypeScript": {
17
- "message": "TypeScript Eklensin mi?"
22
+ "message": "TypeScript"
18
23
  },
19
24
  "needsJsx": {
20
- "message": "JSX Desteği Eklensin mi?"
25
+ "message": "JSX Desteği"
21
26
  },
22
27
  "needsRouter": {
23
- "message": "Tek Sayfa Uygulama geliştirilmesi için Vue Router eklensin mi?"
28
+ "message": "Router (SPA geliştirme)"
24
29
  },
25
30
  "needsPinia": {
26
- "message": "Durum yönetimi için Pinia eklensin mi?"
31
+ "message": "Pinia (durum yönetimi)"
27
32
  },
28
33
  "needsVitest": {
29
- "message": "Birim Testi için Vitest eklensin mi?"
34
+ "message": "Vitest (birim testi)"
30
35
  },
31
36
  "needsE2eTesting": {
32
- "message": "Uçtan Uca Test Çözümü Eklensin mi?",
33
- "hint": "- Ok tuşlarını kullan. Gönderime geri dön.",
37
+ "message": "Uçtan Uca Test"
38
+ },
39
+ "needsEslint": {
40
+ "message": "ESLint (hata önleme)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier (kod formatlama)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "Bir Uçtan Uca test çerçevesi seçin:",
47
+ "hint": "(↑/↓ gezinmek için, enter onaylamak için)",
34
48
  "selectOptions": {
35
- "negative": { "title": "Hayır" },
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
36
50
  "cypress": {
37
51
  "title": "Cypress",
38
- "desc": "ayrıca Cypress Bileşen Testi ile birim testini de destekler"
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "ayrıca Cypress Bileşen Testi ile birim testini de destekler - https://www.cypress.io/"
39
54
  },
40
55
  "nightwatch": {
41
56
  "title": "Nightwatch",
42
- "desc": "ayrıca Nightwatch Bileşen Testi ile birim testini de destekler"
43
- },
44
- "playwright": { "title": "Playwright" }
45
- }
46
- },
47
- "needsEslint": {
48
- "message": "Kod kalitesi için ESLint eklensin mi?",
49
- "selectOptions": {
50
- "negative": { "title": "Hayır" },
51
- "eslintOnly": {
52
- "title": "Evet"
53
- },
54
- "speedUpWithOxlint": {
55
- "title": "Evet ve Oxlint ile hızlanın (deneysel)"
57
+ "desc": "https://nightwatchjs.org/",
58
+ "hintOnComponentTesting": "ayrıca Nightwatch Bileşen Testi ile birim testini de destekler - https://nightwatchjs.org/"
56
59
  }
57
60
  }
58
61
  },
59
- "needsPrettier": {
60
- "message": "Kod formatlama için Prettier eklensin mi?"
62
+ "needsOxlint": {
63
+ "message": "Daha hızlı linting için Oxlint eklensin mi? (deneysel)"
61
64
  },
62
65
  "errors": {
63
66
  "operationCancelled": "İşlem iptal edildi"
@@ -68,6 +71,7 @@
68
71
  },
69
72
  "infos": {
70
73
  "scaffolding": "İskele projesi",
71
- "done": "Tamamlandı. Şimdi bunu çalıştır:"
74
+ "done": "Tamamlandı. Şimdi bunu çalıştır:",
75
+ "optionalGitCommand": "İsteğe bağlı: Proje dizininizde Git'i şununla başlatın:"
72
76
  }
73
77
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "projectName": {
3
- "message": "请输入项目名称:"
3
+ "message": "请输入项目名称:",
4
+ "invalidMessage": "不能为空"
4
5
  },
5
6
  "shouldOverwrite": {
6
7
  "dirForPrompts": {
@@ -13,51 +14,53 @@
13
14
  "message": "请输入包名称:",
14
15
  "invalidMessage": "无效的 package.json 名称"
15
16
  },
17
+ "featureSelection": {
18
+ "message": "请选择要包含的功能:",
19
+ "hint": "(↑/↓ 切换,空格选择,a 全选,回车确认)"
20
+ },
16
21
  "needsTypeScript": {
17
- "message": "是否使用 TypeScript 语法?"
22
+ "message": "TypeScript"
18
23
  },
19
24
  "needsJsx": {
20
- "message": "是否启用 JSX 支持?"
25
+ "message": "JSX 支持"
21
26
  },
22
27
  "needsRouter": {
23
- "message": "是否引入 Vue Router 进行单页面应用开发?"
28
+ "message": "Router(单页面应用开发)"
24
29
  },
25
30
  "needsPinia": {
26
- "message": "是否引入 Pinia 用于状态管理?"
31
+ "message": "Pinia(状态管理)"
27
32
  },
28
33
  "needsVitest": {
29
- "message": "是否引入 Vitest 用于单元测试?"
34
+ "message": "Vitest(单元测试)"
30
35
  },
31
36
  "needsE2eTesting": {
32
- "message": "是否要引入一款端到端(End to End)测试工具?",
33
- "hint": "- 使用箭头切换按Enter确认。",
37
+ "message": "端到端测试"
38
+ },
39
+ "needsEslint": {
40
+ "message": "ESLint(错误预防)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier(代码格式化)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "选择一个端到端测试框架:",
47
+ "hint": "(↑/↓ 切换,回车确认)",
34
48
  "selectOptions": {
35
- "negative": { "title": "不需要" },
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
36
50
  "cypress": {
37
51
  "title": "Cypress",
38
- "desc": "同时支持基于 Cypress Component Testing 的单元测试"
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "同时支持基于 Cypress Component Testing 的单元测试 - https://www.cypress.io/"
39
54
  },
40
55
  "nightwatch": {
41
56
  "title": "Nightwatch",
42
- "desc": "同时支持基于 Nightwatch Component Testing 的单元测试"
43
- },
44
- "playwright": { "title": "Playwright" }
45
- }
46
- },
47
- "needsEslint": {
48
- "message": "是否引入 ESLint 用于代码质量检测?",
49
- "selectOptions": {
50
- "negative": { "title": "否" },
51
- "eslintOnly": {
52
- "title": "是"
53
- },
54
- "speedUpWithOxlint": {
55
- "title": "是,并同时引入 Oxlint 以加快检测(试验阶段)"
57
+ "desc": "https://nightwatchjs.org/",
58
+ "hintOnComponentTesting": "同时支持基于 Nightwatch Component Testing 的单元测试 - https://nightwatchjs.org/"
56
59
  }
57
60
  }
58
61
  },
59
- "needsPrettier": {
60
- "message": "是否引入 Prettier 用于代码格式化?"
62
+ "needsOxlint": {
63
+ "message": "是否引入 Oxlint 以加快检测?(试验阶段)"
61
64
  },
62
65
  "errors": {
63
66
  "operationCancelled": "操作取消"
@@ -68,6 +71,7 @@
68
71
  },
69
72
  "infos": {
70
73
  "scaffolding": "正在初始化项目",
71
- "done": "项目初始化完成,可执行以下命令:"
74
+ "done": "项目初始化完成,可执行以下命令:",
75
+ "optionalGitCommand": "可选:使用以下命令在项目目录中初始化 Git:"
72
76
  }
73
77
  }
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "projectName": {
3
- "message": "請輸入專案名稱:"
3
+ "message": "請輸入專案名稱:",
4
+ "invalidMessage": "不能為空"
4
5
  },
5
6
  "shouldOverwrite": {
6
7
  "dirForPrompts": {
7
8
  "current": "當前資料夾",
8
- "target": "目標資料夾:"
9
+ "target": "目標資料夾"
9
10
  },
10
11
  "message": "非空,是否覆蓋?"
11
12
  },
@@ -13,55 +14,53 @@
13
14
  "message": "請輸入套件名稱:",
14
15
  "invalidMessage": "無效的 package.json 名稱"
15
16
  },
17
+ "featureSelection": {
18
+ "message": "請選擇要包含的功能:",
19
+ "hint": "(↑/↓ 切換,空格選擇,a 全選,enter 確認)"
20
+ },
16
21
  "needsTypeScript": {
17
- "message": "是否使用 TypeScript"
22
+ "message": "TypeScript"
18
23
  },
19
24
  "needsJsx": {
20
- "message": "是否啟用 JSX 支援?"
25
+ "message": "JSX 支援"
21
26
  },
22
27
  "needsRouter": {
23
- "message": "是否引入 Vue Router 進行單頁應用程式開發?"
28
+ "message": "Router(單頁應用程式開發)"
24
29
  },
25
30
  "needsPinia": {
26
- "message": "是否引入 Pinia 用於狀態管理?"
31
+ "message": "Pinia(狀態管理)"
27
32
  },
28
33
  "needsVitest": {
29
- "message": "是否引入 Vitest 用於單元測試"
34
+ "message": "Vitest(單元測試)"
30
35
  },
31
36
  "needsE2eTesting": {
32
- "message": "是否要引入一款端對端(End to End)測試工具?",
33
- "hint": "- 使用箭頭切換按 Enter 確認。",
37
+ "message": "端對端測試"
38
+ },
39
+ "needsEslint": {
40
+ "message": "ESLint(錯誤預防)"
41
+ },
42
+ "needsPrettier": {
43
+ "message": "Prettier(程式碼格式化)"
44
+ },
45
+ "e2eSelection": {
46
+ "message": "選擇一個端對端測試框架:",
47
+ "hint": "(↑/↓ 切換,enter 確認)",
34
48
  "selectOptions": {
35
- "negative": {
36
- "title": "不需要"
37
- },
49
+ "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" },
38
50
  "cypress": {
39
51
  "title": "Cypress",
40
- "desc": "同時支援基於 Cypress Component Testing 的單元測試"
52
+ "desc": "https://www.cypress.io/",
53
+ "hintOnComponentTesting": "同時支援基於 Cypress Component Testing 的單元測試 - https://www.cypress.io/"
41
54
  },
42
55
  "nightwatch": {
43
56
  "title": "Nightwatch",
44
- "desc": "同時支援基於 Nightwatch Component Testing 的單元測試"
45
- },
46
- "playwright": {
47
- "title": "Playwright"
57
+ "desc": "https://nightwatchjs.org/",
58
+ "hintOnComponentTesting": "同時支援基於 Nightwatch Component Testing 的單元測試 - https://nightwatchjs.org/"
48
59
  }
49
60
  }
50
61
  },
51
- "needsEslint": {
52
- "message": "是否引入 ESLint 用於程式碼品質檢測?",
53
- "selectOptions": {
54
- "negative": { "title": "否" },
55
- "eslintOnly": {
56
- "title": "是"
57
- },
58
- "speedUpWithOxlint": {
59
- "title": "是,並同時引入 Oxlint 以加快檢測(試驗性功能)"
60
- }
61
- }
62
- },
63
- "needsPrettier": {
64
- "message": "是否引入 Prettier 用於程式碼格式化?"
62
+ "needsOxlint": {
63
+ "message": "是否引入 Oxlint 以加快檢測?(試驗性功能)"
65
64
  },
66
65
  "errors": {
67
66
  "operationCancelled": "操作取消"
@@ -72,6 +71,7 @@
72
71
  },
73
72
  "infos": {
74
73
  "scaffolding": "正在建置專案",
75
- "done": "專案建置完成,可執行以下命令:"
74
+ "done": "專案建置完成,可執行以下命令:",
75
+ "optionalGitCommand": "可選:使用以下命令在專案目錄中初始化 Git:"
76
76
  }
77
77
  }