@salesforce/plugin-orchestrator 1.0.38 → 1.0.39

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.38",
3
+ "version": "1.0.39",
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.39",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@inquirer/select": "^5.1.2",
@@ -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
@@ -4931,9 +4931,9 @@ graphemer@^1.4.0:
4931
4931
  integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==
4932
4932
 
4933
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==
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.39"
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.38",
4
+ "version": "1.0.39",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -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.39.crt",
232
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.39.sig"
233
233
  }
234
234
  }