|
|
@@ -26,9 +26,9 @@ pnpm config set store-dir /workspace/.pnpm-store
|
|
|
pnpm install turbo --global
|
|
|
|
|
|
# Install typescript-language-server for Claude Code LSP plugin
|
|
|
-# typescript-language-server uses the workspace's node_modules/typescript at runtime;
|
|
|
-# the global typescript here is only a fallback for environments where the workspace isn't bootstrapped yet.
|
|
|
-pnpm install --global typescript-language-server typescript
|
|
|
+# Use `npm -g` (not `pnpm --global`) so the binary lands in nvm's node bin, which is on the default PATH.
|
|
|
+# pnpm's global bin requires PNPM_HOME from ~/.bashrc, which the Claude Code extension's shell doesn't source.
|
|
|
+npm install -g typescript-language-server typescript
|
|
|
|
|
|
# Install dependencies
|
|
|
turbo run bootstrap
|