feat: add updateRepoInfo method to Repo class and implement build configuration

- Introduced `updateRepoInfo` method in the `Repo` class to allow updating repository information such as description, license, site, and topics.
- Updated test cases to demonstrate the usage of the new `updateRepoInfo` method.
- Modified build script to include a configuration for triggering builds with specific events and environment variables.
- Commented out previous repository list fetching code in tests for clarity.
This commit is contained in:
xiongxiao
2026-02-09 00:26:54 +08:00
committed by cnb
parent 183c0d5b77
commit 02a4b86338
5 changed files with 627 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/cnb",
"version": "0.0.19",
"version": "0.0.20",
"description": "",
"main": "index.js",
"scripts": {
@@ -16,19 +16,20 @@
],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.28.2",
"packageManager": "pnpm@10.29.1",
"type": "module",
"devDependencies": {
"@kevisual/ai": "^0.0.24",
"@kevisual/code-builder": "^0.0.6",
"@kevisual/dts": "^0.0.3",
"@kevisual/context": "^0.0.4",
"@kevisual/types": "^0.0.12",
"@opencode-ai/plugin": "^1.1.51",
"@opencode-ai/plugin": "^1.1.53",
"@types/bun": "^1.3.8",
"@types/node": "^25.2.1",
"@types/node": "^25.2.2",
"@types/ws": "^8.18.1",
"dayjs": "^1.11.19",
"dotenv": "^17.2.3"
"dotenv": "^17.2.4"
},
"publishConfig": {
"access": "public"
@@ -37,7 +38,7 @@
"zod": "^4.3.6"
},
"dependencies": {
"@kevisual/query": "^0.0.39",
"@kevisual/query": "^0.0.40",
"@kevisual/router": "^0.0.70",
"@kevisual/use-config": "^1.0.30",
"es-toolkit": "^1.44.0",