diff --git a/.devcontainer.json b/.devcontainer.json deleted file mode 100644 index a900611c..00000000 --- a/.devcontainer.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "forwardPorts": [5173, 1317, 26657, 26656], - "portsAttributes": { - "5173": { - "label": "UI", - "onAutoForward": "openBrowser" - }, - "1317": { - "label": "API", - "onAutoForward": "silent" - }, - "26657": { - "label": "RPC", - "onAutoForward": "silent" - }, - "26656": { - "label": "P2P", - "onAutoForward": "silent" - } - } - // "postStartCommand": "bash -i -c 'nvm install 18.20 && nvm alias default 18.20' && bash ./make_ports_public.sh 5173 1317 26657" -} diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..6716c49f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,39 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node +{ + "name": "Node.js", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/javascript-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": [5173, 1317, 26657, 26656], + "portsAttributes": { + "5173": { + "label": "UI", + "onAutoForward": "openBrowser" + }, + "1317": { + "label": "API", + "onAutoForward": "silent" + }, + "26657": { + "label": "RPC", + "onAutoForward": "silent" + }, + "26656": { + "label": "P2P", + "onAutoForward": "silent" + } + }, + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "bash ./make_ports_public.sh 5173 1317 26657 && 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/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..f33a02cd --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly