@salesforce/plugin-release-management 3.8.12 → 3.9.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 (37) hide show
  1. package/lib/amazonS3.js +5 -5
  2. package/lib/amazonS3.js.map +1 -1
  3. package/lib/commands/channel/promote.d.ts +8 -8
  4. package/lib/commands/channel/promote.js +3 -2
  5. package/lib/commands/channel/promote.js.map +1 -1
  6. package/lib/commands/cli/install/test.d.ts +4 -4
  7. package/lib/commands/cli/install/test.js +25 -25
  8. package/lib/commands/cli/install/test.js.map +1 -1
  9. package/lib/commands/cli/release/build.d.ts +5 -4
  10. package/lib/commands/cli/release/build.js +9 -0
  11. package/lib/commands/cli/release/build.js.map +1 -1
  12. package/lib/commands/cli/releasenotes.d.ts +2 -2
  13. package/lib/commands/cli/tarballs/smoke.d.ts +1 -1
  14. package/lib/commands/cli/tarballs/verify.d.ts +3 -2
  15. package/lib/commands/cli/tarballs/verify.js +4 -3
  16. package/lib/commands/cli/tarballs/verify.js.map +1 -1
  17. package/lib/commands/cli/versions/inspect.d.ts +4 -4
  18. package/lib/commands/cli/versions/inspect.js +3 -2
  19. package/lib/commands/cli/versions/inspect.js.map +1 -1
  20. package/lib/commands/dependabot/automerge.d.ts +4 -4
  21. package/lib/commands/dependabot/consolidate.d.ts +6 -6
  22. package/lib/commands/npm/dependencies/pin.d.ts +1 -1
  23. package/lib/commands/npm/package/promote.d.ts +2 -2
  24. package/lib/commands/npm/package/release.d.ts +4 -4
  25. package/lib/commands/repositories/index.js +2 -2
  26. package/lib/commands/repositories/index.js.map +1 -1
  27. package/lib/commands/typescript/update.d.ts +2 -2
  28. package/lib/commands/typescript/update.js +2 -2
  29. package/lib/commands/typescript/update.js.map +1 -1
  30. package/lib/dependabot.d.ts +1 -1
  31. package/lib/dependencies.d.ts +1 -1
  32. package/lib/package.d.ts +11 -1
  33. package/lib/package.js +96 -50
  34. package/lib/package.js.map +1 -1
  35. package/messages/cli.release.build.json +1 -0
  36. package/oclif.manifest.json +15 -8
  37. package/package.json +111 -17
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-release-management",
3
3
  "description": "A plugin for preparing and publishing npm packages",
4
- "version": "3.8.12",
4
+ "version": "3.9.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "bin": {
8
8
  "sf-release": "bin/run"
9
9
  },
