提交 7981f81b 作者: 方治民

chore: 更新构建的一些配置和版本依赖

上级 e19e5626
......@@ -21,7 +21,9 @@ function generateUniComponentsTypes() {
type ComponentCustomOptions = Hooks
// uni-app components
type UniComponent = HTMLElement
interface UniComponent {
[key in string]: any
}
export interface GlobalComponents {
${components.join(',\n\t')}
}
......
......@@ -115,8 +115,8 @@
"@types/qs": "^6.9.7",
"@types/stompjs": "^2.3.5",
"@types/urijs": "^1.19.19",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^2.2.2",
"cz-conventional-changelog": "^3.3.0",
......@@ -148,7 +148,6 @@
"stylelint-config-recommended": "^11.0.0",
"stylelint-config-standard": "^32.0.0",
"stylelint-order": "^6.0.3",
"terser": "^5.16.8",
"typescript": "^5.0.4",
"unocss": "^0.50.8",
"unocss-preset-weapp": "^0.5.3",
......
......@@ -145,11 +145,11 @@ devDependencies:
specifier: ^1.19.19
version: 1.19.19
'@typescript-eslint/eslint-plugin':
specifier: ^5.57.1
version: 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4)
specifier: ^5.58.0
version: 5.58.0(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser':
specifier: ^5.57.1
version: 5.57.1(eslint@8.38.0)(typescript@5.0.4)
specifier: ^5.58.0
version: 5.58.0(eslint@8.38.0)(typescript@5.0.4)
commitizen:
specifier: ^4.3.0
version: 4.3.0
......@@ -243,9 +243,6 @@ devDependencies:
stylelint-order:
specifier: ^6.0.3
version: 6.0.3(stylelint@15.4.0)
terser:
specifier: ^5.16.8
version: 5.16.8
typescript:
specifier: ^5.0.4
version: 5.0.4
......@@ -263,7 +260,7 @@ devDependencies:
version: 0.24.1(vue@3.2.47)
vite:
specifier: ^4.2.1
version: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.8)
version: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.9)
vue-eslint-parser:
specifier: ^9.1.1
version: 9.1.1(eslint@8.38.0)
......@@ -277,7 +274,7 @@ packages:
'@jridgewell/gen-mapping': 0.3.3
'@jridgewell/trace-mapping': 0.3.18
/@antfu/eslint-config-basic@0.38.4(@typescript-eslint/eslint-plugin@5.57.1)(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4):
/@antfu/eslint-config-basic@0.38.4(@typescript-eslint/eslint-plugin@5.58.0)(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-QcJ/84eVa7mJD2PEbHw1r7dRg7pHNOvTvkHud+iFYxkDjzcuFMiHFZ7JCYLnuA1NKzeUmczdLFFrHnASxtpV3g==}
peerDependencies:
eslint: '>=7.4.0'
......@@ -286,14 +283,14 @@ packages:
eslint-plugin-antfu: 0.38.4(eslint@8.38.0)(typescript@5.0.4)
eslint-plugin-eslint-comments: 3.2.0(eslint@8.38.0)
eslint-plugin-html: 7.1.0
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)
eslint-plugin-jsonc: 2.7.0(eslint@8.38.0)
eslint-plugin-markdown: 3.0.0(eslint@8.38.0)
eslint-plugin-n: 15.7.0(eslint@8.38.0)
eslint-plugin-no-only-tests: 3.1.0
eslint-plugin-promise: 6.1.1(eslint@8.38.0)
eslint-plugin-unicorn: 46.0.0(eslint@8.38.0)
eslint-plugin-unused-imports: 2.0.0(@typescript-eslint/eslint-plugin@5.57.1)(eslint@8.38.0)
eslint-plugin-unused-imports: 2.0.0(@typescript-eslint/eslint-plugin@5.58.0)(eslint@8.38.0)
eslint-plugin-yml: 1.5.0(eslint@8.38.0)
jsonc-eslint-parser: 2.2.0
yaml-eslint-parser: 1.2.0
......@@ -312,11 +309,11 @@ packages:
eslint: '>=7.4.0'
typescript: '>=3.9'
dependencies:
'@antfu/eslint-config-basic': 0.38.4(@typescript-eslint/eslint-plugin@5.57.1)(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/eslint-plugin': 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@antfu/eslint-config-basic': 0.38.4(@typescript-eslint/eslint-plugin@5.58.0)(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/eslint-plugin': 5.58.0(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
eslint: 8.38.0
eslint-plugin-jest: 27.2.1(@typescript-eslint/eslint-plugin@5.57.1)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4)
eslint-plugin-jest: 27.2.1(@typescript-eslint/eslint-plugin@5.58.0)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4)
typescript: 5.0.4
transitivePeerDependencies:
- eslint-import-resolver-typescript
......@@ -325,12 +322,12 @@ packages:
- supports-color
dev: true
/@antfu/eslint-config-vue@0.38.4(@typescript-eslint/eslint-plugin@5.57.1)(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4):
/@antfu/eslint-config-vue@0.38.4(@typescript-eslint/eslint-plugin@5.58.0)(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4):
resolution: {integrity: sha512-PhKl2007+ztgwdyolzjwmZT8cCCtubhbfOvyYNJKdPOuJZytyjdw9V4RHnT/R+NRQFryLqXMJ+yswJn5La6a0Q==}
peerDependencies:
eslint: '>=7.4.0'
dependencies:
'@antfu/eslint-config-basic': 0.38.4(@typescript-eslint/eslint-plugin@5.57.1)(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4)
'@antfu/eslint-config-basic': 0.38.4(@typescript-eslint/eslint-plugin@5.58.0)(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4)
'@antfu/eslint-config-ts': 0.38.4(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4)
eslint: 8.38.0
eslint-plugin-vue: 9.10.0(eslint@8.38.0)
......@@ -350,13 +347,13 @@ packages:
peerDependencies:
eslint: '>=7.4.0'
dependencies:
'@antfu/eslint-config-vue': 0.38.4(@typescript-eslint/eslint-plugin@5.57.1)(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4)
'@typescript-eslint/eslint-plugin': 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@antfu/eslint-config-vue': 0.38.4(@typescript-eslint/eslint-plugin@5.58.0)(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4)
'@typescript-eslint/eslint-plugin': 5.58.0(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
eslint: 8.38.0
eslint-plugin-eslint-comments: 3.2.0(eslint@8.38.0)
eslint-plugin-html: 7.1.0
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)
eslint-plugin-jsonc: 2.7.0(eslint@8.38.0)
eslint-plugin-n: 15.7.0(eslint@8.38.0)
eslint-plugin-promise: 6.1.1(eslint@8.38.0)
......@@ -1743,29 +1740,29 @@ packages:
dependencies:
'@jridgewell/trace-mapping': 0.3.9
/@csstools/css-parser-algorithms@2.1.0(@csstools/css-tokenizer@2.1.0):
resolution: {integrity: sha512-KP8TicdXpUyeB1NMlbHud/1l39xvLGvqNFWMpG4qC6H1zs9SadGUHe5SO92n/659sDW9aGDvm9AMru0DZkN1Bw==}
/@csstools/css-parser-algorithms@2.1.1(@csstools/css-tokenizer@2.1.1):
resolution: {integrity: sha512-viRnRh02AgO4mwIQb2xQNJju0i+Fh9roNgmbR5xEuG7J3TGgxjnE95HnBLgsFJOJOksvcfxOUCgODcft6Y07cA==}
engines: {node: ^14 || ^16 || >=18}
peerDependencies:
'@csstools/css-tokenizer': ^2.0.0
'@csstools/css-tokenizer': ^2.1.1
dependencies:
'@csstools/css-tokenizer': 2.1.0
'@csstools/css-tokenizer': 2.1.1
dev: true
/@csstools/css-tokenizer@2.1.0:
resolution: {integrity: sha512-dtqFyoJBHUxGi9zPZdpCKP1xk8tq6KPHJ/NY4qWXiYo6IcSGwzk3L8x2XzZbbyOyBs9xQARoGveU2AsgLj6D2A==}
/@csstools/css-tokenizer@2.1.1:
resolution: {integrity: sha512-GbrTj2Z8MCTUv+52GE0RbFGM527xuXZ0Xa5g0Z+YN573uveS4G0qi6WNOMyz3yrFM/jaILTTwJ0+umx81EzqfA==}
engines: {node: ^14 || ^16 || >=18}
dev: true
/@csstools/media-query-list-parser@2.0.3(@csstools/css-parser-algorithms@2.1.0)(@csstools/css-tokenizer@2.1.0):
resolution: {integrity: sha512-n/ECsYeHOiCQV+wvOVmFbN7wADuliZc51vdHyLbbTT5yT+6oAlZ3Vlkc9eIhJS9RfYh1Q03fbVy6XiRXqZsnKA==}
/@csstools/media-query-list-parser@2.0.4(@csstools/css-parser-algorithms@2.1.1)(@csstools/css-tokenizer@2.1.1):
resolution: {integrity: sha512-GyYot6jHgcSDZZ+tLSnrzkR7aJhF2ZW6d+CXH66mjy5WpAQhZD4HDke2OQ36SivGRWlZJpAz7TzbW6OKlEpxAA==}
engines: {node: ^14 || ^16 || >=18}
peerDependencies:
'@csstools/css-parser-algorithms': ^2.0.0
'@csstools/css-tokenizer': ^2.0.0
'@csstools/css-parser-algorithms': ^2.1.1
'@csstools/css-tokenizer': ^2.1.1
dependencies:
'@csstools/css-parser-algorithms': 2.1.0(@csstools/css-tokenizer@2.1.0)
'@csstools/css-tokenizer': 2.1.0
'@csstools/css-parser-algorithms': 2.1.1(@csstools/css-tokenizer@2.1.1)
'@csstools/css-tokenizer': 2.1.1
dev: true
/@csstools/selector-specificity@2.2.0(postcss-selector-parser@6.0.11):
......@@ -2262,7 +2259,7 @@ packages:
'@dcloudio/uni-cli-shared': 3.0.0-alpha-3071320230407001(postcss@8.4.21)(ts-node@10.9.1)(vue@3.2.47)
'@dcloudio/uni-shared': 3.0.0-alpha-3071320230407001
'@rollup/pluginutils': 4.2.1
'@vitejs/plugin-legacy': 4.0.2(terser@5.16.8)(vite@4.2.1)
'@vitejs/plugin-legacy': 4.0.2(terser@5.16.9)(vite@4.2.1)
'@vitejs/plugin-vue': 4.1.0(vite@4.2.1)(vue@3.2.47)
'@vitejs/plugin-vue-jsx': 3.0.1(vite@4.2.1)(vue@3.2.47)
'@vue/compiler-core': 3.2.47
......@@ -2279,8 +2276,8 @@ packages:
jsonc-parser: 3.2.0
magic-string: 0.27.0
picocolors: 1.0.0
terser: 5.16.8
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.8)
terser: 5.16.9
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.9)
transitivePeerDependencies:
- postcss
- supports-color
......@@ -3521,8 +3518,8 @@ packages:
'@types/yargs-parser': 21.0.0
dev: true
/@typescript-eslint/eslint-plugin@5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-1MeobQkQ9tztuleT3v72XmY0XuKXVXusAhryoLuU5YZ+mXoYKZP9SQ7Flulh1NX4DTjpGTc2b/eMu4u7M7dhnQ==}
/@typescript-eslint/eslint-plugin@5.58.0(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-vxHvLhH0qgBd3/tW6/VccptSfc8FxPQIkmNTVLWcCOVqSBvqpnKkBTYrhcGlXfSnd78azwe+PsjYFj0X34/njA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
......@@ -3533,24 +3530,24 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.5.0
'@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/scope-manager': 5.57.1
'@typescript-eslint/type-utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/scope-manager': 5.58.0
'@typescript-eslint/type-utils': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/utils': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
debug: 4.3.4
eslint: 8.38.0
grapheme-splitter: 1.0.4
ignore: 5.2.4
natural-compare-lite: 1.4.0
semver: 7.3.8
semver: 7.4.0
tsutils: 3.21.0(typescript@5.0.4)
typescript: 5.0.4
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/parser@5.57.1(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-hlA0BLeVSA/wBPKdPGxoVr9Pp6GutGoY380FEhbVi0Ph4WNe8kLvqIRx76RSQt1lynZKfrXKs0/XeEk4zZycuA==}
/@typescript-eslint/parser@5.58.0(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-ixaM3gRtlfrKzP8N6lRhBbjTow1t6ztfBvQNGuRM8qH1bjFFXIJ35XY+FC0RRBKn3C6cT+7VW1y8tNm7DwPHDQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
......@@ -3559,9 +3556,9 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.57.1
'@typescript-eslint/types': 5.57.1
'@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4)
'@typescript-eslint/scope-manager': 5.58.0
'@typescript-eslint/types': 5.58.0
'@typescript-eslint/typescript-estree': 5.58.0(typescript@5.0.4)
debug: 4.3.4
eslint: 8.38.0
typescript: 5.0.4
......@@ -3569,16 +3566,16 @@ packages:
- supports-color
dev: true
/@typescript-eslint/scope-manager@5.57.1:
resolution: {integrity: sha512-N/RrBwEUKMIYxSKl0oDK5sFVHd6VI7p9K5MyUlVYAY6dyNb/wHUqndkTd3XhpGlXgnQsBkRZuu4f9kAHghvgPw==}
/@typescript-eslint/scope-manager@5.58.0:
resolution: {integrity: sha512-b+w8ypN5CFvrXWQb9Ow9T4/6LC2MikNf1viLkYTiTbkQl46CnR69w7lajz1icW0TBsYmlpg+mRzFJ4LEJ8X9NA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.57.1
'@typescript-eslint/visitor-keys': 5.57.1
'@typescript-eslint/types': 5.58.0
'@typescript-eslint/visitor-keys': 5.58.0
dev: true
/@typescript-eslint/type-utils@5.57.1(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-/RIPQyx60Pt6ga86hKXesXkJ2WOS4UemFrmmq/7eOyiYjYv/MUSHPlkhU6k9T9W1ytnTJueqASW+wOmW4KrViw==}
/@typescript-eslint/type-utils@5.58.0(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-FF5vP/SKAFJ+LmR9PENql7fQVVgGDOS+dq3j+cKl9iW/9VuZC/8CFmzIP0DLKXfWKpRHawJiG70rVH+xZZbp8w==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
......@@ -3587,8 +3584,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4)
'@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/typescript-estree': 5.58.0(typescript@5.0.4)
'@typescript-eslint/utils': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
debug: 4.3.4
eslint: 8.38.0
tsutils: 3.21.0(typescript@5.0.4)
......@@ -3597,13 +3594,13 @@ packages:
- supports-color
dev: true
/@typescript-eslint/types@5.57.1:
resolution: {integrity: sha512-bSs4LOgyV3bJ08F5RDqO2KXqg3WAdwHCu06zOqcQ6vqbTJizyBhuh1o1ImC69X4bV2g1OJxbH71PJqiO7Y1RuA==}
/@typescript-eslint/types@5.58.0:
resolution: {integrity: sha512-JYV4eITHPzVQMnHZcYJXl2ZloC7thuUHrcUmxtzvItyKPvQ50kb9QXBkgNAt90OYMqwaodQh2kHutWZl1fc+1g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
/@typescript-eslint/typescript-estree@5.57.1(typescript@5.0.4):
resolution: {integrity: sha512-A2MZqD8gNT0qHKbk2wRspg7cHbCDCk2tcqt6ScCFLr5Ru8cn+TCfM786DjPhqwseiS+PrYwcXht5ztpEQ6TFTw==}
/@typescript-eslint/typescript-estree@5.58.0(typescript@5.0.4):
resolution: {integrity: sha512-cRACvGTodA+UxnYM2uwA2KCwRL7VAzo45syNysqlMyNyjw0Z35Icc9ihPJZjIYuA5bXJYiJ2YGUB59BqlOZT1Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
......@@ -3611,20 +3608,20 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.57.1
'@typescript-eslint/visitor-keys': 5.57.1
'@typescript-eslint/types': 5.58.0
'@typescript-eslint/visitor-keys': 5.58.0
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
semver: 7.3.8
semver: 7.4.0
tsutils: 3.21.0(typescript@5.0.4)
typescript: 5.0.4
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/utils@5.57.1(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-kN6vzzf9NkEtawECqze6v99LtmDiUJCVpvieTFA1uL7/jDghiJGubGZ5csicYHU1Xoqb3oH/R5cN5df6W41Nfg==}
/@typescript-eslint/utils@5.58.0(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-gAmLOTFXMXOC+zP1fsqm3VceKSBQJNzV385Ok3+yzlavNHZoedajjS4UyS21gabJYcobuigQPs/z71A9MdJFqQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
......@@ -3632,22 +3629,22 @@ packages:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.38.0)
'@types/json-schema': 7.0.11
'@types/semver': 7.3.13
'@typescript-eslint/scope-manager': 5.57.1
'@typescript-eslint/types': 5.57.1
'@typescript-eslint/typescript-estree': 5.57.1(typescript@5.0.4)
'@typescript-eslint/scope-manager': 5.58.0
'@typescript-eslint/types': 5.58.0
'@typescript-eslint/typescript-estree': 5.58.0(typescript@5.0.4)
eslint: 8.38.0
eslint-scope: 5.1.1
semver: 7.3.8
semver: 7.4.0
transitivePeerDependencies:
- supports-color
- typescript
dev: true
/@typescript-eslint/visitor-keys@5.57.1:
resolution: {integrity: sha512-RjQrAniDU0CEk5r7iphkm731zKlFiUjvcBS2yHAg8WWqFMCaCrD0rKEVOMUyMMcbGPZ0bPp56srkGWrgfZqLRA==}
/@typescript-eslint/visitor-keys@5.58.0:
resolution: {integrity: sha512-/fBraTlPj0jwdyTwLyrRTxv/3lnU2H96pNTVM6z3esTWLtA5MZ9ghSMJ7Rb+TtUAdtEw9EyJzJ0EydIMKxQ9gA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.57.1
'@typescript-eslint/types': 5.58.0
eslint-visitor-keys: 3.4.0
dev: true
......@@ -3828,12 +3825,12 @@ packages:
chokidar: 3.5.3
fast-glob: 3.2.12
magic-string: 0.30.0
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.8)
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.9)
transitivePeerDependencies:
- rollup
dev: true
/@vitejs/plugin-legacy@4.0.2(terser@5.16.8)(vite@4.2.1):
/@vitejs/plugin-legacy@4.0.2(terser@5.16.9)(vite@4.2.1):
resolution: {integrity: sha512-ivnt9sCkgwJTYTWLjuvY6H/HTuiQC1EgzAPkiAvi0yNAssiqOJjyjhG3hAK5LFUUorE0w9kGxn8K0f/74DlbxQ==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
......@@ -3847,8 +3844,8 @@ packages:
magic-string: 0.30.0
regenerator-runtime: 0.13.11
systemjs: 6.14.1
terser: 5.16.8
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.8)
terser: 5.16.9
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.9)
transitivePeerDependencies:
- supports-color
dev: true
......@@ -3863,7 +3860,7 @@ packages:
'@babel/core': 7.21.4
'@babel/plugin-transform-typescript': 7.21.3(@babel/core@7.21.4)
'@vue/babel-plugin-jsx': 1.1.1(@babel/core@7.21.4)
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.8)
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.9)
vue: 3.2.47
transitivePeerDependencies:
- supports-color
......@@ -3876,7 +3873,7 @@ packages:
vite: ^4.0.0
vue: ^3.2.25
dependencies:
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.8)
vite: 4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.9)
vue: 3.2.47
/@vue/babel-helper-vue-transform-on@1.0.2:
......@@ -4472,7 +4469,7 @@ packages:
hasBin: true
dependencies:
caniuse-lite: 1.0.30001477
electron-to-chromium: 1.4.356
electron-to-chromium: 1.4.357
node-releases: 2.0.10
update-browserslist-db: 1.0.10(browserslist@4.21.5)
......@@ -4513,7 +4510,7 @@ packages:
/builtins@5.0.1:
resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==}
dependencies:
semver: 7.3.8
semver: 7.4.0
dev: true
/bytes@3.1.2:
......@@ -5433,8 +5430,8 @@ packages:
resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
dev: true
/electron-to-chromium@1.4.356:
resolution: {integrity: sha512-nEftV1dRX3omlxAj42FwqRZT0i4xd2dIg39sog/CnCJeCcL1TRd2Uh0i9Oebgv8Ou0vzTPw++xc+Z20jzS2B6A==}
/electron-to-chromium@1.4.357:
resolution: {integrity: sha512-UTkCbNTAcGXABmEnQrGcW4m3cG6fcyBfD4KDF0iyEAlbrGZiY9dmslyDAGOD1Kr5biN2F743Y30aRCOtau35Vw==}
/emittery@0.8.1:
resolution: {integrity: sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==}
......@@ -5650,13 +5647,13 @@ packages:
resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==}
dependencies:
debug: 3.2.7
is-core-module: 2.11.0
is-core-module: 2.12.0
resolve: 1.22.2
transitivePeerDependencies:
- supports-color
dev: true
/eslint-module-utils@2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0):
/eslint-module-utils@2.7.4(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0):
resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==}
engines: {node: '>=4'}
peerDependencies:
......@@ -5677,7 +5674,7 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
'@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
debug: 3.2.7
eslint: 8.38.0
eslint-import-resolver-node: 0.3.7
......@@ -5688,7 +5685,7 @@ packages:
/eslint-plugin-antfu@0.38.4(eslint@8.38.0)(typescript@5.0.4):
resolution: {integrity: sha512-lY7nxZaDwZ45GmSG4xm1arafIu8/DcAIkiLdz27jpMdgzQiHGJlsIgcDastrAyWU7I4o3kv+70q252HDDUAyyw==}
dependencies:
'@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/utils': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
transitivePeerDependencies:
- eslint
- supports-color
......@@ -5723,7 +5720,7 @@ packages:
htmlparser2: 8.0.2
dev: true
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.38.0):
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.58.0)(eslint@8.38.0):
resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
engines: {node: '>=4'}
peerDependencies:
......@@ -5733,7 +5730,7 @@ packages:
'@typescript-eslint/parser':
optional: true
dependencies:
'@typescript-eslint/parser': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/parser': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
array-includes: 3.1.6
array.prototype.flat: 1.3.1
array.prototype.flatmap: 1.3.1
......@@ -5741,9 +5738,9 @@ packages:
doctrine: 2.1.0
eslint: 8.38.0
eslint-import-resolver-node: 0.3.7
eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0)
eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.58.0)(eslint-import-resolver-node@0.3.7)(eslint@8.38.0)
has: 1.0.3
is-core-module: 2.11.0
is-core-module: 2.12.0
is-glob: 4.0.3
minimatch: 3.1.2
object.values: 1.1.6
......@@ -5756,7 +5753,7 @@ packages:
- supports-color
dev: true
/eslint-plugin-jest@27.2.1(@typescript-eslint/eslint-plugin@5.57.1)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4):
/eslint-plugin-jest@27.2.1(@typescript-eslint/eslint-plugin@5.58.0)(eslint@8.38.0)(jest@27.0.4)(typescript@5.0.4):
resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
peerDependencies:
......@@ -5769,8 +5766,8 @@ packages:
jest:
optional: true
dependencies:
'@typescript-eslint/eslint-plugin': 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/utils': 5.57.1(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/eslint-plugin': 5.58.0(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/utils': 5.58.0(eslint@8.38.0)(typescript@5.0.4)
eslint: 8.38.0
jest: 27.0.4(ts-node@10.9.1)
transitivePeerDependencies:
......@@ -5813,10 +5810,10 @@ packages:
eslint-plugin-es: 4.1.0(eslint@8.38.0)
eslint-utils: 3.0.0(eslint@8.38.0)
ignore: 5.2.4
is-core-module: 2.11.0
is-core-module: 2.12.0
minimatch: 3.1.2
resolve: 1.22.2
semver: 7.3.8
semver: 7.4.0
dev: true
/eslint-plugin-no-only-tests@3.1.0:
......@@ -5871,11 +5868,11 @@ packages:
regexp-tree: 0.1.24
regjsparser: 0.9.1
safe-regex: 2.1.1
semver: 7.3.8
semver: 7.4.0
strip-indent: 3.0.0
dev: true
/eslint-plugin-unused-imports@2.0.0(@typescript-eslint/eslint-plugin@5.57.1)(eslint@8.38.0):
/eslint-plugin-unused-imports@2.0.0(@typescript-eslint/eslint-plugin@5.58.0)(eslint@8.38.0):
resolution: {integrity: sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
......@@ -5885,7 +5882,7 @@ packages:
'@typescript-eslint/eslint-plugin':
optional: true
dependencies:
'@typescript-eslint/eslint-plugin': 5.57.1(@typescript-eslint/parser@5.57.1)(eslint@8.38.0)(typescript@5.0.4)
'@typescript-eslint/eslint-plugin': 5.58.0(@typescript-eslint/parser@5.58.0)(eslint@8.38.0)(typescript@5.0.4)
eslint: 8.38.0
eslint-rule-composer: 0.3.0
dev: true
......@@ -5901,7 +5898,7 @@ packages:
natural-compare: 1.4.0
nth-check: 2.1.1
postcss-selector-parser: 6.0.11
semver: 7.3.8
semver: 7.4.0
vue-eslint-parser: 9.1.1(eslint@8.38.0)
xml-name-validator: 4.0.0
transitivePeerDependencies:
......@@ -7056,8 +7053,8 @@ packages:
engines: {node: '>= 0.4'}
dev: true
/is-core-module@2.11.0:
resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==}
/is-core-module@2.12.0:
resolution: {integrity: sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==}
dependencies:
has: 1.0.3
......@@ -7690,7 +7687,7 @@ packages:
jest-util: 27.5.1
natural-compare: 1.4.0
pretty-format: 27.5.1
semver: 7.3.8
semver: 7.4.0
transitivePeerDependencies:
- supports-color
dev: true
......@@ -7909,7 +7906,7 @@ packages:
acorn: 8.8.2
eslint-visitor-keys: 3.4.0
espree: 9.5.1
semver: 7.3.8
semver: 7.4.0
dev: true
/jsonc-parser@3.2.0:
......@@ -8207,9 +8204,9 @@ packages:
yallist: 4.0.0
dev: true
/lru-cache@9.0.0:
resolution: {integrity: sha512-9AEKXzvOZc4BMacFnYiTOlDH/197LNnQIK9wZ6iMB5NXPzuv4bWR/Msv7iUMplkiMQ1qQL+KSv/JF1mZAB5Lrg==}
engines: {node: '>=16.14'}
/lru-cache@9.0.1:
resolution: {integrity: sha512-C8QsKIN1UIXeOs3iWmiZ1lQY+EnKDojWd37fXy1aSbJvH4iSma1uy2OWuoB3m4SYRli5+CUjDv3Dij5DVoetmg==}
engines: {node: 14 || >=16.14}
dev: true
/magic-string@0.25.9:
......@@ -8602,8 +8599,8 @@ packages:
engines: {node: '>=10'}
dependencies:
hosted-git-info: 4.1.0
is-core-module: 2.11.0
semver: 7.3.8
is-core-module: 2.12.0
semver: 7.4.0
validate-npm-package-license: 3.0.4
dev: true
......@@ -8969,7 +8966,7 @@ packages:
resolution: {integrity: sha512-Qp/9IHkdNiXJ3/Kon++At2nVpnhRiPq/aSvQN+H3U1WZbvNRK0RIQK/o4HMqPoXjpuGJUEWpHSs6Mnjxqh3TQg==}
engines: {node: '>=16 || 14 >=14.17'}
dependencies:
lru-cache: 9.0.0
lru-cache: 9.0.1
minipass: 5.0.0
dev: true
......@@ -9562,7 +9559,7 @@ packages:
resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==}
hasBin: true
dependencies:
is-core-module: 2.11.0
is-core-module: 2.12.0
path-parse: 1.0.7
supports-preserve-symlinks-flag: 1.0.0
......@@ -9710,6 +9707,14 @@ packages:
lru-cache: 6.0.0
dev: true
/semver@7.4.0:
resolution: {integrity: sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==}
engines: {node: '>=10'}
hasBin: true
dependencies:
lru-cache: 6.0.0
dev: true
/send@0.18.0:
resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==}
engines: {node: '>= 0.8.0'}
......@@ -10134,9 +10139,9 @@ packages:
engines: {node: ^14.13.1 || >=16.0.0}
hasBin: true
dependencies:
'@csstools/css-parser-algorithms': 2.1.0(@csstools/css-tokenizer@2.1.0)
'@csstools/css-tokenizer': 2.1.0
'@csstools/media-query-list-parser': 2.0.3(@csstools/css-parser-algorithms@2.1.0)(@csstools/css-tokenizer@2.1.0)
'@csstools/css-parser-algorithms': 2.1.1(@csstools/css-tokenizer@2.1.1)
'@csstools/css-tokenizer': 2.1.1
'@csstools/media-query-list-parser': 2.0.4(@csstools/css-parser-algorithms@2.1.1)(@csstools/css-tokenizer@2.1.1)
'@csstools/selector-specificity': 2.2.0(postcss-selector-parser@6.0.11)
balanced-match: 2.0.0
colord: 2.9.3
......@@ -10276,8 +10281,8 @@ packages:
supports-hyperlinks: 2.3.0
dev: true
/terser@5.16.8:
resolution: {integrity: sha512-QI5g1E/ef7d+PsDifb+a6nnVgC4F22Bg6T0xrBrz6iloVB4PUkkunp6V8nzoOOZJIzjWVdAGqCdlKlhLq/TbIA==}
/terser@5.16.9:
resolution: {integrity: sha512-HPa/FdTB9XGI2H1/keLFZHxl6WNvAI4YalHGtDQTlMnJcoqSab1UwL4l1hGEhs6/GmLHBZIg/YgB++jcbzoOEg==}
engines: {node: '>=10'}
hasBin: true
dependencies:
......@@ -10868,7 +10873,7 @@ packages:
engines: {node: '>= 0.8'}
dev: true
/vite@4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.8):
/vite@4.2.1(@types/node@18.15.11)(less@4.1.3)(sass@1.61.0)(terser@5.16.9):
resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
......@@ -10900,7 +10905,7 @@ packages:
resolve: 1.22.2
rollup: 3.20.2
sass: 1.61.0
terser: 5.16.8
terser: 5.16.9
optionalDependencies:
fsevents: 2.3.2
......@@ -10931,7 +10936,7 @@ packages:
espree: 9.5.1
esquery: 1.5.0
lodash: 4.17.21
semver: 7.3.8
semver: 7.4.0
transitivePeerDependencies:
- supports-color
dev: true
......
......@@ -6,7 +6,9 @@ declare module 'vue' {
type ComponentCustomOptions = Hooks
// uni-app components
type UniComponent = HTMLElement
interface UniComponent {
[key in string]: any
}
export interface GlobalComponents {
block: UniComponent
view: UniComponent
......
......@@ -30,6 +30,9 @@ export default ({ mode }: ConfigEnv): UserConfig => {
optimizeDeps: {
include: ['lodash-es', '@vueuse/core'],
},
esbuild: {
drop: ['console', 'debugger'],
},
build: {
target: 'es2015',
sourcemap: !!isDevFn(mode),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论