@salesforce/plugin-auth 2.5.0 → 2.5.2

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 (2) hide show
  1. package/oclif.manifest.json +1 -1
  2. package/package.json +109 -15
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.5.0",
2
+ "version": "2.5.2",
3
3
  "commands": {
4
4
  "auth:list": {
5
5
  "id": "auth:list",
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-auth",
3
3
  "description": "plugin for sfdx auth commands",
4
- "version": "2.5.0",
4
+ "version": "2.5.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "main": "lib/index.js",
8
8
  "dependencies": {
9
- "@oclif/core": "^2.0.7",
9
+ "@oclif/core": "^2.1.6",
10
10
  "@salesforce/core": "^3.33.1",
11
11
  "@salesforce/kit": "^1.8.3",
12
- "@salesforce/sf-plugins-core": "^2.1.0",
12
+ "@salesforce/sf-plugins-core": "^2.1.2",
13
13
  "chalk": "^4.1.2",
14
14
  "fs-extra": "^10.0.1",
15
15
  "open": "^8.2.1",
16
16
  "tslib": "^2"
17
17
  },
18
18
  "devDependencies": {
19
- "@oclif/plugin-command-snapshot": "^3.3.1",
19
+ "@oclif/plugin-command-snapshot": "^3.3.6",
20
20
  "@salesforce/cli-plugins-testkit": "^3.2.18",
21
21
  "@salesforce/dev-config": "^3.1.0",
22
22
  "@salesforce/dev-scripts": "^3.1.1",
@@ -24,12 +24,12 @@
24
24
  "@salesforce/plugin-config": "^1.4.23",
25
25
  "@salesforce/prettier-config": "^0.0.2",
26
26
  "@salesforce/ts-sinon": "^1.4.4",
27
- "@swc/core": "^1.3.32",
27
+ "@swc/core": "^1.3.35",
28
28
  "@types/fs-extra": "^9.0.13",
29
29
  "@types/graceful-fs": "^4.1.6",
30
30
  "@types/mkdirp": "^1.0.1",
31
31
  "@typescript-eslint/eslint-plugin": "^5.49.0",
32
- "@typescript-eslint/parser": "^5.49.0",
32
+ "@typescript-eslint/parser": "^5.52.0",
33
33
  "chai": "^4.3.7",
34
34
  "eslint": "^8.33.0",
35
35
  "eslint-config-prettier": "^8.6.0",
@@ -38,8 +38,8 @@
38
38
  "eslint-config-salesforce-typescript": "^1.1.1",
39
39
  "eslint-plugin-header": "^3.0.0",
40
40
  "eslint-plugin-import": "2.27.5",
41
- "eslint-plugin-jsdoc": "^39.6.9",
42
- "eslint-plugin-sf-plugin": "^1.7.0",
41
+ "eslint-plugin-jsdoc": "^39.9.1",
42
+ "eslint-plugin-sf-plugin": "^1.8.1",
43
43
  "husky": "^7.0.4",
44
44
  "mocha": "^9.1.3",
45
45
  "nyc": "^15.1.0",
@@ -49,7 +49,8 @@
49
49
  "shx": "0.3.4",
50
50
  "sinon": "10.0.0",
51
51
  "ts-node": "^10.0.0",
52
- "typescript": "^4.9.4"
52
+ "typescript": "^4.9.4",
53
+ "wireit": "^0.9.3"
53
54
  },
54
55
  "engines": {
55
56
  "node": ">=14.0.0"
@@ -115,23 +116,116 @@
115
116
  "format": "sf-format",
116
117
  "lint": "sf-lint",
117
118
  "postpack": "shx rm -f oclif.manifest.json",
118
- "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
119
119
  "prepack": "sf-prepack",
120
120
  "prepare": "sf-install",
121
121
  "pretest": "sf-compile-test",
122
122
  "reformat": "prettier --config .prettierrc --write './*.{js,json,md}' './**/*.{ts,json,md}'",
123
123
  "test": "sf-test",
124
- "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
125
- "test:deprecation-policy": "./bin/dev snapshot:compare",
126
- "test:json-schema": "./bin/dev schema:compare",
124
+ "test:command-reference": "wireit",
125
+ "test:compile": "wireit",
126
+ "test:deprecation-policy": "wireit",
127
+ "test:json-schema": "wireit",
127
128
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
129
+ "test:only": "wireit",
128
130
  "version": "oclif readme"
129
131
  },
130
132
  "publishConfig": {
131
133
  "access": "public"
132
134
  },
135
+ "wireit": {
136
+ "build": {
137
+ "dependencies": [
138
+ "compile",
139
+ "lint"
140
+ ]
141
+ },
142
+ "compile": {
143
+ "command": "tsc -p . --pretty --incremental",
144
+ "files": [
145
+ "src/**/*.ts",
146
+ "tsconfig.json",
147
+ "messages/**"
148
+ ],
149
+ "output": [
150
+ "lib/**",
151
+ "*.tsbuildinfo"
152
+ ],
153
+ "clean": "if-file-deleted"
154
+ },
155
+ "format": {
156
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\""
157
+ },
158
+ "lint": {
159
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
160
+ "files": [
161
+ "src/**/*.ts",
162
+ "test/**/*.ts",
163
+ "messages/**",
164
+ ".eslintignore",
165
+ ".eslintrc.js"
166
+ ],
167
+ "output": []
168
+ },
169
+ "test:compile": {
170
+ "command": "tsc -p \"./test\" --pretty",
171
+ "files": [
172
+ "test/**/*.ts",
173
+ "tsconfig.json",
174
+ "test/tsconfig.json"
175
+ ],
176
+ "output": []
177
+ },
178
+ "test": {
179
+ "dependencies": [
180
+ "test:compile",
181
+ "test:only",
182
+ "test:command-reference",
183
+ "test:deprecation-policy",
184
+ "lint",
185
+ "test:json-schema"
186
+ ]
187
+ },
188
+ "test:only": {
189
+ "command": "nyc mocha \"test/**/*.test.ts\"",
190
+ "files": [
191
+ "test/**/*.ts",
192
+ "src/**/*.ts",
193
+ "tsconfig.json",
194
+ "test/tsconfig.json"
195
+ ],
196
+ "output": []
197
+ },
198
+ "test:command-reference": {
199
+ "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
200
+ "files": [
201
+ "src/**/*.ts",
202
+ "messages/**"
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
+ }
226
+ },
133
227
  "sfdx": {
134
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.5.0.crt",
135
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.5.0.sig"
228
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.5.2.crt",
229
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.5.2.sig"
136
230
  }
137
231
  }