@salesforce/plugin-orchestrator 1.0.38 → 1.0.40

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,18 +1,18 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-orchestrator",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-orchestrator",
9
- "version": "1.0.38",
9
+ "version": "1.0.40",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@inquirer/select": "^5.1.2",
13
13
  "@oclif/core": "^4",
14
14
  "@salesforce/core": "^8.27.1",
15
- "@salesforce/kit": "^3.2.1",
15
+ "@salesforce/kit": "^3.2.6",
16
16
  "@salesforce/sf-plugins-core": "^12",
17
17
  "ansis": "^3.17.0",
18
18
  "eslint": "^8.57.1"
@@ -21,7 +21,7 @@
21
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
- "@salesforce/plugin-command-reference": "^3.1.82",
24
+ "@salesforce/plugin-command-reference": "^3.1.84",
25
25
  "@types/minimatch": "5",
26
26
  "eslint-config-salesforce-license": "^1.0.2",
27
27
  "eslint-plugin-sf-plugin": "^1.20.33",
@@ -4859,18 +4859,18 @@
4859
4859
  }
4860
4860
  },
4861
4861
  "node_modules/@salesforce/kit": {
4862
- "version": "3.2.4",
4863
- "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-3.2.4.tgz",
4864
- "integrity": "sha512-9buqZ2puIGWqjUFWYNroSeNih4d1s9kdQAzZfutr/Re/JMl6xBct0ATO5LVb1ty5UhdBruJrVaiTg03PqVKU+Q==",
4862
+ "version": "3.2.6",
4863
+ "resolved": "https://registry.npmjs.org/@salesforce/kit/-/kit-3.2.6.tgz",
4864
+ "integrity": "sha512-O8S4LWerHa9Zosqh+IoQjgLtpxMOfObRxaRnUdRV4MLtFUi+bQxQiyFvve6eEaBaMP1b1xVDQpvSvQ+PXEDGFQ==",
4865
4865
  "license": "Apache-2.0",
4866
4866
  "dependencies": {
4867
4867
  "@salesforce/ts-types": "^2.0.12"
4868
4868
  }
4869
4869
  },
