summaryrefslogtreecommitdiff
path: root/features/src/node/devcontainer-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'features/src/node/devcontainer-feature.json')
-rw-r--r--features/src/node/devcontainer-feature.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/features/src/node/devcontainer-feature.json b/features/src/node/devcontainer-feature.json
new file mode 100644
index 0000000..b460688
--- /dev/null
+++ b/features/src/node/devcontainer-feature.json
@@ -0,0 +1,56 @@
+{
+ "id": "node",
+ "version": "1.3.1",
+ "name": "Node.js (via nvm), yarn and pnpm",
+ "documentationURL": "https://github.com/devcontainers/features/tree/main/src/node",
+ "description": "Installs Node.js, nvm, yarn, pnpm, and needed dependencies.",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": [
+ "lts",
+ "latest",
+ "none",
+ "18",
+ "16",
+ "14"
+ ],
+ "default": "lts",
+ "description": "Select or enter a Node.js version to install"
+ },
+ "nodeGypDependencies": {
+ "type": "boolean",
+ "default": true,
+ "description": "Install dependencies to compile native node modules (node-gyp)?"
+ },
+ "nvmInstallPath": {
+ "type": "string",
+ "default": "/usr/local/share/nvm",
+ "description": "The path where NVM will be installed."
+ },
+ "nvmVersion": {
+ "type": "string",
+ "proposals": [
+ "latest",
+ "0.39"
+ ],
+ "default": "latest",
+ "description": "Version of NVM to install."
+ }
+ },
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "dbaeumer.vscode-eslint"
+ ]
+ }
+ },
+ "containerEnv": {
+ "NVM_DIR": "/usr/local/share/nvm",
+ "NVM_SYMLINK_CURRENT": "true",
+ "PATH": "/usr/local/share/nvm/current/bin:${PATH}"
+ },
+ "installsAfter": [
+ "https://gitrepo.ru/api/packages/NeonXP/generic/features/latest/devcontainer-feature-common-utils.tgz"
+ ]
+}