@done-coding/forge-feedback 0.100.0 → 0.100.1-alpha.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 +24 -13
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,31 +1,42 @@
|
|
|
1
1
|
# @done-coding/forge-feedback
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
反馈组件,提供弹窗承载等交互反馈能力。
|
|
4
|
+
|
|
5
|
+
应用统一消费 `@done-coding/forge`;本包的公开桶供实现包组合,入口以 package.json 的 exports 为准。
|
|
6
|
+
|
|
7
|
+
## 安装与使用
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @done-coding/forge
|
|
11
|
+
```
|
|
4
12
|
|
|
5
13
|
```ts
|
|
6
|
-
import * as components from "@done-coding/forge
|
|
7
|
-
import "@done-coding/forge
|
|
14
|
+
import * as components from "@done-coding/forge";
|
|
15
|
+
import "@done-coding/forge/style.css";
|
|
8
16
|
```
|
|
9
17
|
|
|
10
|
-
|
|
18
|
+
直接消费实现包时,改用本包入口及对应的 `style.css`;应用统一使用上述聚合入口。
|
|
19
|
+
|
|
20
|
+
## 消费边界
|
|
11
21
|
|
|
12
|
-
|
|
22
|
+
本包仅依赖 forge-core,不引用其他组件实现包或应用聚合。共享注入键由 core 单一定义。
|
|
13
23
|
|
|
14
|
-
|
|
24
|
+
宿主须满足以下 peer 要求:
|
|
15
25
|
|
|
16
|
-
|
|
26
|
+
| 包 | 范围 |
|
|
27
|
+
| ----- | -------- |
|
|
28
|
+
| `vue` | `^3.4.0` |
|
|
29
|
+
|
|
30
|
+
文档与完整 API:[使用文档](https://done-coding.github.io/done-coding-showcase/docs/)。
|
|
31
|
+
|
|
32
|
+
MIT,Copyright (c) JustSoSu。完整许可见本包 LICENSE。
|
|
17
33
|
|
|
18
34
|
<!-- repo-map:start -->
|
|
19
35
|
|
|
20
36
|
## 目录导航
|
|
21
37
|
|
|
22
|
-
- `src/components/`:本族组件、职责桶与API
|
|
38
|
+
- `src/components/`:本族组件、职责桶与API文档。
|
|
23
39
|
- `src/index.ts`:应用公开白名单。
|
|
24
40
|
- `vite.config.ts`:根/公共桶产物输入与真实测试发现。
|
|
25
|
-
- `migrations/`:版本迁移说明。
|
|
26
41
|
|
|
27
42
|
<!-- repo-map:end -->
|
|
28
|
-
|
|
29
|
-
## 自动验证与消费边界(tc7f1a)
|
|
30
|
-
|
|
31
|
-
仓根 `pnpm verify` 检查受影响包,`pnpm verify --all` 检查全量;`pnpm test:consumer` 用十二个真实 tgz 建仓外宿主;`pnpm verify:release` 绑定当前 HEAD 与工作树生成发行戳。任何失败均非零退出,未通过不得发布。本包 prepublishOnly 校验发行戳,不执行发布。exports 的 types 条件优先于运行时条件。ESM 产物的 lodash 子路径使用 `.js` 扩展名;不改变组件 API。消费配置和已知失败见 `scripts/forge-testing.md`,既有工程验证说明保留于 `migrations/v1.0.0-dev.2.md`(历史文件);当前候选为 `0.100.0-dev.1`,不发行。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/forge-feedback",
|
|
3
|
-
"version": "0.100.0",
|
|
3
|
+
"version": "0.100.1-alpha.0",
|
|
4
4
|
"description": "Forge 反馈组件:全局弹窗的调度与承载",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "es/index.mjs",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"vue": "^3.4.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@done-coding/forge-core": "0.100.0"
|
|
78
|
+
"@done-coding/forge-core": "0.100.1-alpha.0"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
81
|
"node": ">=18.0.0",
|
|
82
82
|
"pnpm": ">=9.0.0"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "354498c11f54da99165284b76d898d6aaaf92ece"
|
|
85
85
|
}
|