create-vue 3.18.3 → 3.18.4
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 +0 -29
- package/bundle.js +218 -432
- package/package.json +5 -6
- package/template/base/package.json +3 -3
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/package.json +2 -2
- package/template/config/jsx/package.json +3 -3
- package/template/config/nightwatch/package.json +4 -4
- 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 +3 -3
- package/template/config/vitest/package.json +3 -3
- package/template/formatting/oxfmt/.vscode/settings.json +14 -0
- package/template/formatting/oxfmt/_oxfmtrc.jsonc +5 -0
- package/template/formatting/oxfmt/_prettierrc.json +7 -0
- package/template/formatting/oxfmt/package.json +13 -0
- package/template/formatting/prettier/.vscode/extensions.json +3 -0
- package/template/formatting/prettier/.vscode/settings.json +4 -0
- package/template/{config → formatting}/prettier/package.json +1 -1
- package/template/linting/base/_editorconfig +8 -0
- package/template/linting/base/package.json +9 -0
- package/template/linting/core/js/eslint.config.js.data.mjs +15 -0
- package/template/linting/core/js/eslint.config.js.ejs +27 -0
- package/template/linting/core/js/package.json +8 -0
- package/template/linting/core/ts/eslint.config.js.data.mjs +15 -0
- package/template/linting/core/ts/eslint.config.js.ejs +24 -0
- package/template/linting/core/ts/package.json +9 -0
- package/template/linting/cypress/eslint.config.js.data.mjs +19 -0
- package/template/linting/cypress/package.json +5 -0
- package/template/linting/cypress-ct/eslint.config.js.data.mjs +25 -0
- package/template/linting/oxlint/.vscode/extensions.json +3 -0
- package/template/linting/oxlint/_ oxlintrc.json +10 -0
- package/template/linting/oxlint/eslint.config.js.data.mjs +12 -0
- package/template/linting/oxlint/package.json +12 -0
- package/template/linting/playwright/eslint.config.js.data.mjs +16 -0
- package/template/linting/playwright/package.json +5 -0
- package/template/linting/prettier/eslint.config.js.data.mjs +12 -0
- package/template/linting/prettier/package.json +6 -0
- package/template/linting/vitest/eslint.config.js.data.mjs +16 -0
- package/template/linting/vitest/package.json +5 -0
- package/template/config/prettier/.vscode/extensions.json +0 -3
- package/template/config/prettier/.vscode/settings.json +0 -4
- package/template/eslint/package.json +0 -7
- /package/template/{config/oxlint → formatting/oxfmt}/.vscode/extensions.json +0 -0
- /package/template/{config → formatting}/prettier/_prettierrc.json +0 -0
- /package/template/{config/eslint → linting/base}/.vscode/extensions.json +0 -0
- /package/template/{config/eslint → linting/base}/.vscode/settings.json +0 -0
- /package/template/{config/prettier → linting/base}/_gitattributes +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.4",
|
|
4
4
|
"description": "🛠️ The recommended way to start a Vite-powered Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,18 +30,17 @@
|
|
|
30
30
|
"@clack/prompts": "^0.11.0",
|
|
31
31
|
"@tsconfig/node24": "^24.0.3",
|
|
32
32
|
"@types/eslint": "^9.6.1",
|
|
33
|
-
"@types/node": "^24.10.
|
|
33
|
+
"@types/node": "^24.10.4",
|
|
34
34
|
"@types/prompts": "^2.4.9",
|
|
35
|
-
"@vue/create-eslint-config": "^0.13.1",
|
|
36
35
|
"@vue/tsconfig": "^0.8.1",
|
|
37
36
|
"ejs": "^3.1.10",
|
|
38
37
|
"husky": "^9.1.7",
|
|
39
38
|
"lint-staged": "^16.2.7",
|
|
40
39
|
"picocolors": "^1.1.1",
|
|
41
|
-
"prettier": "3.
|
|
42
|
-
"rolldown": "1.0.0-beta.
|
|
40
|
+
"prettier": "3.7.4",
|
|
41
|
+
"rolldown": "1.0.0-beta.57",
|
|
43
42
|
"rollup-plugin-license": "^3.6.0",
|
|
44
|
-
"vitest": "^4.0.
|
|
43
|
+
"vitest": "^4.0.16",
|
|
45
44
|
"zx": "^8.8.5"
|
|
46
45
|
},
|
|
47
46
|
"lint-staged": {
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"vue": "^3.5.
|
|
13
|
+
"vue": "^3.5.26"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
17
|
-
"vite": "^7.
|
|
16
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
17
|
+
"vite": "^7.3.0",
|
|
18
18
|
"vite-plugin-vue-devtools": "^8.0.5"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
},
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@nightwatch/vue": "^3.1.2",
|
|
7
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
8
|
-
"chromedriver": "^
|
|
7
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
8
|
+
"chromedriver": "^143.0.3",
|
|
9
9
|
"geckodriver": "^6.1.0",
|
|
10
|
-
"nightwatch": "^3.
|
|
10
|
+
"nightwatch": "^3.14.0",
|
|
11
11
|
"ts-node": "^10.9.2",
|
|
12
|
-
"vite": "^7.
|
|
12
|
+
"vite": "^7.3.0",
|
|
13
13
|
"vite-plugin-nightwatch": "^0.4.6"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"[javascript]": {
|
|
3
|
+
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
4
|
+
},
|
|
5
|
+
"[javascriptreact]": {
|
|
6
|
+
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
7
|
+
},
|
|
8
|
+
"[typescript]": {
|
|
9
|
+
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
10
|
+
},
|
|
11
|
+
"[typescriptreact]": {
|
|
12
|
+
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scripts": {
|
|
3
|
+
"format:oxfmt": "oxfmt src/",
|
|
4
|
+
"format:prettier": "prettier --write --experimental-cli src/ '!**/*.{js,jsx,ts,tsx}'",
|
|
5
|
+
"format": "run-p format:oxfmt format:prettier"
|
|
6
|
+
},
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@prettier/plugin-oxc": "^0.1.3",
|
|
9
|
+
"npm-run-all2": "^8.0.4",
|
|
10
|
+
"prettier": "3.7.4",
|
|
11
|
+
"oxfmt": "^0.20.0"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default function getData() {
|
|
2
|
+
return {
|
|
3
|
+
configs: [
|
|
4
|
+
{
|
|
5
|
+
importer: `import js from '@eslint/js'`,
|
|
6
|
+
content: ` js.configs.recommended,`,
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
importer: `import pluginVue from 'eslint-plugin-vue'`,
|
|
11
|
+
content: ` ...pluginVue.configs['flat/essential'],`,
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
2
|
+
import globals from 'globals'
|
|
3
|
+
<%_ for (const { importer } of configs) { _%>
|
|
4
|
+
<%_ if (importer) { _%><%- importer %>
|
|
5
|
+
<%_ } _%>
|
|
6
|
+
<%_ } _%>
|
|
7
|
+
|
|
8
|
+
export default defineConfig([
|
|
9
|
+
{
|
|
10
|
+
name: 'app/files-to-lint',
|
|
11
|
+
files: ['**/*.{vue,js,mjs,jsx}'],
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']),
|
|
15
|
+
|
|
16
|
+
{
|
|
17
|
+
languageOptions: {
|
|
18
|
+
globals: {
|
|
19
|
+
...globals.browser,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
<%_ for (const { content } of configs) { _%>
|
|
25
|
+
<%- content %>
|
|
26
|
+
<%_ } _%>
|
|
27
|
+
])
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default function getData() {
|
|
2
|
+
return {
|
|
3
|
+
configs: [
|
|
4
|
+
{
|
|
5
|
+
importer: `import pluginVue from 'eslint-plugin-vue'`,
|
|
6
|
+
content: ` ...pluginVue.configs['flat/essential'],`,
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
{
|
|
10
|
+
// skipped importer for this one because it was already there
|
|
11
|
+
content: ` vueTsConfigs.recommended,`,
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { globalIgnores } from 'eslint/config'
|
|
2
|
+
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
|
|
3
|
+
<%_ for (const { importer } of configs) { _%>
|
|
4
|
+
<%_ if (importer) { _%><%- importer %>
|
|
5
|
+
<%_ } _%>
|
|
6
|
+
<%_ } _%>
|
|
7
|
+
|
|
8
|
+
// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
|
|
9
|
+
// import { configureVueProject } from '@vue/eslint-config-typescript'
|
|
10
|
+
// configureVueProject({ scriptLangs: ['ts', 'tsx'] })
|
|
11
|
+
// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup
|
|
12
|
+
|
|
13
|
+
export default defineConfigWithVueTs(
|
|
14
|
+
{
|
|
15
|
+
name: 'app/files-to-lint',
|
|
16
|
+
files: ['**/*.{vue,ts,mts,tsx}'],
|
|
17
|
+
},
|
|
18
|
+
|
|
19
|
+
globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']),
|
|
20
|
+
|
|
21
|
+
<%_ for (const { content } of configs) { _%>
|
|
22
|
+
<%- content %>
|
|
23
|
+
<%_ } _%>
|
|
24
|
+
)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default function getData({ oldData }) {
|
|
2
|
+
return {
|
|
3
|
+
...oldData,
|
|
4
|
+
configs: [
|
|
5
|
+
...oldData.configs,
|
|
6
|
+
{
|
|
7
|
+
importer: `import pluginCypress from 'eslint-plugin-cypress'`,
|
|
8
|
+
content: `
|
|
9
|
+
{
|
|
10
|
+
...pluginCypress.configs.recommended,
|
|
11
|
+
files: [
|
|
12
|
+
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
|
|
13
|
+
'cypress/support/**/*.{js,ts,jsx,tsx}',
|
|
14
|
+
],
|
|
15
|
+
},`,
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default function getData({ oldData }) {
|
|
2
|
+
return {
|
|
3
|
+
...oldData,
|
|
4
|
+
configs: oldData.configs.map((c) => {
|
|
5
|
+
if (!c.content.includes('pluginCypress')) {
|
|
6
|
+
return c
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
return {
|
|
10
|
+
...c,
|
|
11
|
+
|
|
12
|
+
// modify the files pattern to include component testing files
|
|
13
|
+
content: `
|
|
14
|
+
{
|
|
15
|
+
...pluginCypress.configs.recommended,
|
|
16
|
+
files: [
|
|
17
|
+
'**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
|
|
18
|
+
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
|
|
19
|
+
'cypress/support/**/*.{js,ts,jsx,tsx}',
|
|
20
|
+
],
|
|
21
|
+
},`,
|
|
22
|
+
}
|
|
23
|
+
}),
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default function getData({ oldData }) {
|
|
2
|
+
return {
|
|
3
|
+
...oldData,
|
|
4
|
+
configs: [
|
|
5
|
+
...oldData.configs,
|
|
6
|
+
{
|
|
7
|
+
importer: "import pluginPlaywright from 'eslint-plugin-playwright'",
|
|
8
|
+
content: `
|
|
9
|
+
{
|
|
10
|
+
...pluginPlaywright.configs['flat/recommended'],
|
|
11
|
+
files: ['e2e/**/*.{test,spec}.{js,ts,jsx,tsx}'],
|
|
12
|
+
},`,
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default function getData({ oldData }) {
|
|
2
|
+
return {
|
|
3
|
+
...oldData,
|
|
4
|
+
configs: [
|
|
5
|
+
...oldData.configs,
|
|
6
|
+
{
|
|
7
|
+
importer: `import pluginVitest from '@vitest/eslint-plugin'`,
|
|
8
|
+
content: `
|
|
9
|
+
{
|
|
10
|
+
...pluginVitest.configs.recommended,
|
|
11
|
+
files: ['src/**/__tests__/*'],
|
|
12
|
+
},`,
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
}
|
|
16
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|