@salesforce/plugin-release-management 6.0.4 → 6.0.5

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.
@@ -461,6 +461,71 @@
461
461
  "index.js"
462
462
  ]
463
463
  },
464
+ "cli:artifacts:compare": {
465
+ "aliases": [],
466
+ "args": {},
467
+ "examples": [
468
+ "<%= config.bin %> <%= command.id %>"
469
+ ],
470
+ "flags": {
471
+ "json": {
472
+ "description": "Format output as json.",
473
+ "helpGroup": "GLOBAL",
474
+ "name": "json",
475
+ "allowNo": false,
476
+ "type": "boolean"
477
+ },
478
+ "flags-dir": {
479
+ "helpGroup": "GLOBAL",
480
+ "name": "flags-dir",
481
+ "summary": "Import flag values from a directory.",
482
+ "hasDynamicHelp": false,
483
+ "multiple": false,
484
+ "type": "option"
485
+ },
486
+ "plugin": {
487
+ "char": "p",
488
+ "name": "plugin",
489
+ "summary": "List of plugins to check for breaking changes.",
490
+ "hasDynamicHelp": false,
491
+ "multiple": true,
492
+ "type": "option"
493
+ },
494
+ "previous": {
495
+ "char": "r",
496
+ "name": "previous",
497
+ "summary": "Previous CLI version to compare against. Defaults to the last published version.",
498
+ "hasDynamicHelp": false,
499
+ "multiple": false,
500
+ "type": "option"
501
+ },
502
+ "current": {
503
+ "char": "c",
504
+ "name": "current",
505
+ "summary": "Current CLI version to compare against. Defaults to the version on the CLI in the current directory.",
506
+ "hasDynamicHelp": false,
507
+ "multiple": false,
508
+ "type": "option"
509
+ }
510
+ },
511
+ "hasDynamicHelp": false,
512
+ "hiddenAliases": [],
513
+ "id": "cli:artifacts:compare",
514
+ "pluginAlias": "@salesforce/plugin-release-management",
515
+ "pluginName": "@salesforce/plugin-release-management",
516
+ "pluginType": "core",
517
+ "strict": true,
518
+ "summary": "Look for breaking changes in artifacts (schemas and snapshots) from plugins. Must be run in CLI directory.",
519
+ "enableJsonFlag": true,
520
+ "isESM": true,
521
+ "relativePath": [
522
+ "lib",
523
+ "commands",
524
+ "cli",
525
+ "artifacts",
526
+ "compare.js"
527
+ ]
528
+ },
464
529
  "cli:install:test": {
465
530
  "aliases": [],
466
531
  "args": {},
@@ -1062,132 +1127,6 @@
1062
1127
  "inspect.js"
1063
1128
  ]
1064
1129
  },
1065
- "cli:artifacts:compare": {
1066
- "aliases": [],
1067
- "args": {},
1068
- "examples": [
1069
- "<%= config.bin %> <%= command.id %>"
1070
- ],
1071
- "flags": {
1072
- "json": {
1073
- "description": "Format output as json.",
1074
- "helpGroup": "GLOBAL",
1075
- "name": "json",
1076
- "allowNo": false,
1077
- "type": "boolean"
1078
- },
1079
- "flags-dir": {
1080
- "helpGroup": "GLOBAL",
1081
- "name": "flags-dir",
1082
- "summary": "Import flag values from a directory.",
1083
- "hasDynamicHelp": false,
1084
- "multiple": false,
1085
- "type": "option"
1086
- },
1087
- "plugin": {
1088
- "char": "p",
1089
- "name": "plugin",
1090
- "summary": "List of plugins to check for breaking changes.",
1091
- "hasDynamicHelp": false,
1092
- "multiple": true,
1093
- "type": "option"
1094
- },
1095
- "previous": {
1096
- "char": "r",
1097
- "name": "previous",
1098
- "summary": "Previous CLI version to compare against. Defaults to the last published version.",
1099
- "hasDynamicHelp": false,
1100
- "multiple": false,
1101
- "type": "option"
1102
- },
1103
- "current": {
1104
- "char": "c",
1105
- "name": "current",
1106
- "summary": "Current CLI version to compare against. Defaults to the version on the CLI in the current directory.",
1107
- "hasDynamicHelp": false,
1108
- "multiple": false,
1109
- "type": "option"
1110
- }
1111
- },
1112
- "hasDynamicHelp": false,
1113
- "hiddenAliases": [],
1114
- "id": "cli:artifacts:compare",
1115
- "pluginAlias": "@salesforce/plugin-release-management",
1116
- "pluginName": "@salesforce/plugin-release-management",
1117
- "pluginType": "core",
1118
- "strict": true,
1119
- "summary": "Look for breaking changes in artifacts (schemas and snapshots) from plugins. Must be run in CLI directory.",
1120
- "enableJsonFlag": true,
1121
- "isESM": true,
1122
- "relativePath": [
1123
- "lib",
1124
- "commands",
1125
- "cli",
1126
- "artifacts",
1127
- "compare.js"
1128
- ]
1129
- },
1130
- "github:check:closed": {
1131
- "aliases": [],
1132
- "args": {},
1133
- "description": "Description of a command.",
1134
- "examples": [
1135
- "<%= config.bin %> <%= command.id %> -o me@gus.com"
1136
- ],
1137
- "flags": {
1138
- "json": {
1139
- "description": "Format output as json.",
1140
- "helpGroup": "GLOBAL",
1141
- "name": "json",
1142
- "allowNo": false,
1143
- "type": "boolean"
1144
- },
1145
- "flags-dir": {
1146
- "helpGroup": "GLOBAL",
1147
- "name": "flags-dir",
1148
- "summary": "Import flag values from a directory.",
1149
- "hasDynamicHelp": false,
1150
- "multiple": false,
1151
- "type": "option"
1152
- },
1153
- "gus": {
1154
- "char": "o",
1155
- "name": "gus",
1156
- "noCacheDefault": true,
1157
- "required": true,
1158
- "summary": "Username/alias of your GUS org connection",
1159
- "hasDynamicHelp": true,
1160
- "multiple": false,
1161
- "type": "option"
1162
- },
1163
- "github-token": {
1164
- "env": "GITHUB_TOKEN",
1165
- "name": "github-token",
1166
- "required": true,
1167
- "summary": "Github token--store this in the environment as GITHUB_TOKEN",
1168
- "hasDynamicHelp": false,
1169
- "multiple": false,
1170
- "type": "option"
1171
- }
1172
- },
1173
- "hasDynamicHelp": true,
1174
- "hiddenAliases": [],
1175
- "id": "github:check:closed",
1176
- "pluginAlias": "@salesforce/plugin-release-management",
1177
- "pluginName": "@salesforce/plugin-release-management",
1178
- "pluginType": "core",
1179
- "strict": true,
1180
- "summary": "Show open Github issues with GUS WI",
1181
- "enableJsonFlag": true,
1182
- "isESM": true,
1183
- "relativePath": [
1184
- "lib",
1185
- "commands",
1186
- "github",
1187
- "check",
1188
- "closed.js"
1189
- ]
1190
- },
1191
1130
  "npm:dependencies:pin": {
1192
1131
  "aliases": [],
1193
1132
  "args": {},
@@ -1340,6 +1279,67 @@
1340
1279
  "release.js"
1341
1280
  ]
