@nocobase/cli 2.2.0-alpha.5 → 2.2.0-alpha.7

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.
@@ -93,20 +93,20 @@
93
93
  "envAdd": {
94
94
  "prompts": {
95
95
  "name": {
96
- "message": "你想如何命名这个环境?",
96
+ "message": "应用环境标识",
97
97
  "placeholder": "default"
98
98
  },
99
99
  "scope": {
100
- "message": "这个连接要保存到哪里?",
100
+ "message": "连接保存位置",
101
101
  "globalLabel": "全局",
102
102
  "globalHint": "保存在用户级配置中"
103
103
  },
104
104
  "apiBaseUrl": {
105
- "message": "API 基础地址是什么?",
105
+ "message": "API 基础地址",
106
106
  "placeholder": "https://demo.example.com/api 或 https://demo.example.com/api/__app/<subapp>"
107
107
  },
108
108
  "authType": {
109
- "message": "你想使用哪种认证方式?",
109
+ "message": "认证方式",
110
110
  "basicLabel": "Basic 认证(用户名 + 密码)",
111
111
  "basicHint": "保存后会用用户名和密码换取 Token",
112
112
  "oauthLabel": "OAuth(浏览器认证)",
@@ -114,14 +114,14 @@
114
114
  "tokenLabel": "API Token / API Key"
115
115
  },
116
116
  "username": {
117
- "message": "请输入 Basic 登录用户名",
117
+ "message": "Basic 登录用户名",
118
118
  "placeholder": "admin"
119
119
  },
120
120
  "password": {
121
- "message": "请输入 Basic 登录密码"
121
+ "message": "Basic 登录密码"
122
122
  },
123
123
  "accessToken": {
124
- "message": "请输入 API Token 或 API Key",
124
+ "message": "API Token 或 API Key",
125
125
  "placeholder": "请输入你的 API Token / API Key"
126
126
  }
127
127
  }
@@ -179,7 +179,7 @@
179
179
  },
180
180
  "prompts": {
181
181
  "provideMethod": {
182
- "message": "你想通过哪种方式提供 license key?",
182
+ "message": "License key 提供方式",
183
183
  "keyOption": "直接粘贴 license key",
184
184
  "fileOption": "从文件读取 key"
185
185
  },
@@ -252,7 +252,7 @@
252
252
  },
253
253
  "prompts": {
254
254
  "source": {
255
- "message": "你想通过哪种方式获取 NocoBase?",
255
+ "message": "NocoBase 获取方式",
256
256
  "dockerLabel": "Docker 安装(推荐)",
257
257
  "dockerHint": "适合无代码或低维护成本场景。后续升级时,拉取新镜像并重启应用即可。",
258
258
  "npmLabel": "create-nocobase-app 安装",
@@ -261,7 +261,7 @@
261
261
  "gitHint": "适合体验最新未发布版本、参与贡献,或直接修改和调试 NocoBase 源码。这个方式更偏向开发者使用。"
262
262
  },
263
263
  "version": {
264
- "message": "你想使用哪个版本?",
264
+ "message": "NocoBase 版本",
265
265
  "latestLabel": "latest",
266
266
  "latestHint": "稳定版。适合生产环境和希望获得稳定体验的场景。",
267
267
  "betaLabel": "beta",
@@ -272,15 +272,15 @@
272
272
  "otherHint": "手动填写其他版本号、Docker tag 或 Git ref,例如分支名。"
273
273
  },
274
274
  "otherVersion": {
275
- "message": "请输入你想使用的版本号、Docker tag 或 Git ref",
275
+ "message": "自定义版本号、Docker tag 或 Git ref",
276
276
  "placeholder": "例如:fix/cli-v2"
277
277
  },
278
278
  "dockerRegistry": {
279
- "message": "你想使用哪个 Docker registry?镜像 tag 请单独在 Version 中填写。",
279
+ "message": "Docker registry(镜像 tag 在版本中单独设置)",
280
280
  "placeholder": "registry.cn-shanghai.aliyuncs.com/nocobase/nocobase"
281
281
  },
282
282
  "dockerPlatform": {
283
- "message": "要使用哪个 Docker 镜像平台?",
283
+ "message": "架构",
284
284
  "autoLabel": "自动",
285
285
  "autoHint": "由 Docker 根据当前机器自动选择"
286
286
  },
@@ -323,79 +323,79 @@
323
323
  },
