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