@salesforce/cli 1.75.5 → 1.75.6

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/cli",
3
- "version": "1.75.5",
3
+ "version": "1.75.6",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "1.75.5",
9
+ "version": "1.75.6",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@oclif/core": "2.8.2",
@@ -28,11 +28,11 @@
28
28
  "@salesforce/plugin-info": "2.6.7",
29
29
  "@salesforce/plugin-limits": "2.3.13",
30
30
  "@salesforce/plugin-login": "1.2.5",
31
- "@salesforce/plugin-org": "2.6.13",
31
+ "@salesforce/plugin-org": "2.7.0",
32
32
  "@salesforce/plugin-schema": "2.3.8",
33
33
  "@salesforce/plugin-settings": "1.4.4",
34
34
  "@salesforce/plugin-sobject": "0.1.17",
35
- "@salesforce/plugin-source": "2.10.1",
35
+ "@salesforce/plugin-source": "2.10.2",
36
36
  "@salesforce/plugin-telemetry": "2.1.4",
37
37
  "@salesforce/plugin-templates": "55.4.9",
38
38
  "@salesforce/plugin-trust": "2.4.9",
@@ -61,7 +61,7 @@
61
61
  "eslint-config-oclif": "^3.1",
62
62
  "eslint-config-oclif-typescript": "^0.2.0",
63
63
  "eslint-config-prettier": "^8.7.0",
64
- "eslint-config-salesforce": "^1.1.1",
64
+ "eslint-config-salesforce": "^1.2.0",
65
65
  "eslint-config-salesforce-license": "^0.2.0",
66
66
  "eslint-config-salesforce-typescript": "^1.1.1",
67
67
  "eslint-plugin-header": "^3.1.1",
@@ -71,7 +71,7 @@
71
71
  "husky": "^7.0.4",
72
72
  "mocha": "^9.2.2",
73
73
  "nyc": "^15.1.0",
74
- "oclif": "^3.7.0",
74
+ "oclif": "^3.8.1",
75
75
  "prettier": "^2.8.5",
76
76
  "pretty-quick": "^3.1.3",
77
77
  "sinon": "^11.1.2",
@@ -3602,9 +3602,9 @@
3602
3602
  }
3603
3603
  },
3604
3604
  "node_modules/@salesforce/plugin-org": {
3605
- "version": "2.6.13",
3606
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-2.6.13.tgz",
3607
- "integrity": "sha512-mTQEiT6CNydyIddvTJlT81BxaB3knf1KGn0Uw78pbBQ71+z1ct5gT6+6hF+IwOYoD/8VbfwgR+esJsH/GeTyIQ==",
3605
+ "version": "2.7.0",
3606
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-2.7.0.tgz",
3607
+ "integrity": "sha512-GaNVqrxlerlOxfJJR6bSXCGIFwj+/flaX4Jj/68OO+BsgsYecXUiHRC3m/hKjBZ3wDOYLVBtjsmVV9aMzyBReQ==",
3608
3608
  "license": "BSD-3-Clause",
3609
3609
  "dependencies": {
3610
3610
  "@oclif/core": "^2.6.3",
@@ -3867,9 +3867,9 @@
3867
3867
  }
3868
3868
  },
3869
3869
  "node_modules/@salesforce/plugin-source": {
3870
- "version": "2.10.1",
3871
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-source/-/plugin-source-2.10.1.tgz",
3872
- "integrity": "sha512-cs6SKbm3QwLdn6mbdMC2IQjVZbhDS904VHAxooRyGgdovGFSDhM1jB208BIg2zjExXg/bDtr2qvXBVUOC9Kyhw==",
3870
+ "version": "2.10.2",
3871
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-source/-/plugin-source-2.10.2.tgz",
3872
+ "integrity": "sha512-vQEvqAH51Dr6OjWDr5rGyX7RUCdwHnk9wpLWJcd7uizFUG1Yz/7FRVK88IfxiUdiYHv+P6rPWwAel4Q0eX19vQ==",
3873
3873
  "license": "BSD-3-Clause",
3874
3874
  "dependencies": {
3875
3875
  "@oclif/core": "^2.6.3",
@@ -8528,9 +8528,9 @@
8528
8528
  }
8529
8529
  },
