From 59a1a66bb7cf260d1215850cf13b063df449a67d Mon Sep 17 00:00:00 2001 From: Marlon Passos <1marlonpassos@gmail.com> Date: Wed, 7 Aug 2024 16:06:16 -0300 Subject: [PATCH] chore: setup dev containers (#138) Co-authored-by: Alec Larson <1925840+aleclarson@users.noreply.github.com> --- .devcontainer/devcontainer.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..a9f9af6c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,25 @@ +// 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": "Radashi", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm", + + // Features to add to the dev container. More info: https://containers.dev/features. + "features": { + "ghcr.io/devcontainers-contrib/features/pnpm": { + "version": "9.1.3" + }, + "ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store": {} + }, + "postCreateCommand": "pnpm i", + "customizations": { + "vscode": { + "extensions": [ + "vitest.explorer", + "biomejs.biome", + "esbenp.prettier-vscode" + ] + } + } +}