@salesforce/plugin-orchestrator 1.0.33 → 1.0.35

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,17 +1,17 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-orchestrator",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-orchestrator",
9
- "version": "1.0.33",
9
+ "version": "1.0.35",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@inquirer/select": "^5.1.0",
13
13
  "@oclif/core": "^4",
14
- "@salesforce/core": "^8.25.1",
14
+ "@salesforce/core": "^8.26.3",
15
15
  "@salesforce/kit": "^3.2.1",
16
16
  "@salesforce/sf-plugins-core": "^12",
17
17
  "ansis": "^3.17.0",
@@ -1669,9 +1669,9 @@
1669
1669
  }
1670
1670
  },
1671
1671
  "node_modules/@commitlint/config-validator/node_modules/ajv": {
1672
- "version": "8.17.1",
1673
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
1674
- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
1672
+ "version": "8.18.0",
1673
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
1674
+ "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==",
1675
1675
  "dev": true,
1676
1676
  "license": "MIT",
1677
1677
  "dependencies": {
@@ -3739,15 +3739,15 @@
3739
3739
  }
3740
3740
  },
3741
3741
  "node_modules/@salesforce/core": {
3742
- "version": "8.25.1",
3743
- "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.25.1.tgz",
3744
- "integrity": "sha512-Jon0a9uZpp+mNa5PiY+y8dTjaPcsMaxXEkswdzWotrdrZ4g84MmPKSEv+Q/LtXw3uc9i4RmqBJBUXSIvZhgrjg==",
3742
+ "version": "8.26.3",
3743
+ "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.26.3.tgz",
3744
+ "integrity": "sha512-lPNFHjHFeC4V3KuH88xuVLGhAqmtM8meUcvyejNh8bQ5w642APKRTGDZ0pOnWHJAe5SQy7cSQ1WqvO3V73ouQw==",
3745
3745
  "license": "BSD-3-Clause",
3746
3746
  "dependencies": {
3747
3747
  "@jsforce/jsforce-node": "^3.10.13",
3748
3748
  "@salesforce/kit": "^3.2.4",
3749
3749
  "@salesforce/ts-types": "^2.0.12",
3750
- "ajv": "^8.17.1",
3750
+ "ajv": "^8.18.0",
3751
3751
  "change-case": "^4.1.2",
3752
3752
  "fast-levenshtein": "^3.0.0",
3753
3753
  "faye": "^1.4.1",
@@ -3769,9 +3769,9 @@
3769
3769
  }
3770
3770
  },
3771
3771
  "node_modules/@salesforce/core/node_modules/ajv": {
3772
- "version": "8.17.1",
3773
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz",
3774
- "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
3772
+ "version": "8.18.0",
3773
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
3774
+ "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==",
3775
3775
  "license": "MIT",
3776
3776
  "dependencies": {
3777
3777
  "fast-deep-equal": "^3.1.3",
@@ -8623,9 +8623,9 @@
8623
8623
  }
8624
8624
  },
8625
8625
  "node_modules/flatted": {
8626
- "version": "3.3.3",
8627
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
8628
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
8626
+ "version": "3.4.1",
8627
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
8628
+ "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
8629
8629
  "license": "ISC"
8630
8630
  },
8631
8631
  "node_modules/for-each": {
package/oclif.lock CHANGED
@@ -1571,15 +1571,15 @@
1571
1571
  strip-ansi "6.0.1"
1572
1572
  ts-retry-promise "^0.8.1"
1573
1573
 
1574
- "@salesforce/core@^8.18.7", "@salesforce/core@^8.23.1", "@salesforce/core@^8.23.3", "@salesforce/core@^8.25.1", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0":
1575
- version "8.25.1"
1576
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.25.1.tgz#7646025598bb59b6f95b3656baf8eb0b63a43052"
1577
- integrity sha512-Jon0a9uZpp+mNa5PiY+y8dTjaPcsMaxXEkswdzWotrdrZ4g84MmPKSEv+Q/LtXw3uc9i4RmqBJBUXSIvZhgrjg==
1574
+ "@salesforce/core@^8.18.7", "@salesforce/core@^8.23.1", "@salesforce/core@^8.23.3", "@salesforce/core@^8.26.3", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0":
1575
+ version "8.26.3"
1576
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.26.3.tgz#0b2502cacca8977f2ae95283d944771040eb7869"
1577
+ integrity sha512-lPNFHjHFeC4V3KuH88xuVLGhAqmtM8meUcvyejNh8bQ5w642APKRTGDZ0pOnWHJAe5SQy7cSQ1WqvO3V73ouQw==
1578
1578
  dependencies:
1579
1579
  "@jsforce/jsforce-node" "^3.10.13"
1580
1580
  "@salesforce/kit" "^3.2.4"
1581
1581
  "@salesforce/ts-types" "^2.0.12"
1582
- ajv "^8.17.1"
1582
+ ajv "^8.18.0"
1583
1583
  change-case "^4.1.2"
1584
1584
  fast-levenshtein "^3.0.0"
1585
1585
  faye "^1.4.1"
@@ -2662,10 +2662,10 @@ ajv@^6.12.4:
2662
2662
  json-schema-traverse "^0.4.1"
2663
2663
  uri-js "^4.2.2"
2664
2664
 
2665
- ajv@^8.11.0, ajv@^8.17.1:
2666
- version "8.17.1"
2667
- resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"
2668
- integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
2665
+ ajv@^8.11.0, ajv@^8.18.0:
2666
+ version "8.18.0"
2667
+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.18.0.tgz#8864186b6738d003eb3a933172bb3833e10cefbc"
2668
+ integrity sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==
2669
2669
  dependencies:
2670
2670
  fast-deep-equal "^3.1.3"
2671
2671
  fast-uri "^3.0.1"
@@ -4357,9 +4357,9 @@ flat@^5.0.2:
4357
4357
  integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==
4358
4358
 
4359
4359
  flatted@^3.2.9:
4360
- version "3.3.3"
4361
- resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.3.tgz#67c8fad95454a7c7abebf74bb78ee74a44023358"
4362
- integrity sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==
4360
+ version "3.4.1"
4361
+ resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.4.1.tgz#84ccd9579e76e9cc0d246c11d8be0beb019143e6"
4362
+ integrity sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==
4363
4363
 
4364
4364
  for-each@^0.3.3, for-each@^0.3.5:
4365
4365
  version "0.3.5"
@@ -789,6 +789,107 @@
789
789
  "upgrade:app:orchestrator"
790
790
  ]