10
10
  "dependencies": {
11
- "@oclif/core": "^1.26.1",
11
+ "@oclif/core": "^2.0.7",
12
12
  "@octokit/core": "^4.1.0",
13
13
  "@salesforce/core": "^3.32.12",
14
14
  "@salesforce/kit": "^1.8.2",
15
15
  "@salesforce/plugin-command-reference": "^2.2.8",
16
16
  "@salesforce/plugin-trust": "^2.2.3",
17
- "@salesforce/sf-plugins-core": "^1.22.1",
17
+ "@salesforce/sf-plugins-core": "^2.0.1",
18
18
  "@salesforce/ts-types": "^1.5.21",
19
19
  "agent-base": "^6.0.2",
20
20
  "aws-sdk": "^2.1299.0",
@@ -35,7 +35,7 @@
35
35
  "devDependencies": {
36
36
  "@oclif/plugin-command-snapshot": "^3.2.11",
37
37
  "@salesforce/dev-config": "^3.0.0",
38
- "@salesforce/dev-scripts": "^3.1.0",
38
+ "@salesforce/dev-scripts": "^4.0.0-beta.9",
39
39
  "@salesforce/prettier-config": "^0.0.2",
40
40
  "@salesforce/ts-sinon": "1.4.4",
41
41
  "@swc/core": "^1.3.29",
@@ -55,7 +55,7 @@
55
55
  "eslint-plugin-header": "^3.0.0",
56
56
  "eslint-plugin-import": "2.26.0",
57
57
  "eslint-plugin-jsdoc": "^39.6.7",
58
- "eslint-plugin-sf-plugin": "^1.7.0",
58
+ "eslint-plugin-sf-plugin": "^1.8.0",
59
59
  "husky": "^7.0.4",
60
60
  "mocha": "^9.1.3",
61
61
  "nyc": "^15.1.0",
@@ -65,7 +65,8 @@
65
65
  "shx": "0.3.4",
66
66
  "sinon": "10.0.0",
67
67
  "ts-node": "^10.0.0",
68
- "typescript": "^4.9.4"
68
+ "typescript": "^4.9.4",
69
+ "wireit": "^0.9.3"
69
70
  },
70
71
  "config": {},
71
72
  "engines": {
@@ -157,31 +158,124 @@
157
158
  },
158
159
  "repository": "salesforcecli/plugin-release-management",
159
160
  "scripts": {
160
- "build": "sf-build",
161
+ "build": "wireit",
161
162
  "clean": "sf-clean",
162
163
  "clean-all": "sf-clean all",
163
164
  "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
164
- "compile": "sf-compile",
165
+ "compile": "wireit",
165
166
  "docs": "sf-docs",
166
- "format": "sf-format",
167
- "lint": "sf-lint",
167
+ "format": "wireit",
168
+ "lint": "wireit",
168
169
  "oclif-artifacts": "oclif manifest",
169
170
  "postpack": "shx rm -f oclif.manifest.json",
170
- "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
171
171
  "prepack": "sf-prepack",
172
172
  "prepare": "sf-install",
173
- "pretest": "sf-compile-test",
174
- "test": "sf-test",
175
- "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
176
- "test:deprecation-policy": "./bin/dev snapshot:compare",
173
+ "test": "wireit",
174
+ "test:command-reference": "wireit",
175
+ "test:compile": "wireit",
176
+ "test:deprecation-policy": "wireit",
177
+ "test:json-schema": "wireit",
177
178
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
179
+ "test:only": "wireit",
178
180
  "version": "oclif readme"
179
181
  },
180
182
  "publishConfig": {
181
183
  "access": "public"
182
184
  },
185
+ "wireit": {
186
+ "build": {
187
+ "dependencies": [
188
+ "compile",
189
+ "lint"
190
+ ]
191
+ },
192
+ "compile": {
193
+ "command": "tsc -p . --pretty --incremental",
194
+ "files": [
195
+ "src/**/*.ts",
196
+ "tsconfig.json",
197
+ "messages/**"
198
+ ],
199
+ "output": [
200
+ "lib/**",
201
+ "*.tsbuildinfo"
202
+ ],
203
+ "clean": "if-file-deleted"
204
+ },
205
+ "format": {
206
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\""
207
+ },
208
+ "lint": {
209
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
210
+ "files": [
211
+ "src/**/*.ts",
212
+ "test/**/*.ts",
213
+ "messages/**",
214
+ ".eslintignore",
215
+ ".eslintrc.js"
216
+ ],
217
+ "output": []
218
+ },
219
+ "test:compile": {
220
+ "command": "tsc -p \"./test\" --pretty",
221
+ "files": [
222
+ "test/**/*.ts",
223
+ "tsconfig.json",
224
+ "test/tsconfig.json"
225
+ ],
226
+ "output": []
227
+ },
228
+ "test": {
229
+ "dependencies": [
230
+ "test:compile",
231
+ "test:only",
232
+ "test:command-reference",
233
+ "test:deprecation-policy",
234
+ "lint",
235
+ "test:json-schema"
236
+ ]
237
+ },
238
+ "test:only": {
239
+ "command": "nyc mocha \"test/**/*.test.ts\"",
240
+ "files": [
241
+ "test/**/*.ts",
242
+ "src/**/*.ts",
243
+ "tsconfig.json",
244
+ "test/tsconfig.json"
245
+ ],
246
+ "output": []
247
+ },
248
+ "test:command-reference": {
249
+ "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
250
+ "files": [
251
+ "src/**/*.ts",
252
+ "messages/**"
253
+ ],
254
+ "output": [
255
+ "tmp/root"
256
+ ]
257
+ },
258
+ "test:deprecation-policy": {
259
+ "command": "\"./bin/dev\" snapshot:compare",
260
+ "files": [
261
+ "src/**/*.ts"
262
+ ],
263
+ "output": [],
264
+ "dependencies": [
265
+ "compile"
266
+ ]
267
+ },
268
+ "test:json-schema": {
269
+ "command": "\"./bin/dev\" schema:compare",
270
+ "files": [
271
+ "src/**/*.ts",
272
+ "schemas"
273
+ ],
274
+ "output": []
275
+ }
276
+ },
183
277
  "sfdx": {
184
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.8.12.crt",
185
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.8.12.sig"
278
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.9.1.crt",
279
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.9.1.sig"
186
280
  }
187
281
  }