get-tbd 0.2.1 → 0.2.2
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/dist/bin.mjs +14 -7
- package/dist/bin.mjs.map +1 -1
- package/dist/cli.mjs +14 -7
- package/dist/cli.mjs.map +1 -1
- package/dist/docs/guidelines/bun-monorepo-patterns.md +65 -66
- package/dist/docs/guidelines/cli-agent-skill-patterns.md +314 -158
- package/dist/docs/guidelines/common-doc-guidelines.md +2 -2
- package/dist/docs/guidelines/convex-limits-best-practices.md +39 -39
- package/dist/docs/guidelines/convex-rules.md +13 -13
- package/dist/docs/guidelines/electron-app-development-patterns.md +18 -18
- package/dist/docs/guidelines/general-comment-rules.md +1 -1
- package/dist/docs/guidelines/general-tdd-guidelines.md +4 -4
- package/dist/docs/guidelines/golden-testing-guidelines.md +9 -9
- package/dist/docs/guidelines/pnpm-monorepo-patterns.md +49 -49
- package/dist/docs/guidelines/python-cli-patterns.md +1 -1
- package/dist/docs/guidelines/python-modern-guidelines.md +4 -4
- package/dist/docs/guidelines/release-notes-guidelines.md +18 -2
- package/dist/docs/guidelines/supply-chain-hardening.md +84 -29
- package/dist/docs/guidelines/tbd-sync-troubleshooting.md +3 -3
- package/dist/docs/guidelines/typescript-cli-tool-rules.md +17 -17
- package/dist/docs/guidelines/typescript-code-coverage.md +5 -5
- package/dist/docs/guidelines/typescript-rules.md +3 -3
- package/dist/docs/guidelines/typescript-yaml-handling-rules.md +3 -3
- package/dist/docs/tbd-design.md +40 -40
- package/dist/docs/tbd-docs.md +1 -1
- package/dist/docs/tbd-prime.md +3 -3
- package/dist/index.mjs +1 -1
- package/dist/{src-CtZIHxYM.mjs → src-BpvcrLnq.mjs} +2 -2
- package/dist/{src-CtZIHxYM.mjs.map → src-BpvcrLnq.mjs.map} +1 -1
- package/dist/tbd +14 -7
- package/package.json +1 -1
package/dist/bin.mjs
CHANGED
|
@@ -14104,7 +14104,7 @@ function serializeIssue(issue) {
|
|
|
14104
14104
|
* Package version, derived from git at build time.
|
|
14105
14105
|
* Format: X.Y.Z for releases, X.Y.Z-dev.N.hash for dev builds.
|
|
14106
14106
|
*/
|
|
14107
|
-
const VERSION$1 = "0.2.
|
|
14107
|
+
const VERSION$1 = "0.2.2";
|
|
14108
14108
|
|
|
14109
14109
|
//#endregion
|
|
14110
14110
|
//#region src/cli/lib/version.ts
|
|
@@ -110500,10 +110500,16 @@ var SetupAutoHandler = class extends BaseCommand {
|
|
|
110500
110500
|
const entries = await readdir(scriptsDir, { withFileTypes: true });
|
|
110501
110501
|
for (const entry of entries) if (entry.isFile()) {
|
|
110502
110502
|
const filename = entry.name;
|
|
110503
|
-
if (LEGACY_TBD_SCRIPTS.includes(filename))
|
|
110504
|
-
|
|
110505
|
-
|
|
110506
|
-
|
|
110503
|
+
if (LEGACY_TBD_SCRIPTS.includes(filename)) {
|
|
110504
|
+
if (this.ctx.dryRun) {
|
|
110505
|
+
scriptsRemoved.push(filename);
|
|
110506
|
+
continue;
|
|
110507
|
+
}
|
|
110508
|
+
try {
|
|
110509
|
+
await rm(join(scriptsDir, filename));
|
|
110510
|
+
scriptsRemoved.push(filename);
|
|
110511
|
+
} catch {}
|
|
110512
|
+
}
|
|
110507
110513
|
}
|
|
110508
110514
|
} catch {}
|
|
110509
110515
|
return scriptsRemoved;
|
|
@@ -110547,7 +110553,7 @@ var SetupAutoHandler = class extends BaseCommand {
|
|
|
110547
110553
|
modified = true;
|
|
110548
110554
|
}
|
|
110549
110555
|
}
|
|
110550
|
-
if (modified) {
|
|
110556
|
+
if (modified && !this.ctx.dryRun) {
|
|
110551
110557
|
if (Object.keys(hooks).length === 0) delete settings.hooks;
|
|
110552
110558
|
await writeFile(projectSettingsPath, JSON.stringify(settings, null, 2) + "\n");
|
|
110553
110559
|
}
|
|
@@ -110565,7 +110571,8 @@ var SetupAutoHandler = class extends BaseCommand {
|
|
|
110565
110571
|
const parts = [];
|
|
110566
110572
|
if (scriptsRemoved.length > 0) parts.push(`${scriptsRemoved.length} script(s)`);
|
|
110567
110573
|
if (hooksRemoved > 0) parts.push(`${hooksRemoved} hook(s)`);
|
|
110568
|
-
|
|
110574
|
+
if (this.ctx.dryRun) this.output.dryRun(`Would clean up legacy ${parts.join(" and ")}`);
|
|
110575
|
+
else console.log(colors.dim(`Cleaned up legacy ${parts.join(" and ")}`));
|
|
110569
110576
|
}
|
|
110570
110577
|
await this.syncDocs(cwd);
|
|
110571
110578
|
const targeting = this.resolveTargeting();
|