@salesforce/plugin-orchestrator 1.0.32 → 1.0.33

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-orchestrator",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-orchestrator",
9
- "version": "1.0.32",
9
+ "version": "1.0.33",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@inquirer/select": "^5.1.0",
@@ -18,7 +18,7 @@
18
18
  "eslint": "^8.56.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@oclif/plugin-command-snapshot": "^5.3.8",
21
+ "@oclif/plugin-command-snapshot": "^5.3.10",
22
22
  "@salesforce/cli-plugins-testkit": "^5.3.41",
23
23
  "@salesforce/dev-scripts": "^11.0.2",
24
24
  "@salesforce/plugin-command-reference": "^3.1.80",
@@ -2855,29 +2855,6 @@
2855
2855
  }
2856
2856
  }
2857
2857
  },
2858
- "node_modules/@isaacs/balanced-match": {
2859
- "version": "4.0.1",
2860
- "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz",
2861
- "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==",
2862
- "dev": true,
2863
- "license": "MIT",
2864
- "engines": {
2865
- "node": "20 || >=22"
2866
- }
2867
- },
2868
- "node_modules/@isaacs/brace-expansion": {
2869
- "version": "5.0.0",
2870
- "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
2871
- "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
2872
- "dev": true,
2873
- "license": "MIT",
2874
- "dependencies": {
2875
- "@isaacs/balanced-match": "^4.0.1"
2876
- },
2877
- "engines": {
2878
- "node": "20 || >=22"
2879
- }
2880
- },
2881
2858
  "node_modules/@isaacs/cliui": {
2882
2859
  "version": "8.0.2",
2883
2860
  "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -3240,9 +3217,9 @@
3240
3217
  }
3241
3218
  },
3242
3219
  "node_modules/@oclif/core": {
3243
- "version": "4.8.0",
3244
- "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.8.0.tgz",
3245
- "integrity": "sha512-jteNUQKgJHLHFbbz806aGZqf+RJJ7t4gwF4MYa8fCwCxQ8/klJNWc0MvaJiBebk7Mc+J39mdlsB4XraaCKznFw==",
3220
+ "version": "4.8.3",
3221
+ "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.8.3.tgz",
3222
+ "integrity": "sha512-f7Rc1JBZO0wNMyDmNzP5IFOv5eM97S9pO4JUFdu2OLyk73YeBI9wog1Yyf666NOQvyptkbG1xh8inzMDQLNTyQ==",
3246
3223
  "license": "MIT",
3247
3224
  "dependencies": {
3248
3225
  "ansi-escapes": "^4.3.2",
@@ -3255,7 +3232,7 @@
3255
3232
  "indent-string": "^4.0.0",
3256
3233
  "is-wsl": "^2.2.0",
3257
3234
  "lilconfig": "^3.1.3",
3258
- "minimatch": "^9.0.5",
3235
+ "minimatch": "^10.2.4",
3259
3236
  "semver": "^7.7.3",
3260
3237
  "string-width": "^4.2.3",
3261
3238
  "supports-color": "^8",
@@ -3283,16 +3260,37 @@
3283
3260
  "url": "https://github.com/chalk/ansi-styles?sponsor=1"
3284
3261
  }
3285
3262
  },
3263
+ "node_modules/@oclif/core/node_modules/balanced-match": {
3264
+ "version": "4.0.4",
3265
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
3266
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
3267
+ "license": "MIT",
3268
+ "engines": {
3269
+ "node": "18 || 20 || >=22"
3270
+ }
3271
+ },
3272
+ "node_modules/@oclif/core/node_modules/brace-expansion": {
3273
+ "version": "5.0.4",
3274
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
3275
+ "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
3276
+ "license": "MIT",
3277
+ "dependencies": {
3278
+ "balanced-match": "^4.0.2"
3279
+ },
3280
+ "engines": {
3281
+ "node": "18 || 20 || >=22"
3282
+ }
3283
+ },
3286
3284
  "node_modules/@oclif/core/node_modules/minimatch": {
3287
- "version": "9.0.5",
3288
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
3289
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
3290
- "license": "ISC",
3285
+ "version": "10.2.4",
3286
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
3287
+ "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
3288
+ "license": "BlueOak-1.0.0",
3291
3289
  "dependencies": {
3292
- "brace-expansion": "^2.0.1"
3290
+ "brace-expansion": "^5.0.2"
3293
3291
  },
3294
3292
  "engines": {
3295
- "node": ">=16 || 14 >=14.17"
3293
+ "node": "18 || 20 || >=22"
3296
3294
  },
3297
3295
  "funding": {
3298
3296
  "url": "https://github.com/sponsors/isaacs"
@@ -3331,9 +3329,9 @@
3331
3329
  }
3332
3330
  },
