unplugin-devpilot 0.0.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/dist/client/index.d.mts +62 -0
- package/dist/client/index.mjs +146 -0
- package/dist/client/virtual.d.ts +6 -0
- package/dist/farm.d.mts +19 -0
- package/dist/farm.mjs +26 -0
- package/dist/index-CL0Gw5-1.d.mts +4130 -0
- package/dist/index-CyKvTBcJ.d.mts +228 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +4 -0
- package/dist/plugin-PB-j5Ck2.mjs +36 -0
- package/dist/plugin.d.mts +2 -0
- package/dist/plugin.mjs +3 -0
- package/dist/rspack.d.mts +19 -0
- package/dist/rspack.mjs +26 -0
- package/dist/src-aMXlip6o.mjs +24085 -0
- package/dist/vite.d.mts +19 -0
- package/dist/vite.mjs +26 -0
- package/dist/webpack.d.mts +19 -0
- package/dist/webpack.mjs +26 -0
- package/package.json +76 -0
package/dist/vite.d.mts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as unpluginDevpilot } from "./index-CyKvTBcJ.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/vite.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Vite plugin
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* // vite.config.ts
|
|
10
|
+
* import devpilot from 'unplugin-devpilot/vite'
|
|
11
|
+
*
|
|
12
|
+
* export default defineConfig({
|
|
13
|
+
* plugins: [devpilot()],
|
|
14
|
+
* })
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
declare const vite: typeof unpluginDevpilot.vite;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { vite as default, vite as "module.exports" };
|
package/dist/vite.mjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { n as unpluginDevpilot } from "./src-aMXlip6o.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/vite.ts
|
|
4
|
+
/**
|
|
5
|
+
* This entry file is for Vite plugin.
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Vite plugin
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* // vite.config.ts
|
|
15
|
+
* import devpilot from 'unplugin-devpilot/vite'
|
|
16
|
+
*
|
|
17
|
+
* export default defineConfig({
|
|
18
|
+
* plugins: [devpilot()],
|
|
19
|
+
* })
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const vite = unpluginDevpilot.vite;
|
|
23
|
+
var vite_default = vite;
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { vite_default as default, vite as "module.exports" };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as unpluginDevpilot } from "./index-CyKvTBcJ.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/webpack.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Webpack plugin
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```js
|
|
9
|
+
* // webpack.config.js
|
|
10
|
+
* import devpilot from 'unplugin-devpilot/webpack'
|
|
11
|
+
*
|
|
12
|
+
* export default {
|
|
13
|
+
* plugins: [devpilot()],
|
|
14
|
+
* }
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
declare const webpack: typeof unpluginDevpilot.webpack;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { webpack as default, webpack as "module.exports" };
|
package/dist/webpack.mjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { n as unpluginDevpilot } from "./src-aMXlip6o.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/webpack.ts
|
|
4
|
+
/**
|
|
5
|
+
* This entry file is for webpack plugin.
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Webpack plugin
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```js
|
|
14
|
+
* // webpack.config.js
|
|
15
|
+
* import devpilot from 'unplugin-devpilot/webpack'
|
|
16
|
+
*
|
|
17
|
+
* export default {
|
|
18
|
+
* plugins: [devpilot()],
|
|
19
|
+
* }
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const webpack = unpluginDevpilot.webpack;
|
|
23
|
+
var webpack_default = webpack;
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { webpack_default as default, webpack as "module.exports" };
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unplugin-devpilot",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"description": "Description.",
|
|
6
|
+
"author": "zcf0508 <zcf0508@live.com>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/zcf0508/unplugin-devpilot#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/zcf0508/unplugin-devpilot.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/zcf0508/unplugin-devpilot/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"unplugin",
|
|
18
|
+
"vite",
|
|
19
|
+
"webpack",
|
|
20
|
+
"rspack",
|
|
21
|
+
"rollup",
|
|
22
|
+
"rolldown",
|
|
23
|
+
"esbuild",
|
|
24
|
+
"farm"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": "./dist/index.mjs",
|
|
28
|
+
"./client": "./dist/client/index.mjs",
|
|
29
|
+
"./farm": "./dist/farm.mjs",
|
|
30
|
+
"./rspack": "./dist/rspack.mjs",
|
|
31
|
+
"./vite": "./dist/vite.mjs",
|
|
32
|
+
"./webpack": "./dist/webpack.mjs",
|
|
33
|
+
"./virtual": {
|
|
34
|
+
"types": "./dist/client/virtual.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./package.json": "./package.json"
|
|
37
|
+
},
|
|
38
|
+
"typesVersions": {
|
|
39
|
+
"*": {
|
|
40
|
+
"*": [
|
|
41
|
+
"./dist/*.d.ts",
|
|
42
|
+
"./*"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"dist"
|
|
48
|
+
],
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=20.19.0"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"unplugin": "^3.0.0"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
60
|
+
"@types/ws": "^8.18.1",
|
|
61
|
+
"birpc": "^4.0.0",
|
|
62
|
+
"es-toolkit": "^1.44.0",
|
|
63
|
+
"hookable": "^6.0.1",
|
|
64
|
+
"mitt": "^3.0.1",
|
|
65
|
+
"ws": "^8.19.0",
|
|
66
|
+
"zod": "^4.3.6"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "tsdown",
|
|
70
|
+
"dev": "tsdown --watch",
|
|
71
|
+
"test": "vitest --run",
|
|
72
|
+
"typecheck:client": "tsc --project tsconfig.client.json --noEmit",
|
|
73
|
+
"typecheck:node": "tsc --noEmit",
|
|
74
|
+
"typecheck": "pnpm run typecheck:client && pnpm run typecheck:node"
|
|
75
|
+
}
|
|
76
|
+
}
|