4870
4870
  "node_modules/@salesforce/plugin-command-reference": {
4871
- "version": "3.1.82",
4872
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.82.tgz",
4873
- "integrity": "sha512-4aBLoT5r+gdWypIfEcfkvIZsyog91n+OpmmSY2yYUCr/zjT1HDUOqR4vTctIiz2pbsEe/La0bYxNJfcGePvIUg==",
4871
+ "version": "3.1.84",
4872
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.84.tgz",
4873
+ "integrity": "sha512-/SDZ9NP+2ITD3jGh/daJoo04W9pQfjRQ4eIXaicEi9XdwwtgkbCcQxRP4g20eaOlPEqI49RHMnQIXldPONgYeg==",
4874
4874
  "dev": true,
4875
4875
  "license": "Apache-2.0",
4876
4876
  "dependencies": {
@@ -4881,7 +4881,7 @@
4881
4881
  "@salesforce/ts-types": "^2.0.11",
4882
4882
  "chalk": "^5.6.2",
4883
4883
  "debug": "^4.4.3",
4884
- "handlebars": "^4.7.8"
4884
+ "handlebars": "^4.7.9"
4885
4885
  },
4886
4886
  "engines": {
4887
4887
  "node": ">=18.0.0"
@@ -10275,9 +10275,9 @@
10275
10275
  "license": "MIT"
10276
10276
  },
10277
10277
  "node_modules/handlebars": {
10278
- "version": "4.7.8",
10279
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz",
10280
- "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==",
10278
+ "version": "4.7.9",
10279
+ "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz",
10280
+ "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==",
10281
10281
  "dev": true,
10282
10282
  "license": "MIT",
10283
10283
  "dependencies": {
package/oclif.lock CHANGED
@@ -1689,17 +1689,17 @@
1689
1689
  typescript "^5.5.4"
1690
1690
  wireit "^0.14.12"
1691
1691
 
1692
- "@salesforce/kit@^3.2.1", "@salesforce/kit@^3.2.3", "@salesforce/kit@^3.2.4":
1693
- version "3.2.4"
1694
- resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-3.2.4.tgz#69fb56974685e41d26ae5db30a7261acdc731bb6"
1695
- integrity sha512-9buqZ2puIGWqjUFWYNroSeNih4d1s9kdQAzZfutr/Re/JMl6xBct0ATO5LVb1ty5UhdBruJrVaiTg03PqVKU+Q==
1692
+ "@salesforce/kit@^3.2.3", "@salesforce/kit@^3.2.4", "@salesforce/kit@^3.2.6":
1693
+ version "3.2.6"
1694
+ resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-3.2.6.tgz#6a6c13b463b51694a43d61094af67171086ed4f5"
1695
+ integrity sha512-O8S4LWerHa9Zosqh+IoQjgLtpxMOfObRxaRnUdRV4MLtFUi+bQxQiyFvve6eEaBaMP1b1xVDQpvSvQ+PXEDGFQ==
1696
1696
  dependencies:
1697
1697
  "@salesforce/ts-types" "^2.0.12"
1698
1698
 
1699
- "@salesforce/plugin-command-reference@^3.1.82":
1700
- version "3.1.82"
1701
- resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.82.tgz#45e439760b05b4b7232763172426ad22b90e52da"
1702
- integrity sha512-4aBLoT5r+gdWypIfEcfkvIZsyog91n+OpmmSY2yYUCr/zjT1HDUOqR4vTctIiz2pbsEe/La0bYxNJfcGePvIUg==
1699
+ "@salesforce/plugin-command-reference@^3.1.84":
1700
+ version "3.1.84"
1701
+ resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.84.tgz#331b05e75b5bc1af3e3ea37a86b8ee9e71533bb9"
1702
+ integrity sha512-/SDZ9NP+2ITD3jGh/daJoo04W9pQfjRQ4eIXaicEi9XdwwtgkbCcQxRP4g20eaOlPEqI49RHMnQIXldPONgYeg==
1703
1703
  dependencies:
1704
1704
  "@oclif/core" "^4"
1705
1705
  "@salesforce/core" "^8.23.3"
@@ -1708,7 +1708,7 @@
1708
1708
  "@salesforce/ts-types" "^2.0.11"
1709
1709
  chalk "^5.6.2"
1710
1710
  debug "^4.4.3"
1711
- handlebars "^4.7.8"
1711
+ handlebars "^4.7.9"
1712
1712
 
1713
1713
  "@salesforce/prettier-config@^0.0.3":
1714
1714
  version "0.0.3"
@@ -4930,10 +4930,10 @@ graphemer@^1.4.0:
4930
4930
  resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6"
4931
4931
  integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==
4932
4932
 
4933
- handlebars@^4.7.8:
4934
- version "4.7.8"
4935
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9"
4936
- integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==
4933
+ handlebars@^4.7.9:
4934
+ version "4.7.9"
4935
+ resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.9.tgz#6f139082ab58dc4e5a0e51efe7db5ae890d56a0f"
4936
+ integrity sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==
4937
4937
  dependencies:
4938
4938
  minimist "^1.2.5"
4939
4939
  neo-async "^2.6.2"
@@ -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.38"
1429
+ "version": "1.0.40"
1430
1430
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
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.38",
4
+ "version": "1.0.40",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@inquirer/select": "^5.1.2",
9
9
  "@oclif/core": "^4",
10
10
  "@salesforce/core": "^8.27.1",
11
- "@salesforce/kit": "^3.2.1",
11
+ "@salesforce/kit": "^3.2.6",
12
12
  "@salesforce/sf-plugins-core": "^12",
13
13
  "ansis": "^3.17.0",
14
14
  "eslint": "^8.57.1"
@@ -17,7 +17,7 @@
17
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
- "@salesforce/plugin-command-reference": "^3.1.82",
20
+ "@salesforce/plugin-command-reference": "^3.1.84",
21
21
  "@types/minimatch": "5",
22
22
  "eslint-config-salesforce-license": "^1.0.2",
23
23
  "eslint-plugin-sf-plugin": "^1.20.33",
@@ -228,7 +228,7 @@
228
228
  "exports": "./lib/index.js",
229
229
  "type": "module",
230
230
  "sfdx": {
231
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.38.crt",
232
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.38.sig"
231
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.40.crt",
232
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.40.sig"
233
233
  }
234
234
  }