@salesforce/cli 2.91.5 → 2.91.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.
package/README.md CHANGED
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
25
25
  $ sf COMMAND
26
26
  running command...
27
27
  $ sf (--version|-v)
28
- @salesforce/cli/2.91.5 linux-x64 node-v22.15.0
28
+ @salesforce/cli/2.91.6 linux-x64 node-v22.15.0
29
29
  $ sf --help [COMMAND]
30
30
  USAGE
31
31
  $ sf COMMAND
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.91.5",
3
+ "version": "2.91.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.91.5",
9
+ "version": "2.91.6",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "dependencies": {
@@ -9,6 +9,7 @@
9
9
  "This example is identical to the previous one, assuming that `./code-analyzer.yml` exists in your current folder.\n<%= config.bin %> <%= command.id %> --config-file ./code-analyzer.yml --rule-selector all",
10
10
  "Write the current state of configuration to the file `code-analyzer.yml`, including any configuration from an existing `code-analyzer.yml` file. The command preserves all values from the original config, but overwrites any comments:\n<%= config.bin %> <%= command.id %> --config-file ./code-analyzer.yml --output-file code-analyzer.yml",
11
11
  "Display the configuration state for just the recommended rules, instead of all the rules:\n<%= config.bin %> <%= command.id %> --rule-selector Recommended",
12
+ "Display all the default rule values for the recommended rules, instead of only the rule values you've explicitly overriden in your `code-analyzer.yml` file. By default, only overriden rule values are displayed unless you specify the `--include-unmodified-rules` flag:\n<%= config.bin %> <%= command.id %> --rule-selector Recommended --include-unmodified-rules",
12
13
  "Display the configuration state associated with all the rules that are applicable to the files targeted within the folder `./src`:\n<%= config.bin %> <%= command.id %> --target ./src",
13
14
  "Display any relevant configuration settings associated with the rule name 'no-undef' from the 'eslint' engine:\n<%= config.bin %> <%= command.id %> --rule-selector eslint:no-undef",
14
15
  "Load an existing configuration file called `existing-config.yml`, and then write the configuration to a new file called `new-config.yml`, the configuration state that is applicable to all rules that are relevant to the workspace located in the current folder:\n<%= config.bin %> <%= command.id %> --config-file ./existing-config.yml --workspace . --output-file ./subfolder-config.yml"
@@ -64,6 +65,13 @@
64
65
  "hasDynamicHelp": false,
65
66
  "multiple": false,
66
67
  "type": "option"
68
+ },
69
+ "include-unmodified-rules": {
70
+ "description": "The default behavior of the config command is to not include the unmodified rules with their default values in the rule override settings (for the rules selected via the `–-rule-selector` flag). This default behavior prevents your configuration file from being unnecessarily large. If you want to include the unmodified rules, in addition to the modified rules, then specify this flag.",
71
+ "name": "include-unmodified-rules",
72
+ "summary": "Include unmodified rules in the rule override settings.",
73
+ "allowNo": false,
74
+ "type": "boolean"
67
75
  }
68
76
  },
69
77
  "hasDynamicHelp": false,
@@ -73,7 +81,7 @@
73
81
  "pluginName": "@salesforce/plugin-code-analyzer",
74
82
  "pluginType": "jit",
75
83
  "strict": true,
76
- "summary": "Display the current state of configuration for Code Analyzer.",
84
+ "summary": "Output the current state of configuration for Code Analyzer.",
77
85
  "enableJsonFlag": false,
78
86
  "SF_ENV": "SF_ENV",
79
87
  "isESM": false,
@@ -5933,5 +5941,5 @@
5933
5941
  ]
5934
5942
  }
5935
5943
  },
5936
- "version": "2.91.5"
5944
+ "version": "2.91.6"
5937
5945
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.91.5",
4
+ "version": "2.91.6",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -75,7 +75,7 @@
75
75
  "@salesforce/plugin-user"
76
76
  ],
77
77
  "jitPlugins": {
78
- "@salesforce/plugin-code-analyzer": "5.0.0",
78
+ "@salesforce/plugin-code-analyzer": "5.1.0",
79
79
  "@salesforce/plugin-community": "3.3.25",
80
80
  "@salesforce/plugin-custom-metadata": "3.3.55",
81
81
  "@salesforce/plugin-dev": "2.5.1",