unplugin-vue-components 0.17.21 → 0.18.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/README.md +6 -6
- package/dist/{chunk-GGNOJ77I.js → chunk-6F4PWJZI.js} +0 -0
- package/dist/{chunk-ERB4VV6K.js → chunk-I3PYM4HQ.js} +37 -2
- package/dist/{chunk-4OXKGUF4.js → chunk-NPCP6R3I.js} +21 -23
- package/dist/{chunk-M3Z4TUEC.mjs → chunk-PQNKN3AH.mjs} +35 -0
- package/dist/{chunk-ZHBFA55Z.mjs → chunk-VL4CJHKE.mjs} +6 -8
- package/dist/esbuild.js +4 -5
- package/dist/esbuild.mjs +2 -3
- package/dist/index.js +4 -5
- package/dist/index.mjs +2 -3
- package/dist/nuxt.js +5 -6
- package/dist/nuxt.mjs +2 -3
- package/dist/resolvers.js +989 -341
- package/dist/resolvers.mjs +979 -331
- package/dist/rollup.js +4 -5
- package/dist/rollup.mjs +2 -3
- package/dist/types.js +1 -2
- package/dist/types.mjs +0 -1
- package/dist/vite.js +4 -5
- package/dist/vite.mjs +2 -3
- package/dist/webpack.js +4 -5
- package/dist/webpack.mjs +2 -3
- package/package.json +43 -35
- package/dist/chunk-EKXJN6YJ.mjs +0 -36
- package/dist/chunk-HIJQIC5V.js +0 -36
- package/esbuild.d.ts +0 -2
- package/index.d.ts +0 -2
- package/nuxt.d.ts +0 -2
- package/resolvers.d.ts +0 -2
- package/rollup.d.ts +0 -2
- package/types.d.ts +0 -2
- package/vite.d.ts +0 -2
- package/webpack.d.ts +0 -2
package/dist/rollup.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-HIJQIC5V.js');
|
|
3
|
+
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js');
|
|
4
|
+
require('./chunk-I3PYM4HQ.js');
|
|
5
|
+
require('./chunk-6F4PWJZI.js');
|
|
7
6
|
|
|
8
7
|
// src/rollup.ts
|
|
9
|
-
var rollup_default =
|
|
8
|
+
var rollup_default = _chunkNPCP6R3Ijs.unplugin_default.rollup;
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
module.exports = rollup_default;
|
package/dist/rollup.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
unplugin_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VL4CJHKE.mjs";
|
|
4
|
+
import "./chunk-PQNKN3AH.mjs";
|
|
5
5
|
import "./chunk-WBQAMGXK.mjs";
|
|
6
|
-
import "./chunk-EKXJN6YJ.mjs";
|
|
7
6
|
|
|
8
7
|
// src/rollup.ts
|
|
9
8
|
var rollup_default = unplugin_default.rollup;
|
package/dist/types.js
CHANGED
package/dist/types.mjs
CHANGED
package/dist/vite.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-HIJQIC5V.js');
|
|
3
|
+
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js');
|
|
4
|
+
require('./chunk-I3PYM4HQ.js');
|
|
5
|
+
require('./chunk-6F4PWJZI.js');
|
|
7
6
|
|
|
8
7
|
// src/vite.ts
|
|
9
|
-
var vite_default =
|
|
8
|
+
var vite_default = _chunkNPCP6R3Ijs.unplugin_default.vite;
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
module.exports = vite_default;
|
package/dist/vite.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
unplugin_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VL4CJHKE.mjs";
|
|
4
|
+
import "./chunk-PQNKN3AH.mjs";
|
|
5
5
|
import "./chunk-WBQAMGXK.mjs";
|
|
6
|
-
import "./chunk-EKXJN6YJ.mjs";
|
|
7
6
|
|
|
8
7
|
// src/vite.ts
|
|
9
8
|
var vite_default = unplugin_default.vite;
|
package/dist/webpack.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-HIJQIC5V.js');
|
|
3
|
+
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js');
|
|
4
|
+
require('./chunk-I3PYM4HQ.js');
|
|
5
|
+
require('./chunk-6F4PWJZI.js');
|
|
7
6
|
|
|
8
7
|
// src/webpack.ts
|
|
9
|
-
var webpack_default =
|
|
8
|
+
var webpack_default = _chunkNPCP6R3Ijs.unplugin_default.webpack;
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
module.exports = webpack_default;
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
unplugin_default
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VL4CJHKE.mjs";
|
|
4
|
+
import "./chunk-PQNKN3AH.mjs";
|
|
5
5
|
import "./chunk-WBQAMGXK.mjs";
|
|
6
|
-
import "./chunk-EKXJN6YJ.mjs";
|
|
7
6
|
|
|
8
7
|
// src/webpack.ts
|
|
9
8
|
var webpack_default = unplugin_default.webpack;
|
package/package.json
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-vue-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Components auto importing for Vue",
|
|
5
5
|
"homepage": "https://github.com/antfu/unplugin-vue-components",
|
|
6
6
|
"bugs": "https://github.com/antfu/unplugin-vue-components/issues",
|
|
7
7
|
"license": "MIT",
|
|
8
|
+
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
8
9
|
"repository": {
|
|
9
10
|
"type": "git",
|
|
10
11
|
"url": "https://github.com/antfu/unplugin-vue-components"
|
|
11
12
|
},
|
|
12
13
|
"funding": "https://github.com/sponsors/antfu",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"*.d.ts"
|
|
17
|
-
],
|
|
14
|
+
"main": "dist/index.js",
|
|
15
|
+
"module": "dist/index.mjs",
|
|
16
|
+
"types": "dist/index.d.ts",
|
|
18
17
|
"exports": {
|
|
19
18
|
".": {
|
|
20
19
|
"require": "./dist/index.js",
|
|
@@ -50,17 +49,25 @@
|
|
|
50
49
|
"import": "./dist/esbuild.mjs"
|
|
51
50
|
}
|
|
52
51
|
},
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
"files": [
|
|
53
|
+
"dist",
|
|
54
|
+
"*.d.ts"
|
|
55
|
+
],
|
|
56
|
+
"typesVersions": {
|
|
57
|
+
"*": {
|
|
58
|
+
"*": [
|
|
59
|
+
"./dist/*"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
56
63
|
"scripts": {
|
|
57
|
-
"build": "tsup
|
|
58
|
-
"dev": "tsup
|
|
64
|
+
"build": "tsup && esno scripts/postbuild.ts",
|
|
65
|
+
"dev": "tsup --watch src",
|
|
59
66
|
"example:build": "npm -C examples/vite-vue3 run build",
|
|
60
67
|
"example:dev": "npm -C examples/vite-vue3 run dev",
|
|
61
68
|
"prepublishOnly": "npm run build",
|
|
62
|
-
"lint": "eslint
|
|
63
|
-
"release": "
|
|
69
|
+
"lint": "eslint .",
|
|
70
|
+
"release": "bumpp --commit --tag --push",
|
|
64
71
|
"test": "vitest",
|
|
65
72
|
"test:update": "vitest --u"
|
|
66
73
|
},
|
|
@@ -78,38 +85,39 @@
|
|
|
78
85
|
}
|
|
79
86
|
},
|
|
80
87
|
"dependencies": {
|
|
81
|
-
"@antfu/utils": "^0.
|
|
82
|
-
"@rollup/pluginutils": "^4.
|
|
83
|
-
"chokidar": "^3.5.
|
|
88
|
+
"@antfu/utils": "^0.5.0",
|
|
89
|
+
"@rollup/pluginutils": "^4.2.0",
|
|
90
|
+
"chokidar": "^3.5.3",
|
|
84
91
|
"debug": "^4.3.3",
|
|
85
92
|
"fast-glob": "^3.2.11",
|
|
86
93
|
"local-pkg": "^0.4.1",
|
|
87
|
-
"magic-string": "^0.
|
|
88
|
-
"minimatch": "^
|
|
89
|
-
"resolve": "^1.
|
|
90
|
-
"unplugin": "^0.
|
|
94
|
+
"magic-string": "^0.26.1",
|
|
95
|
+
"minimatch": "^5.0.1",
|
|
96
|
+
"resolve": "^1.22.0",
|
|
97
|
+
"unplugin": "^0.4.0"
|
|
91
98
|
},
|
|
92
99
|
"devDependencies": {
|
|
93
|
-
"@antfu/eslint-config": "^0.
|
|
94
|
-
"@babel/parser": "^7.
|
|
95
|
-
"@babel/traverse": "^7.
|
|
96
|
-
"@babel/types": "^7.
|
|
100
|
+
"@antfu/eslint-config": "^0.18.8",
|
|
101
|
+
"@babel/parser": "^7.17.3",
|
|
102
|
+
"@babel/traverse": "^7.17.3",
|
|
103
|
+
"@babel/types": "^7.17.0",
|
|
97
104
|
"@types/debug": "^4.1.7",
|
|
98
105
|
"@types/minimatch": "^3.0.5",
|
|
99
|
-
"@types/node": "^17.0.
|
|
106
|
+
"@types/node": "^17.0.21",
|
|
100
107
|
"@types/resolve": "^1.20.1",
|
|
101
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
108
|
+
"@typescript-eslint/eslint-plugin": "^5.14.0",
|
|
102
109
|
"bumpp": "^7.1.1",
|
|
103
110
|
"compare-versions": "^4.1.3",
|
|
104
|
-
"element-plus": "^
|
|
105
|
-
"eslint": "^8.
|
|
106
|
-
"esno": "^0.14.
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
111
|
+
"element-plus": "^2.0.5",
|
|
112
|
+
"eslint": "^8.10.0",
|
|
113
|
+
"esno": "^0.14.1",
|
|
114
|
+
"pathe": "^0.2.0",
|
|
115
|
+
"rollup": "^2.70.0",
|
|
116
|
+
"tsup": "5.12.1",
|
|
117
|
+
"typescript": "^4.6.2",
|
|
118
|
+
"vite": "^2.8.6",
|
|
119
|
+
"vitest": "^0.6.0",
|
|
120
|
+
"vue": "3.2.31"
|
|
113
121
|
},
|
|
114
122
|
"engines": {
|
|
115
123
|
"node": ">=14"
|
package/dist/chunk-EKXJN6YJ.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
21
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
22
|
-
}) : x)(function(x) {
|
|
23
|
-
if (typeof require !== "undefined")
|
|
24
|
-
return require.apply(this, arguments);
|
|
25
|
-
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
26
|
-
});
|
|
27
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
28
|
-
return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
__spreadValues,
|
|
33
|
-
__spreadProps,
|
|
34
|
-
__require,
|
|
35
|
-
__commonJS
|
|
36
|
-
};
|
package/dist/chunk-HIJQIC5V.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
21
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
22
|
-
}) : x)(function(x) {
|
|
23
|
-
if (typeof require !== "undefined")
|
|
24
|
-
return require.apply(this, arguments);
|
|
25
|
-
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
26
|
-
});
|
|
27
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
28
|
-
return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
exports.__spreadValues = __spreadValues; exports.__spreadProps = __spreadProps; exports.__require = __require; exports.__commonJS = __commonJS;
|
package/esbuild.d.ts
DELETED
package/index.d.ts
DELETED
package/nuxt.d.ts
DELETED
package/resolvers.d.ts
DELETED
package/rollup.d.ts
DELETED
package/types.d.ts
DELETED
package/vite.d.ts
DELETED
package/webpack.d.ts
DELETED