create-vue 3.7.5 → 3.9.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.
- package/README.md +1 -1
- package/locales/en-US.json +64 -0
- package/locales/fr-FR.json +64 -0
- package/locales/tr-TR.json +64 -0
- package/locales/zh-CN.json +64 -0
- package/outfile.cjs +172 -121
- package/package.json +11 -8
- package/template/base/_gitignore +2 -0
- package/template/base/jsconfig.json +8 -0
- package/template/base/node_modules/.bin/vite +2 -2
- package/template/base/package.json +4 -3
- package/template/base/src/assets/main.css +1 -1
- package/template/config/cypress/cypress.config.js +2 -2
- package/template/config/cypress/node_modules/.bin/cypress +2 -2
- package/template/config/cypress/node_modules/.bin/server-test +2 -2
- package/template/config/cypress/node_modules/.bin/start-server-and-test +2 -2
- package/template/config/cypress/node_modules/.bin/start-test +2 -2
- package/template/config/cypress/package.json +2 -2
- package/template/config/cypress-ct/cypress.config.js +2 -2
- package/template/config/cypress-ct/node_modules/.bin/cypress +2 -2
- package/template/config/cypress-ct/package.json +2 -2
- package/template/config/jsx/node_modules/.bin/browserslist +4 -4
- package/template/config/jsx/node_modules/.bin/vite +2 -2
- package/template/config/jsx/package.json +3 -3
- package/template/config/nightwatch/nightwatch.conf.js +3 -2
- package/template/config/nightwatch/node_modules/.bin/browserslist +4 -4
- package/template/config/nightwatch/node_modules/.bin/chromedriver +2 -2
- package/template/config/nightwatch/node_modules/.bin/nightwatch +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-cwd +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-esm +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-script +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-transpile-only +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-script +2 -2
- package/template/config/nightwatch/node_modules/.bin/tsc +4 -4
- package/template/config/nightwatch/node_modules/.bin/tsserver +4 -4
- package/template/config/nightwatch/node_modules/.bin/vite +4 -4
- package/template/config/nightwatch/package.json +8 -7
- package/template/config/nightwatch/tests/e2e/example.js +1 -4
- package/template/config/nightwatch-ct/package.json +5 -2
- package/template/config/pinia/package.json +2 -2
- package/template/config/playwright/e2e/vue.spec.js +1 -1
- package/template/config/playwright/node_modules/.bin/playwright +2 -2
- package/template/config/playwright/package.json +1 -1
- package/template/config/playwright/playwright.config.js +5 -8
- package/template/config/router/package.json +2 -2
- package/template/config/typescript/node_modules/.bin/npm-run-all +2 -2
- package/template/config/typescript/node_modules/.bin/npm-run-all2 +17 -0
- package/template/config/typescript/node_modules/.bin/run-p +2 -2
- package/template/config/typescript/node_modules/.bin/run-s +2 -2
- package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
- package/template/config/typescript/package.json +4 -4
- package/template/config/vitest/node_modules/.bin/vitest +2 -2
- package/template/config/vitest/package.json +4 -4
- package/template/tsconfig/base/tsconfig.app.json +1 -0
- package/template/tsconfig/base/tsconfig.node.json +1 -0
- package/template/tsconfig/nightwatch/nightwatch/tsconfig.json +3 -1
- package/template/tsconfig/nightwatch-ct/tsconfig.app.json +1 -0
- package/template/tsconfig/vitest/package.json +1 -4
- package/template/config/cypress/cypress.config.ts +0 -8
- package/template/config/cypress-ct/cypress.config.ts +0 -15
- package/template/config/nightwatch/nightwatch/globals.js +0 -23
- package/template/config/nightwatch/node_modules/.bin/wait-on +0 -17
- package/template/config/playwright/playwright.config.ts +0 -112
- package/template/tsconfig/base/tsconfig.json +0 -11
- package/template/tsconfig/cypress-ct/package.json +0 -5
- package/template/tsconfig/cypress-ct/tsconfig.json +0 -14
- package/template/tsconfig/nightwatch/tsconfig.json +0 -17
- package/template/tsconfig/nightwatch-ct/tsconfig.json +0 -14
- package/template/tsconfig/vitest/tsconfig.json +0 -14
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Note that the tag name (`@latest` or `@legacy`) MUST NOT be omitted, otherwise `
|
|
|
24
24
|
|
|
25
25
|
- Vue CLI is based on webpack, while `create-vue` is based on [Vite](https://vitejs.dev/). Vite supports most of the configured conventions found in Vue CLI projects out of the box, and provides a significantly better development experience due to its extremely fast startup and hot-module replacement speed. Learn more about why we recommend Vite over webpack [here](https://vitejs.dev/guide/why.html).
|
|
26
26
|
|
|
27
|
-
- Unlike Vue CLI, `create-vue` itself is just a scaffolding tool: it creates a pre-configured project
|
|
27
|
+
- Unlike Vue CLI, `create-vue` itself is just a scaffolding tool: it creates a pre-configured project based on the features you choose, and delegates the rest to Vite. Projects scaffolded this way can directly leverage the [Vite plugin ecosystem](https://vitejs.dev/plugins/) which is Rollup-compatible.
|
|
28
28
|
|
|
29
29
|
## Migrating from Vue CLI
|
|
30
30
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": {
|
|
3
|
+
"message": "Project name:"
|
|
4
|
+
},
|
|
5
|
+
"shouldOverwrite": {
|
|
6
|
+
"dirForPrompts": {
|
|
7
|
+
"current": "Current directory",
|
|
8
|
+
"target": "Target directory"
|
|
9
|
+
},
|
|
10
|
+
"message": "is not empty. Remove existing files and continue?"
|
|
11
|
+
},
|
|
12
|
+
"packageName": {
|
|
13
|
+
"message": "Package name:",
|
|
14
|
+
"invalidMessage": "Invalid package.json name"
|
|
15
|
+
},
|
|
16
|
+
"needsTypeScript": {
|
|
17
|
+
"message": "Add TypeScript?"
|
|
18
|
+
},
|
|
19
|
+
"needsJsx": {
|
|
20
|
+
"message": "Add JSX Support?"
|
|
21
|
+
},
|
|
22
|
+
"needsRouter": {
|
|
23
|
+
"message": "Add Vue Router for Single Page Application development?"
|
|
24
|
+
},
|
|
25
|
+
"needsPinia": {
|
|
26
|
+
"message": "Add Pinia for state management?"
|
|
27
|
+
},
|
|
28
|
+
"needsVitest": {
|
|
29
|
+
"message": "Add Vitest for Unit Testing?"
|
|
30
|
+
},
|
|
31
|
+
"needsE2eTesting": {
|
|
32
|
+
"message": "Add an End-to-End Testing Solution?",
|
|
33
|
+
"hint": "- Use arrow-keys. Return to submit.",
|
|
34
|
+
"selectOptions": {
|
|
35
|
+
"negative": { "title": "No" },
|
|
36
|
+
"cypress": {
|
|
37
|
+
"title": "Cypress",
|
|
38
|
+
"desc": "also supports unit testing with Cypress Component Testing"
|
|
39
|
+
},
|
|
40
|
+
"nightwatch": {
|
|
41
|
+
"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
|
+
},
|
|
50
|
+
"needsPrettier": {
|
|
51
|
+
"message": "Add Prettier for code formatting?"
|
|
52
|
+
},
|
|
53
|
+
"errors": {
|
|
54
|
+
"operationCancelled": "Operation cancelled"
|
|
55
|
+
},
|
|
56
|
+
"defaultToggleOptions": {
|
|
57
|
+
"active": "Yes",
|
|
58
|
+
"inactive": "No"
|
|
59
|
+
},
|
|
60
|
+
"infos": {
|
|
61
|
+
"scaffolding": "Scaffolding project in",
|
|
62
|
+
"done": "Done. Now run:"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": {
|
|
3
|
+
"message": "Nom du projet\u00a0:"
|
|
4
|
+
},
|
|
5
|
+
"shouldOverwrite": {
|
|
6
|
+
"dirForPrompts": {
|
|
7
|
+
"current": "Répertoire courant",
|
|
8
|
+
"target": "Répertoire cible"
|
|
9
|
+
},
|
|
10
|
+
"message": "n'est pas vide. Supprimer les fichiers existants et continuer\u00a0?"
|
|
11
|
+
},
|
|
12
|
+
"packageName": {
|
|
13
|
+
"message": "Nom du package\u00a0:",
|
|
14
|
+
"invalidMessage": "Le nom du package.json est invalide"
|
|
15
|
+
},
|
|
16
|
+
"needsTypeScript": {
|
|
17
|
+
"message": "Ajouter TypeScript\u00a0?"
|
|
18
|
+
},
|
|
19
|
+
"needsJsx": {
|
|
20
|
+
"message": "Ajouter le support de JSX\u00a0?"
|
|
21
|
+
},
|
|
22
|
+
"needsRouter": {
|
|
23
|
+
"message": "Ajouter Vue Router pour le développement d'applications _single page_\u00a0?"
|
|
24
|
+
},
|
|
25
|
+
"needsPinia": {
|
|
26
|
+
"message": "Ajouter Pinia pour la gestion de l'état\u00a0?"
|
|
27
|
+
},
|
|
28
|
+
"needsVitest": {
|
|
29
|
+
"message": "Ajouter Vitest pour les tests unitaires\u00a0?"
|
|
30
|
+
},
|
|
31
|
+
"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",
|
|
34
|
+
"selectOptions": {
|
|
35
|
+
"negative": { "title": "Non" },
|
|
36
|
+
"cypress": {
|
|
37
|
+
"title": "Cypress",
|
|
38
|
+
"desc": "prend également en charge les tests unitaires avec Cypress Component Testing"
|
|
39
|
+
},
|
|
40
|
+
"nightwatch": {
|
|
41
|
+
"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
|
+
},
|
|
50
|
+
"needsPrettier": {
|
|
51
|
+
"message": "Ajouter Prettier pour le formatage du code\u00a0?"
|
|
52
|
+
},
|
|
53
|
+
"errors": {
|
|
54
|
+
"operationCancelled": "Operation annulée"
|
|
55
|
+
},
|
|
56
|
+
"defaultToggleOptions": {
|
|
57
|
+
"active": "Oui",
|
|
58
|
+
"inactive": "Non"
|
|
59
|
+
},
|
|
60
|
+
"infos": {
|
|
61
|
+
"scaffolding": "Génération du projet dans",
|
|
62
|
+
"done": "Terminé. Exécutez maintenant\u00a0:"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": {
|
|
3
|
+
"message": "Proje adı:"
|
|
4
|
+
},
|
|
5
|
+
"shouldOverwrite": {
|
|
6
|
+
"dirForPrompts": {
|
|
7
|
+
"current": "Geçerli dizin",
|
|
8
|
+
"target": "Hedef dizin"
|
|
9
|
+
},
|
|
10
|
+
"message": "boş değil. Varolan dosyalar silinip devam edilsin mi?"
|
|
11
|
+
},
|
|
12
|
+
"packageName": {
|
|
13
|
+
"message": "Paket adı:",
|
|
14
|
+
"invalidMessage": "Geçersiz package.json adı"
|
|
15
|
+
},
|
|
16
|
+
"needsTypeScript": {
|
|
17
|
+
"message": "TypeScript Eklensin mi?"
|
|
18
|
+
},
|
|
19
|
+
"needsJsx": {
|
|
20
|
+
"message": "JSX Desteği Eklensin mi?"
|
|
21
|
+
},
|
|
22
|
+
"needsRouter": {
|
|
23
|
+
"message": "Tek Sayfa Uygulama geliştirilmesi için Vue Router eklensin mi?"
|
|
24
|
+
},
|
|
25
|
+
"needsPinia": {
|
|
26
|
+
"message": "Durum yönetimi için Pinia eklensin mi?"
|
|
27
|
+
},
|
|
28
|
+
"needsVitest": {
|
|
29
|
+
"message": "Birim Testi için Vitest eklensin mi?"
|
|
30
|
+
},
|
|
31
|
+
"needsE2eTesting": {
|
|
32
|
+
"message": "Uçtan Uca Test Çözümü Eklensin mi?",
|
|
33
|
+
"hint": "- Ok tuşlarını kullan. Gönderime geri dön.",
|
|
34
|
+
"selectOptions": {
|
|
35
|
+
"negative": { "title": "Hayır" },
|
|
36
|
+
"cypress": {
|
|
37
|
+
"title": "Cypress",
|
|
38
|
+
"desc": "ayrıca Cypress Bileşen Testi ile birim testini de destekler"
|
|
39
|
+
},
|
|
40
|
+
"nightwatch": {
|
|
41
|
+
"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
|
+
},
|
|
50
|
+
"needsPrettier": {
|
|
51
|
+
"message": "Kod formatlama için Prettier eklensin mi?"
|
|
52
|
+
},
|
|
53
|
+
"errors": {
|
|
54
|
+
"operationCancelled": "İşlem iptal edildi"
|
|
55
|
+
},
|
|
56
|
+
"defaultToggleOptions": {
|
|
57
|
+
"active": "Evet",
|
|
58
|
+
"inactive": "Hayır"
|
|
59
|
+
},
|
|
60
|
+
"infos": {
|
|
61
|
+
"scaffolding": "İskele projesi",
|
|
62
|
+
"done": "Tamamlandı. Şimdi bunu çalıştır:"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": {
|
|
3
|
+
"message": "请输入项目名称:"
|
|
4
|
+
},
|
|
5
|
+
"shouldOverwrite": {
|
|
6
|
+
"dirForPrompts": {
|
|
7
|
+
"current": "当前目录",
|
|
8
|
+
"target": "目标文件夹"
|
|
9
|
+
},
|
|
10
|
+
"message": "非空,是否覆盖?"
|
|
11
|
+
},
|
|
12
|
+
"packageName": {
|
|
13
|
+
"message": "请输入包名称:",
|
|
14
|
+
"invalidMessage": "无效的 package.json 名称"
|
|
15
|
+
},
|
|
16
|
+
"needsTypeScript": {
|
|
17
|
+
"message": "是否使用 TypeScript 语法?"
|
|
18
|
+
},
|
|
19
|
+
"needsJsx": {
|
|
20
|
+
"message": "是否启用 JSX 支持?"
|
|
21
|
+
},
|
|
22
|
+
"needsRouter": {
|
|
23
|
+
"message": "是否引入 Vue Router 进行单页面应用开发?"
|
|
24
|
+
},
|
|
25
|
+
"needsPinia": {
|
|
26
|
+
"message": "是否引入 Pinia 用于状态管理?"
|
|
27
|
+
},
|
|
28
|
+
"needsVitest": {
|
|
29
|
+
"message": "是否引入 Vitest 用于单元测试?"
|
|
30
|
+
},
|
|
31
|
+
"needsE2eTesting": {
|
|
32
|
+
"message": "是否要引入一款端到端(End to End)测试工具?",
|
|
33
|
+
"hint": "- 使用箭头切换按Enter确认。",
|
|
34
|
+
"selectOptions": {
|
|
35
|
+
"negative": { "title": "不需要" },
|
|
36
|
+
"cypress": {
|
|
37
|
+
"title": "Cypress",
|
|
38
|
+
"desc": "同时支持基于 Cypress Component Testing 的单元测试"
|
|
39
|
+
},
|
|
40
|
+
"nightwatch": {
|
|
41
|
+
"title": "Nightwatch",
|
|
42
|
+
"desc": "同时支持基于 Nightwatch Component Testing 的单元测试"
|
|
43
|
+
},
|
|
44
|
+
"playwright": { "title": "Playwright" }
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"needsEslint": {
|
|
48
|
+
"message": "是否引入 ESLint 用于代码质量检测?"
|
|
49
|
+
},
|
|
50
|
+
"needsPrettier": {
|
|
51
|
+
"message": "是否引入 Prettier 用于代码格式化?"
|
|
52
|
+
},
|
|
53
|
+
"errors": {
|
|
54
|
+
"operationCancelled": "操作取消"
|
|
55
|
+
},
|
|
56
|
+
"defaultToggleOptions": {
|
|
57
|
+
"active": "是",
|
|
58
|
+
"inactive": "否"
|
|
59
|
+
},
|
|
60
|
+
"infos": {
|
|
61
|
+
"scaffolding": "正在构建项目",
|
|
62
|
+
"done": "项目构建完成,可执行以下命令:"
|
|
63
|
+
}
|
|
64
|
+
}
|