create-vue 3.2.0 → 3.2.3
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/outfile.cjs +224 -2891
- package/package.json +6 -6
- package/template/base/node_modules/.bin/vite +2 -2
- package/template/base/package.json +2 -2
- package/template/{code/default → base}/src/assets/base.css +0 -0
- package/template/{code/default → base}/src/assets/logo.svg +0 -0
- package/template/base/src/assets/main.css +35 -0
- package/template/code/default/src/App.vue +5 -39
- package/template/code/router/src/App.vue +6 -40
- package/template/code/typescript-default/src/App.vue +5 -39
- package/template/code/typescript-router/src/App.vue +6 -40
- package/template/config/cypress/node_modules/.bin/cypress +2 -2
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/cypress/support/component.js +3 -0
- package/template/config/cypress-ct/cypress/support/component.ts +3 -0
- package/template/config/cypress-ct/node_modules/.bin/cypress +2 -2
- package/template/config/cypress-ct/package.json +2 -2
- package/template/config/pinia/package.json +1 -1
- package/template/config/router/package.json +2 -2
- package/template/config/typescript/node_modules/.bin/tsc +2 -2
- package/template/config/typescript/node_modules/.bin/tsserver +2 -2
- package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
- package/template/config/typescript/package.json +3 -3
- package/template/config/vitest/node_modules/.bin/vitest +2 -2
- package/template/config/vitest/package.json +4 -4
- package/template/entry/default/src/main.js +2 -0
- package/template/entry/pinia/src/main.js +2 -0
- package/template/entry/router/src/main.js +2 -0
- package/template/entry/router-and-pinia/src/main.js +2 -0
- package/template/eslint/package.json +2 -2
- package/template/code/router/src/assets/base.css +0 -74
- package/template/code/router/src/assets/logo.svg +0 -1
- package/template/code/typescript-default/src/assets/base.css +0 -74
- package/template/code/typescript-default/src/assets/logo.svg +0 -1
- package/template/code/typescript-router/src/assets/base.css +0 -74
- package/template/code/typescript-router/src/assets/logo.svg +0 -1
- package/template/config/vuex/package.json +0 -6
- package/template/config/vuex/src/store/index.js +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "An easy way to start a Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/vuejs/create-vue#readme",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/eslint": "^8.4.
|
|
28
|
+
"@types/eslint": "^8.4.5",
|
|
29
29
|
"@types/prompts": "^2.0.14",
|
|
30
30
|
"@vue/tsconfig": "^0.1.3",
|
|
31
|
-
"esbuild": "^0.14.
|
|
31
|
+
"esbuild": "^0.14.49",
|
|
32
32
|
"esbuild-plugin-license": "^1.2.2",
|
|
33
33
|
"husky": "^8.0.1",
|
|
34
34
|
"kolorist": "^1.5.1",
|
|
35
|
-
"lint-staged": "^
|
|
35
|
+
"lint-staged": "^13.0.3",
|
|
36
36
|
"minimist": "^1.2.6",
|
|
37
37
|
"npm-run-all": "^4.1.5",
|
|
38
|
-
"prettier": "^2.
|
|
38
|
+
"prettier": "^2.7.1",
|
|
39
39
|
"prompts": "^2.4.2",
|
|
40
|
-
"zx": "^
|
|
40
|
+
"zx": "^4.3.0"
|
|
41
41
|
},
|
|
42
42
|
"lint-staged": {
|
|
43
43
|
"*.{js,ts,vue,json}": [
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@2.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@2.9.14/node_modules/vite/bin/vite.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/vite@2.9.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/vite@2.9.14/node_modules/vite/bin/vite.js" "$@"
|
|
17
17
|
fi
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@import "./base.css";
|
|
2
|
+
|
|
3
|
+
#app {
|
|
4
|
+
max-width: 1280px;
|
|
5
|
+
margin: 0 auto;
|
|
6
|
+
padding: 2rem;
|
|
7
|
+
|
|
8
|
+
font-weight: normal;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
a,
|
|
12
|
+
.green {
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
color: hsla(160, 100%, 37%, 1);
|
|
15
|
+
transition: 0.4s;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (hover: hover) {
|
|
19
|
+
a:hover {
|
|
20
|
+
background-color: hsla(160, 100%, 37%, 0.2);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (min-width: 1024px) {
|
|
25
|
+
body {
|
|
26
|
+
display: flex;
|
|
27
|
+
place-items: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#app {
|
|
31
|
+
display: grid;
|
|
32
|
+
grid-template-columns: 1fr 1fr;
|
|
33
|
+
padding: 0 2rem;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -17,17 +17,7 @@ import TheWelcome from './components/TheWelcome.vue'
|
|
|
17
17
|
</main>
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
|
-
<style>
|
|
21
|
-
@import './assets/base.css';
|
|
22
|
-
|
|
23
|
-
#app {
|
|
24
|
-
max-width: 1280px;
|
|
25
|
-
margin: 0 auto;
|
|
26
|
-
padding: 2rem;
|
|
27
|
-
|
|
28
|
-
font-weight: normal;
|
|
29
|
-
}
|
|
30
|
-
|
|
20
|
+
<style scoped>
|
|
31
21
|
header {
|
|
32
22
|
line-height: 1.5;
|
|
33
23
|
}
|
|
@@ -37,45 +27,21 @@ header {
|
|
|
37
27
|
margin: 0 auto 2rem;
|
|
38
28
|
}
|
|
39
29
|
|
|
40
|
-
a,
|
|
41
|
-
.green {
|
|
42
|
-
text-decoration: none;
|
|
43
|
-
color: hsla(160, 100%, 37%, 1);
|
|
44
|
-
transition: 0.4s;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (hover: hover) {
|
|
48
|
-
a:hover {
|
|
49
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
30
|
@media (min-width: 1024px) {
|
|
54
|
-
body {
|
|
55
|
-
display: flex;
|
|
56
|
-
place-items: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#app {
|
|
60
|
-
display: grid;
|
|
61
|
-
grid-template-columns: 1fr 1fr;
|
|
62
|
-
padding: 0 2rem;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
31
|
header {
|
|
66
32
|
display: flex;
|
|
67
33
|
place-items: center;
|
|
68
34
|
padding-right: calc(var(--section-gap) / 2);
|
|
69
35
|
}
|
|
70
36
|
|
|
37
|
+
.logo {
|
|
38
|
+
margin: 0 2rem 0 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
71
41
|
header .wrapper {
|
|
72
42
|
display: flex;
|
|
73
43
|
place-items: flex-start;
|
|
74
44
|
flex-wrap: wrap;
|
|
75
45
|
}
|
|
76
|
-
|
|
77
|
-
.logo {
|
|
78
|
-
margin: 0 2rem 0 0;
|
|
79
|
-
}
|
|
80
46
|
}
|
|
81
47
|
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { RouterLink, RouterView } from 'vue-router'
|
|
3
|
-
import HelloWorld from '
|
|
3
|
+
import HelloWorld from './components/HelloWorld.vue'
|
|
4
4
|
</script>
|
|
5
5
|
|
|
6
6
|
<template>
|
|
@@ -20,17 +20,7 @@ import HelloWorld from '@/components/HelloWorld.vue'
|
|
|
20
20
|
<RouterView />
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
|
-
<style>
|
|
24
|
-
@import '@/assets/base.css';
|
|
25
|
-
|
|
26
|
-
#app {
|
|
27
|
-
max-width: 1280px;
|
|
28
|
-
margin: 0 auto;
|
|
29
|
-
padding: 2rem;
|
|
30
|
-
|
|
31
|
-
font-weight: normal;
|
|
32
|
-
}
|
|
33
|
-
|
|
23
|
+
<style scoped>
|
|
34
24
|
header {
|
|
35
25
|
line-height: 1.5;
|
|
36
26
|
max-height: 100vh;
|
|
@@ -41,19 +31,6 @@ header {
|
|
|
41
31
|
margin: 0 auto 2rem;
|
|
42
32
|
}
|
|
43
33
|
|
|
44
|
-
a,
|
|
45
|
-
.green {
|
|
46
|
-
text-decoration: none;
|
|
47
|
-
color: hsla(160, 100%, 37%, 1);
|
|
48
|
-
transition: 0.4s;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@media (hover: hover) {
|
|
52
|
-
a:hover {
|
|
53
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
34
|
nav {
|
|
58
35
|
width: 100%;
|
|
59
36
|
font-size: 12px;
|
|
@@ -80,33 +57,22 @@ nav a:first-of-type {
|
|
|
80
57
|
}
|
|
81
58
|
|
|
82
59
|
@media (min-width: 1024px) {
|
|
83
|
-
body {
|
|
84
|
-
display: flex;
|
|
85
|
-
place-items: center;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
#app {
|
|
89
|
-
display: grid;
|
|
90
|
-
grid-template-columns: 1fr 1fr;
|
|
91
|
-
padding: 0 2rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
60
|
header {
|
|
95
61
|
display: flex;
|
|
96
62
|
place-items: center;
|
|
97
63
|
padding-right: calc(var(--section-gap) / 2);
|
|
98
64
|
}
|
|
99
65
|
|
|
66
|
+
.logo {
|
|
67
|
+
margin: 0 2rem 0 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
100
70
|
header .wrapper {
|
|
101
71
|
display: flex;
|
|
102
72
|
place-items: flex-start;
|
|
103
73
|
flex-wrap: wrap;
|
|
104
74
|
}
|
|
105
75
|
|
|
106
|
-
.logo {
|
|
107
|
-
margin: 0 2rem 0 0;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
76
|
nav {
|
|
111
77
|
text-align: left;
|
|
112
78
|
margin-left: -1rem;
|
|
@@ -17,17 +17,7 @@ import TheWelcome from './components/TheWelcome.vue'
|
|
|
17
17
|
</main>
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
|
-
<style>
|
|
21
|
-
@import './assets/base.css';
|
|
22
|
-
|
|
23
|
-
#app {
|
|
24
|
-
max-width: 1280px;
|
|
25
|
-
margin: 0 auto;
|
|
26
|
-
padding: 2rem;
|
|
27
|
-
|
|
28
|
-
font-weight: normal;
|
|
29
|
-
}
|
|
30
|
-
|
|
20
|
+
<style scoped>
|
|
31
21
|
header {
|
|
32
22
|
line-height: 1.5;
|
|
33
23
|
}
|
|
@@ -37,45 +27,21 @@ header {
|
|
|
37
27
|
margin: 0 auto 2rem;
|
|
38
28
|
}
|
|
39
29
|
|
|
40
|
-
a,
|
|
41
|
-
.green {
|
|
42
|
-
text-decoration: none;
|
|
43
|
-
color: hsla(160, 100%, 37%, 1);
|
|
44
|
-
transition: 0.4s;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (hover: hover) {
|
|
48
|
-
a:hover {
|
|
49
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
30
|
@media (min-width: 1024px) {
|
|
54
|
-
body {
|
|
55
|
-
display: flex;
|
|
56
|
-
place-items: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#app {
|
|
60
|
-
display: grid;
|
|
61
|
-
grid-template-columns: 1fr 1fr;
|
|
62
|
-
padding: 0 2rem;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
31
|
header {
|
|
66
32
|
display: flex;
|
|
67
33
|
place-items: center;
|
|
68
34
|
padding-right: calc(var(--section-gap) / 2);
|
|
69
35
|
}
|
|
70
36
|
|
|
37
|
+
.logo {
|
|
38
|
+
margin: 0 2rem 0 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
71
41
|
header .wrapper {
|
|
72
42
|
display: flex;
|
|
73
43
|
place-items: flex-start;
|
|
74
44
|
flex-wrap: wrap;
|
|
75
45
|
}
|
|
76
|
-
|
|
77
|
-
.logo {
|
|
78
|
-
margin: 0 2rem 0 0;
|
|
79
|
-
}
|
|
80
46
|
}
|
|
81
47
|
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { RouterLink, RouterView } from 'vue-router'
|
|
3
|
-
import HelloWorld from '
|
|
3
|
+
import HelloWorld from './components/HelloWorld.vue'
|
|
4
4
|
</script>
|
|
5
5
|
|
|
6
6
|
<template>
|
|
@@ -20,17 +20,7 @@ import HelloWorld from '@/components/HelloWorld.vue'
|
|
|
20
20
|
<RouterView />
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
|
-
<style>
|
|
24
|
-
@import '@/assets/base.css';
|
|
25
|
-
|
|
26
|
-
#app {
|
|
27
|
-
max-width: 1280px;
|
|
28
|
-
margin: 0 auto;
|
|
29
|
-
padding: 2rem;
|
|
30
|
-
|
|
31
|
-
font-weight: normal;
|
|
32
|
-
}
|
|
33
|
-
|
|
23
|
+
<style scoped>
|
|
34
24
|
header {
|
|
35
25
|
line-height: 1.5;
|
|
36
26
|
max-height: 100vh;
|
|
@@ -41,19 +31,6 @@ header {
|
|
|
41
31
|
margin: 0 auto 2rem;
|
|
42
32
|
}
|
|
43
33
|
|
|
44
|
-
a,
|
|
45
|
-
.green {
|
|
46
|
-
text-decoration: none;
|
|
47
|
-
color: hsla(160, 100%, 37%, 1);
|
|
48
|
-
transition: 0.4s;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@media (hover: hover) {
|
|
52
|
-
a:hover {
|
|
53
|
-
background-color: hsla(160, 100%, 37%, 0.2);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
34
|
nav {
|
|
58
35
|
width: 100%;
|
|
59
36
|
font-size: 12px;
|
|
@@ -80,33 +57,22 @@ nav a:first-of-type {
|
|
|
80
57
|
}
|
|
81
58
|
|
|
82
59
|
@media (min-width: 1024px) {
|
|
83
|
-
body {
|
|
84
|
-
display: flex;
|
|
85
|
-
place-items: center;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
#app {
|
|
89
|
-
display: grid;
|
|
90
|
-
grid-template-columns: 1fr 1fr;
|
|
91
|
-
padding: 0 2rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
60
|
header {
|
|
95
61
|
display: flex;
|
|
96
62
|
place-items: center;
|
|
97
63
|
padding-right: calc(var(--section-gap) / 2);
|
|
98
64
|
}
|
|
99
65
|
|
|
66
|
+
.logo {
|
|
67
|
+
margin: 0 2rem 0 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
100
70
|
header .wrapper {
|
|
101
71
|
display: flex;
|
|
102
72
|
place-items: flex-start;
|
|
103
73
|
flex-wrap: wrap;
|
|
104
74
|
}
|
|
105
75
|
|
|
106
|
-
.logo {
|
|
107
|
-
margin: 0 2rem 0 0;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
76
|
nav {
|
|
111
77
|
text-align: left;
|
|
112
78
|
margin-left: -1rem;
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
17
17
|
fi
|
|
@@ -19,6 +19,9 @@ import './commands'
|
|
|
19
19
|
// Alternatively you can use CommonJS syntax:
|
|
20
20
|
// require('./commands')
|
|
21
21
|
|
|
22
|
+
// Import global styles
|
|
23
|
+
import '@/assets/main.css'
|
|
24
|
+
|
|
22
25
|
import { mount } from 'cypress/vue'
|
|
23
26
|
|
|
24
27
|
// Augment the Cypress namespace to include type definitions for
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.3.0/node_modules/cypress/bin/cypress" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.4_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.4_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
17
17
|
fi
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"type-check": "vue-tsc --noEmit"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@types/node": "^16.11.
|
|
8
|
+
"@types/node": "^16.11.43",
|
|
9
9
|
"npm-run-all": "^4.1.5",
|
|
10
|
-
"typescript": "~4.7.
|
|
11
|
-
"vue-tsc": "^0.
|
|
10
|
+
"typescript": "~4.7.4",
|
|
11
|
+
"vue-tsc": "^0.38.4"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.18.0_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.18.0_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
|
|
17
17
|
fi
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"test:unit": "vitest --environment jsdom"
|
|
4
4
|
},
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"vue": "^3.2.
|
|
6
|
+
"vue": "^3.2.37"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@vue/test-utils": "^2.0.
|
|
10
|
-
"jsdom": "^
|
|
11
|
-
"vitest": "^0.
|
|
9
|
+
"@vue/test-utils": "^2.0.2",
|
|
10
|
+
"jsdom": "^20.0.0",
|
|
11
|
+
"vitest": "^0.18.0"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"devDependencies": {
|
|
3
3
|
"@rushstack/eslint-patch": "^1.1.0",
|
|
4
4
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
5
|
-
"@vue/eslint-config-typescript": "^
|
|
5
|
+
"@vue/eslint-config-typescript": "^11.0.0",
|
|
6
6
|
"eslint": "^8.5.0",
|
|
7
7
|
"eslint-plugin-cypress": "^2.12.1",
|
|
8
|
-
"eslint-plugin-vue": "^
|
|
8
|
+
"eslint-plugin-vue": "^9.0.0",
|
|
9
9
|
"prettier": "^2.5.1"
|
|
10
10
|
}
|
|
11
11
|
}
|