324
324
  "prompts": {
325
325
  "env": {
326
- "message": "你想如何命名这个应用?",
326
+ "message": "应用环境标识",
327
327
  "placeholder": "local"
328
328
  },
329
329
  "lang": {
330
- "message": "你希望应用使用哪种语言?"
330
+ "message": "应用语言"
331
331
  },
332
332
  "appPath": {
333
- "message": "应用要放到哪里?(相对路径基于 {{root}})",
333
+ "message": "应用目录(相对路径基于 {{root}})",
334
334
  "placeholder": "./<env>/"
335
335
  },
336
336
  "appPort": {
337
- "message": "应用要使用哪个端口?",
337
+ "message": "应用端口",
338
338
  "placeholder": "13000"
339
339
  },
340
340
  "appPublicPath": {
341
- "message": "应用的子路径是什么?(例如 /nocobase/)",
341
+ "message": "应用子路径(例如 /nocobase/)",
342
342
  "placeholder": "/ 或 /nocobase/"
343
343
  },
344
344
  "storagePath": {
345
- "message": "上传文件和本地存储目录要放到哪里?",
345
+ "message": "上传文件和本地存储目录",
346
346
  "placeholder": "./<env>/storage/"
347
347
  },
348
348
  "dbDialect": {
349
- "message": "你想使用哪种数据库?"
349
+ "message": "数据库类型"
350
350
  },
351
351
  "builtinDb": {
352
- "message": "是否使用内置数据库?"
352
+ "message": "使用内置数据库"
353
353
  },
354
354
  "builtinDbImage": {
355
- "message": "内置数据库要使用哪个 Docker 镜像?",
355
+ "message": "内置数据库 Docker 镜像",
356
356
  "placeholder": "postgres:16"
357
357
  },
358
358
  "dbHost": {
359
- "message": "数据库主机地址是什么?",
359
+ "message": "数据库主机地址",
360
360
  "placeholder": "127.0.0.1"
361
361
  },
362
362
  "dbPort": {
363
- "message": "数据库端口是什么?",
363
+ "message": "数据库端口",
364
364
  "placeholder": "5432"
365
365
  },
366
366
  "dbDatabase": {
367
- "message": "数据库名称是什么?"
367
+ "message": "数据库名称"
368
368
  },
369
369
  "dbUser": {
370
- "message": "数据库用户名是什么?"
370
+ "message": "数据库用户名"
371
371
  },
372
372
  "dbPassword": {
373
- "message": "数据库密码是什么?"
373
+ "message": "数据库密码"
374
374
  },
375
375
  "dbSchema": {
376
- "message": "数据库 schema 是什么?(仅 PostgreSQL,可选)",
376
+ "message": "数据库 schema(仅 PostgreSQL/KingbaseES,可选)",
377
377
  "placeholder": "留空则使用默认 schema"
378
378
  },
379
379
  "dbTablePrefix": {
380
- "message": "要使用什么数据表前缀?(可选)",
380
+ "message": "数据表前缀(可选)",
381
381
  "placeholder": "例如:nb_"
382
382
  },
383
383
  "dbUnderscored": {
384
- "message": "数据库表名和字段名是否使用下划线风格?"
384
+ "message": "数据库表名和字段名使用下划线风格"
385
385
  },
386
386
  "rootUsername": {
387
- "message": "设置初始管理员用户名",
387
+ "message": "初始管理员用户名",
388
388
  "placeholder": "nocobase"
389
389
  },
390
390
  "rootEmail": {
391
- "message": "初始管理员邮箱是什么?",
391
+ "message": "初始管理员邮箱",
392
392
  "placeholder": "admin@nocobase.com"
393
393
  },
394
394
  "rootPassword": {
395
- "message": "设置初始管理员密码"
395
+ "message": "初始管理员密码"
396
396
  },
397
397
  "rootNickname": {
398
- "message": "初始管理员显示名称是什么?",
398
+ "message": "初始管理员显示名称",
399
399
  "placeholder": "Super Admin"
400
400
  }
401
401
  }
@@ -419,11 +419,11 @@
419
419
  },
420
420
  "prompts": {
421
421
  "appName": {
422
- "message": "这个环境要使用什么 `--env` 标识?",
422
+ "message": "应用环境唯一标识(CLI 将通过该标识定位并操作对应环境)",
423
423
  "placeholder": "local"
424
424
  },
425
425
  "setupMode": {
426
- "message": "你想用哪种方式配置这个环境?",
426
+ "message": "应用环境配置方式",
427
427
  "installNewLabel": "新安装",
428
428
  "installNewHint": "从零安装一个新的应用,适合首次部署、试用或新建本地开发环境。",
429
429
  "manageLocalLabel": "本机接管",
@@ -432,7 +432,7 @@
432
432
  "connectRemoteHint": "只保存远程应用的连接信息,不在本机安装或接管应用。"
433
433
  },
434
434
  "installSkills": {
435
- "message": "是否安装 NocoBase AI coding skills(nocobase/skills)?"
435
+ "message": "安装 NocoBase AI coding skills(nocobase/skills"
436
436
  },
437
437
  "apiBaseUrl": {
438
438
  "message": "API 基础地址",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/cli",
3
- "version": "2.2.0-alpha.5",
3
+ "version": "2.2.0-alpha.7",
4
4
  "description": "NocoBase Command Line Tool",
5
5
  "type": "module",
6
6
  "main": "dist/generated/command-registry.js",
@@ -144,5 +144,5 @@
144
144
  "type": "git",
145
145
  "url": "git+https://github.com/nocobase/nocobase.git"
146
146
  },
147
- "gitHead": "814ff497dd1233ca7218c9f7f2a016c2ead6516d"
147
+ "gitHead": "34ba02960fca9ab0b6881d3db7040a8a64067bba"
148
148
  }