@bensandee/tooling 0.84.2 → 0.84.3

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/dist/bin.mjs +10 -5
  2. package/package.json +1 -1
package/dist/bin.mjs CHANGED
@@ -269,7 +269,7 @@ function loadEnvFileForBin(rawArgs, bin, io = processIo) {
269
269
  */
270
270
  const envFileLoad = loadEnvFileForBin(process.argv.slice(2), {
271
271
  name: "bst",
272
- version: "0.84.2"
272
+ version: "0.84.3"
273
273
  });
274
274
  //#endregion
275
275
  //#region ../cli-kit/src/logger.ts
@@ -7163,7 +7163,7 @@ function buildManagedDevDeps(ctx) {
7163
7163
  const devDeps = { ...rootDevDeps(ctx.config) };
7164
7164
  if (!isMonorepo) Object.assign(devDeps, perPackageDevDeps(ctx.config));
7165
7165
  if (ctx.config.stack !== "none" || ctx.config.ci === "forgejo") devDeps["@bensandee/config"] = isWorkspacePackage(ctx, "@bensandee/config") ? "workspace:*" : "0.14.5";
7166
- if (!isWorkspacePackage(ctx, "@bensandee/tooling")) devDeps["@bensandee/tooling"] = "0.84.2";
7166
+ if (!isWorkspacePackage(ctx, "@bensandee/tooling")) devDeps["@bensandee/tooling"] = "0.84.3";
7167
7167
  if (ctx.config.useEslintPlugin && ctx.config.stack !== "none") devDeps["@bensandee/eslint-plugin"] = isWorkspacePackage(ctx, "@bensandee/eslint-plugin") ? "workspace:*" : "0.15.2";
7168
7168
  if (ctx.config.formatter === "oxfmt") devDeps["oxfmt"] = {
7169
7169
  "@changesets/cli": "3.0.3",
@@ -12696,7 +12696,7 @@ function reportFailures(failed, command) {
12696
12696
  function generateMigratePrompt(results, config, detected) {
12697
12697
  const sections = [];
12698
12698
  const timestamp = (/* @__PURE__ */ new Date()).toISOString();
12699
- sections.push(`# Migration Prompt\n\n_Generated by \`@bensandee/tooling@0.84.2 repo:sync\` on ${timestamp}_\n`);
12699
+ sections.push(`# Migration Prompt\n\n_Generated by \`@bensandee/tooling@0.84.3 repo:sync\` on ${timestamp}_\n`);
12700
12700
  const changed = results.filter((r) => r.action === "created" || r.action === "updated" || r.action === "archived");
12701
12701
  if (changed.length > 0) {
12702
12702
  const items = changed.map((r) => {
@@ -26407,6 +26407,11 @@ function checkPair(exec, pair, config, opts) {
26407
26407
  * unquoted too) -- with two deliberate deviations: an empty value is allowed (a label alone
26408
26408
  * on its line, link on the next); no `i` flag (no lowercase `implements:` in this repo). */
26409
26409
  const IMPLEMENTS_LINE_RE = /^(?:(>[ \t]*)|[ \t]*)(?:\*\*)?Implements(?:\*\*)?:.*$/m;
26410
+ /** The fallback link line for a plan written in another format, which names its spec with a
26411
+ * `Spec:` label (`**Spec:** [...]` in the superpowers plan header) and no `Implements:` line.
26412
+ * Same shape as {@link IMPLEMENTS_LINE_RE}; read only when that one does not match, so a plan
26413
+ * carrying both is linked by its `Implements:` line alone. */
26414
+ const SPEC_LINE_RE = /^(?:(>[ \t]*)|[ \t]*)(?:\*\*)?Spec(?:\*\*)?:.*$/m;
26410
26415
  /**
26411
26416
  * The spec link(s) on a plan's `Implements:` block, if any -- not every relative link in the
26412
26417
  * body. A plan's prose routinely links other documents (a superseded spec, a design doc it
@@ -26420,7 +26425,7 @@ const IMPLEMENTS_LINE_RE = /^(?:(>[ \t]*)|[ \t]*)(?:\*\*)?Implements(?:\*\*)?:.*
26420
26425
  */
26421
26426
  function implementsLinkTargets(body, fileDir) {
26422
26427
  const scannable = stripCode(body);
26423
- const match = IMPLEMENTS_LINE_RE.exec(scannable);
26428
+ const match = IMPLEMENTS_LINE_RE.exec(scannable) ?? SPEC_LINE_RE.exec(scannable);
26424
26429
  if (match === null) return /* @__PURE__ */ new Set();
26425
26430
  const { lines: continuation } = continuationLines(scannable, match.index + match[0].length, match[1] !== void 0);
26426
26431
  const block = [match[0], ...continuation].join("\n");
@@ -31257,7 +31262,7 @@ setForgejoLogger(log$1);
31257
31262
  * `local <sha>[-dirty]` otherwise -- so an artifact built from the working tree
31258
31263
  * can't pass itself off as the published release whose version it carries.
31259
31264
  */
31260
- const displayVersion = "0.84.2";
31265
+ const displayVersion = "0.84.3";
31261
31266
  /**
31262
31267
  * The registered `bst` subcommand map, exported so both the JSON entry path below (resolving a
31263
31268
  * command name before citty parses anything) and the coverage test (enumerating every
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bensandee/tooling",
3
- "version": "0.84.2",
3
+ "version": "0.84.3",
4
4
  "description": "CLI tool to bootstrap and maintain standardized TypeScript project tooling",
5
5
  "license": "MIT",
6
6
  "repository": {