unplugin-vue-components 32.0.0 → 32.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esbuild.d.mts +1 -1
- package/dist/esbuild.mjs +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -1
- package/dist/nuxt.mjs +1 -2
- package/dist/resolvers.mjs +1 -1
- package/dist/rolldown.d.mts +1 -1
- package/dist/rolldown.mjs +1 -2
- package/dist/rollup.d.mts +1 -1
- package/dist/rollup.mjs +1 -2
- package/dist/rspack.mjs +1 -2
- package/dist/{src-M1OY6Uso.mjs → src-S1kwY0Q8.mjs} +3 -1
- package/dist/vite.mjs +1 -2
- package/dist/webpack.d.mts +1 -1
- package/dist/webpack.mjs +1 -2
- package/package.json +20 -20
package/dist/esbuild.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as Options } from "./types-BbnOeCab.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/esbuild.d.ts
|
|
4
|
-
declare const esbuild: (options: Options) =>
|
|
4
|
+
declare const esbuild: (options: Options) => EsbuildPlugin;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { esbuild as default, esbuild as "module.exports" };
|
package/dist/esbuild.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { a as ComponentResolverObject, c as ImportInfoLegacy, d as PublicPluginAPI, f as ResolvedOptions, h as TypeImport, i as ComponentResolverFunction, l as Matcher, m as Transformer, n as ComponentResolveResult, o as ComponentsImportMap, p as SideEffectsInfo, r as ComponentResolver, s as ImportInfo, t as ComponentInfo, u as Options } from "./types-BbnOeCab.mjs";
|
|
2
|
-
import * as unplugin from "unplugin";
|
|
3
2
|
import { FilterPattern } from "unplugin-utils";
|
|
4
3
|
//#region src/core/unplugin.d.ts
|
|
5
|
-
declare const _default: unplugin.UnpluginInstance<Options, boolean>;
|
|
4
|
+
declare const _default: import("unplugin").UnpluginInstance<Options, boolean>;
|
|
6
5
|
//#endregion
|
|
7
6
|
//#region src/core/utils.d.ts
|
|
8
7
|
declare function pascalCase(str: string): string;
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { c as kebabCase, f as pascalCase, t as camelCase } from "./utils-BfjsfvcK.mjs";
|
|
2
|
-
import { t as unplugin_default } from "./src-
|
|
2
|
+
import { t as unplugin_default } from "./src-S1kwY0Q8.mjs";
|
|
3
3
|
export { camelCase, unplugin_default as default, kebabCase, pascalCase };
|
package/dist/nuxt.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { t as unplugin_default } from "./src-M1OY6Uso.mjs";
|
|
1
|
+
import { t as unplugin_default } from "./src-S1kwY0Q8.mjs";
|
|
3
2
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
4
3
|
//#region src/nuxt.ts
|
|
5
4
|
const module = defineNuxtModule({ setup(options) {
|
package/dist/resolvers.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { createDebug } from "obug";
|
|
|
7
7
|
import { resolveModule } from "local-pkg";
|
|
8
8
|
import { resolvePathSync } from "mlly";
|
|
9
9
|
//#region \0rolldown/runtime.js
|
|
10
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
10
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
11
11
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/core/resolvers/antdv.ts
|
package/dist/rolldown.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as Options } from "./types-BbnOeCab.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/rolldown.d.ts
|
|
4
|
-
declare const rolldown: (options: Options) => rolldown.Plugin<any>[] | rolldown.Plugin<any>;
|
|
4
|
+
declare const rolldown: (options: Options) => import("rolldown").Plugin<any>[] | import("rolldown").Plugin<any>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { rolldown as default, rolldown as "module.exports" };
|
package/dist/rolldown.mjs
CHANGED
package/dist/rollup.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as Options } from "./types-BbnOeCab.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/rollup.d.ts
|
|
4
|
-
declare const rollup: (options: Options) => rollup.Plugin<any>[] | rollup.Plugin<any>;
|
|
4
|
+
declare const rollup: (options: Options) => import("rollup").Plugin<any>[] | import("rollup").Plugin<any>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { rollup as default, rollup as "module.exports" };
|
package/dist/rollup.mjs
CHANGED
package/dist/rspack.mjs
CHANGED
|
@@ -344,6 +344,7 @@ const debug = {
|
|
|
344
344
|
env: createDebug("unplugin-vue-components:env")
|
|
345
345
|
};
|
|
346
346
|
var Context = class {
|
|
347
|
+
rawOptions;
|
|
347
348
|
options;
|
|
348
349
|
transformer;
|
|
349
350
|
_componentPaths = /* @__PURE__ */ new Set();
|
|
@@ -364,7 +365,8 @@ var Context = class {
|
|
|
364
365
|
this.generateDeclaration = throttle(500, this._generateDeclaration.bind(this), { noLeading: false });
|
|
365
366
|
this._removeUnused = this.options.syncMode !== "append";
|
|
366
367
|
if (this.options.dumpComponentsInfo) {
|
|
367
|
-
|
|
368
|
+
const dumpComponentsInfo = this.options.dumpComponentsInfo === true ? "./.components-info.json" : this.options.dumpComponentsInfo ?? false;
|
|
369
|
+
this.dumpComponentsInfoPath = dumpComponentsInfo;
|
|
368
370
|
this.generateComponentsJson = throttle(500, this._generateComponentsJson.bind(this), { noLeading: false });
|
|
369
371
|
}
|
|
370
372
|
this.transformer = transformer(this);
|
package/dist/vite.mjs
CHANGED
package/dist/webpack.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as Options } from "./types-BbnOeCab.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/webpack.d.ts
|
|
4
|
-
declare const webpack: (options: Options) => webpack.WebpackPluginInstance;
|
|
4
|
+
declare const webpack: (options: Options) => import("webpack").WebpackPluginInstance;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { webpack as default, webpack as "module.exports" };
|
package/dist/webpack.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-vue-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "32.
|
|
4
|
+
"version": "32.1.0",
|
|
5
5
|
"description": "Components auto importing for Vue",
|
|
6
6
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -51,38 +51,38 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"chokidar": "^5.0.0",
|
|
54
|
-
"local-pkg": "^1.
|
|
54
|
+
"local-pkg": "^1.2.0",
|
|
55
55
|
"magic-string": "^0.30.21",
|
|
56
56
|
"mlly": "^1.8.2",
|
|
57
57
|
"obug": "^2.1.1",
|
|
58
|
-
"picomatch": "^4.0.
|
|
59
|
-
"tinyglobby": "^0.2.
|
|
58
|
+
"picomatch": "^4.0.4",
|
|
59
|
+
"tinyglobby": "^0.2.16",
|
|
60
60
|
"unplugin": "^3.0.0",
|
|
61
61
|
"unplugin-utils": "^0.3.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@antfu/eslint-config": "^
|
|
64
|
+
"@antfu/eslint-config": "^9.0.0",
|
|
65
65
|
"@antfu/utils": "^9.3.0",
|
|
66
|
-
"@nuxt/kit": "^4.4.
|
|
67
|
-
"@nuxt/schema": "^4.4.
|
|
68
|
-
"@types/node": "^25.
|
|
69
|
-
"@types/picomatch": "^4.0.
|
|
66
|
+
"@nuxt/kit": "^4.4.6",
|
|
67
|
+
"@nuxt/schema": "^4.4.6",
|
|
68
|
+
"@types/node": "^25.9.1",
|
|
69
|
+
"@types/picomatch": "^4.0.3",
|
|
70
70
|
"@typescript/native-preview": "7.0.0-dev.20260114.1",
|
|
71
|
-
"bumpp": "^11.0
|
|
71
|
+
"bumpp": "^11.1.0",
|
|
72
72
|
"compare-versions": "^6.1.1",
|
|
73
|
-
"element-plus": "^2.
|
|
74
|
-
"eslint": "^10.
|
|
73
|
+
"element-plus": "^2.14.0",
|
|
74
|
+
"eslint": "^10.4.0",
|
|
75
75
|
"eslint-plugin-format": "^2.0.1",
|
|
76
76
|
"pathe": "^2.0.3",
|
|
77
|
-
"rolldown": "^1.0.
|
|
78
|
-
"rollup": "^4.60.
|
|
79
|
-
"tsdown": "^0.
|
|
80
|
-
"typescript": "^
|
|
81
|
-
"vite": "^8.0.
|
|
82
|
-
"vitest": "^4.1.
|
|
77
|
+
"rolldown": "^1.0.1",
|
|
78
|
+
"rollup": "^4.60.4",
|
|
79
|
+
"tsdown": "^0.22.0",
|
|
80
|
+
"typescript": "^6.0.3",
|
|
81
|
+
"vite": "^8.0.13",
|
|
82
|
+
"vitest": "^4.1.6",
|
|
83
83
|
"vue": "3.2.45",
|
|
84
|
-
"vue-tsc": "^3.
|
|
85
|
-
"webpack": "^5.
|
|
84
|
+
"vue-tsc": "^3.3.1",
|
|
85
|
+
"webpack": "^5.106.2"
|
|
86
86
|
},
|
|
87
87
|
"inlinedDependencies": {
|
|
88
88
|
"@antfu/utils": "9.3.0",
|