diff --git a/dashboard/.devcontainer/devcontainer.json b/dashboard/.devcontainer/devcontainer.json new file mode 100644 index 00000000..51bc2545 --- /dev/null +++ b/dashboard/.devcontainer/devcontainer.json @@ -0,0 +1,23 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node +{ + "name": "Node.js & TypeScript", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-18-bookworm", + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + //"postCreateCommand": "yarn install", + "postStartCommand": "yarn install", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/dashboard/.gitignore b/dashboard/.gitignore index 11f5d714..3614cbb7 100644 --- a/dashboard/.gitignore +++ b/dashboard/.gitignore @@ -14,7 +14,6 @@ pnpm-debug.log* # Editor directories and files .idea -.vscode *.suo *.ntvs* *.njsproj diff --git a/dashboard/.vscode/tasks.json b/dashboard/.vscode/tasks.json new file mode 100644 index 00000000..b98a6c77 --- /dev/null +++ b/dashboard/.vscode/tasks.json @@ -0,0 +1,22 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "serve", + "type": "shell", + "command": "yarn serve" + }, + { + "label": "lint", + "type": "shell", + "command": "yarn lint" + }, + { + "label": "build", + "type": "shell", + "command": "yarn build" + } + ] +}