8530
8530
  "node_modules/eslint-config-salesforce": {
8531
- "version": "1.1.1",
8532
- "resolved": "https://registry.npmjs.org/eslint-config-salesforce/-/eslint-config-salesforce-1.1.1.tgz",
8533
- "integrity": "sha512-xDp5ucbmSOAemFHOmzhli5RL864RoAghq/Yf5HeLvNz2JsrUvgW8n97LeZAJxlhj82JqKRg87IEHERUE4BRVPg==",
8531
+ "version": "1.2.0",
8532
+ "resolved": "https://registry.npmjs.org/eslint-config-salesforce/-/eslint-config-salesforce-1.2.0.tgz",
8533
+ "integrity": "sha512-iWqxkKuq4FVIm14oAlknHyUI/xqmb3+dvTHyJdOu1nAPMQDUzyNSeMCdG2NodLPsn9o0+DjTU5bn36n+qTsWhw==",
8534
8534
  "dev": true,
8535
8535
  "license": "BSD-3-Clause"
8536
8536
  },
@@ -17100,9 +17100,9 @@
17100
17100
  }
17101
17101
  },
17102
17102
  "node_modules/oclif": {
17103
- "version": "3.7.3",
17104
- "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.7.3.tgz",
17105
- "integrity": "sha512-yQ85UkSJAsDIRx0DXrp287GyvsBc2piyk3a8wup8/T+wxmsdEvWW+SaDWIQfpHNzMHYHrGus0hGW2ZwNvcNgjg==",
17103
+ "version": "3.8.1",
17104
+ "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.8.1.tgz",
17105
+ "integrity": "sha512-1yc1rtsQrou6t21WYM6JM2fUzK3GKhGboB/A6ZeTFyC3VJb39fUWcRrQYE1JEoNlBHk5Z5hok8PEq09Vhm4ZZA==",
17106
17106
  "dev": true,
17107
17107
  "license": "MIT",
17108
17108
  "dependencies": {
@@ -17127,7 +17127,8 @@
17127
17127
  "yosay": "^2.0.2"
17128
17128
  },
17129
17129
  "bin": {
17130
- "oclif": "bin/run"
17130
+ "oclif": "bin/run",
17131
+ "oclif2": "bin/run"
17131
17132
  },
17132
17133
  "engines": {
17133
17134
  "node": ">=12.0.0"
@@ -25044,9 +25045,9 @@
25044
25045
  }
25045
25046
  },
25046
25047
  "@salesforce/plugin-org": {
25047
- "version": "2.6.13",
25048
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-2.6.13.tgz",
25049
- "integrity": "sha512-mTQEiT6CNydyIddvTJlT81BxaB3knf1KGn0Uw78pbBQ71+z1ct5gT6+6hF+IwOYoD/8VbfwgR+esJsH/GeTyIQ==",
25048
+ "version": "2.7.0",
25049
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-org/-/plugin-org-2.7.0.tgz",
25050
+ "integrity": "sha512-GaNVqrxlerlOxfJJR6bSXCGIFwj+/flaX4Jj/68OO+BsgsYecXUiHRC3m/hKjBZ3wDOYLVBtjsmVV9aMzyBReQ==",
25050
25051
  "requires": {
25051
25052
  "@oclif/core": "^2.6.3",
25052
25053
  "@salesforce/core": "^3.34.6",
@@ -25249,9 +25250,9 @@
25249
25250
  }
25250
25251
  },
