@salesforce/plugin-auth 2.8.26 → 3.0.1
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 +67 -67
- package/lib/authBaseCommand.d.ts +0 -2
- package/lib/authBaseCommand.js +9 -25
- package/lib/authBaseCommand.js.map +1 -1
- package/lib/commands/org/list/auth.d.ts +1 -1
- package/lib/commands/org/list/auth.js +16 -17
- package/lib/commands/org/list/auth.js.map +1 -1
- package/lib/commands/org/login/access-token.d.ts +5 -5
- package/lib/commands/org/login/access-token.js +62 -62
- package/lib/commands/org/login/access-token.js.map +1 -1
- package/lib/commands/org/login/device.d.ts +10 -10
- package/lib/commands/org/login/device.js +59 -60
- package/lib/commands/org/login/device.js.map +1 -1
- package/lib/commands/org/login/jwt.d.ts +8 -8
- package/lib/commands/org/login/jwt.js +78 -81
- package/lib/commands/org/login/jwt.js.map +1 -1
- package/lib/commands/org/login/sfdx-url.d.ts +7 -7
- package/lib/commands/org/login/sfdx-url.js +59 -58
- package/lib/commands/org/login/sfdx-url.js.map +1 -1
- package/lib/commands/org/login/web.d.ts +7 -7
- package/lib/commands/org/login/web.js +81 -81
- package/lib/commands/org/login/web.js.map +1 -1
- package/lib/commands/org/logout.d.ts +3 -3
- package/lib/commands/org/logout.js +48 -49
- package/lib/commands/org/logout.js.map +1 -1
- package/lib/common.js +13 -15
- package/lib/common.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/messages/accesstoken.store.md +5 -0
- package/messages/messages.md +0 -5
- package/oclif.lock +7839 -0
- package/oclif.manifest.json +665 -329
- package/package.json +32 -50
package/package.json
CHANGED
|
@@ -1,69 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-auth",
|
|
3
|
-
"description": "plugin for
|
|
4
|
-
"version": "
|
|
3
|
+
"description": "plugin for sf auth commands",
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
|
-
"main": "lib/index.js",
|
|
8
7
|
"dependencies": {
|
|
9
|
-
"@oclif/core": "^
|
|
8
|
+
"@oclif/core": "^3.10.2",
|
|
10
9
|
"@salesforce/core": "^5.3.17",
|
|
11
10
|
"@salesforce/kit": "^3.0.15",
|
|
12
|
-
"@salesforce/sf-plugins-core": "^
|
|
11
|
+
"@salesforce/sf-plugins-core": "^4.1.0",
|
|
13
12
|
"@salesforce/ts-types": "^2.0.9",
|
|
14
|
-
"chalk": "^
|
|
15
|
-
"
|
|
16
|
-
"open": "^8.2.1",
|
|
17
|
-
"tslib": "^2"
|
|
13
|
+
"chalk": "^5.3.0",
|
|
14
|
+
"open": "^9.1.0"
|
|
18
15
|
},
|
|
19
16
|
"devDependencies": {
|
|
20
|
-
"@oclif/plugin-command-snapshot": "^
|
|
21
|
-
"@salesforce/cli-plugins-testkit": "^
|
|
22
|
-
"@salesforce/dev-
|
|
23
|
-
"@salesforce/dev-scripts": "^5.12.2",
|
|
17
|
+
"@oclif/plugin-command-snapshot": "^5.0.1",
|
|
18
|
+
"@salesforce/cli-plugins-testkit": "^5.0.2",
|
|
19
|
+
"@salesforce/dev-scripts": "^6.0.3",
|
|
24
20
|
"@salesforce/plugin-command-reference": "^3.0.42",
|
|
25
|
-
"@salesforce/
|
|
26
|
-
"@salesforce/ts-sinon": "^1.4.15",
|
|
27
|
-
"@swc/core": "1.3.39",
|
|
28
|
-
"@types/inquirer": "^8.2.0",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
30
|
-
"@typescript-eslint/parser": "^5.62.0",
|
|
31
|
-
"chai": "^4.3.10",
|
|
32
|
-
"eslint": "^8.52.0",
|
|
33
|
-
"eslint-config-prettier": "^8.10.0",
|
|
34
|
-
"eslint-config-salesforce": "^2.0.2",
|
|
35
|
-
"eslint-config-salesforce-license": "^0.2.0",
|
|
36
|
-
"eslint-config-salesforce-typescript": "^2.0.0",
|
|
37
|
-
"eslint-plugin-header": "^3.1.1",
|
|
38
|
-
"eslint-plugin-import": "2.29.0",
|
|
39
|
-
"eslint-plugin-jsdoc": "^46.8.2",
|
|
21
|
+
"@salesforce/ts-sinon": "^1.4.19",
|
|
40
22
|
"eslint-plugin-sf-plugin": "^1.16.11",
|
|
41
|
-
"
|
|
42
|
-
"mocha": "^9.1.3",
|
|
43
|
-
"nyc": "^15.1.0",
|
|
44
|
-
"oclif": "^3.17.2",
|
|
45
|
-
"prettier": "^2.8.8",
|
|
46
|
-
"pretty-quick": "^3.1.0",
|
|
23
|
+
"oclif": "^4.0.3",
|
|
47
24
|
"shx": "0.3.4",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"typescript": "^5.2.2",
|
|
51
|
-
"wireit": "^0.14.1"
|
|
25
|
+
"ts-node": "^10.9.1",
|
|
26
|
+
"typescript": "^5.2.2"
|
|
52
27
|
},
|
|
53
28
|
"engines": {
|
|
54
|
-
"node": ">=
|
|
29
|
+
"node": ">=18.0.0"
|
|
55
30
|
},
|
|
56
31
|
"files": [
|
|
57
32
|
"/lib",
|
|
58
33
|
"/messages",
|
|
59
|
-
"/oclif.manifest.json"
|
|
34
|
+
"/oclif.manifest.json",
|
|
35
|
+
"/oclif.lock"
|
|
60
36
|
],
|
|
61
37
|
"homepage": "https://github.com/salesforcecli/plugin-auth",
|
|
62
38
|
"keywords": [
|
|
63
39
|
"force",
|
|
64
40
|
"salesforce",
|
|
65
|
-
"sfdx",
|
|
66
41
|
"salesforcedx",
|
|
42
|
+
"sf",
|
|
43
|
+
"sf-plugin",
|
|
44
|
+
"sfdx",
|
|
67
45
|
"sfdx-plugin"
|
|
68
46
|
],
|
|
69
47
|
"license": "BSD-3-Clause",
|
|
@@ -72,7 +50,7 @@
|
|
|
72
50
|
"additionalHelpFlags": [
|
|
73
51
|
"-h"
|
|
74
52
|
],
|
|
75
|
-
"bin": "
|
|
53
|
+
"bin": "sf",
|
|
76
54
|
"devPlugins": [
|
|
77
55
|
"@oclif/plugin-help",
|
|
78
56
|
"@oclif/plugin-command-snapshot",
|
|
@@ -108,19 +86,21 @@
|
|
|
108
86
|
}
|
|
109
87
|
}
|
|
110
88
|
}
|
|
111
|
-
}
|
|
89
|
+
},
|
|
90
|
+
"flexibleTaxonomy": true,
|
|
91
|
+
"topicSeparator": " "
|
|
112
92
|
},
|
|
113
93
|
"repository": "salesforcecli/plugin-auth",
|
|
114
94
|
"scripts": {
|
|
115
95
|
"build": "wireit",
|
|
116
96
|
"clean": "sf-clean",
|
|
117
97
|
"clean-all": "sf-clean all",
|
|
118
|
-
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
98
|
+
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
|
|
119
99
|
"compile": "wireit",
|
|
120
100
|
"docs": "sf-docs",
|
|
121
101
|
"format": "wireit",
|
|
122
102
|
"lint": "wireit",
|
|
123
|
-
"postpack": "shx rm -f oclif.manifest.json",
|
|
103
|
+
"postpack": "shx rm -f oclif.manifest.json oclif.lock",
|
|
124
104
|
"prepack": "sf-prepack",
|
|
125
105
|
"prepare": "sf-install",
|
|
126
106
|
"reformat": "prettier --config .prettierrc --write './*.{js,json,md}' './**/*.{ts,json,md}'",
|
|
@@ -208,7 +188,7 @@
|
|
|
208
188
|
"output": []
|
|
209
189
|
},
|
|
210
190
|
"test:command-reference": {
|
|
211
|
-
"command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
|
|
191
|
+
"command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
|
|
212
192
|
"files": [
|
|
213
193
|
"src/**/*.ts",
|
|
214
194
|
"messages/**",
|
|
@@ -219,7 +199,7 @@
|
|
|
219
199
|
]
|
|
220
200
|
},
|
|
221
201
|
"test:deprecation-policy": {
|
|
222
|
-
"command": "\"./bin/dev\" snapshot:compare",
|
|
202
|
+
"command": "ts-node \"./bin/dev.js\" snapshot:compare",
|
|
223
203
|
"files": [
|
|
224
204
|
"src/**/*.ts"
|
|
225
205
|
],
|
|
@@ -229,7 +209,7 @@
|
|
|
229
209
|
]
|
|
230
210
|
},
|
|
231
211
|
"test:json-schema": {
|
|
232
|
-
"command": "\"./bin/dev\" schema:compare",
|
|
212
|
+
"command": "ts-node \"./bin/dev.js\" schema:compare",
|
|
233
213
|
"files": [
|
|
234
214
|
"src/**/*.ts",
|
|
235
215
|
"schemas"
|
|
@@ -237,8 +217,10 @@
|
|
|
237
217
|
"output": []
|
|
238
218
|
}
|
|
239
219
|
},
|
|
220
|
+
"exports": "./lib/index.js",
|
|
221
|
+
"type": "module",
|
|
240
222
|
"sfdx": {
|
|
241
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/
|
|
242
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/
|
|
223
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/3.0.1.crt",
|
|
224
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/3.0.1.sig"
|
|
243
225
|
}
|
|
244
226
|
}
|