@salesforce/plugin-orchestrator 1.0.27 → 1.0.28

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.27",
3
+ "version": "1.0.28",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-orchestrator",
9
- "version": "1.0.27",
9
+ "version": "1.0.28",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@inquirer/select": "^5.0.4",
13
13
  "@oclif/core": "^4",
14
- "@salesforce/core": "^8.24.0",
14
+ "@salesforce/core": "^8.24.3",
15
15
  "@salesforce/kit": "^3.2.1",
16
16
  "@salesforce/sf-plugins-core": "^12",
17
17
  "ansis": "^3.17.0",
@@ -3104,9 +3104,9 @@
3104
3104
  }
3105
3105
  },
3106
3106
  "node_modules/@jsforce/jsforce-node": {
3107
- "version": "3.10.10",
3108
- "resolved": "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.10.10.tgz",
3109
- "integrity": "sha512-/zUOX9kapwk8lyjmTYgXlBF+GbqcEpb0zrkDfX9i94xu5cvzERZxRHqSSaS/IImoDmvoSbatFSVfB7Y4lmANOw==",
3107
+ "version": "3.10.13",
3108
+ "resolved": "https://registry.npmjs.org/@jsforce/jsforce-node/-/jsforce-node-3.10.13.tgz",
3109
+ "integrity": "sha512-Ft42/lp3WaVxijcX88Rb3yIxujk/u3LwL3913OTcB4WCpwjB9xTqP6jkVTKt2riXg+ZlNiS62SMpQeC3U1Efkw==",
3110
3110
  "license": "MIT",
3111
3111
  "dependencies": {
3112
3112
  "@sindresorhus/is": "^4",
@@ -3775,12 +3775,12 @@
3775
3775
  }
3776
3776
  },
3777
3777
  "node_modules/@salesforce/core": {
3778
- "version": "8.24.0",
3779
- "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.24.0.tgz",
3780
- "integrity": "sha512-8Ra5RT95bRkmHmaaFgABwkXbnHNSNS7l9gbJzJgO6VQpaEeytGPPyymnAE7TcTM2xp/QwlXn+PgX4biX7Lb7JA==",
3778
+ "version": "8.24.3",
3779
+ "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.24.3.tgz",
3780
+ "integrity": "sha512-E9k4G3S8svS6QtsPVhUvxr0VHWyzg7KxH8sYM0o5pk7QEUXZCKQEQE5VjQOa+Gl3jRyX6zv/8Cp4UpQ2ZszOVg==",
3781
3781
  "license": "BSD-3-Clause",
3782
3782
  "dependencies": {
3783
- "@jsforce/jsforce-node": "^3.10.10",
3783
+ "@jsforce/jsforce-node": "^3.10.13",
3784
3784
  "@salesforce/kit": "^3.2.4",
3785
3785
  "@salesforce/ts-types": "^2.0.12",
3786
3786
  "ajv": "^8.17.1",
package/oclif.lock CHANGED
@@ -1355,10 +1355,10 @@
1355
1355
  "@jridgewell/resolve-uri" "^3.1.0"
1356
1356
  "@jridgewell/sourcemap-codec" "^1.4.14"
1357
1357
 
1358
- "@jsforce/jsforce-node@^3.10.10":
1359
- version "3.10.10"
1360
- resolved "https://registry.yarnpkg.com/@jsforce/jsforce-node/-/jsforce-node-3.10.10.tgz#2d7bb77d1d739712733a30de7e9c941d2127bc4a"
1361
- integrity sha512-/zUOX9kapwk8lyjmTYgXlBF+GbqcEpb0zrkDfX9i94xu5cvzERZxRHqSSaS/IImoDmvoSbatFSVfB7Y4lmANOw==
1358
+ "@jsforce/jsforce-node@^3.10.13":
1359
+ version "3.10.13"
1360
+ resolved "https://registry.yarnpkg.com/@jsforce/jsforce-node/-/jsforce-node-3.10.13.tgz#d1e832178e2e74646c75b952e629ac5b8ceff7d0"
1361
+ integrity sha512-Ft42/lp3WaVxijcX88Rb3yIxujk/u3LwL3913OTcB4WCpwjB9xTqP6jkVTKt2riXg+ZlNiS62SMpQeC3U1Efkw==
1362
1362
  dependencies:
1363
1363
  "@sindresorhus/is" "^4"
1364
1364
  base64url "^3.0.1"
@@ -1572,12 +1572,12 @@
1572
1572
  strip-ansi "6.0.1"
1573
1573
  ts-retry-promise "^0.8.1"
1574
1574
 
1575
- "@salesforce/core@^8.18.7", "@salesforce/core@^8.23.1", "@salesforce/core@^8.23.3", "@salesforce/core@^8.24.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0":
1576
- version "8.24.0"
1577
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.24.0.tgz#13426f9f3b5ed0ec126b8009e5eda68e03db0401"
1578
- integrity sha512-8Ra5RT95bRkmHmaaFgABwkXbnHNSNS7l9gbJzJgO6VQpaEeytGPPyymnAE7TcTM2xp/QwlXn+PgX4biX7Lb7JA==
1575
+ "@salesforce/core@^8.18.7", "@salesforce/core@^8.23.1", "@salesforce/core@^8.23.3", "@salesforce/core@^8.24.3", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0":
1576
+ version "8.24.3"
1577
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.24.3.tgz#c18fb2481ab212c460fd351520712a4fa8b4329f"
1578
+ integrity sha512-E9k4G3S8svS6QtsPVhUvxr0VHWyzg7KxH8sYM0o5pk7QEUXZCKQEQE5VjQOa+Gl3jRyX6zv/8Cp4UpQ2ZszOVg==
1579
1579
  dependencies:
1580
- "@jsforce/jsforce-node" "^3.10.10"
1580
+ "@jsforce/jsforce-node" "^3.10.13"
1581
1581
  "@salesforce/kit" "^3.2.4"
1582
1582
  "@salesforce/ts-types" "^2.0.12"
1583
1583
  ajv "^8.17.1"
@@ -789,107 +789,6 @@
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
- },
893
792
  "orchestrator:template:create": {
894
793
  "aliases": [],
895
794
  "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.27"
1429
+ "version": "1.0.28"
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.27",
4
+ "version": "1.0.28",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@inquirer/select": "^5.0.4",
9
9
  "@oclif/core": "^4",
10
- "@salesforce/core": "^8.24.0",
10
+ "@salesforce/core": "^8.24.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.27.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.27.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.28.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.28.sig"
234
234
  }
235
235
  }