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/dist/rollup.js CHANGED
@@ -1,12 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js');
4
- require('./chunk-ERB4VV6K.js');
5
- require('./chunk-GGNOJ77I.js');
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 = _chunk4OXKGUF4js.unplugin_default.rollup;
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-ZHBFA55Z.mjs";
4
- import "./chunk-M3Z4TUEC.mjs";
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
@@ -1,3 +1,2 @@
1
- "use strict";require('./chunk-GGNOJ77I.js');
2
- require('./chunk-HIJQIC5V.js');
1
+ "use strict";require('./chunk-6F4PWJZI.js');
3
2
  exports.default = module.exports;
package/dist/types.mjs CHANGED
@@ -1,2 +1 @@
1
1
  import "./chunk-WBQAMGXK.mjs";
2
- import "./chunk-EKXJN6YJ.mjs";
package/dist/vite.js CHANGED
@@ -1,12 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js');
4
- require('./chunk-ERB4VV6K.js');
5
- require('./chunk-GGNOJ77I.js');
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 = _chunk4OXKGUF4js.unplugin_default.vite;
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-ZHBFA55Z.mjs";
4
- import "./chunk-M3Z4TUEC.mjs";
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 _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js');
4
- require('./chunk-ERB4VV6K.js');
5
- require('./chunk-GGNOJ77I.js');
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 = _chunk4OXKGUF4js.unplugin_default.webpack;
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-ZHBFA55Z.mjs";
4
- import "./chunk-M3Z4TUEC.mjs";
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.17.21",
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
- "author": "antfu <anthonyfu117@hotmail.com>",
14
- "files": [
15
- "dist",
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
- "main": "dist/index.js",
54
- "module": "dist/index.mjs",
55
- "types": "index.d.ts",
52
+ "files": [
53
+ "dist",
54
+ "*.d.ts"
55
+ ],
56
+ "typesVersions": {
57
+ "*": {
58
+ "*": [
59
+ "./dist/*"
60
+ ]
61
+ }
62
+ },
56
63
  "scripts": {
57
- "build": "tsup src/*.ts && esno scripts/postbuild.ts",
58
- "dev": "tsup src/*.ts --watch src",
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 --ext .js,.vue,.ts,.tsx .",
63
- "release": "npx bumpp --commit --tag --push",
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.4.0",
82
- "@rollup/pluginutils": "^4.1.2",
83
- "chokidar": "^3.5.2",
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.25.7",
88
- "minimatch": "^3.0.4",
89
- "resolve": "^1.21.0",
90
- "unplugin": "^0.3.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.16.0",
94
- "@babel/parser": "^7.16.8",
95
- "@babel/traverse": "^7.16.8",
96
- "@babel/types": "^7.16.8",
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.8",
106
+ "@types/node": "^17.0.21",
100
107
  "@types/resolve": "^1.20.1",
101
- "@typescript-eslint/eslint-plugin": "^5.9.1",
108
+ "@typescript-eslint/eslint-plugin": "^5.14.0",
102
109
  "bumpp": "^7.1.1",
103
110
  "compare-versions": "^4.1.3",
104
- "element-plus": "^1.1.0-beta.24",
105
- "eslint": "^8.7.0",
106
- "esno": "^0.14.0",
107
- "rollup": "^2.64.0",
108
- "tsup": "5.7.4",
109
- "typescript": "^4.5.4",
110
- "vite": "^2.7.12",
111
- "vitest": "^0.1.17",
112
- "vue": "3.2.26"
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"
@@ -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
- };
@@ -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
@@ -1,2 +0,0 @@
1
- export * from './dist/esbuild'
2
- export { default } from './dist/esbuild'
package/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './dist/index'
2
- export { default } from './dist/index'
package/nuxt.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './dist/nuxt'
2
- export { default } from './dist/nuxt'
package/resolvers.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './dist/resolvers'
2
- export { default } from './dist/resolvers'
package/rollup.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './dist/rollup'
2
- export { default } from './dist/rollup'
package/types.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './dist/types'
2
- export { default } from './dist/types'
package/vite.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './dist/vite'
2
- export { default } from './dist/vite'
package/webpack.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './dist/webpack'
2
- export { default } from './dist/webpack'