Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

chore(release): 0.10.1 (#468)

KageBinarye0dfda702572
diff --git a/ix-cli/package-lock.json b/ix-cli/package-lock.json
index e73fccc4..00b3315d 100644
--- a/ix-cli/package-lock.json
+++ b/ix-cli/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@ix/cli",
- "version": "0.9.3",
+ "version": "0.10.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@ix/cli",
- "version": "0.9.3",
+ "version": "0.10.1",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.30.0",
"chalk": "^6.0.0",
diff --git a/ix-cli/package.json b/ix-cli/package.json
index 4375b30c..5cc3bdb1 100644
--- a/ix-cli/package.json
+++ b/ix-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@ix/cli",
- "version": "0.9.3",
+ "version": "0.10.1",
"type": "module",
"description": "Ix Memory — Persistent Memory for LLM Systems",
"main": "dist/index.js",
diff --git a/ix-cli/src/cli/__tests__/watch-dedup.test.ts b/ix-cli/src/cli/__tests__/watch-dedup.test.ts
index 861da937..48f9ef17 100644
--- a/ix-cli/src/cli/__tests__/watch-dedup.test.ts
+++ b/ix-cli/src/cli/__tests__/watch-dedup.test.ts
@@ -98,12 +98,20 @@ describe("canonical watch refresh", () => {
it("starts both the tsx source CLI and a normal built CLI child", () => {
const packageRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../..");
+ // Read, never hardcode. The literal that used to sit here made every
+ // `chore(release)` bump fail this test, which is about whether the child
+ // STARTS -- the number it prints is incidental. The same value seeds
+ // .version-check.json so the update notice cannot appear on stdout and be
+ // mistaken for the version.
+ const version = JSON.parse(
+ fs.readFileSync(path.join(packageRoot, "package.json"), "utf8"),
+ ).version as string;
const tempRoot = fs.mkdtempSync(path.join(packageRoot, ".watch-child-runtime-"));
const ixHome = path.join(tempRoot, "ix-home");
fs.mkdirSync(ixHome);
fs.writeFileSync(
path.join(ixHome, ".version-check.json"),
- JSON.stringify({ latest: "0.9.3", checkedAt: Date.now() }),
+ JSON.stringify({ latest: version, checkedAt: Date.now() }),
);
const env = { ...process.env, IX_HOME: ixHome, NO_COLOR: "1" };
@@ -115,7 +123,7 @@ describe("canonical watch refresh", () => {
{ cwd: packageRoot, env, encoding: "utf8" },
);
expect(source.status, source.stderr).toBe(0);
- expect(source.stdout.trim()).toBe("0.9.3");
+ expect(source.stdout.trim()).toBe(version);
expect(source.stderr).not.toContain("Debugger listening");
const outDir = path.join(tempRoot, "dist");