claude-multi 0.8.0 → 0.8.1

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/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.1] - 2026-06-03
9
+
10
+ ### Fixed
11
+ - **CLI build output moved from `dist/` to `build/`**: The CLI and Astro docs builds both output to `dist/`, causing the published npm package to contain the docs site HTML instead of `cli.js`. Global installs would fail with `Module not found ... dist/cli.js`. The CLI now builds to `build/cli.js`, eliminating the collision.
12
+ - Updated `bin/claude-multi.js` to resolve `../build/cli.js` instead of `../dist/cli.js`.
13
+ - Updated CI workflows (`ci.yml`, `publish.yml`) to verify `build/cli.js` instead of `dist/cli.js`.
14
+
15
+ ### Blog
16
+ - Blog post: [v0.8.1: Fixing the Broken npm Package](https://claude-multi.hmziq.xyz/blog/v081-fixing-the-broken-npm-package/)
17
+
8
18
  ## [0.8.0] - 2026-06-01
9
19
 
10
20
  ### Changed
@@ -8,7 +8,7 @@ while [ -L "$SCRIPT" ]; do
8
8
  esac
9
9
  done
10
10
  DIR=$(cd "$(dirname "$SCRIPT")" && pwd)
11
- CLI="$DIR/../dist/cli.js"
11
+ CLI="$DIR/../build/cli.js"
12
12
 
13
13
  if command -v bun >/dev/null 2>&1; then
14
14
  exec bun "$CLI" "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-multi",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Manage multiple Claude Code instances with different aliases and configurations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,11 +8,11 @@
8
8
  },
9
9
  "files": [
10
10
  "bin/",
11
- "dist/cli.js",
11
+ "build/cli.js",
12
12
  "CHANGELOG.md"
13
13
  ],
14
14
  "scripts": {
15
- "build": "bun build src/cli.ts --outdir dist --target node --format esm && chmod +x bin/claude-multi.js",
15
+ "build": "bun build src/cli.ts --outdir build --target node --format esm && chmod +x bin/claude-multi.js",
16
16
  "dev": "bun run src/cli.ts",
17
17
  "test": "bun test",
18
18
  "prepublishOnly": "bun run build",
File without changes