@supsign/unplugin-interfaces 0.2.0 → 1.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/LICENSE +21 -21
- package/README.md +9 -7
- package/dist/{astro.d.ts → astro.d.mts} +1 -1
- package/dist/{astro.js → astro.mjs} +3 -5
- package/dist/esbuild.d.mts +7 -0
- package/dist/{esbuild.js → esbuild.mjs} +2 -4
- package/dist/{farm.d.ts → farm.d.mts} +1 -1
- package/dist/{farm.js → farm.mjs} +2 -4
- package/dist/index.d.mts +12 -0
- package/dist/index.mjs +2 -0
- package/dist/{nuxt.d.ts → nuxt.d.mts} +1 -1
- package/dist/{nuxt.js → nuxt.mjs} +4 -6
- package/dist/rollup.d.mts +7 -0
- package/dist/{rollup.js → rollup.mjs} +2 -4
- package/dist/{rspack.d.ts → rspack.d.mts} +1 -1
- package/dist/{rspack.js → rspack.mjs} +2 -4
- package/dist/{src-BKy9tiI6.js → src-BBWM3Bz4.mjs} +279 -239
- package/dist/{types-BVbGtSvv.d.ts → types.d.mts} +0 -1
- package/dist/types.mjs +1 -0
- package/dist/vite.d.mts +6 -0
- package/dist/{vite-gMMORSxX.js → vite.mjs} +2 -4
- package/dist/webpack.d.mts +7 -0
- package/dist/{webpack-BsOsB8pU.js → webpack.mjs} +2 -4
- package/package.json +60 -55
- package/dist/esbuild.d.ts +0 -7
- package/dist/index.d.ts +0 -17
- package/dist/index.js +0 -3
- package/dist/rollup.d.ts +0 -7
- package/dist/types.d.ts +0 -2
- package/dist/types.js +0 -1
- package/dist/vite.d.ts +0 -7
- package/dist/vite.js +0 -4
- package/dist/webpack.d.ts +0 -7
- package/dist/webpack.js +0 -4
package/dist/types.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/vite.d.mts
ADDED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { unpluginFactory } from "./src-
|
|
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 };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { unpluginFactory } from "./src-
|
|
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,25 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supsign/unplugin-interfaces",
|
|
3
|
-
"
|
|
4
|
-
"version": "0.2.0",
|
|
5
|
-
"packageManager": "pnpm@10.18.3",
|
|
3
|
+
"version": "1.1.0",
|
|
6
4
|
"description": "",
|
|
7
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"rollup",
|
|
7
|
+
"transform",
|
|
8
|
+
"unplugin",
|
|
9
|
+
"vite",
|
|
10
|
+
"webpack"
|
|
11
|
+
],
|
|
8
12
|
"homepage": "https://github.com/supsign/unplugin-interfaces#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/supsign/unplugin-interfaces/issues"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
9
17
|
"repository": {
|
|
10
18
|
"type": "git",
|
|
11
19
|
"url": "git+https://github.com/supsign/unplugin-interfaces.git"
|
|
12
20
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"unplugin",
|
|
18
|
-
"vite",
|
|
19
|
-
"webpack",
|
|
20
|
-
"rollup",
|
|
21
|
-
"transform"
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
22
23
|
],
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"module": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"typesVersions": {
|
|
29
|
+
"*": {
|
|
30
|
+
"*": [
|
|
31
|
+
"./dist/*",
|
|
32
|
+
"./*"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
23
36
|
"exports": {
|
|
24
37
|
".": "./dist/index.js",
|
|
25
38
|
"./astro": "./dist/astro.js",
|
|
@@ -33,36 +46,33 @@
|
|
|
33
46
|
"./webpack": "./dist/webpack.js",
|
|
34
47
|
"./package.json": "./package.json"
|
|
35
48
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"types": "./dist/index.d.ts",
|
|
39
|
-
"typesVersions": {
|
|
40
|
-
"*": {
|
|
41
|
-
"*": [
|
|
42
|
-
"./dist/*",
|
|
43
|
-
"./*"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"unplugin": "^3.0.0"
|
|
46
51
|
},
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@nuxt/kit": "^4.4.2",
|
|
54
|
+
"esbuild": "^0.27.0",
|
|
55
|
+
"@nuxt/schema": "^4.4.2",
|
|
56
|
+
"@types/node": "^25.5.0",
|
|
57
|
+
"bumpp": "^11.0.1",
|
|
58
|
+
"chokidar": "^5.0.0",
|
|
59
|
+
"nodemon": "^3.1.14",
|
|
60
|
+
"oxfmt": "^0.40.0",
|
|
61
|
+
"oxlint": "^1.55.0",
|
|
62
|
+
"rollup": "^4.59.0",
|
|
63
|
+
"tsdown": "^0.21.3",
|
|
64
|
+
"tsx": "^4.21.0",
|
|
65
|
+
"typescript": "^5.9.3",
|
|
66
|
+
"vite": "^8.0.0",
|
|
67
|
+
"vitest": "^4.1.0",
|
|
68
|
+
"webpack": "^5.105.4"
|
|
59
69
|
},
|
|
60
70
|
"peerDependencies": {
|
|
61
71
|
"@farmfe/core": ">=1",
|
|
62
72
|
"@nuxt/kit": "^3",
|
|
63
73
|
"@nuxt/schema": "^3",
|
|
64
74
|
"esbuild": "*",
|
|
65
|
-
"rollup": "^3",
|
|
75
|
+
"rollup": "^3 || ^4",
|
|
66
76
|
"vite": ">=3",
|
|
67
77
|
"webpack": "^4 || ^5"
|
|
68
78
|
},
|
|
@@ -89,24 +99,19 @@
|
|
|
89
99
|
"optional": true
|
|
90
100
|
}
|
|
91
101
|
},
|
|
92
|
-
"
|
|
93
|
-
"
|
|
102
|
+
"overrides": {
|
|
103
|
+
"esbuild": "^0.27.0",
|
|
104
|
+
"vite": "^8.0.0"
|
|
94
105
|
},
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
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"
|
|
106
|
+
"scripts": {
|
|
107
|
+
"build": "tsdown",
|
|
108
|
+
"dev": "tsdown -w",
|
|
109
|
+
"format": "oxfmt .",
|
|
110
|
+
"format:check": "oxfmt --check .",
|
|
111
|
+
"lint": "oxlint .",
|
|
112
|
+
"play": "npm -C playground run dev",
|
|
113
|
+
"release": "bumpp && pnpm publish",
|
|
114
|
+
"start": "tsx src/index.ts",
|
|
115
|
+
"test": "vitest"
|
|
111
116
|
}
|
|
112
|
-
}
|
|
117
|
+
}
|
package/dist/esbuild.d.ts
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Options } from "./types-BVbGtSvv.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
package/dist/rollup.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Options } from "./types-BVbGtSvv.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
package/dist/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/vite.d.ts
DELETED
package/dist/vite.js
DELETED
package/dist/webpack.d.ts
DELETED
package/dist/webpack.js
DELETED