Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: lsp for pnpm 0.10.10 (#5104)

Dylan Madisetti08c6fb966020
diff --git a/scripts/buildlsp.sh b/scripts/buildlsp.sh
index 28ecd230be..3de447ff49 100755
--- a/scripts/buildlsp.sh
+++ b/scripts/buildlsp.sh
@@ -14,9 +14,9 @@ if pnpm build; then
mkdir -p ../marimo/_lsp
cp dist/index.cjs ../marimo/_lsp/
# There seems to be a discrepancy between CI and mac for pnpm builds
- if [ -d dist/copilot ]; then
+ if [ -d dist/copilot/dist ]; then
echo "Copying dist/copilot to _lsp/copilot"
- cp -R dist/copilot ../marimo/_lsp/copilot
+ cp -R dist/copilot/dist/. ../marimo/_lsp/copilot/
elif [ -d dist/dist ]; then
echo "Copying contents of dist/dist/. to _lsp/copilot"
cp -R dist/dist/. ../marimo/_lsp/copilot/