Skip to content

Commit ab2922b

Browse files
PaulJPhilpclaude
andcommitted
fix: resolve Effect version mismatch warnings in published ep-cli
Bump @effect/cluster to 0.56.4 and @effect/rpc to 0.73.2 to align with effect@3.19.19, eliminating duplicate-version warnings on every command. Also fix cli-ux test to use a fake API URL so it reliably tests the error path. Published as v0.3.2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c1fc23f commit ab2922b

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

packages/ep-cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ Expected when non-TTY or when `NO_COLOR`, `CI`, or `TERM=dumb` is set.
626626
This document tracks behavior for:
627627

628628
- CLI name: `ep`
629-
- Version: `0.3.1`
629+
- Version: `0.3.2`
630630

631631
When command surface or behavior changes, update this file first, then derivative docs.
632632

packages/ep-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@effect-patterns/ep-cli",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "End-user CLI for Effect Patterns Hub",
55
"private": false,
66
"type": "module",
@@ -22,9 +22,9 @@
2222
"@effect-patterns/toolkit": "workspace:*",
2323
"@effect/cli": "0.73.2",
2424
"@effect/platform": "0.94.5",
25-
"@effect/cluster": "0.56.1",
25+
"@effect/cluster": "0.56.4",
2626
"@effect/platform-node": "0.104.1",
27-
"@effect/rpc": "0.73.0",
27+
"@effect/rpc": "0.73.2",
2828
"@effect/sql": "0.49.0",
2929
"effect": "3.19.19",
3030
"effect-cli-tui": "^2.2.0",

packages/ep-cli/src/__tests__/cli-ux.test.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@ describe("ep-cli error UX and nudges", () => {
3535
});
3636

3737
it("returns actionable API connectivity error with docs link", () => {
38-
const result = runCli(["search", "retry"]);
38+
const result = spawnSync("bun", [cliEntry, "search", "retry"], {
39+
cwd: packageRoot,
40+
env: {
41+
...process.env,
42+
NO_COLOR: "1",
43+
EFFECT_PATTERNS_API_URL: "http://localhost:1",
44+
},
45+
encoding: "utf8",
46+
});
3947
expect(result.status).toBe(1);
4048
expect(result.stderr).toContain(docsUrl);
4149
});

0 commit comments

Comments
 (0)