@morlay/dsh-client-modules 0.0.0-stage → 0.2.6
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 +23 -2
- package/app-boot/base.css +187 -0
- package/app-boot/boot-page.ts +110 -0
- package/app-boot/index.html +15 -0
- package/app-boot/index.ts +101 -0
- package/app-boot/node-stub.cjs +19 -0
- package/app-boot/node-stub.ts +23 -0
- package/dist/client.cjs +66 -0
- package/dist/client.d.cts +9 -0
- package/dist/client.d.mts +9 -0
- package/dist/client.mjs +57 -0
- package/dist/index.cjs +1445 -0
- package/dist/index.d.mts +13 -0
- package/dist/index.mjs +1442 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +65 -3
- package/src/__tests__/bundle.spec.ts +235 -0
- package/src/__tests__/resolve.spec.ts +127 -0
- package/src/bundle.ts +708 -0
- package/src/client/__tests__/modules-service.spec.ts +43 -0
- package/src/client/__tests__/terminal-recovery.spec.ts +65 -0
- package/src/client/index.ts +101 -0
- package/src/config.ts +70 -0
- package/src/dirs.ts +97 -0
- package/src/index.ts +695 -0
- package/src/resolve.ts +418 -0
- package/src/serve-vite.ts +211 -0
- package/src/trace.ts +25 -0
- package/src/vite-plugin.ts +240 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Context } from "@deepseek-ai/cordis";
|
|
2
|
+
//#region src/index.d.ts
|
|
3
|
+
export declare const name = "client-modules";
|
|
4
|
+
export declare const inject: string[];
|
|
5
|
+
/** 一行 client 声明:包名与它的 client 半源文件。 */
|
|
6
|
+
export interface ClientRow {
|
|
7
|
+
id: string;
|
|
8
|
+
clientPath: string;
|
|
9
|
+
/** 包版本:联邦地址(`@client-modules/<pkg>@<version>/<file>`)的组成部分。 */
|
|
10
|
+
version: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function apply(ctx: Context): void;
|
|
13
|
+
//#endregion
|