aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-08-11 21:37:10 +0300
committerGitHub <noreply@github.com>2022-08-11 21:37:10 +0300
commit44694d699fd715edeeb9fcea9271b09c39b5ac35 (patch)
tree3a89d5c06276b9721661d2b13fc37a2e87aa85a7 /src/node
parentaecf2ad152a75663211a2ac0926e6122c2b0b07f (diff)
Options: Follow camelCase (#89)
rename Options
Diffstat (limited to 'src/node')
-rw-r--r--src/node/devcontainer-feature.json6
-rwxr-xr-xsrc/node/install.sh6
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"}