diff --git a/.devcontainer/bare/devcontainer.json b/.devcontainer/bare/devcontainer.json new file mode 100644 index 0000000..b138c8b --- /dev/null +++ b/.devcontainer/bare/devcontainer.json @@ -0,0 +1,14 @@ +{ + "name": "Obsidian Timecodes Plugin - default container", + "postCreateCommand": "pnpm install", + + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "EditorConfig.EditorConfig", + "vitest.explorer" + ] + } + } +} diff --git a/.devcontainer/restricted/devcontainer.json b/.devcontainer/restricted/devcontainer.json new file mode 100644 index 0000000..f41abab --- /dev/null +++ b/.devcontainer/restricted/devcontainer.json @@ -0,0 +1,24 @@ +{ + "image": "mcr.microsoft.com/devcontainers/javascript-node:24", + "runArgs": [ + "--device=/dev/fuse", + "--security-opt", "apparmor=unconfined", + "--security-opt", "seccomp=unconfined" + ], + + "capAdd": [ + "SYS_ADMIN" + ], + "name": "Obsidian Timecodes Plugin - restricted container", + "postCreateCommand": "pnpm install", + + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "EditorConfig.EditorConfig", + "vitest.explorer" + ] + } + } +}