791
791
  },
792
+ "orchestrator:rules:eval": {
793
+ "aliases": [],
794
+ "args": {},
795
+ "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.",
796
+ "examples": [
797
+ "Test JSON transformation with Analytics files:\n<%= config.bin %> <%= command.id %> --document ./dashboard.json --values ./values.json --rules ./rules.json --target-org myorg",
798
+ "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"
799
+ ],
800
+ "flags": {
801
+ "json": {
802
+ "description": "Format output as json.",
803
+ "helpGroup": "GLOBAL",
804
+ "name": "json",
805
+ "allowNo": false,
806
+ "type": "boolean"
807
+ },
808
+ "flags-dir": {
809
+ "helpGroup": "GLOBAL",
810
+ "name": "flags-dir",
811
+ "summary": "Import flag values from a directory.",
812
+ "hasDynamicHelp": false,
813
+ "multiple": false,
814
+ "type": "option"
815
+ },
816
+ "target-org": {
817
+ "char": "o",
818
+ "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.",
819
+ "name": "target-org",
820
+ "noCacheDefault": true,
821
+ "required": true,
822
+ "summary": "Username or alias for the target org; overrides default target org.",
823
+ "hasDynamicHelp": true,
824
+ "multiple": false,
825
+ "type": "option"
826
+ },
827
+ "api-version": {
828
+ "description": "API version to use for the transformation request. Defaults to the org's configured API version.",
829
+ "name": "api-version",
830
+ "summary": "Override the api version used for api requests made by this command.",
831
+ "hasDynamicHelp": false,
832
+ "multiple": false,
833
+ "type": "option"
834
+ },
835
+ "document": {
836
+ "char": "d",
837
+ "description": "Path to the JSON document file (dashboard, lens, etc.) that will be transformed by the rules.",
838
+ "name": "document",
839
+ "required": true,
840
+ "summary": "Path to JSON document file to transform.",
841
+ "hasDynamicHelp": false,
842
+ "multiple": false,
843
+ "type": "option"
844
+ },
845
+ "values": {
846
+ "char": "v",
847
+ "description": "Path to the JSON file containing values used in transformations. Can contain any JSON structure that matches your transformation rules.",
848
+ "name": "values",
849
+ "required": true,
850
+ "summary": "Path to values JSON file.",
851
+ "hasDynamicHelp": false,
852
+ "multiple": false,
853
+ "type": "option"
854
+ },
855
+ "rules": {
856
+ "char": "r",
857
+ "description": "Path to the rules.json file containing transformation rules and macro definitions.",
858
+ "name": "rules",
859
+ "required": true,
860
+ "summary": "Path to Analytics rules.json file.",
861
+ "hasDynamicHelp": false,
862
+ "multiple": false,
863
+ "type": "option"
864
+ }
865
+ },
866
+ "hasDynamicHelp": true,
867
+ "hiddenAliases": [],
868
+ "id": "orchestrator:rules:eval",
869
+ "pluginAlias": "@salesforce/plugin-orchestrator",
870
+ "pluginName": "@salesforce/plugin-orchestrator",
871
+ "pluginType": "core",
872
+ "strict": true,
873
+ "summary": "Test JSON transformation rules using the jsonxform/transformation endpoint.",
874
+ "enableJsonFlag": true,
875
+ "isESM": true,
876
+ "relativePath": [
877
+ "lib",
878
+ "commands",
879
+ "orchestrator",
880
+ "rules",
881
+ "eval.js"
882
+ ],
883
+ "aliasPermutations": [],
884
+ "permutations": [
885
+ "orchestrator:rules:eval",
886
+ "rules:orchestrator:eval",
887
+ "rules:eval:orchestrator",
888
+ "orchestrator:eval:rules",
889
+ "eval:orchestrator:rules",
890
+ "eval:rules:orchestrator"
891
+ ]
892
+ },
792
893
  "orchestrator:template:create": {
793
894
  "aliases": [],
794
895
  "args": {},
@@ -1323,108 +1424,7 @@
1323
1424
  "update:orchestrator:template",
1324
1425
  "update:template:orchestrator"
1325
1426
  ]
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.33"
1429
+ "version": "1.0.35"
1430
1430
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
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.33",
4
+ "version": "1.0.35",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@inquirer/select": "^5.1.0",
9
9
  "@oclif/core": "^4",
10
- "@salesforce/core": "^8.25.1",
10
+ "@salesforce/core": "^8.26.3",
11
11
  "@salesforce/kit": "^3.2.1",
12
12
  "@salesforce/sf-plugins-core": "^12",
13
13
  "ansis": "^3.17.0",
@@ -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.33.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.33.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.35.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.35.sig"
234
234
  }
235
235
  }