@bensandee/tooling 0.104.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 +87 -26
- package/bin/bst.mjs +12 -3
- package/dist/bin.mjs +1318 -347
- package/package.json +4 -4
- package/tooling.schema.json +50 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bensandee/tooling",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.106.0",
|
|
4
4
|
"description": "CLI tool to bootstrap and maintain standardized TypeScript project tooling",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"@types/node": "24.19.2",
|
|
53
53
|
"@types/picomatch": "4.0.3",
|
|
54
54
|
"commit-and-tag-version": "13.3.0",
|
|
55
|
-
"modern-web-guidance": "0.0.
|
|
56
|
-
"oxfmt": "0.
|
|
55
|
+
"modern-web-guidance": "0.0.196",
|
|
56
|
+
"oxfmt": "0.75.0",
|
|
57
57
|
"prettier": "3.9.10",
|
|
58
58
|
"release-it": "21.1.1",
|
|
59
|
-
"tsdown": "0.23.
|
|
59
|
+
"tsdown": "0.23.4"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "tsdown",
|
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"
|
|
@@ -644,11 +686,6 @@
|
|
|
644
686
|
"type": "string",
|
|
645
687
|
"pattern": "^(?!refs\\/)(?!.*\\/\\/)(?!.*\\.\\.)(?!.*\\/$)(?!.*\\.lock$)[A-Za-z0-9][A-Za-z0-9._/-]*$"
|
|
646
688
|
},
|
|
647
|
-
"trustedRunner": {
|
|
648
|
-
"description": "Self-hosted runner label for default-branch CI jobs: they run on this label while pull request jobs stay on 'ubuntu-latest'. Only a workflow edit moves a job, so the runner must be scoped so no other repository can name this label. A job aimed at a label no runner serves waits forever, so set this key only once the runner exists.",
|
|
649
|
-
"type": "string",
|
|
650
|
-
"pattern": "^(?!ubuntu-latest$)[A-Za-z0-9][A-Za-z0-9._-]*$"
|
|
651
|
-
},
|
|
652
689
|
"unmanagedDevDependencies": {
|
|
653
690
|
"description": "devDependency names repo:sync must never add or re-pin. Escape hatch for holding a tooling-managed dep (oxlint, vitest, knip, ...) at a deliberately off-canonical version; without it, repo:sync raises any managed devDep whose version has drifted below the canonical pin.",
|
|
654
691
|
"type": "array",
|
|
@@ -873,6 +910,10 @@
|
|
|
873
910
|
"type": "string",
|
|
874
911
|
"pattern": "^[\\w:*?.\\-[\\]{}!,]+$"
|
|
875
912
|
}
|
|
913
|
+
},
|
|
914
|
+
"localVerify": {
|
|
915
|
+
"description": "Keep an agent run's check gate in the agent's own sandboxed verify container instead of measuring it on this repo's forge CI. `true` is the local verify; leaving the key out is the other answer, so the agent waits for the CI run of the commit it pushed and reads its `checks:run` job log, falling back to the local verify whenever CI cannot stand in. Read from the repo's DEFAULT BRANCH only, never off the pull request's own tree, so a pull request cannot choose the gate that measures it. Like every other `agent.*` key, this has no effect unless `agent.enabled` is true.",
|
|
916
|
+
"type": "boolean"
|
|
876
917
|
}
|
|
877
918
|
},
|
|
878
919
|
"additionalProperties": false
|