From 44694d699fd715edeeb9fcea9271b09c39b5ac35 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Thu, 11 Aug 2022 11:37:10 -0700 Subject: Options: Follow camelCase (#89) rename Options --- src/node/devcontainer-feature.json | 6 +++--- src/node/install.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/node') 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"} -- cgit v1.2.3