@metasession.co/devaudit-cli 0.3.3 → 0.3.4
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/index.js
CHANGED
|
@@ -56,7 +56,7 @@ function emitJsonResult(payload) {
|
|
|
56
56
|
|
|
57
57
|
// package.json
|
|
58
58
|
var package_default = {
|
|
59
|
-
version: "0.3.
|
|
59
|
+
version: "0.3.4"};
|
|
60
60
|
|
|
61
61
|
// src/lib/version.ts
|
|
62
62
|
var CLI_VERSION = package_default.version;
|
|
@@ -2479,6 +2479,23 @@ async function syncSdlcEngine(ctx) {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
return { name: "SDLC CLI engine", filesSynced: count, message: "synced to SDLC/bin/ + SDLC/blueprints/" };
|
|
2481
2481
|
}
|
|
2482
|
+
async function syncWorkflows(ctx) {
|
|
2483
|
+
const src = join(ctx.installerRoot, "sdlc", "files", "_common", "workflows");
|
|
2484
|
+
if (!await isDir(src)) {
|
|
2485
|
+
return { name: "Workflows", filesSynced: 0, skipped: true };
|
|
2486
|
+
}
|
|
2487
|
+
const dst = join(ctx.projectPath, ".devin", "workflows");
|
|
2488
|
+
await ensureDir(dst);
|
|
2489
|
+
const files = await listFiles(src, (n) => n.endsWith(".md"));
|
|
2490
|
+
for (const file of files) {
|
|
2491
|
+
await copyFile(file, join(dst, fileBasename(file)));
|
|
2492
|
+
}
|
|
2493
|
+
return {
|
|
2494
|
+
name: "Workflows",
|
|
2495
|
+
filesSynced: files.length,
|
|
2496
|
+
message: files.length > 0 ? `synced to .devin/workflows/` : "no workflow files found"
|
|
2497
|
+
};
|
|
2498
|
+
}
|
|
2482
2499
|
var TIER_1_DOCS = ["Test_Policy.md", "Test_Strategy.md", "Test_Architecture.md"];
|
|
2483
2500
|
async function runValidation(projectPath) {
|
|
2484
2501
|
const warnings = [];
|
|
@@ -2525,7 +2542,8 @@ var SECTION_RUNNERS = [
|
|
|
2525
2542
|
{ key: "2e-iii", run: syncEvidenceHelper },
|
|
2526
2543
|
{ key: "2f", run: syncCiTemplates },
|
|
2527
2544
|
{ key: "2g", run: syncGitignore },
|
|
2528
|
-
{ key: "2h", run: syncSdlcEngine }
|
|
2545
|
+
{ key: "2h", run: syncSdlcEngine },
|
|
2546
|
+
{ key: "2i", run: syncWorkflows }
|
|
2529
2547
|
];
|
|
2530
2548
|
async function syncProject(projectPath) {
|
|
2531
2549
|
const absPath = resolve(projectPath);
|