1342
1281
  },
1282
+ "github:check:closed": {
1283
+ "aliases": [],
1284
+ "args": {},
1285
+ "description": "Description of a command.",
1286
+ "examples": [
1287
+ "<%= config.bin %> <%= command.id %> -o me@gus.com"
1288
+ ],
1289
+ "flags": {
1290
+ "json": {
1291
+ "description": "Format output as json.",
1292
+ "helpGroup": "GLOBAL",
1293
+ "name": "json",
1294
+ "allowNo": false,
1295
+ "type": "boolean"
1296
+ },
1297
+ "flags-dir": {
1298
+ "helpGroup": "GLOBAL",
1299
+ "name": "flags-dir",
1300
+ "summary": "Import flag values from a directory.",
1301
+ "hasDynamicHelp": false,
1302
+ "multiple": false,
1303
+ "type": "option"
1304
+ },
1305
+ "gus": {
1306
+ "char": "o",
1307
+ "name": "gus",
1308
+ "noCacheDefault": true,
1309
+ "required": true,
1310
+ "summary": "Username/alias of your GUS org connection",
1311
+ "hasDynamicHelp": true,
1312
+ "multiple": false,
1313
+ "type": "option"
1314
+ },
1315
+ "github-token": {
1316
+ "env": "GITHUB_TOKEN",
1317
+ "name": "github-token",
1318
+ "required": true,
1319
+ "summary": "Github token--store this in the environment as GITHUB_TOKEN",
1320
+ "hasDynamicHelp": false,
1321
+ "multiple": false,
1322
+ "type": "option"
1323
+ }
1324
+ },
1325
+ "hasDynamicHelp": true,
1326
+ "hiddenAliases": [],
1327
+ "id": "github:check:closed",
1328
+ "pluginAlias": "@salesforce/plugin-release-management",
1329
+ "pluginName": "@salesforce/plugin-release-management",
1330
+ "pluginType": "core",
1331
+ "strict": true,
1332
+ "summary": "Show open Github issues with GUS WI",
1333
+ "enableJsonFlag": true,
1334
+ "isESM": true,
1335
+ "relativePath": [
1336
+ "lib",
1337
+ "commands",
1338
+ "github",
1339
+ "check",
1340
+ "closed.js"
1341
+ ]
1342
+ },
1343
1343
  "cli:install:jit:test": {
1344
1344
  "aliases": [],
1345
1345
  "args": {},
@@ -1391,5 +1391,5 @@
1391
1391
  ]
1392
1392
  }
1393
1393
  },
1394
- "version": "6.0.4"
1394
+ "version": "6.0.5"
1395
1395
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-release-management",
3
3
  "description": "A plugin for preparing and publishing npm packages",
4
- "version": "6.0.4",
4
+ "version": "6.0.5",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "type": "module",
@@ -36,11 +36,17 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@oclif/plugin-command-snapshot": "^5.3.34",
39
- "@salesforce/dev-scripts": "^11.0.4",
39
+ "@salesforce/dev-scripts": "^13.0.2",
40
40
  "@salesforce/ts-sinon": "^1.4.36",
41
+ "@types/chai": "^4.3.17",
42
+ "@types/mocha": "^10.0.10",
43
+ "@types/node": "^18",
41
44
  "@types/semver": "^7.8.0",
42
45
  "@types/shelljs": "^0.10.0",
46
+ "@types/sinon": "^10.0.20",
43
47
  "aws-sdk-client-mock": "^4.1.0",
48
+ "eslint": "^10.4.0",
49
+ "eslint-config-salesforce-typescript": "^6.0.0",
44
50
  "eslint-plugin-sf-plugin": "^1.20.33",
45
51
  "oclif": "^4.23.10",
46
52
  "ts-node": "^10.9.2",
@@ -199,6 +205,7 @@
199
205
  "src/**/*.ts",
200
206
  "test/**/*.ts",
201
207
  "messages/**",
208
+ "**/eslint.config.*",
202
209
  "**/.eslint*",
203
210
  "**/tsconfig.json"
204
211
  ],