@sanity/workflow-cli 0.6.1 → 0.7.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.
@@ -5,7 +5,7 @@ export interface RanOp {
5
5
  opType: string;
6
6
  target?: {
7
7
  scope: string;
8
- state: string;
8
+ field: string;
9
9
  };
10
10
  }
11
11
  /**
@@ -7,7 +7,7 @@ import logSymbols from 'log-symbols';
7
7
  */
8
8
  export function opsAppliedLines(ranOps) {
9
9
  const details = (ranOps ?? []).map((op) => {
10
- const target = op.target ? styleText('dim', ` → ${op.target.scope}.${op.target.state}`) : '';
10
+ const target = op.target ? styleText('dim', ` → ${op.target.scope}.${op.target.field}`) : '';
11
11
  return ` ${logSymbols.info} ${op.opType}${target}`;
12
12
  });
13
13
  return details.length > 0 ? ['', styleText('dim', 'ops applied:'), ...details] : [];
@@ -681,5 +681,5 @@
681
681
  ]
682
682
  }
683
683
  },
684
- "version": "0.6.1"
684
+ "version": "0.7.1"
685
685
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/workflow-cli",
3
- "version": "0.6.1",
3
+ "version": "0.7.1",
4
4
  "description": "Command-line tool for deploying, inspecting, and administering Sanity workflow definitions and instances.",
5
5
  "keywords": [
6
6
  "cli",
@@ -53,15 +53,15 @@
53
53
  "diff": "^9.0.0",
54
54
  "log-symbols": "^7.0.1",
55
55
  "ora": "^9.4.0",
56
- "@sanity/workflow-engine": "0.9.0"
56
+ "@sanity/workflow-engine": "0.11.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/diff": "^8.0.0",
60
60
  "@types/node": "^24.12.4",
61
61
  "oclif": "^4.23.16",
62
62
  "vitest": "^4.1.8",
63
- "@sanity/workflow-engine-test": "0.5.0",
64
- "@sanity/workflow-examples": "0.1.5"
63
+ "@sanity/workflow-engine-test": "0.6.1",
64
+ "@sanity/workflow-examples": "0.1.7"
65
65
  },
66
66
  "oclif": {
67
67
  "bin": "sanity-workflows",