@ginkgolab/components 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -121,6 +121,17 @@ UiSpec 规范展示组件库:聚合展示组件、分析布局模板、图表
121
121
  在图表注册表中按图表类型枚举增加分支并对接组件,确保与 `@ginkgolab/chart-spec` 的图表词汇表完全闭合。
122
122
 
123
123
 
124
+ ## 应用契约与发布形态
125
+
126
+ 本包是平台能力包(领域中立)。契约(manifest / client 插槽 / server 契约 / 权限 / 健康检查)
127
+ 统一在 [`@ginkgolab/app-sdk`](https://www.npmjs.com/package/@ginkgolab/app-sdk) 声明;
128
+ 应用接入规范见仓库 `docs/app-integration-guide.md`。
129
+
130
+ - 开发期消费源码(`exports` → `src`);发布期为 ESM + `.d.ts`(`main → dist`),`engines.node >= 22.12`
131
+ - 内部依赖按正常 npm 依赖解析(不再内联);多入口包开启代码分割
132
+ - 含客户端组件 → 根入口带 `"use client"`;服务端请用 `@ginkgolab/components/server`。
133
+
134
+
124
135
  ## License
125
136
 
126
137
  MIT © 2026 Ginkgo contributors — 完整条款见包内 `LICENSE`(或仓库根 `LICENSE`)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ginkgolab/components",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@ginkgolab/chart-spec": "0.1.1",
28
+ "@ginkgolab/chart-spec": "0.1.2",
29
29
  "@openuidev/lang-core": "^0.3.1",
30
30
  "@openuidev/react-lang": "^0.3.1",
31
31
  "lucide-react": "^1.73.0",