create-vue 3.21.1 → 3.22.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/LICENSE +24 -24
- package/bundle.js +1559 -888
- package/locales/en-US.json +1 -1
- package/locales/fr-FR.json +1 -1
- package/locales/tr-TR.json +1 -1
- package/locales/zh-Hans.json +1 -1
- package/locales/zh-Hant.json +1 -1
- package/package.json +7 -7
- package/template/base/package.json +1 -1
- package/template/config/cypress/package.json +2 -2
- package/template/config/cypress-ct/package.json +2 -2
- package/template/config/jsx/package.json +1 -1
- package/template/config/nightwatch/package.json +1 -1
- package/template/config/nightwatch-ct/package.json +1 -1
- package/template/config/pinia/package.json +1 -1
- package/template/config/router/package.json +2 -2
- package/template/config/typescript/package.json +2 -2
- package/template/config/vitest/package.json +1 -1
- package/template/formatting/oxfmt/package.json +1 -1
- package/template/linting/base/package.json +1 -1
- package/template/linting/core/js/package.json +2 -2
- package/template/linting/core/ts/package.json +2 -2
- package/template/linting/cypress/package.json +1 -1
- package/template/linting/oxlint/package.json +2 -2
- package/template/linting/playwright/package.json +1 -1
- package/template/tsconfig/base/tsconfig.app.json +8 -2
- package/template/tsconfig/base/tsconfig.node.json +13 -4
- package/template/tsconfig/cypress-ct/tsconfig.cypress-ct.json +2 -0
- package/template/tsconfig/nightwatch-ct/tsconfig.app.json +8 -2
- package/template/tsconfig/vitest/package.json +1 -1
- package/template/tsconfig/vitest/tsconfig.vitest.json +11 -3
package/locales/en-US.json
CHANGED
package/locales/fr-FR.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)"
|
|
20
20
|
},
|
|
21
21
|
"needsTypeScript": {
|
|
22
|
-
"message": "TypeScript"
|
|
22
|
+
"message": "Utiliser TypeScript\u00a0?"
|
|
23
23
|
},
|
|
24
24
|
"needsJsx": {
|
|
25
25
|
"message": "Support de JSX"
|
package/locales/tr-TR.json
CHANGED
package/locales/zh-Hans.json
CHANGED
package/locales/zh-Hant.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "🛠️ The recommended way to start a Vite-powered Vue project",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/vuejs/create-vue#readme",
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"provenance": true
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@clack/prompts": "^0.
|
|
31
|
+
"@clack/prompts": "^1.0.1",
|
|
32
32
|
"@tsconfig/node24": "^24.0.4",
|
|
33
33
|
"@types/eslint": "^9.6.1",
|
|
34
|
-
"@types/node": "^24.
|
|
34
|
+
"@types/node": "^24.11.0",
|
|
35
35
|
"@types/prompts": "^2.4.9",
|
|
36
36
|
"@vue/tsconfig": "^0.8.1",
|
|
37
37
|
"ejs": "^3.1.10",
|
|
38
38
|
"husky": "^9.1.7",
|
|
39
|
-
"lint-staged": "^16.
|
|
40
|
-
"oxfmt": "^0.
|
|
41
|
-
"oxlint": "~1.
|
|
39
|
+
"lint-staged": "^16.3.0",
|
|
40
|
+
"oxfmt": "^0.35.0",
|
|
41
|
+
"oxlint": "~1.50.0",
|
|
42
42
|
"picocolors": "^1.1.1",
|
|
43
|
-
"rolldown": "1.0.0-rc.
|
|
43
|
+
"rolldown": "1.0.0-rc.6",
|
|
44
44
|
"rollup-plugin-license": "^3.7.0",
|
|
45
45
|
"vitest": "^4.0.18",
|
|
46
46
|
"zx": "^8.8.5"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"cypress": "^15.
|
|
9
|
-
"start-server-and-test": "^2.1.
|
|
8
|
+
"cypress": "^15.11.0",
|
|
9
|
+
"start-server-and-test": "^2.1.5"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -3,10 +3,16 @@
|
|
|
3
3
|
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
4
4
|
"exclude": ["src/**/__tests__/*"],
|
|
5
5
|
"compilerOptions": {
|
|
6
|
-
|
|
6
|
+
// Extra safety for array and object lookups, but may have false positives.
|
|
7
|
+
"noUncheckedIndexedAccess": true,
|
|
7
8
|
|
|
9
|
+
// Path mapping for cleaner imports.
|
|
8
10
|
"paths": {
|
|
9
11
|
"@/*": ["./src/*"]
|
|
10
|
-
}
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
15
|
+
// Specified here to keep it out of the root directory.
|
|
16
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
|
11
17
|
}
|
|
12
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
|
|
1
2
|
{
|
|
2
3
|
"extends": "@tsconfig/node24/tsconfig.json",
|
|
3
4
|
"include": [
|
|
@@ -9,11 +10,19 @@
|
|
|
9
10
|
"eslint.config.*"
|
|
10
11
|
],
|
|
11
12
|
"compilerOptions": {
|
|
13
|
+
// Most tools use transpilation instead of Node.js's native type-stripping.
|
|
14
|
+
// Bundler mode provides a smoother developer experience.
|
|
15
|
+
"module": "preserve",
|
|
16
|
+
"moduleResolution": "bundler",
|
|
17
|
+
|
|
18
|
+
// Include Node.js types and avoid accidentally including other `@types/*` packages.
|
|
19
|
+
"types": ["node"],
|
|
20
|
+
|
|
21
|
+
// Disable emitting output during `vue-tsc --build`, which is used for type-checking only.
|
|
12
22
|
"noEmit": true,
|
|
13
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
14
23
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
24
|
+
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
25
|
+
// Specified here to keep it out of the root directory.
|
|
26
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
|
|
18
27
|
}
|
|
19
28
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
],
|
|
10
10
|
"exclude": [],
|
|
11
11
|
"compilerOptions": {
|
|
12
|
+
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
13
|
+
// Specified here to keep it out of the root directory.
|
|
12
14
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.cypress-ct.tsbuildinfo"
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -3,10 +3,16 @@
|
|
|
3
3
|
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
4
4
|
"exclude": ["src/**/__tests__/*"],
|
|
5
5
|
"compilerOptions": {
|
|
6
|
-
|
|
6
|
+
// Extra safety for array and object lookups, but may have false positives.
|
|
7
|
+
"noUncheckedIndexedAccess": true,
|
|
7
8
|
|
|
9
|
+
// Path mapping for cleaner imports.
|
|
8
10
|
"paths": {
|
|
9
11
|
"@/*": ["./src/*"]
|
|
10
|
-
}
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
15
|
+
// Specified here to keep it out of the root directory.
|
|
16
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
|
11
17
|
}
|
|
12
18
|
}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "./tsconfig.app.json",
|
|
3
|
+
|
|
4
|
+
// Override to include only test files and clear exclusions.
|
|
5
|
+
// Application code imported in tests is automatically included via module resolution.
|
|
3
6
|
"include": ["src/**/__tests__/*", "env.d.ts"],
|
|
4
7
|
"exclude": [],
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo",
|
|
7
8
|
|
|
9
|
+
"compilerOptions": {
|
|
10
|
+
// Vitest runs in a different environment than the application code.
|
|
11
|
+
// Adjust lib and types accordingly.
|
|
8
12
|
"lib": [],
|
|
9
|
-
"types": ["node", "jsdom"]
|
|
13
|
+
"types": ["node", "jsdom"],
|
|
14
|
+
|
|
15
|
+
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
16
|
+
// Specified here to keep it out of the root directory.
|
|
17
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo"
|
|
10
18
|
}
|
|
11
19
|
}
|