-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
#!/bin/sh | ||
|
||
# Install/Activate PNPM version defined in root package.json | ||
corepack enable pnpm | ||
# Uninstall globally installed PNPM (required version will be reinstalled through corepack) | ||
echo "❌ Uninstalling globally installed PNPM..." | ||
npm uninstall -g pnpm | ||
|
||
# Prevent corepack from prompting user before downloading PNPM | ||
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 | ||
|
||
# Make sure 'node' user can access the 'node_modules' folder that will be mounted as a volume | ||
# https://code.visualstudio.com/remote/advancedcontainers/improve-performance#_use-a-targeted-named-volume | ||
#sudo chown node node_modules | ||
# Enable corepack | ||
corepack enable | ||
|
||
# Install dependencies | ||
# Install the PNPM version defined in the root package.json | ||
echo "⚙️ Installing required PNPM version..." | ||
corepack prepare --activate | ||
|
||
# Install NPM dependencies | ||
echo "⚙️ Installing NPM dependencies..." | ||
pnpm install --frozen-lockfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/tools/ | ||
/.devcontainer/ |