protovibe 1.1.2 → 1.1.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/index.mjs +6 -4
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -648,14 +648,16 @@ function App({ terminalWidth: terminalWidth2, version }) {
648
648
  if (error) {
649
649
  return /* @__PURE__ */ React4.createElement(Box3, { flexDirection: "column", paddingTop: 1 }, /* @__PURE__ */ React4.createElement(Logo, { terminalWidth: terminalWidth2 }), /* @__PURE__ */ React4.createElement(InfoBox, { version }), /* @__PURE__ */ React4.createElement(Box3, { marginTop: 1 }, /* @__PURE__ */ React4.createElement(Text4, { color: "red" }, "\u2717 ", error)));
650
650
  }
651
- return /* @__PURE__ */ React4.createElement(Box3, { flexDirection: "column", paddingTop: 1 }, /* @__PURE__ */ React4.createElement(Logo, { terminalWidth: terminalWidth2 }), /* @__PURE__ */ React4.createElement(InfoBox, null), (stage === "auth-done" || stage === "claude-check" || stage === "scaffold") && /* @__PURE__ */ React4.createElement(Box3, { marginTop: 1 }, /* @__PURE__ */ React4.createElement(Text4, { color: "#7B2FBE" }, "\u2713 "), /* @__PURE__ */ React4.createElement(Text4, { color: "white" }, "Logged in to Claude Code")));
651
+ return /* @__PURE__ */ React4.createElement(Box3, { flexDirection: "column", paddingTop: 1 }, /* @__PURE__ */ React4.createElement(Logo, { terminalWidth: terminalWidth2 }), /* @__PURE__ */ React4.createElement(InfoBox, { version }), (stage === "auth-done" || stage === "claude-check" || stage === "scaffold") && /* @__PURE__ */ React4.createElement(Box3, { marginTop: 1 }, /* @__PURE__ */ React4.createElement(Text4, { color: "#7B2FBE" }, "\u2713 "), /* @__PURE__ */ React4.createElement(Text4, { color: "white" }, "Logged in to Claude Code")));
652
652
  }
653
653
 
654
654
  // src/index.tsx
655
- import { createRequire } from "module";
656
655
  import { execSync as execSync2, spawnSync as spawnSync2 } from "child_process";
657
- var require2 = createRequire(import.meta.url);
658
- var pkg = require2("../package.json");
656
+ import { readFileSync as readFileSync2 } from "fs";
657
+ import { fileURLToPath } from "url";
658
+ import { dirname as dirname2, join as join3 } from "path";
659
+ var __dirname = dirname2(fileURLToPath(import.meta.url));
660
+ var pkg = JSON.parse(readFileSync2(join3(__dirname, "..", "package.json"), "utf-8"));
659
661
  function isNewerVersion(current, latest) {
660
662
  const parse = (v) => v.split(".").map(Number);
661
663
  const [cMaj, cMin, cPatch] = parse(current);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protovibe",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A branded CLI platform layer on top of Claude Code",
5
5
  "author": "razorgojo",
6
6
  "license": "MIT",