@longzai-intelligence-vite/plugins 0.0.0-stage → 0.0.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/README.md +8 -2
- package/dist/index.d.ts +171 -0
- package/dist/index.js +1 -0
- package/lzi-builder.config.ts +6 -0
- package/lzi-dev.config.ts +7 -0
- package/oxlint.config.ts +3 -0
- package/package.json +46 -4
- package/src/__tests__/dist-manifest.plugin.test.ts +173 -0
- package/src/__tests__/port-discovery.plugin.test.ts +223 -0
- package/src/dist-manifest.plugin.ts +239 -0
- package/src/index.ts +25 -0
- package/src/port-discovery.plugin.ts +392 -0
- package/src/proxy-target.utils.ts +88 -0
- package/tsconfig/.cache/build.tsbuildinfo +1 -0
- package/tsconfig/.cache/node.tsbuildinfo +1 -0
- package/tsconfig/.cache/test.tsbuildinfo +1 -0
- package/tsconfig/app.json +13 -0
- package/tsconfig/build.json +15 -0
- package/tsconfig/node.json +12 -0
- package/tsconfig/test.json +15 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "@longzai-intelligence-typescript/bun-config/presets/library.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"rootDir": "../src",
|
|
6
|
+
"outDir": "../dist",
|
|
7
|
+
"paths": {
|
|
8
|
+
"@/*": ["../src/*"]
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"include": ["../src/**/*"],
|
|
12
|
+
"exclude": ["../node_modules", "../dist", "../src/**/*.test.ts", "../src/**/*.spec.ts"]
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "@longzai-intelligence-typescript/bun-config/presets/library-build.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"rootDir": "../src",
|
|
6
|
+
"outDir": "../dist",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"tsBuildInfoFile": "./.cache/build.tsbuildinfo",
|
|
9
|
+
"paths": {
|
|
10
|
+
"@/*": ["../src/*"]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"include": ["../src/**/*"],
|
|
14
|
+
"exclude": ["../node_modules", "../dist", "../src/**/*.test.ts", "../src/**/*.spec.ts"]
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "@longzai-intelligence-typescript/bun-config/presets/node.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"rootDir": "..",
|
|
6
|
+
"outDir": "../dist",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"tsBuildInfoFile": "./.cache/node.tsbuildinfo"
|
|
9
|
+
},
|
|
10
|
+
"include": ["../*.config.ts"],
|
|
11
|
+
"exclude": ["../node_modules", "../dist"]
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "@longzai-intelligence-typescript/bun-config/presets/library-test.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"rootDir": "../src",
|
|
6
|
+
"outDir": "../out",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"tsBuildInfoFile": "./.cache/test.tsbuildinfo",
|
|
9
|
+
"paths": {
|
|
10
|
+
"@/*": ["../src/*"]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"include": ["../src/**/*"],
|
|
14
|
+
"exclude": ["../node_modules", "../dist", "../out"]
|
|
15
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"references": [
|
|
3
|
+
{
|
|
4
|
+
"path": "./tsconfig/app.json"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"path": "./tsconfig/node.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"path": "./tsconfig/test.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"path": "./tsconfig/build.json"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"files": [],
|
|
17
|
+
"compilerOptions": {
|
|
18
|
+
"paths": {
|
|
19
|
+
"@/*": ["./src/*"]
|
|
20
|
+
},
|
|
21
|
+
"skipLibCheck": true
|
|
22
|
+
}
|
|
23
|
+
}
|