25251
25252
  "@salesforce/plugin-source": {
25252
- "version": "2.10.1",
25253
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-source/-/plugin-source-2.10.1.tgz",
25254
- "integrity": "sha512-cs6SKbm3QwLdn6mbdMC2IQjVZbhDS904VHAxooRyGgdovGFSDhM1jB208BIg2zjExXg/bDtr2qvXBVUOC9Kyhw==",
25253
+ "version": "2.10.2",
25254
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-source/-/plugin-source-2.10.2.tgz",
25255
+ "integrity": "sha512-vQEvqAH51Dr6OjWDr5rGyX7RUCdwHnk9wpLWJcd7uizFUG1Yz/7FRVK88IfxiUdiYHv+P6rPWwAel4Q0eX19vQ==",
25255
25256
  "requires": {
25256
25257
  "@oclif/core": "^2.6.3",
25257
25258
  "@salesforce/apex-node": "^1.6.0",
@@ -28641,9 +28642,9 @@
28641
28642
  "requires": {}
28642
28643
  },
28643
28644
  "eslint-config-salesforce": {
28644
- "version": "1.1.1",
28645
- "resolved": "https://registry.npmjs.org/eslint-config-salesforce/-/eslint-config-salesforce-1.1.1.tgz",
28646
- "integrity": "sha512-xDp5ucbmSOAemFHOmzhli5RL864RoAghq/Yf5HeLvNz2JsrUvgW8n97LeZAJxlhj82JqKRg87IEHERUE4BRVPg==",
28645
+ "version": "1.2.0",
28646
+ "resolved": "https://registry.npmjs.org/eslint-config-salesforce/-/eslint-config-salesforce-1.2.0.tgz",
28647
+ "integrity": "sha512-iWqxkKuq4FVIm14oAlknHyUI/xqmb3+dvTHyJdOu1nAPMQDUzyNSeMCdG2NodLPsn9o0+DjTU5bn36n+qTsWhw==",
28647
28648
  "dev": true
28648
28649
  },
28649
28650
  "eslint-config-salesforce-license": {
@@ -34542,9 +34543,9 @@
34542
34543
  }
34543
34544
  },