3333
3331
  "node_modules/@oclif/plugin-command-snapshot": {
3334
- "version": "5.3.8",
3335
- "resolved": "https://registry.npmjs.org/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.3.8.tgz",
3336
- "integrity": "sha512-pxuW6kVAkAJBZzk7w2xUy32D+EQGeef15Kyjz13LYazHNXcVdrzP/5726VGfMnK3U4W1QyJ7CalzZxRLVvxQcg==",
3332
+ "version": "5.3.10",
3333
+ "resolved": "https://registry.npmjs.org/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.3.10.tgz",
3334
+ "integrity": "sha512-pGKxLQzE3NYsl63WmwiCndrskKFsQXZ8P5trvycqGHJ1YmffL4xPpfiDcMtiKuK0MX2vSnTkQ0k7n5kchmx+vA==",
3337
3335
  "dev": true,
3338
3336
  "license": "MIT",
3339
3337
  "dependencies": {
@@ -3344,7 +3342,7 @@
3344
3342
  "lodash.difference": "^4.5.0",
3345
3343
  "lodash.get": "^4.4.2",
3346
3344
  "lodash.sortby": "^4.7.0",
3347
- "semver": "^7.7.3",
3345
+ "semver": "^7.7.4",
3348
3346
  "ts-json-schema-generator": "^1.5.1"
3349
3347
  },
3350
3348
  "bin": {
@@ -5147,6 +5145,29 @@
5147
5145
  "glob": "^11.0.3"
5148
5146
  }
5149
5147
  },
5148
+ "node_modules/@types/shelljs/node_modules/balanced-match": {
5149
+ "version": "4.0.4",
5150
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
5151
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
5152
+ "dev": true,
5153
+ "license": "MIT",
5154
+ "engines": {
5155
+ "node": "18 || 20 || >=22"
5156
+ }
5157
+ },
5158
+ "node_modules/@types/shelljs/node_modules/brace-expansion": {
5159
+ "version": "5.0.4",
5160
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
5161
+ "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
5162
+ "dev": true,
5163
+ "license": "MIT",
5164
+ "dependencies": {
5165
+ "balanced-match": "^4.0.2"
5166
+ },
5167
+ "engines": {
5168
+ "node": "18 || 20 || >=22"
5169
+ }
5170
+ },
5150
5171
  "node_modules/@types/shelljs/node_modules/glob": {
5151
5172
  "version": "11.1.0",
5152
5173
  "resolved": "https://registry.npmjs.org/glob/-/glob-11.1.0.tgz",
@@ -5198,16 +5219,16 @@
5198
5219
  }
5199
5220
  },
