@william2000/dsh-nova-ui-all 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/README.md +29 -0
- package/cordis.patch.yml +16 -0
- package/lib/client.js +19 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +7 -0
- package/package.json +44 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @william2000/dsh-nova-ui-all
|
|
2
|
+
|
|
3
|
+
DSH Nova 系列 UI 插件全家桶**聚合包**:一条命令安装全部 Nova 功能插件。
|
|
4
|
+
|
|
5
|
+
> **依赖策略**:以 `file:../dsh-nova-ui-task-board` 相对依赖各功能包——monorepo 内可直接被
|
|
6
|
+
> `dsh plugin add file:<本包目录>` 安装到 profile(`workspace:*` 在 profile 环境无法解析,勿改回);
|
|
7
|
+
> **发布到 registry 前**请把该依赖切换为对应版本号(如 `^0.1.0`),`file:` 依赖会被 pnpm pack 原样保留、不适用于 registry 消费者。
|
|
8
|
+
> npm 包名带 `@william2000/` scope(2026-08-23 定,见 AGENTS.md §3 D7);目录名/行 id 仍用 `nova-ui-*` 命名空间。
|
|
9
|
+
> 参考工程:[dsh-web-ui/packages/dsh-web-ui-all](https://github.com/zhu1090093659/dsh-web-ui)。
|
|
10
|
+
|
|
11
|
+
## 当前挂载清单
|
|
12
|
+
|
|
13
|
+
| 插件行 id | 包 |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| `nova-ui-all` | 本包(自引用) |
|
|
16
|
+
| `nova-ui-all-task-board` | `@william2000/dsh-nova-ui-task-board`(核心功能包,聚合行 id 与独立包 `nova-ui-task-board` 错开,可与独立安装共存) |
|
|
17
|
+
|
|
18
|
+
## 安装
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
# 从仓库本地安装聚合包(推荐,含子包 dsh-nova-ui-task-board)
|
|
22
|
+
dsh plugin --profile web add file:/path/to/dsh-nova-ui/packages/dsh-nova-ui-all
|
|
23
|
+
|
|
24
|
+
# 发布到 registry 后一键安装
|
|
25
|
+
dsh plugin --profile web add @william2000/dsh-nova-ui-all@latest
|
|
26
|
+
|
|
27
|
+
# 或单装核心功能包
|
|
28
|
+
dsh plugin --profile web add @william2000/dsh-nova-ui-task-board@latest
|
|
29
|
+
```
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# dsh-nova-ui-all bundle patch: 聚合插件行,一键挂载全部 Nova 功能插件。
|
|
2
|
+
# 对齐参考工程 dsh-web-ui/packages/dsh-web-ui-all/cordis.patch.yml 的「自引用 + 各功能包」模式。
|
|
3
|
+
# 行 id 命名空间化(nova-ui-all-*):子行与独立包的补丁行 id(nova-ui-*)错开,
|
|
4
|
+
# 使「聚合包 + 独立功能包」可同 profile 共存(host 二次挂载由 dsh-nova-ui-task-board 的 mountOnce 守卫)。
|
|
5
|
+
# npm 包名带 @william2000/ scope(2026-08-23 定,见 AGENTS.md §3 D7)。
|
|
6
|
+
# 后续新增功能包时,在此追加对应 insert 行(或用 scripts/aggregate.mjs 由 aggregate.yml 生成)。
|
|
7
|
+
|
|
8
|
+
# from self
|
|
9
|
+
- insert:
|
|
10
|
+
- id: nova-ui-all
|
|
11
|
+
name: '@william2000/dsh-nova-ui-all'
|
|
12
|
+
|
|
13
|
+
# from ../dsh-nova-ui-task-board
|
|
14
|
+
- insert:
|
|
15
|
+
- id: nova-ui-all-task-board
|
|
16
|
+
name: '@william2000/dsh-nova-ui-task-board'
|
package/lib/client.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
window.__ModuleLoader__.load({
|
|
2
|
+
id: "dsh-nova-ui-all",
|
|
3
|
+
factory: (require) => {
|
|
4
|
+
var module = { exports: {} };
|
|
5
|
+
var exports = module.exports;
|
|
6
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
|
+
//#region src/client/index.ts
|
|
8
|
+
/** Required services: none. */
|
|
9
|
+
const inject = [];
|
|
10
|
+
/** Client plugin body: nothing to do. */
|
|
11
|
+
function apply(_ctx) {}
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.apply = apply;
|
|
14
|
+
exports.inject = inject;
|
|
15
|
+
return module.exports;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","names":[],"sources":["../../../packages/dsh-nova-ui-all/src/client/index.ts"],"sourcesContent":["/**\n * Browser half of the dsh-nova-ui family aggregate: nothing to do. Each child\n * plugin (dsh-nova-ui-task-board, …) ships its own client bundle; the\n * aggregate declares an empty client inject so the loader never requests a\n * browser module from this package. The entry exists so tsdown emits a\n * lib/client.js matching the exports map.\n */\nimport type { Context } from '@deepseek-ai/cordis'\n\n/** Required services: none. */\nexport const inject = [] as const\n\n/** Client plugin body: nothing to do. */\nexport function apply(_ctx: Context): void {}\n"],"mappings":";;;;;;;;EAUA,MAAa,SAAS,CAAC;;EAGvB,SAAgB,MAAM,MAAqB,CAAC"}
|
package/lib/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@william2000/dsh-nova-ui-all",
|
|
3
|
+
"description": "DSH Nova 系列 UI 插件全家桶聚合包:一键安装全部 Nova 功能插件(当前核心为 task-board,后续可扩展 git-graph/pet/skins 等)。以 file:../ 相对依赖各功能包(monorepo 内可被 dsh plugin 直接安装到 profile;发布到 registry 前切换为对应版本号),经 cordis.patch.yml + profile 机制挂载。",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20"
|
|
8
|
+
},
|
|
9
|
+
"main": "lib/index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./lib/index.js",
|
|
12
|
+
"./client": "./lib/client.js",
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"dsh": {
|
|
16
|
+
"engines": {
|
|
17
|
+
"dsh": ">=0.1.1-rc.1"
|
|
18
|
+
},
|
|
19
|
+
"bundle": {
|
|
20
|
+
"patch": "./cordis.patch.yml"
|
|
21
|
+
},
|
|
22
|
+
"client": {
|
|
23
|
+
"inject": [],
|
|
24
|
+
"platform": "web"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsdown",
|
|
29
|
+
"prepare": "tsdown",
|
|
30
|
+
"watch": "tsdown --watch"
|
|
31
|
+
},
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"files": [
|
|
34
|
+
"lib",
|
|
35
|
+
"cordis.patch.yml"
|
|
36
|
+
],
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://gitee.com/xyoc/dsh-nova-ui.git"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@william2000/dsh-nova-ui-task-board": "^0.1.0"
|
|
43
|
+
}
|
|
44
|
+
}
|