File tree Expand file tree Collapse file tree 7 files changed +1038
-1891
lines changed Expand file tree Collapse file tree 7 files changed +1038
-1891
lines changed Original file line number Diff line number Diff line change 5
5
"dev" : " cross-env DEBUG=unplugin-vue-components:* vite"
6
6
},
7
7
"dependencies" : {
8
- "vue" : " ^3.2.37" ,
9
- "vue-template-compiler" : " ^2.6.14"
8
+ "vue" : " ^2.7"
10
9
},
11
10
"devDependencies" : {
12
11
"cross-env" : " ^7.0.3" ,
13
12
"unplugin-vue-components" : " workspace:*" ,
14
- "vite" : " ^2.9.13 " ,
15
- "vite- plugin-vue2" : " ^2.0.1 "
13
+ "vite" : " ^3.0.3 " ,
14
+ "@vitejs/ plugin-vue2" : " ^1.1.2 "
16
15
}
17
16
}
Original file line number Diff line number Diff line change 1
1
import type { UserConfig } from 'vite'
2
- import { createVuePlugin } from 'vite- plugin-vue2'
2
+ import Vue from '@vitejs/ plugin-vue2'
3
3
import Components from 'unplugin-vue-components/vite'
4
4
5
5
const config : UserConfig = {
6
6
plugins : [
7
- createVuePlugin ( ) ,
7
+ Vue ( ) ,
8
8
Components ( {
9
+ transformer : 'vue2' ,
9
10
dts : 'src/components.d.ts' ,
10
11
} ) ,
11
12
] ,
Original file line number Diff line number Diff line change 10
10
"vant" : " ^3.5.2"
11
11
},
12
12
"devDependencies" : {
13
- "@iconify/json" : " ^2.1.70 " ,
14
- "@vitejs/plugin-vue" : " ^2.3.3 " ,
13
+ "@iconify/json" : " ^2.1.82 " ,
14
+ "@vitejs/plugin-vue" : " ^3.0.1 " ,
15
15
"@vue/compiler-sfc" : " ^3.2.37" ,
16
16
"cross-env" : " ^7.0.3" ,
17
17
"has-pkg" : " ^0.0.1" ,
18
18
"typescript" : " ^4.7.4" ,
19
19
"unplugin-icons" : " ^0.14.7" ,
20
20
"unplugin-vue-components" : " workspace:*" ,
21
- "vite" : " ^2.9.13 " ,
22
- "vite-plugin-inspect" : " ^0.5.1 " ,
21
+ "vite" : " ^3.0.3 " ,
22
+ "vite-plugin-inspect" : " ^0.6.0 " ,
23
23
"vite-plugin-vue-markdown" : " ^0.20.1" ,
24
- "vue-router" : " ^4.0.16 "
24
+ "vue-router" : " ^4.1.2 "
25
25
}
26
26
}
Original file line number Diff line number Diff line change 8
8
"lint" : " vue-cli-service lint"
9
9
},
10
10
"dependencies" : {
11
- "core-js" : " ^3.23.3 " ,
11
+ "core-js" : " ^3.24.0 " ,
12
12
"vue" : " ^3.2.37"
13
13
},
14
14
"devDependencies" : {
15
- "@babel/core" : " ^7.18.6 " ,
16
- "@vue/cli-plugin-babel" : " ~5.0.6 " ,
17
- "@vue/cli-service" : " ~5.0.6 " ,
15
+ "@babel/core" : " ^7.18.9 " ,
16
+ "@vue/cli-plugin-babel" : " ~5.0.8 " ,
17
+ "@vue/cli-service" : " ~5.0.8 " ,
18
18
"unplugin-vue-components" : " workspace:*"
19
19
},
20
20
"browserslist" : [
Original file line number Diff line number Diff line change 7
7
"lint" : " vue-cli-service lint"
8
8
},
9
9
"dependencies" : {
10
- "@vue/composition-api" : " ^1.6.3 " ,
11
- "core-js" : " ^3.23.3 " ,
10
+ "@vue/composition-api" : " ^1.7.0 " ,
11
+ "core-js" : " ^3.24.0 " ,
12
12
"vue" : " ^3.2.37"
13
13
},
14
14
"devDependencies" : {
15
- "@vue/cli-plugin-babel" : " ^5.0.6 " ,
16
- "@vue/cli-plugin-typescript" : " ^5.0.6 " ,
17
- "@vue/cli-service" : " ^5.0.6 " ,
15
+ "@vue/cli-plugin-babel" : " ^5.0.8 " ,
16
+ "@vue/cli-plugin-typescript" : " ^5.0.8 " ,
17
+ "@vue/cli-service" : " ^5.0.8 " ,
18
18
"typescript" : " ^4.7.4" ,
19
19
"unplugin-icons" : " ^0.14.7" ,
20
20
"unplugin-vue-components" : " workspace:*" ,
21
- "unplugin-vue2-script-setup" : " ^0.11.0 "
21
+ "unplugin-vue2-script-setup" : " ^0.11.3 "
22
22
}
23
23
}
Original file line number Diff line number Diff line change 89
89
"chokidar" : " ^3.5.3" ,
90
90
"debug" : " ^4.3.4" ,
91
91
"fast-glob" : " ^3.2.11" ,
92
- "local-pkg" : " ^0.4.1 " ,
92
+ "local-pkg" : " ^0.4.2 " ,
93
93
"magic-string" : " ^0.26.2" ,
94
94
"minimatch" : " ^5.1.0" ,
95
95
"resolve" : " ^1.22.1" ,
96
- "unplugin" : " ^0.7.1 "
96
+ "unplugin" : " ^0.7.2 "
97
97
},
98
98
"devDependencies" : {
99
99
"@antfu/eslint-config" : " ^0.25.2" ,
100
- "@babel/parser" : " ^7.18.6 " ,
101
- "@babel/types" : " ^7.18.7 " ,
100
+ "@babel/parser" : " ^7.18.9 " ,
101
+ "@babel/types" : " ^7.18.9 " ,
102
102
"@types/debug" : " ^4.1.7" ,
103
103
"@types/minimatch" : " ^3.0.5" ,
104
- "@types/node" : " ^18.0.0 " ,
104
+ "@types/node" : " ^18.6.1 " ,
105
105
"@types/resolve" : " ^1.20.2" ,
106
- "@typescript-eslint/eslint-plugin" : " ^5.30 .0" ,
106
+ "@typescript-eslint/eslint-plugin" : " ^5.31 .0" ,
107
107
"bumpp" : " ^8.2.1" ,
108
108
"compare-versions" : " ^4.1.3" ,
109
- "element-plus" : " ^2.2.7 " ,
110
- "eslint" : " ^8.18 .0" ,
109
+ "element-plus" : " ^2.2.10 " ,
110
+ "eslint" : " ^8.20 .0" ,
111
111
"esno" : " ^0.16.3" ,
112
112
"estree-walker" : " ^3.0.1" ,
113
113
"pathe" : " ^0.3.2" ,
114
- "rollup" : " ^2.75.7 " ,
115
- "tsup" : " ^6.1.2 " ,
114
+ "rollup" : " ^2.77.0 " ,
115
+ "tsup" : " ^6.2.0 " ,
116
116
"typescript" : " ^4.7.4" ,
117
- "vite" : " ^2.9.13 " ,
118
- "vitest" : " ^0.16.0 " ,
117
+ "vite" : " ^3.0.3 " ,
118
+ "vitest" : " ^0.19.1 " ,
119
119
"vue" : " 3.2.37"
120
120
}
121
121
}
You can’t perform that action at this time.
0 commit comments