@lark-base-open/base-database-app-sdk 0.0.1-alpha.2 → 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 +7 -7
- package/capabilities.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
用于开发以飞书多维表格为数据后端的 Base Database 应用,提供页面与服务端运行时、平台组件、版本化能力查询与测试工具。
|
|
4
4
|
|
|
5
|
-
安装:`npm install @lark-base-open/base-database-app-sdk@0.
|
|
5
|
+
安装:`npm install @lark-base-open/base-database-app-sdk@0.1.0`。
|
|
6
6
|
|
|
7
7
|
运行环境需支持 ES2022;页面 API 需要 Base Database 页面宿主,服务端 API 用于 Node.js / FaaS。组件需要 React 与 React DOM 19.2,页面查询能力使用 @tanstack/react-query 5.104.1;npm 会安装声明的依赖与必需 peer。底层通信依赖 base-site-channel 0.1.6。
|
|
8
8
|
|
|
@@ -34,9 +34,9 @@ SDK 文档说明本版本 API、组件、兼容语义与可编译示例。业务
|
|
|
34
34
|
|
|
35
35
|
## npm 发布
|
|
36
36
|
|
|
37
|
-
SDK 0.
|
|
37
|
+
SDK 0.1.0 依赖已发布的 channel 0.1.6,锁文件必须解析到 `registry.npmjs.org` 的制品。AI Function 调用需要后端与宿主支持 `functions/:key/invoke`。
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
本版本为首个正式版,发布到 `latest`;channel 0.1.6 同步提升为 `latest`。CLI 已移除 codemod/自动迁移;契约生成使用工程安装的 SDK `./codegen` 入口,不要求 SDK 成为 `latest`。
|
|
40
40
|
|
|
41
41
|
在本 SDK 目录按顺序执行以下发布前检查(`npm test` 包含构建、公开文档与包边界检查、类型和组件测试):
|
|
42
42
|
|
|
@@ -46,15 +46,15 @@ SDK 0.0.1-alpha.2 依赖已发布的 channel 0.1.6(`next`),锁文件必须
|
|
|
46
46
|
- `node scripts/sync-capabilities.mjs --check`
|
|
47
47
|
- `npm run docs:exports`
|
|
48
48
|
- `npm pack --dry-run --json`
|
|
49
|
-
- `npm publish --dry-run --tag
|
|
49
|
+
- `npm publish --dry-run --tag latest --registry=https://registry.npmjs.org/`
|
|
50
50
|
|
|
51
51
|
核对打包清单包含 dist、docs、examples、README、LICENSE、capabilities.json 与 development-pairing.json,以及所有 exports 指向的文件;不得包含测试、私有源码或本地配置。SDK 不提供根入口。
|
|
52
52
|
|
|
53
53
|
检查通过后,由有发布权限的用户本人执行;先确认 `npm whoami` 返回预期账号:
|
|
54
54
|
|
|
55
55
|
- `npm whoami --registry=https://registry.npmjs.org/`
|
|
56
|
-
- `npm publish --tag
|
|
57
|
-
- `npm view @lark-base-open/base-database-app-sdk@0.
|
|
56
|
+
- `npm publish --tag latest --registry=https://registry.npmjs.org/`
|
|
57
|
+
- `npm view @lark-base-open/base-database-app-sdk@0.1.0 version dist --json --registry=https://registry.npmjs.org/`
|
|
58
58
|
- `npm view @lark-base-open/base-database-app-sdk dist-tags versions --json --registry=https://registry.npmjs.org/`
|
|
59
59
|
|
|
60
|
-
回读应确认 `
|
|
60
|
+
回读应确认 `latest` 为 `0.1.0`。
|
package/capabilities.json
CHANGED