@vibgrate/cli 1.0.61 → 1.0.63

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  baselineCommand,
3
3
  runBaseline
4
- } from "./chunk-DFHLPCMT.js";
5
- import "./chunk-RS22BX42.js";
4
+ } from "./chunk-OTM4RHGU.js";
5
+ import "./chunk-LDOI47RO.js";
6
6
  import "./chunk-TBE6NQ5Z.js";
7
7
  export {
8
8
  baselineCommand,
@@ -1098,7 +1098,9 @@ async function provisionDsn(keyId, secret, workspaceId, ingestHost) {
1098
1098
  const response = await fetch(url, {
1099
1099
  method: "POST",
1100
1100
  headers: {
1101
- "Content-Type": "application/json"
1101
+ "Content-Type": "application/json",
1102
+ "Connection": "close"
1103
+ // Prevent keep-alive delays on exit
1102
1104
  },
1103
1105
  body: JSON.stringify({ keyId, secret, workspaceId })
1104
1106
  });
@@ -1221,7 +1223,9 @@ var pushCommand = new Command2("push").description("Push scan results to Vibgrat
1221
1223
  headers: {
1222
1224
  "Content-Type": "application/json",
1223
1225
  "X-Vibgrate-Timestamp": timestamp,
1224
- "Authorization": `VibgrateDSN ${parsed.keyId}:${parsed.secret}`
1226
+ "Authorization": `VibgrateDSN ${parsed.keyId}:${parsed.secret}`,
1227
+ "Connection": "close"
1228
+ // Prevent keep-alive delays on exit
1225
1229
  },
1226
1230
  body
1227
1231
  });
@@ -1230,9 +1234,9 @@ var pushCommand = new Command2("push").description("Push scan results to Vibgrat
1230
1234
  throw new Error(`HTTP ${response.status}: ${text}`);
1231
1235
  }
1232
1236
  const result = await response.json();
1233
- console.log(chalk3.green("\u2714") + ` Uploaded successfully (${result.ingestId ?? "ok"})`);
1237
+ console.log(chalk3.green("\u2714") + ` Scan queued for processing (${result.ingestId ?? "ok"})`);
1234
1238
  console.log();
1235
- console.log(chalk3.cyan("We love feedback! Use the button shown on the report."));
1239
+ console.log(chalk3.dim("Processing continues in the background. Results available shortly."));
1236
1240
  console.log();
1237
1241
  if (result.ingestId) {
1238
1242
  const dashHost = host.includes("eu.") ? "dash.vibgrate.eu" : "dash.vibgrate.com";
@@ -8419,7 +8423,9 @@ async function autoPush(artifact, rootDir, opts) {
8419
8423
  headers: {
8420
8424
  "Content-Type": "application/json",
8421
8425
  "X-Vibgrate-Timestamp": timestamp,
8422
- "Authorization": `VibgrateDSN ${parsed.keyId}:${parsed.secret}`
8426
+ "Authorization": `VibgrateDSN ${parsed.keyId}:${parsed.secret}`,
8427
+ "Connection": "close"
8428
+ // Prevent keep-alive delays on exit
8423
8429
  },
8424
8430
  body
8425
8431
  });
@@ -8428,11 +8434,12 @@ async function autoPush(artifact, rootDir, opts) {
8428
8434
  throw new Error(`HTTP ${response.status}: ${text}`);
8429
8435
  }
8430
8436
  const result = await response.json();
8431
- console.log(chalk6.green("\u2714") + ` Uploaded successfully (${result.ingestId ?? "ok"})`);
8437
+ console.log(chalk6.green("\u2714") + ` Scan queued for processing (${result.ingestId ?? "ok"})`);
8432
8438
  if (result.ingestId) {
8433
8439
  const dashUrl = `https://dash.vibgrate.com/${parsed.workspaceId}/scan/${result.ingestId}`;
8434
8440
  const CLEAR_LINE = process.platform === "win32" ? "\x1B[0G\x1B[2K" : "";
8435
8441
  console.log("");
8442
+ console.log(CLEAR_LINE + chalk6.dim(" Processing continues in the background. Results available shortly."));
8436
8443
  console.log("");
8437
8444
  console.log(CLEAR_LINE + chalk6.cyan("\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
8438
8445
  console.log(CLEAR_LINE + chalk6.bold(" \u{1F4CA} View Scan Report"));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runScan
3
- } from "./chunk-RS22BX42.js";
3
+ } from "./chunk-LDOI47RO.js";
4
4
  import {
5
5
  writeJsonFile
6
6
  } from "./chunk-TBE6NQ5Z.js";
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  baselineCommand
4
- } from "./chunk-DFHLPCMT.js";
4
+ } from "./chunk-OTM4RHGU.js";
5
5
  import {
6
6
  VERSION,
7
7
  dsnCommand,
@@ -10,7 +10,7 @@ import {
10
10
  pushCommand,
11
11
  scanCommand,
12
12
  writeDefaultConfig
13
- } from "./chunk-RS22BX42.js";
13
+ } from "./chunk-LDOI47RO.js";
14
14
  import {
15
15
  ensureDir,
16
16
  pathExists,
@@ -39,7 +39,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
39
39
  console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
40
40
  }
41
41
  if (opts.baseline) {
42
- const { runBaseline } = await import("./baseline-OWCILWV6.js");
42
+ const { runBaseline } = await import("./baseline-R73UP7VO.js");
43
43
  await runBaseline(rootDir);
44
44
  }
45
45
  console.log("");
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  formatText,
6
6
  generateFindings,
7
7
  runScan
8
- } from "./chunk-RS22BX42.js";
8
+ } from "./chunk-LDOI47RO.js";
9
9
  import "./chunk-TBE6NQ5Z.js";
10
10
  export {
11
11
  computeDriftScore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibgrate/cli",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "CLI for measuring upgrade drift across Node, .NET, Python & Java projects",
5
5
  "type": "module",
6
6
  "bin": {