@salesforce/plugin-settings 1.4.23 → 1.4.25
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.
|
@@ -23,11 +23,17 @@ class UnSet extends sf_plugins_core_1.SfCommand {
|
|
|
23
23
|
throw messages.createError('error.NoConfigKeysFound');
|
|
24
24
|
}
|
|
25
25
|
const config = await core_1.Config.create(core_1.Config.getDefaultOptions(flags.global));
|
|
26
|
+
const globalConfig = flags.global ? config : await core_1.Config.create(core_1.Config.getDefaultOptions(true));
|
|
27
|
+
await globalConfig.read();
|
|
26
28
|
await config.read();
|
|
27
29
|
for (const key of argv) {
|
|
28
30
|
try {
|
|
29
31
|
const resolvedName = this.configAggregator.getPropertyMeta(key)?.newKey ?? key;
|
|
30
32
|
config.unset(resolvedName);
|
|
33
|
+
if (!flags.global && globalConfig.has(resolvedName)) {
|
|
34
|
+
// If the config var is still set globally after an unset and the user didn't have the `--global` flag set, warn them.
|
|
35
|
+
this.warn(messages.getMessage('unsetGlobalWarning', [resolvedName]));
|
|
36
|
+
}
|
|
31
37
|
this.responses.successes.push({ name: resolvedName, success: true });
|
|
32
38
|
}
|
|
33
39
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unset.js","sourceRoot":"","sources":["../../../src/commands/config/unset.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iEAA6E;AAC7E,2CAAoD;AACpD,yCAAiG;AAGjG,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,6BAA6B,EAAE,cAAc,CAAC,CAAC;AAEtF,MAAa,KAAM,SAAQ,2BAAwC;IAAnE;;QAeU,cAAS,GAAkC,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"unset.js","sourceRoot":"","sources":["../../../src/commands/config/un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E,EAAE,CAAC,EAC3C,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EACzD,OAAO,CACR,CAAC;QAEF,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;;AAjEH,sBAkEC;AAjEwB,iBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,aAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACzC,cAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,YAAM,GAAG,KAAK,CAAC;AACf,aAAO,GAAG,CAAC,oBAAoB,CAAC,CAAC;AACjC,sBAAgB,GAAG,IAAI,CAAC;AACjC,mCAA6B,GAAG,4BAAmB,CAAC;AAC3C,WAAK,GAAG;IAC7B,QAAQ,EAAR,0BAAQ;IACR,MAAM,EAAE,uBAAK,CAAC,OAAO,CAAC;QACpB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KACrD,CAAC;CACH,CAAC"}
|
package/messages/config.unset.md
CHANGED
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,230 +1,234 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^4.0.8",
|
|
16
|
-
"@oclif/test": "^2.4.2",
|
|
17
|
-
"@salesforce/cli-plugins-testkit": "^4.2.8",
|
|
18
|
-
"@salesforce/dev-config": "^4.0.1",
|
|
19
|
-
"@salesforce/dev-scripts": "^5.4.3",
|
|
20
|
-
"@salesforce/kit": "^3.0.2",
|
|
21
|
-
"@salesforce/plugin-command-reference": "^3.0.19",
|
|
22
|
-
"@salesforce/plugin-deploy-retrieve": "^1.13.5",
|
|
23
|
-
"@salesforce/prettier-config": "^0.0.3",
|
|
24
|
-
"@salesforce/ts-sinon": "^1.4.9",
|
|
25
|
-
"@salesforce/ts-types": "^2.0.2",
|
|
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.62.0",
|
|
31
|
-
"@typescript-eslint/parser": "^5.62.0",
|
|
32
|
-
"chai": "^4.3.7",
|
|
33
|
-
"eslint": "^8.46.0",
|
|
34
|
-
"eslint-config-prettier": "^8.9.0",
|
|
35
|
-
"eslint-config-salesforce": "^2.0.1",
|
|
36
|
-
"eslint-config-salesforce-license": "^0.2.0",
|
|
37
|
-
"eslint-config-salesforce-typescript": "^1.1.2",
|
|
38
|
-
"eslint-plugin-header": "^3.1.1",
|
|
39
|
-
"eslint-plugin-import": "^2.27.5",
|
|
40
|
-
"eslint-plugin-jsdoc": "^43.0.5",
|
|
41
|
-
"eslint-plugin-sf-plugin": "^1.16.0",
|
|
42
|
-
"fs-extra": "^10.1.0",
|
|
43
|
-
"husky": "^7.0.4",
|
|
44
|
-
"mocha": "^9.2.2",
|
|
45
|
-
"nyc": "^15.1.0",
|
|
46
|
-
"oclif": "^3.10.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.10.0"
|
|
55
|
-
},
|
|
56
|
-
"config": {},
|
|
57
|
-
"engines": {
|
|
58
|
-
"node": ">=16.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
|
-
]
|
|
2
|
+
"name": "@salesforce/plugin-settings",
|
|
3
|
+
"description": "configure the Salesforce CLI",
|
|
4
|
+
"version": "1.4.25",
|
|
5
|
+
"author": "Salesforce",
|
|
6
|
+
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@oclif/core": "^2.11.7",
|
|
9
|
+
"@salesforce/core": "^5.2.0",
|
|
10
|
+
"@salesforce/sf-plugins-core": "^3.1.14",
|
|
11
|
+
"fast-levenshtein": "^3.0.0",
|
|
12
|
+
"tslib": "^2"
|
|
86
13
|
},
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
"compile",
|
|
129
|
-
"lint"
|
|
130
|
-
]
|
|
131
|
-
},
|
|
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"
|
|
144
|
-
},
|
|
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": []
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^4.0.8",
|
|
16
|
+
"@oclif/test": "^2.4.2",
|
|
17
|
+
"@salesforce/cli-plugins-testkit": "^4.2.9",
|
|
18
|
+
"@salesforce/dev-config": "^4.0.1",
|
|
19
|
+
"@salesforce/dev-scripts": "^5.7.0",
|
|
20
|
+
"@salesforce/kit": "^3.0.9",
|
|
21
|
+
"@salesforce/plugin-command-reference": "^3.0.25",
|
|
22
|
+
"@salesforce/plugin-deploy-retrieve": "^1.13.5",
|
|
23
|
+
"@salesforce/prettier-config": "^0.0.3",
|
|
24
|
+
"@salesforce/ts-sinon": "^1.4.9",
|
|
25
|
+
"@salesforce/ts-types": "^2.0.6",
|
|
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.62.0",
|
|
31
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
32
|
+
"chai": "^4.3.7",
|
|
33
|
+
"eslint": "^8.46.0",
|
|
34
|
+
"eslint-config-prettier": "^8.9.0",
|
|
35
|
+
"eslint-config-salesforce": "^2.0.1",
|
|
36
|
+
"eslint-config-salesforce-license": "^0.2.0",
|
|
37
|
+
"eslint-config-salesforce-typescript": "^1.1.2",
|
|
38
|
+
"eslint-plugin-header": "^3.1.1",
|
|
39
|
+
"eslint-plugin-import": "^2.27.5",
|
|
40
|
+
"eslint-plugin-jsdoc": "^43.0.5",
|
|
41
|
+
"eslint-plugin-sf-plugin": "^1.16.0",
|
|
42
|
+
"fs-extra": "^10.1.0",
|
|
43
|
+
"husky": "^7.0.4",
|
|
44
|
+
"mocha": "^9.2.2",
|
|
45
|
+
"nyc": "^15.1.0",
|
|
46
|
+
"oclif": "^3.10.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.10.0"
|
|
155
55
|
},
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
"src/**/*.ts",
|
|
160
|
-
"test/**/*.ts",
|
|
161
|
-
"messages/**",
|
|
162
|
-
"**/.eslint*",
|
|
163
|
-
"**/tsconfig.json"
|
|
164
|
-
],
|
|
165
|
-
"output": []
|
|
56
|
+
"config": {},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=16.0.0"
|
|
166
59
|
},
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
|
|
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
|
+
]
|
|
86
|
+
},
|
|
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
|
+
}
|
|
184
101
|
},
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
|
|
198
|
-
|
|
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"
|
|
199
121
|
},
|
|
200
|
-
"
|
|
201
|
-
|
|
202
|
-
"files": [
|
|
203
|
-
"src/**/*.ts",
|
|
204
|
-
"messages/**",
|
|
205
|
-
"package.json"
|
|
206
|
-
],
|
|
207
|
-
"output": [
|
|
208
|
-
"tmp/root"
|
|
209
|
-
]
|
|
122
|
+
"publishConfig": {
|
|
123
|
+
"access": "public"
|
|
210
124
|
},
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
"compile"
|
|
219
|
-
|
|
125
|
+
"wireit": {
|
|
126
|
+
"build": {
|
|
127
|
+
"dependencies": [
|
|
128
|
+
"compile",
|
|
129
|
+
"lint"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
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"
|
|
144
|
+
},
|
|
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
|
+
]
|
|
184
|
+
},
|
|
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": []
|
|
199
|
+
},
|
|
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
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"test:deprecation-policy": {
|
|
212
|
+
"command": "\"./bin/dev\" snapshot:compare",
|
|
213
|
+
"files": [
|
|
214
|
+
"src/**/*.ts"
|
|
215
|
+
],
|
|
216
|
+
"output": [],
|
|
217
|
+
"dependencies": [
|
|
218
|
+
"compile"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"test:json-schema": {
|
|
222
|
+
"command": "\"./bin/dev\" schema:compare",
|
|
223
|
+
"files": [
|
|
224
|
+
"src/**/*.ts",
|
|
225
|
+
"schemas"
|
|
226
|
+
],
|
|
227
|
+
"output": []
|
|
228
|
+
}
|
|
220
229
|
},
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
"src/**/*.ts",
|
|
225
|
-
"schemas"
|
|
226
|
-
],
|
|
227
|
-
"output": []
|
|
230
|
+
"sfdx": {
|
|
231
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-settings/1.4.25.crt",
|
|
232
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-settings/1.4.25.sig"
|
|
228
233
|
}
|
|
229
|
-
|
|
230
|
-
}
|
|
234
|
+
}
|