Skip to content

Commit

Permalink
Add pnpm support
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCLARITY committed Aug 3, 2022
1 parent bc62b8c commit 97707c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,12 @@ install_deps()
echo "[-] Installing dependencies from yarn.lock"
npm install -g yarn
yarn install --frozen-lockfile
elif [[ -f pnpm-lock.yaml ]]; then
echo "[-] Installing dependencies from pnpm-lock.yaml"
npm install -g pnpm
pnpm install --frozen-lockfile
elif [[ -f package.json ]]; then
echo "[-] Did not detect a package-lock.json or yarn.lock in $TARGET, consider locking your dependencies!"
echo "[-] Did not detect a package-lock.json, yarn.lock, or pnpm-lock.yaml in $TARGET, consider locking your dependencies!"
echo "[-] Proceeding with 'npm i' to install dependencies"
npm i
else
Expand Down

0 comments on commit 97707c5

Please sign in to comment.