aboutsummaryrefslogblamecommitdiff
path: root/src/node/devcontainer-feature.json
blob: 5576921befe62e39ec60ab06f437da4054e51eb2 (plain) (tree)
1
2
3
4
5
6
7
8

                 
                       
                                         
                                                                           


                             







                          


                                                                         
                                


                                                                                            
          
                           


                                                                  

         


                                
                     
                                          

                                                
     
 
{
    "id": "node",
    "version": "1.0.1",
    "name": "Node.js (via nvm) and yarn",
    "description": "Installs Node.js, nvm, yarn, 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."
        }
    },
    "extensions": [
        "dbaeumer.vscode-eslint"
    ],
    "containerEnv": {
        "NVM_DIR": "/usr/local/share/nvm",
        "NVM_SYMLINK_CURRENT": "true",
        "PATH": "${NVM_DIR}/current/bin:${PATH}"
    }
}