diff options
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/devcontainer-feature.json | 6 | ||||
-rwxr-xr-x | src/node/install.sh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/node/devcontainer-feature.json b/src/node/devcontainer-feature.json index 8c5081a..5576921 100644 --- a/src/node/devcontainer-feature.json +++ b/src/node/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "node", - "version": "1.0.0", + "version": "1.0.1", "name": "Node.js (via nvm) and yarn", "description": "Installs Node.js, nvm, yarn, and needed dependencies.", "options": { @@ -17,12 +17,12 @@ "default": "lts", "description": "Select or enter a Node.js version to install" }, - "install_tools_for_node_gyp": { + "nodeGypDependencies": { "type": "boolean", "default": true, "description": "Install dependencies to compile native node modules (node-gyp)?" }, - "nvm_install_path": { + "nvmInstallPath": { "type": "string", "default": "/usr/local/share/nvm", "description": "The path where NVM will be installed." diff --git a/src/node/install.sh b/src/node/install.sh index 7169919..80731cd 100755 --- a/src/node/install.sh +++ b/src/node/install.sh @@ -8,12 +8,12 @@ # Maintainer: The VS Code and Codespaces Teams export NODE_VERSION=${VERSION:-"lts"} -export NVM_DIR=${NVM_INSTALL_PATH:-"/usr/local/share/nvm"} -INSTALL_TOOLS_FOR_NODE_GYP="${INSTALL_TOOLS_FOR_NODE_GYP:-true}" +export NVM_DIR=${NVMINSTALLPATH:-"/usr/local/share/nvm"} +INSTALL_TOOLS_FOR_NODE_GYP="${NODEGYPDEPENDENCIES:-true}" # Comma-separated list of node versions to be installed (with nvm) # alongside NODE_VERSION, but not set as default. -ADDITIONAL_VERSIONS=${ADDITIONAL_VERSIONS:-""} +ADDITIONAL_VERSIONS=${ADDITIONALVERSIONS:-""} USERNAME=${USERNAME:-"automatic"} UPDATE_RC=${UPDATE_RC:-"true"} |