openclaw-lark-multi-agent 0.1.0 → 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.
- package/README.md +21 -0
- package/README.zh-CN.md +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -269,6 +269,27 @@ npm run dev -- config.json
|
|
|
269
269
|
|
|
270
270
|
TypeScript output goes to `dist/`.
|
|
271
271
|
|
|
272
|
+
|
|
273
|
+
## npm release automation
|
|
274
|
+
|
|
275
|
+
This repository includes `.github/workflows/publish.yml`. To enable automated npm publishing:
|
|
276
|
+
|
|
277
|
+
1. Create an npm automation/granular token with package publish permission.
|
|
278
|
+
2. Add it to GitHub repository secrets as `NPM_TOKEN`.
|
|
279
|
+
3. Bump `package.json` version.
|
|
280
|
+
4. Commit and push.
|
|
281
|
+
5. Create a matching tag, for example:
|
|
282
|
+
|
|
283
|
+
```bash
|
|
284
|
+
npm version patch --no-git-tag-version
|
|
285
|
+
git add package.json package-lock.json
|
|
286
|
+
git commit -m "chore: release v0.1.1"
|
|
287
|
+
git tag v0.1.1
|
|
288
|
+
git push origin main --tags
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
The publish workflow checks that the git tag matches the package version before running `npm publish`.
|
|
292
|
+
|
|
272
293
|
## Repository hygiene
|
|
273
294
|
|
|
274
295
|
The repository intentionally excludes:
|
package/README.zh-CN.md
CHANGED
|
@@ -269,6 +269,27 @@ npm run dev -- config.json
|
|
|
269
269
|
|
|
270
270
|
TypeScript 输出目录是 `dist/`。
|
|
271
271
|
|
|
272
|
+
|
|
273
|
+
## npm 自动发布
|
|
274
|
+
|
|
275
|
+
仓库里已经包含 `.github/workflows/publish.yml`。启用自动发布需要:
|
|
276
|
+
|
|
277
|
+
1. 在 npm 创建 automation/granular token,并授予 package publish 权限。
|
|
278
|
+
2. 在 GitHub 仓库 Settings → Secrets and variables → Actions 中添加 `NPM_TOKEN`。
|
|
279
|
+
3. 修改 `package.json` version。
|
|
280
|
+
4. 提交并推送。
|
|
281
|
+
5. 创建匹配的 tag,例如:
|
|
282
|
+
|
|
283
|
+
```bash
|
|
284
|
+
npm version patch --no-git-tag-version
|
|
285
|
+
git add package.json package-lock.json
|
|
286
|
+
git commit -m "chore: release v0.1.1"
|
|
287
|
+
git tag v0.1.1
|
|
288
|
+
git push origin main --tags
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
发布 workflow 会检查 git tag 是否和 package version 一致,然后再执行 `npm publish`。
|
|
292
|
+
|
|
272
293
|
## 仓库卫生
|
|
273
294
|
|
|
274
295
|
仓库会忽略:
|