diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..d785e0b --- /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": "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-22-bookworm", + "features": { + "ghcr.io/devcontainers-community/features/deno:1": {} + }, + + // 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": [7000] + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "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/.vscode/launch.json b/.vscode/launch.json index 4e9062a..f6d5ac9 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,7 +14,7 @@ "GOTIFY_URL": "http://example.com", "GOTIFY_APP_TOKEN": "1234", }, - "runtimeExecutable": "/usr/bin/deno", + "runtimeExecutable": "/usr/local/bin/deno", "runtimeArgs": [ "run", "--inspect-wait", diff --git a/.vscode/settings.json b/.vscode/settings.json index 29a936e..53f9d7f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,5 @@ { "deno.enable": true, - "deno.codeLens.referencesAllFunctions": true + "deno.codeLens.referencesAllFunctions": true, + "remote.localPortHost": "allInterfaces" } \ No newline at end of file