Skip to content

Commit 73a6174

Browse files
centdixclaude
andauthored
fix: move api-contract to devDependencies to unbreak global install (#225)
`@webmux/api-contract` was listed as a runtime dependency with `workspace:*`, which fails to resolve when users run `bun install -g webmux@latest` outside the monorepo. The package is already inlined into the bundled outputs by `bun build`, so it only needs to be a devDependency for local workspace resolution. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ef76e92 commit 73a6174

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
"frontend",
2525
"packages/*"
2626
],
27-
"dependencies": {
28-
"@webmux/api-contract": "workspace:*"
29-
},
27+
"dependencies": {},
3028
"scripts": {
3129
"dev": "bash dev.sh",
3230
"start": "bun bin/webmux.js",
@@ -41,6 +39,7 @@
4139
"frontend/dist/"
4240
],
4341
"devDependencies": {
42+
"@webmux/api-contract": "workspace:*",
4443
"@clack/prompts": "^1.1.0",
4544
"@sveltejs/vite-plugin-svelte": "^5.0.0",
4645
"@tailwindcss/vite": "^4.2.0",

0 commit comments

Comments
 (0)