From f830bab4ec14f3fe814962a6a2dee180149c3a6a Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Mon, 20 Sep 2021 19:43:18 +0000 Subject: The Whole Barnshow Commit - Use yarn-berry instead of npm, with Zero Install feature and goodies - Add `initializeToken` to post unique token to logs on startup - Package upgrades - Fix index.html.template tests I will never do this again --- .devcontainer/devcontainer.json | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to '.devcontainer/devcontainer.json') diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 438255d..6605c26 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,5 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/javascript-node-mongo -// Update the VARIANT arg in docker-compose.yml to pick a Node.js version: 10, 12, 14 { "name": "Ubuntu, Node.js & Mongo DB", "dockerComposeFile": "docker-compose.yml", @@ -10,18 +9,12 @@ // Set *default* container specific settings.json values on container create. "settings": {}, - // Add the IDs of extensions you want installed when the container is created. "extensions": [ "dbaeumer.vscode-eslint", - "mongodb.mongodb-vscode" + "mongodb.mongodb-vscode", + "esbenp.prettier-vscode" ], - - // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [3000, 27017], - - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "yarn install", - - // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. + "postCreateCommand": "sudo locale-gen 'en_US.UTF-8'; sudo chown node:node node_modules; yarn install", "remoteUser": "node" } \ No newline at end of file -- cgit