Skip to content

Commit

Permalink
🔥 remove lingering pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed May 21, 2024
1 parent 48cb1ea commit 68386f3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion extensions/vscode/scripts/prepackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const exe = os === "win32" ? ".exe" : "";
console.log("[info] npm install in gui completed");

if (ghAction()) {
execCmdSync("pnpm run build");
execCmdSync("npm run build");
}

// Copy over the dist folder to the Intellij extension //
Expand Down
20 changes: 10 additions & 10 deletions scripts/install-dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,35 +50,35 @@ if (($null -eq $cargo) -or ($null -eq $node)) {

Write-Host "`nInstalling Core extension dependencies..." -ForegroundColor White
Push-Location core
pnpm install
pnpm link --global
npm install
npm link
Pop-Location

Write-Output "`nInstalling GUI extension dependencies..." -ForegroundColor White
Push-Location gui
pnpm install
pnpm link --global @continuedev/core
pnpm run build
npm install
npm link @continuedev/core
npm run build
Pop-Location

# VSCode Extension (will also package GUI)
Write-Output "`nInstalling VSCode extension dependencies..." -ForegroundColor White
Push-Location extensions/vscode

# This does way too many things inline but is the common denominator between many of the scripts
pnpm install
pnpm link --global @continuedev/core
npm install
npm link @continuedev/core

pnpm run package
npm run package

Pop-Location


Write-Output "`nInstalling binary dependencies..." -ForegroundColor White
Push-Location binary

pnpm install
pnpm run build
npm install
npm run build

Pop-Location

Expand Down
20 changes: 10 additions & 10 deletions scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
set -e
echo "Installing Core extension dependencies..."
pushd core
pnpm install
pnpm link --global
npm install
npm link
popd

echo "Installing GUI extension dependencies..."
pushd gui
pnpm install
pnpm link --global @continuedev/core
pnpm run build
npm install
npm link @continuedev/core
npm run build
popd
# VSCode Extension (will also package GUI)
echo "Installing VSCode extension dependencies..."
pushd extensions/vscode

# This does way too many things inline but is the common denominator between many of the scripts
pnpm install
pnpm link --global @continuedev/core
pnpm run package
npm install
npm link @continuedev/core
npm run package

popd

echo "Installing binary dependencies..."
pushd binary
pnpm install
pnpm run build
npm install
npm run build

0 comments on commit 68386f3

Please sign in to comment.