@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/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-xDGsFk9F.js → src-BBWM3Bz4.mjs} +271 -231
- package/dist/types.mjs +1 -0
- package/dist/vite.d.mts +6 -0
- package/dist/{vite-DJyRlrtA.js → vite.mjs} +2 -4
- package/dist/webpack.d.mts +7 -0
- package/dist/{webpack-Jk_mUGu2.js → webpack.mjs} +2 -4
- package/package.json +122 -112
- 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-DTqFymcy.d.ts → types.d.mts} +0 -0
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,112 +1,122 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@supsign/unplugin-interfaces",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/supsign/unplugin-interfaces/issues"
|
|
15
|
-
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"@
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"@nuxt/
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
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
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
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
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
|
File without changes
|