@supsign/unplugin-interfaces 0.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 -0
- package/README.md +7 -0
- package/dist/astro.d.ts +6 -0
- package/dist/astro.js +13 -0
- package/dist/esbuild.d.ts +7 -0
- package/dist/esbuild.js +8 -0
- package/dist/farm.d.ts +6 -0
- package/dist/farm.js +8 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +3 -0
- package/dist/nuxt.d.ts +8 -0
- package/dist/nuxt.js +20 -0
- package/dist/rollup.d.ts +7 -0
- package/dist/rollup.js +8 -0
- package/dist/rspack.d.ts +6 -0
- package/dist/rspack.js +8 -0
- package/dist/src-CskmyrvV.js +1636 -0
- package/dist/types-BVbGtSvv.d.ts +17 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.js +1 -0
- package/dist/vite-B3qRJmDz.js +8 -0
- package/dist/vite.d.ts +7 -0
- package/dist/vite.js +4 -0
- package/dist/webpack-Do7Ul9CV.js +8 -0
- package/dist/webpack.d.ts +7 -0
- package/dist/webpack.js +4 -0
- package/package.json +112 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/types.d.ts
|
|
2
|
+
interface Options {
|
|
3
|
+
/** Verzeichnis mit deinen Interface-Dateien */
|
|
4
|
+
dir?: string;
|
|
5
|
+
/** Dateien (Dateinamen) ausschliessen */
|
|
6
|
+
exclude?: string[];
|
|
7
|
+
/** Pfad zur generierten globalen d.ts-Datei */
|
|
8
|
+
out?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ResolvedOptions {
|
|
11
|
+
interfaceDir: string;
|
|
12
|
+
indexFile: string;
|
|
13
|
+
outputFile: string;
|
|
14
|
+
excludeFiles: Set<string>;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Options, ResolvedOptions };
|
package/dist/types.d.ts
ADDED
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/vite.d.ts
ADDED
package/dist/vite.js
ADDED
package/dist/webpack.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@supsign/unplugin-interfaces",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.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
|
+
}
|