@salesforce/plugin-settings 1.4.5 → 1.4.7

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/package.json CHANGED
@@ -1,231 +1,230 @@
1
1
  {
2
- "name": "@salesforce/plugin-settings",
3
- "description": "configure the Salesforce CLI",
4
- "version": "1.4.5",
5
- "author": "Salesforce",
6
- "bugs": "https://github.com/forcedotcom/cli/issues",
7
- "dependencies": {
8
- "@oclif/core": "^2.8.2",
9
- "@salesforce/core": "^3.34.6",
10
- "@salesforce/sf-plugins-core": "^2.2.4",
11
- "fast-levenshtein": "^3.0.0",
12
- "tslib": "^2"
2
+ "name": "@salesforce/plugin-settings",
3
+ "description": "configure the Salesforce CLI",
4
+ "version": "1.4.7",
5
+ "author": "Salesforce",
6
+ "bugs": "https://github.com/forcedotcom/cli/issues",
7
+ "dependencies": {
8
+ "@oclif/core": "^2.8.2",
9
+ "@salesforce/core": "^3.36.1",
10
+ "@salesforce/sf-plugins-core": "^2.4.0",
11
+ "fast-levenshtein": "^3.0.0",
12
+ "tslib": "^2"
13
+ },
14
+ "devDependencies": {
15
+ "@oclif/plugin-command-snapshot": "^3.3.13",
16
+ "@oclif/test": "^2.3.17",
17
+ "@salesforce/cli-plugins-testkit": "^3.3.6",
18
+ "@salesforce/dev-config": "^3.1.0",
19
+ "@salesforce/dev-scripts": "^4.3.1",
20
+ "@salesforce/kit": "^1.8.5",
21
+ "@salesforce/plugin-command-reference": "^2.2.8",
22
+ "@salesforce/plugin-deploy-retrieve": "^1.8.18",
23
+ "@salesforce/prettier-config": "^0.0.2",
24
+ "@salesforce/ts-sinon": "^1.4.4",
25
+ "@salesforce/ts-types": "^1.7.1",
26
+ "@swc/core": "^1.3.27",
27
+ "@types/fast-levenshtein": "^0.0.2",
28
+ "@types/fs-extra": "^9.0.13",
29
+ "@types/shelljs": "^0.8.12",
30
+ "@typescript-eslint/eslint-plugin": "^5.59.2",
31
+ "@typescript-eslint/parser": "^5.59.1",
32
+ "chai": "^4.3.7",
33
+ "eslint": "^8.40.0",
34
+ "eslint-config-prettier": "^8.8.0",
35
+ "eslint-config-salesforce": "^1.2.0",
36
+ "eslint-config-salesforce-license": "^0.2.0",
37
+ "eslint-config-salesforce-typescript": "^1.1.1",
38
+ "eslint-plugin-header": "^3.1.1",
39
+ "eslint-plugin-import": "^2.27.5",
40
+ "eslint-plugin-jsdoc": "^39.9.1",
41
+ "eslint-plugin-sf-plugin": "^1.15.1",
42
+ "fs-extra": "^10.1.0",
43
+ "husky": "^7.0.4",
44
+ "mocha": "^9.2.2",
45
+ "nyc": "^15.1.0",
46
+ "oclif": "^3.9.0",
47
+ "prettier": "^2.8.8",
48
+ "pretty-quick": "^3.1.3",
49
+ "shelljs": "^0.8.5",
50
+ "shx": "0.3.4",
51
+ "sinon": "10.0.0",
52
+ "ts-node": "^10.9.1",
53
+ "typescript": "^4.9.5",
54
+ "wireit": "^0.9.5"
55
+ },
56
+ "config": {},
57
+ "engines": {
58
+ "node": ">=14.0.0"
59
+ },
60
+ "files": [
61
+ "/lib",
62
+ "/messages",
63
+ "/oclif.manifest.json",
64
+ "/schemas"
65
+ ],
66
+ "homepage": "https://github.com/salesforcecli/plugin-settings",
67
+ "keywords": [
68
+ "force",
69
+ "salesforce",
70
+ "sfdx",
71
+ "salesforcedx",
72
+ "sfdx-plugin",
73
+ "sf-plugin",
74
+ "sf"
75
+ ],
76
+ "license": "BSD-3-Clause",
77
+ "main": "lib/index.js",
78
+ "oclif": {
79
+ "commands": "./lib/commands",
80
+ "bin": "sf",
81
+ "topicSeparator": " ",
82
+ "hooks": {
83
+ "init": [
84
+ "./lib/hooks/init/load_config_meta"
85
+ ]
13
86
  },
14
- "devDependencies": {
15
- "@oclif/plugin-command-snapshot": "^3.3.10",
16
- "@oclif/test": "^2.3.11",
17
- "@salesforce/cli-plugins-testkit": "^3.3.1",
18
- "@salesforce/dev-config": "^3.1.0",
19
- "@salesforce/dev-scripts": "^4.3.0",
20
- "@salesforce/kit": "^1.8.5",
21
- "@salesforce/plugin-command-reference": "^2.2.8",
22
- "@salesforce/prettier-config": "^0.0.2",
23
- "@salesforce/ts-sinon": "^1.4.4",
24
- "@salesforce/ts-types": "^1.7.1",
25
- "@swc/core": "^1.3.27",
26
- "@types/fast-levenshtein": "^0.0.2",
27
- "@types/fs-extra": "^9.0.13",
28
- "@types/shelljs": "^0.8.12",
29
- "@typescript-eslint/eslint-plugin": "^5.57.0",
30
- "@typescript-eslint/parser": "^5.48.0",
31
- "chai": "^4.3.7",
32
- "eslint": "^8.38.0",
33
- "eslint-config-prettier": "^8.8.0",
34
- "eslint-config-salesforce": "^1.1.1",
35
- "eslint-config-salesforce-license": "^0.2.0",
36
- "eslint-config-salesforce-typescript": "^1.1.1",
37
- "eslint-plugin-header": "^3.1.1",
38
- "eslint-plugin-import": "^2.27.5",
39
- "eslint-plugin-jsdoc": "^39.9.1",
40
- "eslint-plugin-sf-plugin": "^1.14.0",
41
- "fs-extra": "^10.1.0",
42
- "husky": "^7.0.4",
43
- "mocha": "^9.2.2",
44
- "nyc": "^15.1.0",
45
- "oclif": "^3.8.1",
46
- "prettier": "^2.8.7",
47
- "pretty-quick": "^3.1.3",
48
- "shelljs": "^0.8.5",
49
- "shx": "0.3.4",
50
- "sinon": "10.0.0",
51
- "ts-node": "^10.9.1",
52
- "typescript": "^4.9.5",
53
- "wireit": "^0.9.5"
87
+ "devPlugins": [
88
+ "@oclif/plugin-help",
89
+ "@oclif/plugin-command-snapshot",
90
+ "@salesforce/plugin-command-reference",
91
+ "@salesforce/plugin-deploy-retrieve"
92
+ ],
93
+ "topics": {
94
+ "config": {
95
+ "description": "Commands to configure Salesforce CLI."
96
+ },
97
+ "alias": {
98
+ "description": "Use the alias commands to manage your aliases."
99
+ }
100
+ }
101
+ },
102
+ "repository": "salesforcecli/plugin-settings",
103
+ "scripts": {
104
+ "build": "wireit",
105
+ "clean": "sf-clean",
106
+ "clean-all": "sf-clean all",
107
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
108
+ "compile": "wireit",
109
+ "docs": "sf-docs",
110
+ "format": "wireit",
111
+ "lint": "wireit",
112
+ "postpack": "shx rm -f oclif.manifest.json",
113
+ "prepack": "sf-prepack",
114
+ "prepare": "sf-install",
115
+ "reformat": "prettier --config .prettierrc --write './*.{js,json,md}' './**/*.{ts,json,md}'",
116
+ "test": "wireit",
117
+ "test:nuts": "nyc mocha \"test/**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
118
+ "test:nuts:config": "nyc mocha \"test/**/config/**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
119
+ "test:only": "wireit",
120
+ "version": "oclif readme"
121
+ },
122
+ "publishConfig": {
123
+ "access": "public"
124
+ },
125
+ "wireit": {
126
+ "build": {
127
+ "dependencies": [
128
+ "compile",
129
+ "lint"
130
+ ]
54
131
  },
55
- "config": {},
56
- "engines": {
57
- "node": ">=14.0.0"
132
+ "compile": {
133
+ "command": "tsc -p . --pretty --incremental",
134
+ "files": [
135
+ "src/**/*.ts",
136
+ "**/tsconfig.json",
137
+ "messages/**"
138
+ ],
139
+ "output": [
140
+ "lib/**",
141
+ "*.tsbuildinfo"
142
+ ],
143
+ "clean": "if-file-deleted"
58
144
  },
59
- "files": [
60
- "/lib",
61
- "/messages",
62
- "/oclif.manifest.json",
63
- "/schemas"
64
- ],
65
- "homepage": "https://github.com/salesforcecli/plugin-settings",
66
- "keywords": [
67
- "force",
68
- "salesforce",
69
- "sfdx",
70
- "salesforcedx",
71
- "sfdx-plugin",
72
- "sf-plugin",
73
- "sf"
74
- ],
75
- "license": "BSD-3-Clause",
76
- "main": "lib/index.js",
77
- "oclif": {
78
- "commands": "./lib/commands",
79
- "bin": "sf",
80
- "topicSeparator": " ",
81
- "hooks": {
82
- "init": [
83
- "./lib/hooks/init/load_config_meta"
84
- ]
85
- },
86
- "devPlugins": [
87
- "@oclif/plugin-help",
88
- "@oclif/plugin-command-snapshot",
89
- "@salesforce/plugin-command-reference"
90
- ],
91
- "topics": {
92
- "config": {
93
- "description": "Commands to configure Salesforce CLI."
94
- },
95
- "alias": {
96
- "description": "Use the alias commands to manage your aliases."
97
- }
98
- }
145
+ "format": {
146
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
147
+ "files": [
148
+ "src/**/*.ts",
149
+ "test/**/*.ts",
150
+ "schemas/**/*.json",
151
+ "command-snapshot.json",
152
+ ".prettier*"
153
+ ],
154
+ "output": []
155
+ },
156
+ "lint": {
157
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
158
+ "files": [
159
+ "src/**/*.ts",
160
+ "test/**/*.ts",
161
+ "messages/**",
162
+ "**/.eslint*",
163
+ "**/tsconfig.json"
164
+ ],
165
+ "output": []
166
+ },
167
+ "test:compile": {
168
+ "command": "tsc -p \"./test\" --pretty",
169
+ "files": [
170
+ "test/**/*.ts",
171
+ "**/tsconfig.json"
172
+ ],
173
+ "output": []
174
+ },
175
+ "test": {
176
+ "dependencies": [
177
+ "test:compile",
178
+ "test:only",
179
+ "test:command-reference",
180
+ "test:deprecation-policy",
181
+ "lint",
182
+ "test:json-schema"
183
+ ]
99
184
  },
100
- "repository": "salesforcecli/plugin-settings",
101
- "scripts": {
102
- "build": "wireit",
103
- "clean": "sf-clean",
104
- "clean-all": "sf-clean all",
105
- "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
106
- "compile": "wireit",
107
- "docs": "sf-docs",
108
- "format": "wireit",
109
- "lint": "wireit",
110
- "postpack": "shx rm -f oclif.manifest.json",
111
- "prepack": "sf-prepack",
112
- "prepare": "sf-install",
113
- "reformat": "prettier --config .prettierrc --write './*.{js,json,md}' './**/*.{ts,json,md}'",
114
- "test": "wireit",
115
- "test:nuts": "nyc mocha \"test/**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
116
- "test:only": "wireit",
117
- "version": "oclif readme"
185
+ "test:only": {
186
+ "command": "nyc mocha \"test/**/*.test.ts\"",
187
+ "env": {
188
+ "FORCE_COLOR": "2"
189
+ },
190
+ "files": [
191
+ "test/**/*.ts",
192
+ "src/**/*.ts",
193
+ "**/tsconfig.json",
194
+ ".mocha*",
195
+ "!*.nut.ts",
196
+ ".nycrc"
197
+ ],
198
+ "output": []
118
199
  },
119
- "publishConfig": {
120
- "access": "public"
200
+ "test:command-reference": {
201
+ "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
202
+ "files": [
203
+ "src/**/*.ts",
204
+ "messages/**",
205
+ "package.json"
206
+ ],
207
+ "output": [
208
+ "tmp/root"
209
+ ]
121
210
  },
122
- "wireit": {
123
- "build": {
124
- "dependencies": [
125
- "compile",
126
- "lint"
127
- ]
128
- },
129
- "compile": {
130
- "command": "tsc -p . --pretty --incremental",
131
- "files": [
132
- "src/**/*.ts",
133
- "**/tsconfig.json",
134
- "messages/**"
135
- ],
136
- "output": [
137
- "lib/**",
138
- "*.tsbuildinfo"
139
- ],
140
- "clean": "if-file-deleted"
141
- },
142
- "format": {
143
- "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
144
- "files": [
145
- "src/**/*.ts",
146
- "test/**/*.ts",
147
- "schemas/**/*.json",
148
- "command-snapshot.json",
149
- ".prettier*"
150
- ],
151
- "output": []
152
- },
153
- "lint": {
154
- "command": "eslint src test --color --cache --cache-location .eslintcache",
155
- "files": [
156
- "src/**/*.ts",
157
- "test/**/*.ts",
158
- "messages/**",
159
- "**/.eslint*",
160
- "**/tsconfig.json"
161
- ],
162
- "output": []
163
- },
164
- "test:compile": {
165
- "command": "tsc -p \"./test\" --pretty",
166
- "files": [
167
- "test/**/*.ts",
168
- "**/tsconfig.json"
169
- ],
170
- "output": []
171
- },
172
- "test": {
173
- "dependencies": [
174
- "test:compile",
175
- "test:only",
176
- "test:command-reference",
177
- "test:deprecation-policy",
178
- "lint",
179
- "test:json-schema"
180
- ]
181
- },
182
- "test:only": {
183
- "command": "nyc mocha \"test/**/*.test.ts\"",
184
- "env": {
185
- "FORCE_COLOR": "2"
186
- },
187
- "files": [
188
- "test/**/*.ts",
189
- "src/**/*.ts",
190
- "**/tsconfig.json",
191
- ".mocha*",
192
- "!*.nut.ts",
193
- ".nycrc"
194
- ],
195
- "output": []
196
- },
197
- "test:command-reference": {
198
- "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
199
- "files": [
200
- "src/**/*.ts",
201
- "messages/**",
202
- "package.json"
203
- ],
204
- "output": [
205
- "tmp/root"
206
- ]
207
- },
208
- "test:deprecation-policy": {
209
- "command": "\"./bin/dev\" snapshot:compare",
210
- "files": [
211
- "src/**/*.ts"
212
- ],
213
- "output": [],
214
- "dependencies": [
215
- "compile"
216
- ]
217
- },
218
- "test:json-schema": {
219
- "command": "\"./bin/dev\" schema:compare",
220
- "files": [
221
- "src/**/*.ts",
222
- "schemas"
223
- ],
224
- "output": []
225
- }
211
+ "test:deprecation-policy": {
212
+ "command": "\"./bin/dev\" snapshot:compare",
213
+ "files": [
214
+ "src/**/*.ts"
215
+ ],
216
+ "output": [],
217
+ "dependencies": [
218
+ "compile"
219
+ ]
226
220
  },
227
- "sfdx": {
228
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-settings/1.4.5.crt",
229
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-settings/1.4.5.sig"
221
+ "test:json-schema": {
222
+ "command": "\"./bin/dev\" schema:compare",
223
+ "files": [
224
+ "src/**/*.ts",
225
+ "schemas"
226
+ ],
227
+ "output": []
230
228
  }
229
+ }
231
230
  }
@@ -15,7 +15,7 @@
15
15
  "type": "string"
16
16
  },
17
17
  "value": {
18
- "type": "string"
18
+ "type": ["string", "boolean", "number", "null"]
19
19
  },
20
20
  "success": {
21
21
  "type": "boolean"
@@ -15,7 +15,7 @@
15
15
  "type": "string"
16
16
  },
17
17
  "value": {
18
- "type": "string"
18
+ "type": ["string", "boolean", "number", "null"]
19
19
  },
20
20
  "success": {
21
21
  "type": "boolean"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/SetConfigCommandResult",
3
+ "$ref": "#/definitions/SetOrUnsetConfigCommandResult",
4
4
  "definitions": {
5
- "SetConfigCommandResult": {
5
+ "SetOrUnsetConfigCommandResult": {
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "successes": {
@@ -28,7 +28,7 @@
28
28
  "type": "string"
29
29
  },
30
30
  "value": {
31
- "type": "string"
31
+ "type": ["string", "boolean", "number", "null"]
32
32
  },
33
33
  "success": {
34
34
  "type": "boolean"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/SetConfigCommandResult",
3
+ "$ref": "#/definitions/SetOrUnsetConfigCommandResult",
4
4
  "definitions": {
5
- "SetConfigCommandResult": {
5
+ "SetOrUnsetConfigCommandResult": {
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "successes": {
@@ -28,7 +28,7 @@
28
28
  "type": "string"
29
29
  },
30
30
  "value": {
31
- "type": "string"
31
+ "type": ["string", "boolean", "number", "null"]
32
32
  },
33
33
  "success": {
34
34
  "type": "boolean"