@bensandee/tooling 0.105.0 → 0.106.0
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.
- package/README.md +63 -11
- package/dist/bin.mjs +972 -132
- package/package.json +1 -1
- package/tooling.schema.json +46 -4
package/package.json
CHANGED
package/tooling.schema.json
CHANGED
|
@@ -216,15 +216,26 @@
|
|
|
216
216
|
}
|
|
217
217
|
},
|
|
218
218
|
"file": {
|
|
219
|
-
"
|
|
220
|
-
"
|
|
219
|
+
"description": "Path to the single asset file to upload, relative to the project root. Exactly one of file and files",
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"files": {
|
|
223
|
+
"description": "Glob patterns; every match is uploaded under its basename, after the entry's build runs. Exactly one of file and files",
|
|
224
|
+
"minItems": 1,
|
|
225
|
+
"type": "array",
|
|
226
|
+
"items": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
}
|
|
221
229
|
},
|
|
222
230
|
"name": {
|
|
223
|
-
"description": "Asset name in the release (defaults to the file's basename)",
|
|
231
|
+
"description": "Asset name in the release (defaults to the file's basename; file only)",
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"package": {
|
|
235
|
+
"description": "Workspace package this asset belongs to: the build, its version stamp and its uploads run once per release of that package. In a monorepo, a releaseAssets entry must name one",
|
|
224
236
|
"type": "string"
|
|
225
237
|
}
|
|
226
238
|
},
|
|
227
|
-
"required": ["file"],
|
|
228
239
|
"additionalProperties": false
|
|
229
240
|
}
|
|
230
241
|
},
|
|
@@ -246,12 +257,43 @@
|
|
|
246
257
|
"suffix": {
|
|
247
258
|
"description": "Literal string (never a pattern) the target line must end with (default: none)",
|
|
248
259
|
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
"package": {
|
|
262
|
+
"description": "Workspace package whose release version this stamp carries; the stamp runs with each release of that package. Omitted: the root package's version, as before",
|
|
263
|
+
"type": "string"
|
|
249
264
|
}
|
|
250
265
|
},
|
|
251
266
|
"required": ["file", "prefix"],
|
|
252
267
|
"additionalProperties": false
|
|
253
268
|
}
|
|
254
269
|
},
|
|
270
|
+
"snapshot": {
|
|
271
|
+
"description": "Snapshot channel: a push to the default branch that cuts no real release gets a prerelease <version>-<preid>.<build> per listed package, built with the release-assets machinery and uploaded as a prerelease, pruning all but the newest `keep` per package.",
|
|
272
|
+
"type": "object",
|
|
273
|
+
"properties": {
|
|
274
|
+
"preid": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"pattern": "^[a-z][a-z0-9]*$",
|
|
277
|
+
"description": "Prerelease identifier the snapshot versions carry, e.g. `alpha` in `1.2.6-alpha.42`"
|
|
278
|
+
},
|
|
279
|
+
"keep": {
|
|
280
|
+
"description": "How many snapshot releases to keep per package before the oldest are pruned (default: 3)",
|
|
281
|
+
"type": "integer",
|
|
282
|
+
"minimum": 1,
|
|
283
|
+
"maximum": 9007199254740991
|
|
284
|
+
},
|
|
285
|
+
"packages": {
|
|
286
|
+
"description": "Workspace package names to snapshot. Required in a monorepo; in a single-package repo the root package is the default",
|
|
287
|
+
"minItems": 1,
|
|
288
|
+
"type": "array",
|
|
289
|
+
"items": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": ["preid"],
|
|
295
|
+
"additionalProperties": false
|
|
296
|
+
},
|
|
255
297
|
"postReleaseHook": {
|
|
256
298
|
"description": "Override the post-release hook command (default: POST to POST_RELEASE_HOOK_URL with HMAC-SHA256 auth)",
|
|
257
299
|
"type": "string"
|