@supsign/unplugin-interfaces 1.0.0 → 1.1.1

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/types.mjs ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Options } from "./types.mjs";
2
+
3
+ //#region src/vite.d.ts
4
+ declare const _default: (options?: Options | undefined) => any;
5
+ //#endregion
6
+ export { _default as default };
@@ -1,8 +1,6 @@
1
- import { unpluginFactory } from "./src-xDGsFk9F.js";
1
+ import { i as unpluginFactory } from "./src-BBWM3Bz4.mjs";
2
2
  import { createVitePlugin } from "unplugin";
3
-
4
3
  //#region src/vite.ts
5
4
  var vite_default = createVitePlugin(unpluginFactory);
6
-
7
5
  //#endregion
8
- export { vite_default };
6
+ export { vite_default as default };
@@ -0,0 +1,7 @@
1
+ import { Options } from "./types.mjs";
2
+ import * as webpack from "webpack";
3
+
4
+ //#region src/webpack.d.ts
5
+ declare const _default: (options?: Options | undefined) => webpack.WebpackPluginInstance;
6
+ //#endregion
7
+ export { _default as default };
@@ -1,8 +1,6 @@
1
- import { unpluginFactory } from "./src-xDGsFk9F.js";
1
+ import { i as unpluginFactory } from "./src-BBWM3Bz4.mjs";
2
2
  import { createWebpackPlugin } from "unplugin";
3
-
4
3
  //#region src/webpack.ts
5
4
  var webpack_default = createWebpackPlugin(unpluginFactory);
6
-
7
5
  //#endregion
