feat(auto-import)!: auto unwrap for auto import in template (#5573)

This commit is contained in:
Anthony Fu 2022-06-23 17:51:46 +08:00 committed by GitHub
parent e38de4af4d
commit 2db154fde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 7 deletions

View File

@ -29,7 +29,7 @@
"scule": "^0.2.1", "scule": "^0.2.1",
"semver": "^7.3.7", "semver": "^7.3.7",
"unctx": "^1.1.4", "unctx": "^1.1.4",
"unimport": "^0.2.9", "unimport": "^0.3.0",
"untyped": "^0.4.4" "untyped": "^0.4.4"
}, },
"devDependencies": { "devDependencies": {

View File

@ -62,7 +62,7 @@
"ufo": "^0.8.4", "ufo": "^0.8.4",
"unctx": "^1.1.4", "unctx": "^1.1.4",
"unenv": "^0.5.2", "unenv": "^0.5.2",
"unimport": "^0.2.9", "unimport": "^0.3.0",
"unplugin": "^0.7.0", "unplugin": "^0.7.0",
"untyped": "^0.4.4", "untyped": "^0.4.4",
"vue": "^3.2.37", "vue": "^3.2.37",

View File

@ -29,7 +29,7 @@
"scule": "^0.2.1", "scule": "^0.2.1",
"std-env": "^3.1.1", "std-env": "^3.1.1",
"ufo": "^0.8.4", "ufo": "^0.8.4",
"unimport": "^0.2.9" "unimport": "^0.3.0"
}, },
"engines": { "engines": {
"node": "^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0" "node": "^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0"

View File

@ -1635,7 +1635,7 @@ __metadata:
semver: ^7.3.7 semver: ^7.3.7
unbuild: latest unbuild: latest
unctx: ^1.1.4 unctx: ^1.1.4
unimport: ^0.2.9 unimport: ^0.3.0
untyped: ^0.4.4 untyped: ^0.4.4
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -1662,7 +1662,7 @@ __metadata:
std-env: ^3.1.1 std-env: ^3.1.1
ufo: ^0.8.4 ufo: ^0.8.4
unbuild: latest unbuild: latest
unimport: ^0.2.9 unimport: ^0.3.0
vite: ^2.9.12 vite: ^2.9.12
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -10306,7 +10306,7 @@ __metadata:
unbuild: latest unbuild: latest
unctx: ^1.1.4 unctx: ^1.1.4
unenv: ^0.5.2 unenv: ^0.5.2
unimport: ^0.2.9 unimport: ^0.3.0
unplugin: ^0.7.0 unplugin: ^0.7.0
untyped: ^0.4.4 untyped: ^0.4.4
vue: ^3.2.37 vue: ^3.2.37
@ -13450,7 +13450,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"unimport@npm:^0.2.8, unimport@npm:^0.2.9": "unimport@npm:^0.2.8":
version: 0.2.9 version: 0.2.9
resolution: "unimport@npm:0.2.9" resolution: "unimport@npm:0.2.9"
dependencies: dependencies:
@ -13468,6 +13468,24 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"unimport@npm:^0.3.0":
version: 0.3.0
resolution: "unimport@npm:0.3.0"
dependencies:
"@rollup/pluginutils": ^4.2.1
escape-string-regexp: ^5.0.0
fast-glob: ^3.2.11
local-pkg: ^0.4.1
magic-string: ^0.26.2
mlly: ^0.5.3
pathe: ^0.3.0
scule: ^0.2.1
strip-literal: ^0.4.0
unplugin: ^0.7.0
checksum: 7a612f00739d8f4b16c0c6ef0d7ad02106925af04a342101f69714679a02681a7e89c16476a0ac04ce86e5ba2d9b6a807e55413a9f2c9acdf79ffcbb72645af3
languageName: node
linkType: hard
"unique-filename@npm:^1.1.1": "unique-filename@npm:^1.1.1":
version: 1.1.1 version: 1.1.1
resolution: "unique-filename@npm:1.1.1" resolution: "unique-filename@npm:1.1.1"