diff --git a/.devcontainer/devcontainer-lock.json b/.devcontainer/devcontainer-lock.json deleted file mode 100644 index a2069bc..0000000 --- a/.devcontainer/devcontainer-lock.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "features": { - "ghcr.io/devcontainers/features/common-utils:2": { - "version": "2.4.4", - "resolved": "ghcr.io/devcontainers/features/common-utils@sha256:85c6505e809cc7c400b21997d7ae6f50811720d591813243f14d98cf2c577041", - "integrity": "sha256:85c6505e809cc7c400b21997d7ae6f50811720d591813243f14d98cf2c577041" - }, - "ghcr.io/devcontainers/features/github-cli:1": { - "version": "1.0.12", - "resolved": "ghcr.io/devcontainers/features/github-cli@sha256:183d18b42de353e3689615fd21eb67427bc1f763c5b830c2798dcbb993da2049", - "integrity": "sha256:183d18b42de353e3689615fd21eb67427bc1f763c5b830c2798dcbb993da2049" - }, - "ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence:1": { - "version": "1.0.3", - "resolved": "ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence@sha256:757843d75915f140ec22bc16ccb5e657a910d9b1d1f445d15350a78e584d130f", - "integrity": "sha256:757843d75915f140ec22bc16ccb5e657a910d9b1d1f445d15350a78e584d130f" - }, - "ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store:1": { - "version": "1.0.2", - "resolved": "ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store@sha256:32f78bc711aecc2b1479143a4412461b4075c61f0d4776e74265890099a3c7f6", - "integrity": "sha256:32f78bc711aecc2b1479143a4412461b4075c61f0d4776e74265890099a3c7f6" - } - } -} \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 81a3785..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,43 +0,0 @@ -// 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": "My Website", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye", - "features": { - "ghcr.io/devcontainers/features/common-utils:2": {}, - "ghcr.io/devcontainers/features/github-cli:1": {}, - "ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence:1": {}, - "ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store:1": {} - }, - "customizations": { - "vscode": { - "extensions": [ - "elmTooling.elm-ls-vscode", - "GitHub.copilot", - "github.vscode-github-actions" - ] - } - }, - // mount ~/.elm folder so elm-tooling can be persisted - "mounts": [ - { - "source": "devcontainer-elm-tooling", - "target": "/home/node/.elm", // assuming the user is node... - "type": "volume" - } - ], - "remoteEnv": { - "PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/node_modules/.bin" - }, - // 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": [], - // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "sudo chown -R node:node /home/node/.elm" - // Configure tool-specific properties. - // "customizations": {}, - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root" -} \ No newline at end of file diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..aba91a1 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +nodejs 20.17.0 +pnpm 9.11.0 diff --git a/README.md b/README.md index 2df151e..527628b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Code for my personal website. ## Run Locally -Open up the project in a devcontainer, then run the following +I'm using [asdf](https://asdf-vm.com/) to manage my Node.js version. You can install the correct version by running `asdf install` in the root of the project. ``` pnpm i