@salesforce/plugin-auth 2.5.0 → 2.5.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 (2) hide show
  1. package/oclif.manifest.json +1 -1
  2. package/package.json +114 -21
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.5.0",
2
+ "version": "2.5.1",
3
3
  "commands": {
4
4
  "auth:list": {
5
5
  "id": "auth:list",
package/package.json CHANGED
@@ -1,30 +1,30 @@
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.1",
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.1",
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.4",
20
20
  "@salesforce/cli-plugins-testkit": "^3.2.18",
21
21
  "@salesforce/dev-config": "^3.1.0",
22
- "@salesforce/dev-scripts": "^3.1.1",
22
+ "@salesforce/dev-scripts": "^4.0.0-beta.9",
23
23
  "@salesforce/plugin-command-reference": "^2",
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",
@@ -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"
@@ -106,32 +107,124 @@
106
107
  },
107
108
  "repository": "salesforcecli/plugin-auth",
108
109
  "scripts": {
109
- "build": "sf-build",
110
+ "build": "wireit",
110
111
  "clean": "sf-clean",
111
112
  "clean-all": "sf-clean all",
112
113
  "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
113
- "compile": "sf-compile",
114
+ "compile": "wireit",
114
115
  "docs": "sf-docs",
115
- "format": "sf-format",
116
- "lint": "sf-lint",
116
+ "format": "wireit",
117
+ "lint": "wireit",
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
- "pretest": "sf-compile-test",
122
121
  "reformat": "prettier --config .prettierrc --write './*.{js,json,md}' './**/*.{ts,json,md}'",
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",
122
+ "test": "wireit",
123
+ "test:command-reference": "wireit",
124
+ "test:compile": "wireit",
125
+ "test:deprecation-policy": "wireit",
126
+ "test:json-schema": "wireit",
127
127
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
128
+ "test:only": "wireit",
128
129
  "version": "oclif readme"
129
130
  },
130
131
  "publishConfig": {
131
132
  "access": "public"
132
133
  },
134
+ "wireit": {
135
+ "build": {
136
+ "dependencies": [
137
+ "compile",
138
+ "lint"
139
+ ]
140
+ },
141
+ "compile": {
142
+ "command": "tsc -p . --pretty --incremental",
143
+ "files": [
144
+ "src/**/*.ts",
145
+ "tsconfig.json",
146
+ "messages/**"
147
+ ],
148
+ "output": [
149
+ "lib/**",
150
+ "*.tsbuildinfo"
151
+ ],
152
+ "clean": "if-file-deleted"
153
+ },
154
+ "format": {
155
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\""
156
+ },
157
+ "lint": {
158
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
159
+ "files": [
160
+ "src/**/*.ts",
161
+ "test/**/*.ts",
162
+ "messages/**",
163
+ ".eslintignore",
164
+ ".eslintrc.js"
165
+ ],
166
+ "output": []
167
+ },
168
+ "test:compile": {
169
+ "command": "tsc -p \"./test\" --pretty",
170
+ "files": [
171
+ "test/**/*.ts",
172
+ "tsconfig.json",
173
+ "test/tsconfig.json"
174
+ ],
175
+ "output": []
176
+ },
177
+ "test": {
178
+ "dependencies": [
179
+ "test:compile",
180
+ "test:only",
181
+ "test:command-reference",
182
+ "test:deprecation-policy",
183
+ "lint",
184
+ "test:json-schema"
185
+ ]
186
+ },
187
+ "test:only": {
188
+ "command": "nyc mocha \"test/**/*.test.ts\"",
189
+ "files": [
190
+ "test/**/*.ts",
191
+ "src/**/*.ts",
192
+ "tsconfig.json",
193
+ "test/tsconfig.json"
194
+ ],
195
+ "output": []
196
+ },
197
+ "test:command-reference": {
198
+ "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
199
+ "files": [
200
+ "src/**/*.ts",
201
+ "messages/**"
202
+ ],
203
+ "output": [
204
+ "tmp/root"
205
+ ]
206
+ },
207
+ "test:deprecation-policy": {
208
+ "command": "\"./bin/dev\" snapshot:compare",
209
+ "files": [
210
+ "src/**/*.ts"
211
+ ],
212
+ "output": [],
213
+ "dependencies": [
214
+ "compile"
215
+ ]
216
+ },
217
+ "test:json-schema": {
218
+ "command": "\"./bin/dev\" schema:compare",
219
+ "files": [
220
+ "src/**/*.ts",
221
+ "schemas"
222
+ ],
223
+ "output": []
224
+ }
225
+ },
133
226
  "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"
227
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.5.1.crt",
228
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.5.1.sig"
136
229
  }
137
230
  }