File tree Expand file tree Collapse file tree 6 files changed +704
-397
lines changed Expand file tree Collapse file tree 6 files changed +704
-397
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ root : true ,
3
+ parser : '@typescript-eslint/parser' ,
4
+ plugins : [
5
+ '@typescript-eslint' ,
6
+ ] ,
7
+ extends : [
8
+ 'eslint:recommended' ,
9
+ 'plugin:@typescript-eslint/eslint-recommended' ,
10
+ 'plugin:import/recommended' ,
11
+ 'plugin:import/typescript' ,
12
+ ] ,
13
+ rules : {
14
+ 'import/no-extraneous-dependencies' : [ 'error' , { devDependencies : false } ]
15
+ }
16
+ }
Original file line number Diff line number Diff line change 5
5
" packages/*"
6
6
],
7
7
"scripts" : {
8
+ "lint" : " eslint packages/*/src/**/*" ,
8
9
"dev" : " lerna run dev --parallel -- --preserveWatchOutput" ,
9
10
"build" : " lerna run build" ,
10
11
"publish" : " lerna run build && lerna version --no-private && lerna publish from-git"
14
15
"@types/find-cache-dir" : " ^3.2.1" ,
15
16
"@types/loader-utils" : " ^2.0.3" ,
16
17
"@types/node" : " ^16.11.12" ,
18
+ "@typescript-eslint/eslint-plugin" : " ^5.29.0" ,
19
+ "@typescript-eslint/parser" : " ^5.29.0" ,
17
20
"@vitejs/plugin-vue" : " ^1.10.2" ,
18
21
"@vue/compiler-sfc" : " ^3.2.24" ,
19
22
"conventional-changelog-conventionalcommits" : " ^4.6.1" ,
23
+ "eslint" : " ^8.18.0" ,
24
+ "eslint-plugin-import" : " ^2.26.0" ,
20
25
"lerna" : " ^3.22.1" ,
21
26
"sass" : " ^1.52.3" ,
22
27
"typescript" : " ^4.4.2" ,
Original file line number Diff line number Diff line change 22
22
"upath" : " ^2.0.1"
23
23
},
24
24
"peerDependencies" : {
25
+ "vue" : " ^3.0.0" ,
25
26
"vuetify" : " ^3.0.0-beta.4"
26
27
},
27
28
"files" : [
28
29
" dist/"
29
30
],
30
31
"exports" : {
31
32
"." : " ./dist/index.js" ,
32
- "./" : " ./"
33
+ "./* " : " ./* "
33
34
},
34
35
"publishConfig" : {
35
36
"access" : " public"
Original file line number Diff line number Diff line change 20
20
"homepage" : " https://github.com/vuetifyjs/vuetify-loader/packages/vite-plugin" ,
21
21
"dependencies" : {
22
22
"@vuetify/loader-shared" : " ^1.5.0" ,
23
- "debug" : " ^4.3.3"
23
+ "debug" : " ^4.3.3" ,
24
+ "upath" : " ^2.0.1"
24
25
},
25
26
"peerDependencies" : {
26
27
"vite" : " ^2.7.0" ,
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export class VuetifyPlugin {
92
92
93
93
const blockingModules = new Set < string > ( )
94
94
const pendingModules = new Map < string , Module > ( )
95
- compiler . hooks . compilation . tap ( 'vuetify-loader' , ( compilation , params ) => {
95
+ compiler . hooks . compilation . tap ( 'vuetify-loader' , ( compilation ) => {
96
96
compilation . hooks . buildModule . tap ( 'vuetify-loader' , ( module ) => {
97
97
pendingModules . set ( ( module as NormalModule ) . request , module )
98
98
} )
@@ -129,7 +129,7 @@ export class VuetifyPlugin {
129
129
resolve ( false )
130
130
}
131
131
132
- let start = files . size
132
+ const start = files . size
133
133
await promise
134
134
clearTimeout ( timeout )
135
135
blockingModules . clear ( )
You can’t perform that action at this time.
0 commit comments