viberails 0.6.2 → 0.6.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.
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -3364,21 +3364,21 @@ async function initInteractive(projectRoot, configPath, options) {
|
|
|
3364
3364
|
return;
|
|
3365
3365
|
}
|
|
3366
3366
|
const ws = clack8.spinner();
|
|
3367
|
-
ws.start("Writing configuration
|
|
3367
|
+
ws.start("Writing configuration...");
|
|
3368
3368
|
const compacted = compactConfig3(config);
|
|
3369
3369
|
fs19.writeFileSync(configPath, `${JSON.stringify(compacted, null, 2)}
|
|
3370
3370
|
`);
|
|
3371
3371
|
writeGeneratedFiles(projectRoot, config, scanResult);
|
|
3372
3372
|
updateGitignore(projectRoot);
|
|
3373
|
-
setupSelectedIntegrations(projectRoot, integrations, {
|
|
3374
|
-
linter: rootPkgStack?.linter?.split("@")[0],
|
|
3375
|
-
packageManager: rootPkgStack?.packageManager?.split("@")[0]
|
|
3376
|
-
});
|
|
3377
3373
|
ws.stop("Configuration written");
|
|
3378
3374
|
const ok = chalk12.green("\u2713");
|
|
3379
3375
|
clack8.log.step(`${ok} ${path19.basename(configPath)}`);
|
|
3380
3376
|
clack8.log.step(`${ok} .viberails/context.md`);
|
|
3381
3377
|
clack8.log.step(`${ok} .viberails/scan-result.json`);
|
|
3378
|
+
setupSelectedIntegrations(projectRoot, integrations, {
|
|
3379
|
+
linter: rootPkgStack?.linter?.split("@")[0],
|
|
3380
|
+
packageManager: rootPkgStack?.packageManager?.split("@")[0]
|
|
3381
|
+
});
|
|
3382
3382
|
clack8.outro(
|
|
3383
3383
|
`Done! Next: review viberails.config.json, then run viberails check
|
|
3384
3384
|
${chalk12.dim("Tip: use")} ${chalk12.cyan("viberails check --enforce")} ${chalk12.dim("in CI to block PRs on violations.")}`
|
|
@@ -3494,7 +3494,7 @@ ${chalk13.bold("Synced:")}`);
|
|
|
3494
3494
|
}
|
|
3495
3495
|
|
|
3496
3496
|
// src/index.ts
|
|
3497
|
-
var VERSION = "0.6.
|
|
3497
|
+
var VERSION = "0.6.3";
|
|
3498
3498
|
var program = new Command();
|
|
3499
3499
|
program.name("viberails").description("Guardrails for vibe coding").version(VERSION);
|
|
3500
3500
|
program.command("init", { isDefault: true }).description("Scan your project and set up enforcement guardrails").option("-y, --yes", "Non-interactive mode (use defaults, high-confidence only)").option("-f, --force", "Re-initialize, replacing existing config").action(async (options) => {
|