@cnbcool/cnb-api-generate 1.0.0 → 1.0.1

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/client/core.ts CHANGED
@@ -51,7 +51,7 @@ async function formatResponse(data: any, response: any) {
51
51
  // 构建本地保存路径
52
52
  // 注意:请确保 './downloads' 目录存在,或者使用 fs.mkdirSync 创建它
53
53
  const tempDir = os.tmpdir();
54
- const uploadDir = path.join(tempDir, 'cnb-skill');
54
+ const uploadDir = path.join(tempDir, 'cnb-api');
55
55
  if (!fs.existsSync(uploadDir)) {
56
56
  fs.mkdirSync(uploadDir, { recursive: true });
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnbcool/cnb-api-generate",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "./built/index.js",
5
5
  "module": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@reduxjs/toolkit": "^1.9.5",
50
- "@tencent/eslint-config-tencent": "^1.1.3",
50
+ "eslint-config-tencent": "^1.1.3",
51
51
  "@types/debug": "4.1.12",
52
52
  "@types/jest": "^29.5.3",
53
53
  "@types/node": "24.0.12",
@@ -1,9 +1,9 @@
1
1
  ---
2
- name: cnb-skill
2
+ name: cnb-api
3
3
  description: 提供与CNB(Cloud Native Build)OpenAPI的完整交互能力,支持项目、组织、代码仓库、Issue、PR、合并请求、流水线,制品库等核心功能的增删改查操作。适用于开发协作、代码管理和CI/CD流程管理场景。关键词:CNB、云原生构建、组织、代码仓库、Issue、PR、合并请求、流水线、制品库,查询、新增、修改、删除、评论、合并、审批。
4
4
  ---
5
5
 
6
- # cnb-skill
6
+ # cnb-api
7
7
 
8
8
  ## 概括
9
9