34544
34545
  "oclif": {
34545
- "version": "3.7.3",
34546
- "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.7.3.tgz",
34547
- "integrity": "sha512-yQ85UkSJAsDIRx0DXrp287GyvsBc2piyk3a8wup8/T+wxmsdEvWW+SaDWIQfpHNzMHYHrGus0hGW2ZwNvcNgjg==",
34546
+ "version": "3.8.1",
34547
+ "resolved": "https://registry.npmjs.org/oclif/-/oclif-3.8.1.tgz",
34548
+ "integrity": "sha512-1yc1rtsQrou6t21WYM6JM2fUzK3GKhGboB/A6ZeTFyC3VJb39fUWcRrQYE1JEoNlBHk5Z5hok8PEq09Vhm4ZZA==",
34548
34549
  "dev": true,
34549
34550
  "requires": {
34550
34551
  "@oclif/core": "^2.8.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.75.5",
2
+ "version": "1.75.6",
3
3
  "commands": {
4
4
  "cmdt:generate:field": {
5
5
  "id": "cmdt:generate:field",
@@ -5345,6 +5345,214 @@
5345
5345
  "args": {},
5346
5346
  "hasDynamicHelp": true
5347
5347
  },
5348
+ "force:lightning:lwc:test:create": {
5349
+ "id": "force:lightning:lwc:test:create",
5350
+ "description": "creates a Lightning web component test file with boilerplate code inside a __tests__ directory.",
5351
+ "strict": true,
5352
+ "usage": "<%= command.id %> -f <string> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5353
+ "pluginName": "@salesforce/sfdx-plugin-lwc-test",
5354
+ "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
5355
+ "pluginType": "jit",
5356
+ "aliases": [],
5357
+ "examples": [
5358
+ "$ sfdx force:lightning:lwc:test:create -f force-app/main/default/lwc/myButton/myButton.js"
5359
+ ],
5360
+ "flags": {
5361
+ "json": {
5362
+ "name": "json",
5363
+ "type": "boolean",
5364
+ "description": "format output as json",
5365
+ "allowNo": false
5366
+ },
5367
+ "loglevel": {
5368
+ "name": "loglevel",
5369
+ "type": "option",
5370
+ "description": "logging level for this command invocation",
5371
+ "required": false,
5372
+ "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
5373
+ "multiple": false,
5374
+ "options": [
5375
+ "trace",
5376
+ "debug",
5377
+ "info",
5378
+ "warn",
5379
+ "error",
5380
+ "fatal",
5381
+ "TRACE",
5382
+ "DEBUG",
5383
+ "INFO",
5384
+ "WARN",
5385
+ "ERROR",
5386
+ "FATAL"
5387
+ ],
5388
+ "default": "warn"
5389
+ },
5390
+ "filepath": {
5391
+ "name": "filepath",
5392
+ "type": "option",
5393
+ "char": "f",
5394
+ "description": "path to Lightning web component .js file to create a test for",
5395
+ "required": true,
5396
+ "multiple": false
5397
+ }
5398
+ },
5399
+ "args": {},
5400
+ "longDescription": "Creates a __tests__ directory in the specified directory. Creates a yourComponentName.test.js file with boilerplate code in the __tests__ directory.",
5401
+ "requiresProject": true,
5402
+ "flagsConfig": {
5403
+ "filepath": {
5404
+ "kind": "string",
5405
+ "char": "f",
5406
+ "description": "path to Lightning web component .js file to create a test for",
5407
+ "longDescription": "Path to Lightning web component .js file to create a test for.",
5408
+ "required": true,
5409
+ "input": [],
5410
+ "multiple": false,
5411
+ "type": "option"
5412
+ }
5413
+ }
5414
+ },
5415
+ "force:lightning:lwc:test:run": {
5416
+ "id": "force:lightning:lwc:test:run",
5417
+ "description": "invokes Lightning Web Components Jest unit tests.",
5418
+ "strict": true,
5419
+ "usage": "<%= command.id %> [-d | --watch] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5420
+ "pluginName": "@salesforce/sfdx-plugin-lwc-test",
5421
+ "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
5422
+ "pluginType": "jit",
5423
+ "aliases": [],
5424
+ "examples": [
5425
+ "$ sfdx force:lightning:lwc:test:run",
5426
+ "$ sfdx force:lightning:lwc:test:run -w"
5427
+ ],
5428
+ "flags": {
5429
+ "json": {
5430
+ "name": "json",
5431
+ "type": "boolean",
5432
+ "description": "format output as json",
5433
+ "allowNo": false
5434
+ },
5435
+ "loglevel": {
5436
+ "name": "loglevel",
5437
+ "type": "option",
5438
+ "description": "logging level for this command invocation",
5439
+ "required": false,
5440
+ "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
5441
+ "multiple": false,
5442
+ "options": [
5443
+ "trace",
5444
+ "debug",
5445
+ "info",
5446
+ "warn",
5447
+ "error",
5448
+ "fatal",
5449
+ "TRACE",
5450
+ "DEBUG",
5451
+ "INFO",
5452
+ "WARN",
5453
+ "ERROR",
5454
+ "FATAL"
5455
+ ],
5456
+ "default": "warn"
5457
+ },
5458
+ "debug": {
5459
+ "name": "debug",
5460
+ "type": "boolean",
5461
+ "char": "d",
5462
+ "description": "run tests in debug mode",
5463
+ "allowNo": false,
5464
+ "exclusive": [
5465
+ "watch"
5466
+ ]
5467
+ },
5468
+ "watch": {
5469
+ "name": "watch",
5470
+ "type": "boolean",
5471
+ "description": "run tests in watch mode",
5472
+ "allowNo": false,
5473
+ "exclusive": [
5474
+ "debug"
5475
+ ]
5476
+ }
5477
+ },
5478
+ "args": {
5479
+ "passthrough": {
5480
+ "name": "passthrough"
5481
+ }
5482
+ },
5483
+ "longDescription": "Invokes Lightning Web Components Jest unit tests.",
5484
+ "requiresProject": true,
5485
+ "flagsConfig": {
5486
+ "debug": {
5487
+ "kind": "boolean",
5488
+ "char": "d",
5489
+ "description": "run tests in debug mode",
5490
+ "longDescription": "Runs tests in a Node process that an external debugger can connect to. The run pauses until the debugger is connected. For more information, see: https://jestjs.io/docs/en/troubleshooting",
5491
+ "exclusive": [
5492
+ "watch"
5493
+ ],
5494
+ "allowNo": false,
5495
+ "type": "boolean"
5496
+ },
5497
+ "watch": {
5498
+ "kind": "boolean",
5499
+ "description": "run tests in watch mode",
5500
+ "longDescription": "Runs tests when a watched file changes. Watched files include the component under test and any files it references.",
5501
+ "exclusive": [
5502
+ "debug"
5503
+ ],
5504
+ "allowNo": false,
5505
+ "type": "boolean"
5506
+ }
5507
+ }
5508
+ },
5509
+ "force:lightning:lwc:test:setup": {
5510
+ "id": "force:lightning:lwc:test:setup",
5511
+ "description": "install Jest unit testing tools for Lightning Web Components.",
5512
+ "strict": true,
5513
+ "usage": "<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
5514
+ "pluginName": "@salesforce/sfdx-plugin-lwc-test",
5515
+ "pluginAlias": "@salesforce/sfdx-plugin-lwc-test",
5516
+ "pluginType": "jit",
5517
+ "aliases": [],
5518
+ "examples": [
5519
+ "$ sfdx force:lightning:lwc:test:setup"
5520
+ ],
5521
+ "flags": {
5522
+ "json": {
5523
+ "name": "json",
5524
+ "type": "boolean",
5525
+ "description": "format output as json",
5526
+ "allowNo": false
5527
+ },
5528
+ "loglevel": {
5529
+ "name": "loglevel",
5530
+ "type": "option",
5531
+ "description": "logging level for this command invocation",
5532
+ "required": false,
5533
+ "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
5534
+ "multiple": false,
5535
+ "options": [
5536
+ "trace",
5537
+ "debug",
5538
+ "info",
5539
+ "warn",
5540
+ "error",
5541
+ "fatal",
5542
+ "TRACE",
5543
+ "DEBUG",
5544
+ "INFO",
5545
+ "WARN",
5546
+ "ERROR",
5547
+ "FATAL"
5548
+ ],
5549
+ "default": "warn"
5550
+ }
5551
+ },
5552
+ "args": {},
5553
+ "longDescription": "Installs Jest unit testing tools for Lightning Web Components. For more information, see the Lightning Web Components Dev Guide: https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.testing",
5554
+ "requiresProject": true
5555
+ },
5348
5556
  "scanner:run": {
5349
5557
  "id": "scanner:run",
5350
5558
  "description": "scan a codebase with a selection of rules",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "1.75.5",
4
+ "version": "1.75.6",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run"
@@ -69,6 +69,7 @@
69
69
  "@salesforce/plugin-functions": "1.21.7",
70
70
  "@salesforce/plugin-packaging": "1.16.6",
71
71
  "@salesforce/plugin-signups": "1.4.12",
72
+ "@salesforce/sfdx-plugin-lwc-test": "1.0.2",
72
73
  "@salesforce/sfdx-scanner": "3.11.0"
73
74
  },
74
75
  "devPlugins": [
@@ -130,11 +131,11 @@
130
131
  "@salesforce/plugin-info": "2.6.7",
131
132
  "@salesforce/plugin-limits": "2.3.13",
132
133
  "@salesforce/plugin-login": "1.2.5",
133
- "@salesforce/plugin-org": "2.6.13",
134
+ "@salesforce/plugin-org": "2.7.0",
134
135
  "@salesforce/plugin-schema": "2.3.8",
135
136
  "@salesforce/plugin-settings": "1.4.4",
136
137
  "@salesforce/plugin-sobject": "0.1.17",
137
- "@salesforce/plugin-source": "2.10.1",
138
+ "@salesforce/plugin-source": "2.10.2",
138
139
  "@salesforce/plugin-telemetry": "2.1.4",
139
140
  "@salesforce/plugin-templates": "55.4.9",
140
141
  "@salesforce/plugin-trust": "2.4.9",
@@ -232,7 +233,7 @@
232
233
  "eslint-config-oclif": "^3.1",
233
234
  "eslint-config-oclif-typescript": "^0.2.0",
234
235
  "eslint-config-prettier": "^8.7.0",
235
- "eslint-config-salesforce": "^1.1.1",
236
+ "eslint-config-salesforce": "^1.2.0",
236
237
  "eslint-config-salesforce-license": "^0.2.0",
237
238
  "eslint-config-salesforce-typescript": "^1.1.1",
238
239
  "eslint-plugin-header": "^3.1.1",
@@ -242,7 +243,7 @@
242
243
  "husky": "^7.0.4",
243
244
  "mocha": "^9.2.2",
244
245
  "nyc": "^15.1.0",
245
- "oclif": "^3.7.0",
246
+ "oclif": "^3.8.1",
246
247
  "prettier": "^2.8.5",
247
248
  "pretty-quick": "^3.1.3",
248
249
  "sinon": "^11.1.2",