From f74e590fd94c077393004c0be828d781a97d9eb9 Mon Sep 17 00:00:00 2001 From: cirolosapio Date: Wed, 3 Jul 2024 16:02:18 +0200 Subject: [PATCH] chore: Update Alpine-node devcontainer feature version to 0.0.13 --- src/alpine-node/devcontainer-feature.json | 2 +- src/alpine-node/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alpine-node/devcontainer-feature.json b/src/alpine-node/devcontainer-feature.json index 1e36fa6..7851a12 100644 --- a/src/alpine-node/devcontainer-feature.json +++ b/src/alpine-node/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "alpine-node", "id": "alpine-node", - "version": "0.0.12", + "version": "0.0.13", "description": "Installs node and npm on alpine", "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-node", "installsAfter": [ diff --git a/src/alpine-node/install.sh b/src/alpine-node/install.sh index a877bce..3a8ad22 100644 --- a/src/alpine-node/install.sh +++ b/src/alpine-node/install.sh @@ -10,7 +10,7 @@ if [[ $COREPACK == "true" ]]; then npm i -g corepack CURRENT_USER=$(getent passwd 1000 | cut -d: -f1) - su -c "corepack use pnpm@$PNPMVERSION" $CURRENT_USER + su -c "corepack prepare pnpm@$PNPMVERSION --activate" $CURRENT_USER fi if [[ -n "$GLOBALPACKAGES" ]]; then