unplugin-vue-components
Advanced tools
Comparing version 0.17.21 to 0.18.0
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js'); | ||
require('./chunk-ERB4VV6K.js'); | ||
require('./chunk-GGNOJ77I.js'); | ||
require('./chunk-HIJQIC5V.js'); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
// src/esbuild.ts | ||
var esbuild_default = _chunk4OXKGUF4js.unplugin_default.esbuild; | ||
var esbuild_default = _chunkNPCP6R3Ijs.unplugin_default.esbuild; | ||
@@ -11,0 +10,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js'); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
@@ -8,5 +8,4 @@ | ||
var _chunkERB4VV6Kjs = require('./chunk-ERB4VV6K.js'); | ||
require('./chunk-GGNOJ77I.js'); | ||
require('./chunk-HIJQIC5V.js'); | ||
var _chunkI3PYM4HQjs = require('./chunk-I3PYM4HQ.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -17,2 +16,2 @@ | ||
exports.camelCase = _chunkERB4VV6Kjs.camelCase; exports.default = _chunk4OXKGUF4js.unplugin_default; exports.kebabCase = _chunkERB4VV6Kjs.kebabCase; exports.pascalCase = _chunkERB4VV6Kjs.pascalCase; | ||
exports.camelCase = _chunkI3PYM4HQjs.camelCase; exports.default = _chunkNPCP6R3Ijs.unplugin_default; exports.kebabCase = _chunkI3PYM4HQjs.kebabCase; exports.pascalCase = _chunkI3PYM4HQjs.pascalCase; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js'); | ||
require('./chunk-ERB4VV6K.js'); | ||
require('./chunk-GGNOJ77I.js'); | ||
require('./chunk-HIJQIC5V.js'); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
@@ -12,7 +11,7 @@ // src/nuxt.ts | ||
config.plugins = config.plugins || []; | ||
config.plugins.unshift(_chunk4OXKGUF4js.unplugin_default.webpack(options)); | ||
config.plugins.unshift(_chunkNPCP6R3Ijs.unplugin_default.webpack(options)); | ||
}); | ||
this.nuxt.hook("vite:extend", async (vite) => { | ||
vite.config.plugins = vite.config.plugins || []; | ||
vite.config.plugins.push(_chunk4OXKGUF4js.unplugin_default.vite(options)); | ||
vite.config.plugins.push(_chunkNPCP6R3Ijs.unplugin_default.vite(options)); | ||
}); | ||
@@ -19,0 +18,0 @@ } |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js'); | ||
require('./chunk-ERB4VV6K.js'); | ||
require('./chunk-GGNOJ77I.js'); | ||
require('./chunk-HIJQIC5V.js'); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
// src/rollup.ts | ||
var rollup_default = _chunk4OXKGUF4js.unplugin_default.rollup; | ||
var rollup_default = _chunkNPCP6R3Ijs.unplugin_default.rollup; | ||
@@ -11,0 +10,0 @@ |
@@ -1,3 +0,2 @@ | ||
"use strict";require('./chunk-GGNOJ77I.js'); | ||
require('./chunk-HIJQIC5V.js'); | ||
"use strict";require('./chunk-6F4PWJZI.js'); | ||
exports.default = module.exports; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js'); | ||
require('./chunk-ERB4VV6K.js'); | ||
require('./chunk-GGNOJ77I.js'); | ||
require('./chunk-HIJQIC5V.js'); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
// src/vite.ts | ||
var vite_default = _chunk4OXKGUF4js.unplugin_default.vite; | ||
var vite_default = _chunkNPCP6R3Ijs.unplugin_default.vite; | ||
@@ -11,0 +10,0 @@ |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk4OXKGUF4js = require('./chunk-4OXKGUF4.js'); | ||
require('./chunk-ERB4VV6K.js'); | ||
require('./chunk-GGNOJ77I.js'); | ||
require('./chunk-HIJQIC5V.js'); | ||
var _chunkNPCP6R3Ijs = require('./chunk-NPCP6R3I.js'); | ||
require('./chunk-I3PYM4HQ.js'); | ||
require('./chunk-6F4PWJZI.js'); | ||
// src/webpack.ts | ||
var webpack_default = _chunk4OXKGUF4js.unplugin_default.webpack; | ||
var webpack_default = _chunkNPCP6R3Ijs.unplugin_default.webpack; | ||
@@ -11,0 +10,0 @@ |
{ | ||
"name": "unplugin-vue-components", | ||
"version": "0.17.21", | ||
"version": "0.18.0", | ||
"description": "Components auto importing for Vue", | ||
@@ -8,2 +8,3 @@ "homepage": "https://github.com/antfu/unplugin-vue-components", | ||
"license": "MIT", | ||
"author": "antfu <anthonyfu117@hotmail.com>", | ||
"repository": { | ||
@@ -14,7 +15,5 @@ "type": "git", | ||
"funding": "https://github.com/sponsors/antfu", | ||
"author": "antfu <anthonyfu117@hotmail.com>", | ||
"files": [ | ||
"dist", | ||
"*.d.ts" | ||
], | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
@@ -55,13 +54,21 @@ ".": { | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"dist", | ||
"*.d.ts" | ||
], | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"./dist/*" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"build": "tsup src/*.ts && esno scripts/postbuild.ts", | ||
"dev": "tsup src/*.ts --watch src", | ||
"build": "tsup && esno scripts/postbuild.ts", | ||
"dev": "tsup --watch src", | ||
"example:build": "npm -C examples/vite-vue3 run build", | ||
"example:dev": "npm -C examples/vite-vue3 run dev", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint --ext .js,.vue,.ts,.tsx .", | ||
"release": "npx bumpp --commit --tag --push", | ||
"lint": "eslint .", | ||
"release": "bumpp --commit --tag --push", | ||
"test": "vitest", | ||
@@ -84,34 +91,35 @@ "test:update": "vitest --u" | ||
"dependencies": { | ||
"@antfu/utils": "^0.4.0", | ||
"@rollup/pluginutils": "^4.1.2", | ||
"chokidar": "^3.5.2", | ||
"@antfu/utils": "^0.5.0", | ||
"@rollup/pluginutils": "^4.2.0", | ||
"chokidar": "^3.5.3", | ||
"debug": "^4.3.3", | ||
"fast-glob": "^3.2.11", | ||
"local-pkg": "^0.4.1", | ||
"magic-string": "^0.25.7", | ||
"minimatch": "^3.0.4", | ||
"resolve": "^1.21.0", | ||
"unplugin": "^0.3.0" | ||
"magic-string": "^0.26.1", | ||
"minimatch": "^5.0.1", | ||
"resolve": "^1.22.0", | ||
"unplugin": "^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^0.16.0", | ||
"@babel/parser": "^7.16.8", | ||
"@babel/traverse": "^7.16.8", | ||
"@babel/types": "^7.16.8", | ||
"@antfu/eslint-config": "^0.18.8", | ||
"@babel/parser": "^7.17.3", | ||
"@babel/traverse": "^7.17.3", | ||
"@babel/types": "^7.17.0", | ||
"@types/debug": "^4.1.7", | ||
"@types/minimatch": "^3.0.5", | ||
"@types/node": "^17.0.8", | ||
"@types/node": "^17.0.21", | ||
"@types/resolve": "^1.20.1", | ||
"@typescript-eslint/eslint-plugin": "^5.9.1", | ||
"@typescript-eslint/eslint-plugin": "^5.14.0", | ||
"bumpp": "^7.1.1", | ||
"compare-versions": "^4.1.3", | ||
"element-plus": "^1.1.0-beta.24", | ||
"eslint": "^8.7.0", | ||
"esno": "^0.14.0", | ||
"rollup": "^2.64.0", | ||
"tsup": "5.7.4", | ||
"typescript": "^4.5.4", | ||
"vite": "^2.7.12", | ||
"vitest": "^0.1.17", | ||
"vue": "3.2.26" | ||
"element-plus": "^2.0.5", | ||
"eslint": "^8.10.0", | ||
"esno": "^0.14.1", | ||
"pathe": "^0.2.0", | ||
"rollup": "^2.70.0", | ||
"tsup": "5.12.1", | ||
"typescript": "^4.6.2", | ||
"vite": "^2.8.6", | ||
"vitest": "^0.6.0", | ||
"vue": "3.2.31" | ||
}, | ||
@@ -118,0 +126,0 @@ "engines": { |
@@ -77,4 +77,4 @@ # unplugin-vue-components | ||
plugins: [ | ||
require('unplugin-vue-components/webpack')({ /* options */ }) | ||
] | ||
require('unplugin-vue-components/webpack')({ /* options */ }), | ||
], | ||
} | ||
@@ -221,3 +221,3 @@ ``` | ||
VantResolver(), | ||
] | ||
], | ||
}) | ||
@@ -236,4 +236,4 @@ ``` | ||
return { importName: name.slice(3), path: 'vant' } | ||
} | ||
] | ||
}, | ||
], | ||
}) | ||
@@ -304,3 +304,3 @@ ``` | ||
// generate `components.d.ts` global declarations, | ||
// generate `components.d.ts` global declarations, | ||
// also accepts a path for custom filename | ||
@@ -307,0 +307,0 @@ dts: false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279333
8125
21
33
+ Added@antfu/utils@0.5.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedmagic-string@0.26.7(transitive)
+ Addedminimatch@5.1.6(transitive)
+ Addedunplugin@0.4.0(transitive)
- Removed@antfu/utils@0.4.0(transitive)
- Removed@types/throttle-debounce@2.1.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedmagic-string@0.25.9(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedunplugin@0.3.3(transitive)
Updated@antfu/utils@^0.5.0
Updated@rollup/pluginutils@^4.2.0
Updatedchokidar@^3.5.3
Updatedmagic-string@^0.26.1
Updatedminimatch@^5.0.1
Updatedresolve@^1.22.0
Updatedunplugin@^0.4.0