@stalfh233/omc-cli 0.5.9 → 0.5.10

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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -2
  2. package/package.json +3 -3
package/dist/cli.js CHANGED
@@ -1747,13 +1747,13 @@ async function main() {
1747
1747
  .option("--environment <environment>")
1748
1748
  .option("--no-form", "跳过表单重建")
1749
1749
  .option("--no-list", "跳过列表加列")
1750
- .option("--conditions <json>", "列表固定过滤条件 JSON 数组(listview.configure 契约,增量合并)")
1750
+ .option("--conditions <json>", "列表固定过滤条件 JSON 数组(listview.configure 契约;整体替换既有固定条件,保留旧的须一并带上)")
1751
1751
  .option("--conditions-json <json>")
1752
1752
  .option("--demo-rows <json>", "演示数据行 JSON 数组(每项一份 formData,逐行 data.submit;非幂等)")
1753
1753
  .option("--demo-rows-json <json>")
1754
1754
  .option("--force-publish", "有字段失败也发布(默认停在发布前)")
1755
1755
  .option("--apply")
1756
- .addHelpText("after", `\n存量模型加字段一条命令:建字段 → 发布字段 → 重建表单 → 列表追加列(增量合并,保留既有列/条件/排序)。\n默认 dry-run 只列计划;--apply 执行。幂等:字段已存在记 skipped 继续。\n子表不属于本命令(存量挂子表走 field.create CHILD_TABLE + 子列,见 model-scaffold)。\n\nr30/r31 探针实证:同一条链手工要走 4 次写调用 + 各自回读。\n`)
1756
+ .addHelpText("after", `\n存量模型加字段一条命令:建字段 → 发布字段 → 重建表单 → 列表追加列(列增量合并;固定条件整体替换)。\n默认 dry-run 只列计划;--apply 执行。幂等:字段已存在记 skipped 继续。\n子表不属于本命令(存量挂子表走 field.create CHILD_TABLE + 子列,见 model-scaffold)。\n\nr30/r31 探针实证:同一条链手工要走 4 次写调用 + 各自回读。\n`)
1757
1757
  .action(async (options) => {
1758
1758
  const rest = ["field-add",
1759
1759
  ...(options.schema ? ["--schema", options.schema] : []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stalfh233/omc-cli",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "CloudPivot 8.6 configuration capability CLI — governed, fail-closed, coverage-manifest bounded.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -52,9 +52,9 @@
52
52
  "access": "public"
53
53
  },
54
54
  "dependencies": {
55
- "@stalfh233/omc-fake-platform": "0.5.9",
55
+ "@stalfh233/omc-fake-platform": "0.5.10",
56
56
  "commander": "14.0.3",
57
- "omc-core": "0.5.9",
57
+ "omc-core": "0.5.10",
58
58
  "proper-lockfile": "4.1.2",
59
59
  "write-file-atomic": "6.0.0",
60
60
  "zod": "^3.23.8",