Skip to content

Commit eb5ce21

Browse files
committedDec 16, 2024
feat!: upgrade unplugin, drop node 16 & webpack 4 support
1 parent 55102fd commit eb5ce21

File tree

3 files changed

+1122
-1703
lines changed

3 files changed

+1122
-1703
lines changed
 

Diff for: ‎package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "unplugin-vue-components",
33
"type": "module",
44
"version": "0.27.5",
5-
"packageManager": "pnpm@9.14.2",
5+
"packageManager": "pnpm@9.15.0",
66
"description": "Components auto importing for Vue",
77
"author": "antfu <anthonyfu117@hotmail.com>",
88
"license": "MIT",
@@ -94,37 +94,37 @@
9494
},
9595
"dependencies": {
9696
"@antfu/utils": "^0.7.10",
97-
"@rollup/pluginutils": "^5.1.3",
97+
"@rollup/pluginutils": "^5.1.4",
9898
"chokidar": "^3.6.0",
99-
"debug": "^4.3.7",
99+
"debug": "^4.4.0",
100100
"fast-glob": "^3.3.2",
101101
"local-pkg": "^0.5.1",
102-
"magic-string": "^0.30.14",
102+
"magic-string": "^0.30.15",
103103
"minimatch": "^9.0.5",
104104
"mlly": "^1.7.3",
105-
"unplugin": "^1.16.0"
105+
"unplugin": "^2.1.0"
106106
},
107107
"devDependencies": {
108-
"@antfu/eslint-config": "^3.10.0",
109-
"@babel/parser": "^7.26.2",
110-
"@babel/types": "^7.26.0",
108+
"@antfu/eslint-config": "^3.12.0",
109+
"@babel/parser": "^7.26.3",
110+
"@babel/types": "^7.26.3",
111111
"@nuxt/kit": "^3.14.1592",
112112
"@types/debug": "^4.1.12",
113113
"@types/minimatch": "^5.1.2",
114-
"@types/node": "^22.10.0",
115-
"bumpp": "^9.8.1",
114+
"@types/node": "^22.10.2",
115+
"bumpp": "^9.9.1",
116116
"compare-versions": "^6.1.1",
117-
"element-plus": "^2.8.8",
118-
"eslint": "^9.15.0",
119-
"eslint-plugin-format": "^0.1.2",
117+
"element-plus": "^2.9.1",
118+
"eslint": "^9.17.0",
119+
"eslint-plugin-format": "^0.1.3",
120120
"esno": "^4.8.0",
121121
"estree-walker": "^3.0.3",
122122
"pathe": "^1.1.2",
123-
"rollup": "^4.27.4",
123+
"rollup": "^4.28.1",
124124
"tsup": "^8.3.5",
125-
"typescript": "^5.7.2",
126-
"vite": "^6.0.1",
127-
"vitest": "^2.1.6",
125+
"typescript": "~5.6.3",
126+
"vite": "^6.0.3",
127+
"vitest": "^2.1.8",
128128
"vue": "3.2.45"
129129
}
130130
}

Diff for: ‎pnpm-lock.yaml

+1,100-1,681
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ‎src/core/options.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ export function resolveOptions(options: Options, root: string): ResolvedOptions
5959
resolved.dts = !resolved.dts
6060
? false
6161
: resolve(
62-
root,
63-
typeof resolved.dts === 'string'
64-
? resolved.dts
65-
: 'components.d.ts',
66-
)
62+
root,
63+
typeof resolved.dts === 'string'
64+
? resolved.dts
65+
: 'components.d.ts',
66+
)
6767

6868
if (!resolved.types && resolved.dts)
6969
resolved.types = detectTypeImports()

0 commit comments

Comments
 (0)
Please sign in to comment.