5200
5221
  "node_modules/@types/shelljs/node_modules/minimatch": {
5201
- "version": "10.1.1",
5202
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz",
5203
- "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==",
5222
+ "version": "10.2.4",
5223
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
5224
+ "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
5204
5225
  "dev": true,
5205
5226
  "license": "BlueOak-1.0.0",
5206
5227
  "dependencies": {
5207
- "@isaacs/brace-expansion": "^5.0.0"
5228
+ "brace-expansion": "^5.0.2"
5208
5229
  },
5209
5230
  "engines": {
5210
- "node": "20 || >=22"
5231
+ "node": "18 || 20 || >=22"
5211
5232
  },
5212
5233
  "funding": {
5213
5234
  "url": "https://github.com/sponsors/isaacs"
package/oclif.lock CHANGED
@@ -1284,18 +1284,6 @@
1284
1284
  resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-4.0.3.tgz#219b8c29afe366067f90705d156d1b395c9e2af0"
1285
1285
  integrity sha512-cKZN7qcXOpj1h+1eTTcGDVLaBIHNMT1Rz9JqJP5MnEJ0JhgVWllx7H/tahUp5YEK1qaByH2Itb8wLG/iScD5kw==
1286
1286
 
1287
- "@isaacs/balanced-match@^4.0.1":
1288
- version "4.0.1"
1289
- resolved "https://registry.yarnpkg.com/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz#3081dadbc3460661b751e7591d7faea5df39dd29"
1290
- integrity sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==
1291
-
1292
- "@isaacs/brace-expansion@^5.0.0":
1293
- version "5.0.0"
1294
- resolved "https://registry.yarnpkg.com/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz#4b3dabab7d8e75a429414a96bd67bf4c1d13e0f3"
1295
- integrity sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==
1296
- dependencies:
1297
- "@isaacs/balanced-match" "^4.0.1"
1298
-
1299
1287
  "@isaacs/cliui@^8.0.2":
1300
1288
  version "8.0.2"
1301
1289
  resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550"
@@ -1449,9 +1437,9 @@
1449
1437
  fastq "^1.6.0"
1450
1438
 
1451
1439
  "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.5.2", "@oclif/core@^4.8.0":
1452
- version "4.8.0"
1453
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.8.0.tgz#bde8fad00019c8c0a8e27787b4b42c4670842785"
1454
- integrity sha512-jteNUQKgJHLHFbbz806aGZqf+RJJ7t4gwF4MYa8fCwCxQ8/klJNWc0MvaJiBebk7Mc+J39mdlsB4XraaCKznFw==
1440
+ version "4.8.3"
1441
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.8.3.tgz#c1f488841cd0929dbe101f1b86a213bf4349de2a"
1442
+ integrity sha512-f7Rc1JBZO0wNMyDmNzP5IFOv5eM97S9pO4JUFdu2OLyk73YeBI9wog1Yyf666NOQvyptkbG1xh8inzMDQLNTyQ==
1455
1443
  dependencies:
1456
1444
  ansi-escapes "^4.3.2"
1457
1445
  ansis "^3.17.0"
@@ -1463,7 +1451,7 @@
1463
1451
  indent-string "^4.0.0"
1464
1452
  is-wsl "^2.2.0"
1465
1453
  lilconfig "^3.1.3"
1466
- minimatch "^9.0.5"
1454
+ minimatch "^10.2.4"
1467
1455
  semver "^7.7.3"
1468
1456
  string-width "^4.2.3"
1469
1457
  supports-color "^8"
@@ -1472,10 +1460,10 @@
1472
1460
  wordwrap "^1.0.0"
1473
1461
  wrap-ansi "^7.0.0"
1474
1462
 
1475
- "@oclif/plugin-command-snapshot@^5.3.8":
1476
- version "5.3.8"
1477
- resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.3.8.tgz#b952a270bfdfaea941f244363c4bcf781398d9b9"
1478
- integrity sha512-pxuW6kVAkAJBZzk7w2xUy32D+EQGeef15Kyjz13LYazHNXcVdrzP/5726VGfMnK3U4W1QyJ7CalzZxRLVvxQcg==
1463
+ "@oclif/plugin-command-snapshot@^5.3.10":
1464
+ version "5.3.10"
1465
+ resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.3.10.tgz#7146eccb3ec4f66fb27bf5a362add7d0697ba2b1"
1466
+ integrity sha512-pGKxLQzE3NYsl63WmwiCndrskKFsQXZ8P5trvycqGHJ1YmffL4xPpfiDcMtiKuK0MX2vSnTkQ0k7n5kchmx+vA==
1479
1467
  dependencies:
1480
1468
  "@oclif/core" "^4"
1481
1469
  ansis "^3.17.0"
@@ -1484,7 +1472,7 @@
1484
1472
  lodash.difference "^4.5.0"
1485
1473
  lodash.get "^4.4.2"
1486
1474
  lodash.sortby "^4.7.0"
1487
- semver "^7.7.3"
1475
+ semver "^7.7.4"
1488
1476
  ts-json-schema-generator "^1.5.1"
1489
1477
 
1490
1478
  "@oclif/plugin-help@^6.2.37":
@@ -2921,6 +2909,11 @@ balanced-match@^3.0.0:
2921
2909
  resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-3.0.1.tgz#e854b098724b15076384266497392a271f4a26a0"
2922
2910
  integrity sha512-vjtV3hiLqYDNRoiAv0zC4QaGAMPomEoq83PRmYIofPswwZurCeWR5LByXm7SyoL0Zh5+2z0+HC7jG8gSZJUh0w==
2923
2911
 
2912
+ balanced-match@^4.0.2:
2913
+ version "4.0.4"
2914
+ resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-4.0.4.tgz#bfb10662feed8196a2c62e7c68e17720c274179a"
2915
+ integrity sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==
2916
+
2924
2917
  base64-js@^1.3.1:
2925
2918
  version "1.5.1"
2926
2919
  resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
@@ -2968,6 +2961,13 @@ brace-expansion@^4.0.0:
2968
2961
  dependencies:
2969
2962
  balanced-match "^3.0.0"
2970
2963
 
2964
+ brace-expansion@^5.0.2:
2965
+ version "5.0.4"
2966
+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-5.0.4.tgz#614daaecd0a688f660bbbc909a8748c3d80d4336"
2967
+ integrity sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==
2968
+ dependencies:
2969
+ balanced-match "^4.0.2"
2970
+
2971
2971
  braces@^3.0.3, braces@~3.0.2:
2972
2972
  version "3.0.3"
2973
2973
  resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
@@ -6056,12 +6056,12 @@ minimatch@9.0.3:
6056
6056
  dependencies:
6057
6057
  brace-expansion "^2.0.1"
6058
6058
 
6059
- minimatch@^10.1.1:
6060
- version "10.1.1"
6061
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.1.1.tgz#e6e61b9b0c1dcab116b5a7d1458e8b6ae9e73a55"
6062
- integrity sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==
6059
+ minimatch@^10.1.1, minimatch@^10.2.4:
6060
+ version "10.2.4"
6061
+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.2.4.tgz#465b3accbd0218b8281f5301e27cedc697f96fde"
6062
+ integrity sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==
6063
6063
  dependencies:
6064
- "@isaacs/brace-expansion" "^5.0.0"
6064
+ brace-expansion "^5.0.2"
6065
6065
 
6066
6066
  minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
6067
6067
  version "3.1.2"
@@ -1,106 +1,5 @@
1
1
  {
2
2
  "commands": {
3
- "orchestrator:rules:eval": {
4
- "aliases": [],
5
- "args": {},
6
- "description": "Preview how transformation rules will modify JSON documents before deploying templates. This command uses a sample transformation to test the jsonxform/transformation endpoint with built-in User and Org context variables.",
7
- "examples": [
8
- "Test JSON transformation with Analytics files:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg",
9
- "Test with specific API version:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg --api-version 60.0"
10
- ],
11
- "flags": {
12
- "json": {
13
- "description": "Format output as json.",
14
- "helpGroup": "GLOBAL",
15
- "name": "json",
16
- "allowNo": false,
17
- "type": "boolean"
18
- },
19
- "flags-dir": {
20
- "helpGroup": "GLOBAL",
21
- "name": "flags-dir",
22
- "summary": "Import flag values from a directory.",
23
- "hasDynamicHelp": false,
24
- "multiple": false,
25
- "type": "option"
26
- },
27
- "target-org": {
28
- "char": "o",
29
- "description": "The username or alias of the target org where the jsonxform/transformation endpoint will be called. This org provides the User and Org context variables used in the transformation.",
30
- "name": "target-org",
31
- "noCacheDefault": true,
32
- "required": true,
33
- "summary": "Username or alias for the target org; overrides default target org.",
34
- "hasDynamicHelp": true,
35
- "multiple": false,
36
- "type": "option"
37
- },
38
- "api-version": {
39
- "description": "API version to use for the transformation request. Defaults to the org's configured API version.",
40
- "name": "api-version",
41
- "summary": "Override the api version used for api requests made by this command.",
42
- "hasDynamicHelp": false,
43
- "multiple": false,
44
- "type": "option"
45
- },
46
- "document": {
47
- "char": "d",
48
- "description": "Path to the JSON document file (dashboard, lens, etc.) that will be transformed by the rules.",
49
- "name": "document",
50
- "required": true,
51
- "summary": "Path to JSON document file to transform.",
52
- "hasDynamicHelp": false,
53
- "multiple": false,
54
- "type": "option"
55
- },
56
- "values": {
57
- "char": "v",
58
- "description": "Path to the JSON file containing values used in transformations. Can contain any JSON structure that matches your transformation rules.",
59
- "name": "values",
60
- "required": true,
61
- "summary": "Path to values JSON file.",
62
- "hasDynamicHelp": false,
63
- "multiple": false,
64
- "type": "option"
65
- },
66
- "rules": {
67
- "char": "r",
68
- "description": "Path to the rules.json file containing transformation rules and macro definitions.",
69
- "name": "rules",
70
- "required": true,
71
- "summary": "Path to Analytics rules.json file.",
72
- "hasDynamicHelp": false,
73
- "multiple": false,
74
- "type": "option"
75
- }
76
- },
77
- "hasDynamicHelp": true,
78
- "hiddenAliases": [],
79
- "id": "orchestrator:rules:eval",
80
- "pluginAlias": "@salesforce/plugin-orchestrator",
81
- "pluginName": "@salesforce/plugin-orchestrator",
82
- "pluginType": "core",
83
- "strict": true,
84
- "summary": "Test JSON transformation rules using the jsonxform/transformation endpoint.",
85
- "enableJsonFlag": true,
86
- "isESM": true,
87
- "relativePath": [
88
- "lib",
89
- "commands",
90
- "orchestrator",
91
- "rules",
92
- "eval.js"
93
- ],
94
- "aliasPermutations": [],
95
- "permutations": [
96
- "orchestrator:rules:eval",
97
- "rules:orchestrator:eval",
98
- "rules:eval:orchestrator",
99
- "orchestrator:eval:rules",
100
- "eval:orchestrator:rules",
101
- "eval:rules:orchestrator"
102
- ]
103
- },
104
3
  "orchestrator:app:create": {
105
4
  "aliases": [],
106
5
  "args": {},
@@ -1424,7 +1323,108 @@
1424
1323
  "update:orchestrator:template",
1425
1324
  "update:template:orchestrator"
1426
1325
  ]
1326
+ },
1327
+ "orchestrator:rules:eval": {
1328
+ "aliases": [],
1329
+ "args": {},
1330
+ "description": "Preview how transformation rules will modify JSON documents before deploying templates. This command uses a sample transformation to test the jsonxform/transformation endpoint with built-in User and Org context variables.",
1331
+ "examples": [
1332
+ "Test JSON transformation with Analytics files:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg",
1333
+ "Test with specific API version:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg --api-version 60.0"
1334
+ ],
1335
+ "flags": {
1336
+ "json": {
1337
+ "description": "Format output as json.",
1338
+ "helpGroup": "GLOBAL",
1339
+ "name": "json",
1340
+ "allowNo": false,
1341
+ "type": "boolean"
1342
+ },
1343
+ "flags-dir": {
1344
+ "helpGroup": "GLOBAL",
1345
+ "name": "flags-dir",
1346
+ "summary": "Import flag values from a directory.",
1347
+ "hasDynamicHelp": false,
1348
+ "multiple": false,
1349
+ "type": "option"
1350
+ },
1351
+ "target-org": {
1352
+ "char": "o",
1353
+ "description": "The username or alias of the target org where the jsonxform/transformation endpoint will be called. This org provides the User and Org context variables used in the transformation.",
1354
+ "name": "target-org",
1355
+ "noCacheDefault": true,
1356
+ "required": true,
1357
+ "summary": "Username or alias for the target org; overrides default target org.",
1358
+ "hasDynamicHelp": true,
1359
+ "multiple": false,
1360
+ "type": "option"
1361
+ },
1362
+ "api-version": {
1363
+ "description": "API version to use for the transformation request. Defaults to the org's configured API version.",
1364
+ "name": "api-version",
1365
+ "summary": "Override the api version used for api requests made by this command.",
1366
+ "hasDynamicHelp": false,
1367
+ "multiple": false,
1368
+ "type": "option"
1369
+ },
1370
+ "document": {
1371
+ "char": "d",
1372
+ "description": "Path to the JSON document file (dashboard, lens, etc.) that will be transformed by the rules.",
1373
+ "name": "document",
1374
+ "required": true,
1375
+ "summary": "Path to JSON document file to transform.",
1376
+ "hasDynamicHelp": false,
1377
+ "multiple": false,
1378
+ "type": "option"
1379
+ },
1380
+ "values": {
1381
+ "char": "v",
1382
+ "description": "Path to the JSON file containing values used in transformations. Can contain any JSON structure that matches your transformation rules.",
1383
+ "name": "values",
1384
+ "required": true,
1385
+ "summary": "Path to values JSON file.",
1386
+ "hasDynamicHelp": false,
1387
+ "multiple": false,
1388
+ "type": "option"
1389
+ },
1390
+ "rules": {
1391
+ "char": "r",
1392
+ "description": "Path to the rules.json file containing transformation rules and macro definitions.",
1393
+ "name": "rules",
1394
+ "required": true,
1395
+ "summary": "Path to Analytics rules.json file.",
1396
+ "hasDynamicHelp": false,
1397
+ "multiple": false,
1398
+ "type": "option"
1399
+ }
1400
+ },
1401
+ "hasDynamicHelp": true,
1402
+ "hiddenAliases": [],
1403
+ "id": "orchestrator:rules:eval",
1404
+ "pluginAlias": "@salesforce/plugin-orchestrator",
1405
+ "pluginName": "@salesforce/plugin-orchestrator",
1406
+ "pluginType": "core",
1407
+ "strict": true,
1408
+ "summary": "Test JSON transformation rules using the jsonxform/transformation endpoint.",
1409
+ "enableJsonFlag": true,
1410
+ "isESM": true,
1411
+ "relativePath": [
1412
+ "lib",
1413
+ "commands",
1414
+ "orchestrator",
1415
+ "rules",
1416
+ "eval.js"
1417
+ ],
1418
+ "aliasPermutations": [],
1419
+ "permutations": [
1420
+ "orchestrator:rules:eval",
1421
+ "rules:orchestrator:eval",
1422
+ "rules:eval:orchestrator",
1423
+ "orchestrator:eval:rules",
1424
+ "eval:orchestrator:rules",
1425
+ "eval:rules:orchestrator"
1426
+ ]
1427
1427
  }
1428
1428
  },
1429
- "version": "1.0.32"
1429
+ "version": "1.0.33"
1430
1430
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-orchestrator",
3
3
  "description": "Plugin for working with SalesForce analytic apps, templates, assets and services.",
4
- "version": "1.0.32",
4
+ "version": "1.0.33",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -14,7 +14,7 @@
14
14
  "eslint": "^8.56.0"
15
15
  },
16
16
  "devDependencies": {
17
- "@oclif/plugin-command-snapshot": "^5.3.8",
17
+ "@oclif/plugin-command-snapshot": "^5.3.10",
18
18
  "@salesforce/cli-plugins-testkit": "^5.3.41",
19
19
  "@salesforce/dev-scripts": "^11.0.2",
20
20
  "@salesforce/plugin-command-reference": "^3.1.80",
@@ -229,7 +229,7 @@
229
229
  "exports": "./lib/index.js",
230
230
  "type": "module",
231
231
  "sfdx": {
232
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.32.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.32.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.33.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.33.sig"
234
234
  }
235
235
  }