8
- export { webpack_default };
6
+ export { webpack_default as default };
package/package.json CHANGED
@@ -1,112 +1,122 @@
1
- {
2
- "name": "@supsign/unplugin-interfaces",
3
- "type": "module",
4
- "version": "1.0.0",
5
- "packageManager": "pnpm@10.18.3",
6
- "description": "",
7
- "license": "MIT",
8
- "homepage": "https://github.com/supsign/unplugin-interfaces#readme",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/supsign/unplugin-interfaces.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/supsign/unplugin-interfaces/issues"
15
- },
16
- "keywords": [
17
- "unplugin",
18
- "vite",
19
- "webpack",
20
- "rollup",
21
- "transform"
22
- ],
23
- "exports": {
24
- ".": "./dist/index.js",
25
- "./astro": "./dist/astro.js",
26
- "./esbuild": "./dist/esbuild.js",
27
- "./farm": "./dist/farm.js",
28
- "./nuxt": "./dist/nuxt.js",
29
- "./rollup": "./dist/rollup.js",
30
- "./rspack": "./dist/rspack.js",
31
- "./types": "./dist/types.js",
32
- "./vite": "./dist/vite.js",
33
- "./webpack": "./dist/webpack.js",
34
- "./package.json": "./package.json"
35
- },
36
- "main": "./dist/index.js",
37
- "module": "./dist/index.js",
38
- "types": "./dist/index.d.ts",
39
- "typesVersions": {
40
- "*": {
41
- "*": [
42
- "./dist/*",
43
- "./*"
44
- ]
45
- }
46
- },
47
- "files": [
48
- "dist"
49
- ],
50
- "scripts": {
51
- "build": "tsdown",
52
- "dev": "tsdown -w",
53
- "lint": "eslint .",
54
- "play": "npm -C playground run dev",
55
- "prepublishOnly": "npm run build",
56
- "release": "bumpp && pnpm publish",
57
- "start": "tsx src/index.ts",
58
- "test": "vitest"
59
- },
60
- "peerDependencies": {
61
- "@farmfe/core": ">=1",
62
- "@nuxt/kit": "^3",
63
- "@nuxt/schema": "^3",
64
- "esbuild": "*",
65
- "rollup": "^3",
66
- "vite": ">=3",
67
- "webpack": "^4 || ^5"
68
- },
69
- "peerDependenciesMeta": {
70
- "@farmfe/core": {
71
- "optional": true
72
- },
73
- "@nuxt/kit": {
74
- "optional": true
75
- },
76
- "@nuxt/schema": {
77
- "optional": true
78
- },
79
- "esbuild": {
80
- "optional": true
81
- },
82
- "rollup": {
83
- "optional": true
84
- },
85
- "vite": {
86
- "optional": true
87
- },
88
- "webpack": {
89
- "optional": true
90
- }
91
- },
92
- "dependencies": {
93
- "unplugin": "^2.3.10"
94
- },
95
- "devDependencies": {
96
- "@antfu/eslint-config": "^6.0.0",
97
- "@nuxt/kit": "^4.1.3",
98
- "@nuxt/schema": "^4.1.3",
99
- "@types/node": "^22.18.10",
100
- "bumpp": "^10.3.1",
101
- "chokidar": "^4.0.3",
102
- "eslint": "^9.37.0",
103
- "nodemon": "^3.1.10",
104
- "rollup": "^4.52.4",
105
- "tsdown": "^0.15.7",
106
- "tsx": "^4.20.6",
107
- "typescript": "^5.9.3",
108
- "vite": "^6.4.0",
109
- "vitest": "^3.2.4",
110
- "webpack": "^5.102.1"
111
- }
112
- }
1
+ {
2
+ "name": "@supsign/unplugin-interfaces",
3
+ "version": "1.1.1",
4
+ "description": "",
5
+ "keywords": [
6
+ "rollup",
7
+ "transform",
8
+ "unplugin",
9
+ "vite",
10
+ "webpack"
11
+ ],
12
+ "homepage": "https://github.com/supsign/unplugin-interfaces#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/supsign/unplugin-interfaces/issues"
15
+ },
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/supsign/unplugin-interfaces.git"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "type": "module",
25
+ "main": "./dist/index.mjs",
26
+ "module": "./dist/index.mjs",
27
+ "types": "./dist/index.d.mts",
28
+ "typesVersions": {
29
+ "*": {
30
+ "*": [
31
+ "./dist/*",
32
+ "./*"
33
+ ]
34
+ }
35
+ },
36
+ "exports": {
37
+ ".": "./dist/index.mjs",
38
+ "./astro": "./dist/astro.mjs",
39
+ "./esbuild": "./dist/esbuild.mjs",
40
+ "./farm": "./dist/farm.mjs",
41
+ "./nuxt": "./dist/nuxt.mjs",
42
+ "./rollup": "./dist/rollup.mjs",
43
+ "./rspack": "./dist/rspack.mjs",
44
+ "./types": "./dist/types.mjs",
45
+ "./vite": "./dist/vite.mjs",
46
+ "./webpack": "./dist/webpack.mjs",
47
+ "./package.json": "./package.json"
48
+ },
49
+ "publishConfig": {
50
+ "access": "public"
51
+ },
52
+ "scripts": {
53
+ "build": "tsdown",
54
+ "dev": "tsdown -w",
55
+ "format": "oxfmt .",
56
+ "format:check": "oxfmt --check .",
57
+ "lint": "oxlint .",
58
+ "play": "npm -C playground run dev",
59
+ "prepublishOnly": "npm run build",
60
+ "release": "bumpp && pnpm publish",
61
+ "start": "tsx src/index.ts",
62
+ "test": "vitest"
63
+ },
64
+ "dependencies": {
65
+ "unplugin": "^3.0.0"
66
+ },
67
+ "devDependencies": {
68
+ "@nuxt/kit": "^4.4.2",
69
+ "@nuxt/schema": "^4.4.2",
70
+ "@types/node": "^25.5.0",
71
+ "bumpp": "^11.0.1",
72
+ "chokidar": "^5.0.0",
73
+ "esbuild": "^0.27.0",
74
+ "nodemon": "^3.1.14",
75
+ "oxfmt": "^0.40.0",
76
+ "oxlint": "^1.55.0",
77
+ "rollup": "^4.59.0",
78
+ "tsdown": "^0.21.3",
79
+ "tsx": "^4.21.0",
80
+ "typescript": "^5.9.3",
81
+ "vite": "^8.0.0",
82
+ "vitest": "^4.1.0",
83
+ "webpack": "^5.105.4"
84
+ },
85
+ "peerDependencies": {
86
+ "@farmfe/core": ">=1",
87
+ "@nuxt/kit": "^3",
88
+ "@nuxt/schema": "^3",
89
+ "esbuild": "*",
90
+ "rollup": "^3 || ^4",
91
+ "vite": ">=3",
92
+ "webpack": "^4 || ^5"
93
+ },
94
+ "peerDependenciesMeta": {
95
+ "@farmfe/core": {
96
+ "optional": true
97
+ },
98
+ "@nuxt/kit": {
99
+ "optional": true
100
+ },
101
+ "@nuxt/schema": {
102
+ "optional": true
103
+ },
104
+ "esbuild": {
105
+ "optional": true
106
+ },
107
+ "rollup": {
108
+ "optional": true
109
+ },
110
+ "vite": {
111
+ "optional": true
112
+ },
113
+ "webpack": {
114
+ "optional": true
115
+ }
116
+ },
117
+ "overrides": {
118
+ "esbuild": "^0.27.0",
119
+ "vite": "^8.0.0"
120
+ },
121
+ "packageManager": "pnpm@10.18.3"
122
+ }
package/dist/esbuild.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { Options } from "./types-DTqFymcy.js";
2
- import * as esbuild0 from "esbuild";
3
-
4
- //#region src/esbuild.d.ts
5
- declare const _default: (options?: Options | undefined) => esbuild0.Plugin;
6
- //#endregion
7
- export { _default as default };
package/dist/index.d.ts DELETED
@@ -1,17 +0,0 @@
1
- import { Options } from "./types-DTqFymcy.js";
2
- import * as unplugin0 from "unplugin";
3
- import { UnpluginFactory } from "unplugin";
4
- import * as esbuild0 from "esbuild";
5
- import * as vite1 from "vite";
6
- import * as rollup1 from "rollup";
7
- import * as webpack0 from "webpack";
8
-
9
- //#region src/index.d.ts
10
- declare const unpluginFactory: UnpluginFactory<Options | undefined>;
11
- declare const unplugin: unplugin0.UnpluginInstance<Options | undefined, boolean>;
12
- declare const vite: (options?: Options | undefined) => vite1.Plugin<any> | vite1.Plugin<any>[];
13
- declare const rollup: (options?: Options | undefined) => rollup1.Plugin<any> | rollup1.Plugin<any>[];
14
- declare const webpack: (options?: Options | undefined) => webpack0.WebpackPluginInstance;
15
- declare const esbuild: (options?: Options | undefined) => esbuild0.Plugin;
16
- //#endregion
17
- export { unplugin as default, unplugin, esbuild, rollup, unpluginFactory, vite, webpack };
package/dist/index.js DELETED
@@ -1,3 +0,0 @@
1
- import { esbuild, rollup, src_default, unplugin, unpluginFactory, vite, webpack } from "./src-xDGsFk9F.js";
2
-
3
- export { src_default as default, esbuild, rollup, unplugin, unpluginFactory, vite, webpack };
package/dist/rollup.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { Options } from "./types-DTqFymcy.js";
2
- import * as rollup0 from "rollup";
3
-
4
- //#region src/rollup.d.ts
5
- declare const _default: (options?: Options | undefined) => rollup0.Plugin<any> | rollup0.Plugin<any>[];
6
- //#endregion
7
- export { _default as default };
package/dist/types.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { Options, ResolvedOptions } from "./types-DTqFymcy.js";
2
- export { Options, ResolvedOptions };
package/dist/types.js DELETED
@@ -1 +0,0 @@
1
- export { };
package/dist/vite.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { Options } from "./types-DTqFymcy.js";
2
- import * as vite0 from "vite";
3
-
4
- //#region src/vite.d.ts
5
- declare const _default: (options?: Options | undefined) => vite0.Plugin<any> | vite0.Plugin<any>[];
6
- //#endregion
7
- export { _default as default };
package/dist/vite.js DELETED
@@ -1,4 +0,0 @@
1
- import "./src-xDGsFk9F.js";
2
- import { vite_default } from "./vite-DJyRlrtA.js";
3
-
4
- export { vite_default as default };
package/dist/webpack.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { Options } from "./types-DTqFymcy.js";
2
- import * as webpack0 from "webpack";
3
-
4
- //#region src/webpack.d.ts
5
- declare const _default: (options?: Options | undefined) => webpack0.WebpackPluginInstance;
6
- //#endregion
7
- export { _default as default };
package/dist/webpack.js DELETED
@@ -1,4 +0,0 @@
1
- import "./src-xDGsFk9F.js";
2
- import { webpack_default } from "./webpack-Jk_mUGu2.js";
3
-
4
- export { webpack_default as default };
File without changes