From a189b3f48b68db92f51fb3b004f38ae66a9ae6b0 Mon Sep 17 00:00:00 2001 From: 3y3 <3y3@ya.ru> Date: Thu, 21 Nov 2024 06:38:48 +0300 Subject: [PATCH] chore: Add devcontainer --- .devcontainer/devcontainer.json | 15 +++++++++++++++ .gitignore | 1 + 2 files changed, 16 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..6b19392b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,15 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + }, + "postCreateCommand": "npm ci && npm run build && npm run lint && npm run test", + "customizations": { + "codespaces": { + "repositories": { + "diplodoc-platform/*": { + "permissions": "write-all" + } + } + } + } +} diff --git a/.gitignore b/.gitignore index d809e2b6..19cb09d8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/external /build /assets input