diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 42c213b6..0b78c707 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,7 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/ubuntu { - "name": "Ubuntu", + "name": "jarv.is", "runArgs": ["--init"], "build": { "dockerfile": "Dockerfile", @@ -11,6 +11,7 @@ }, "features": { "git": "os-provided", + "github-cli": "latest", "node": "16" }, @@ -18,8 +19,7 @@ "remoteUser": "vscode", // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "npm i -g vercel", - "postAttachCommand": "yarn install --frozen-lockfile", + "postStartCommand": "yarn install --frozen-lockfile && git update-index --assume-unchanged data/manifest.json", // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [1337], @@ -32,18 +32,7 @@ // Set *default* container specific settings.json values on container create. "settings": { - "editor.tabSize": 2, - "editor.insertSpaces": true, - "editor.rulers": [120], - "files.eol": "\n", - "files.insertFinalNewline": true, - "files.trimTrailingWhitespace": true, - "css.validate": false, - "scss.validate": false, - "html.format.templating": true, - "prettier.requireConfig": true, - "prettier.configPath": ".prettierrc", - "markdown.preview.lineHeight": 1.75 + "terminal.integrated.shell.linux": "/bin/zsh" }, // Add the IDs of extensions you want installed when the container is created. diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..648d8a9d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,13 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "editorconfig.editorconfig", + "budparr.language-hugo-vscode", + "dbaeumer.vscode-eslint", + "davidanson.vscode-markdownlint", + "esbenp.prettier-vscode", + "stylelint.vscode-stylelint", + "ms-vscode.wordcount" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..b2fbc853 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,14 @@ +{ + "editor.tabSize": 2, + "editor.insertSpaces": true, + "editor.rulers": [120], + "files.eol": "\n", + "files.insertFinalNewline": true, + "files.trimTrailingWhitespace": true, + "css.validate": false, + "scss.validate": false, + "html.format.templating": true, + "prettier.requireConfig": true, + "prettier.configPath": ".prettierrc", + "markdown.preview.lineHeight": 1.75 +} diff --git a/yarn.lock b/yarn.lock index e1756fc8..ff7559b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2251,9 +2251,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001179, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001272, caniuse-lite@^1.0.30001274: - version "1.0.30001279" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001279.tgz#eb06818da481ef5096a3b3760f43e5382ed6b0ce" - integrity sha512-VfEHpzHEXj6/CxggTwSFoZBBYGQfQv9Cf42KPlO79sWXCD1QNKWKsKzFeWL7QpZHJQYAvocqV6Rty1yJMkqWLQ== + version "1.0.30001280" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001280.tgz#066a506046ba4be34cde5f74a08db7a396718fb7" + integrity sha512-kFXwYvHe5rix25uwueBxC569o53J6TpnGu0BEEn+6Lhl2vsnAumRFWEBhDft1fwyo6m1r4i+RqA4+163FpeFcA== careful-downloader@^2.0.1: version "2.0.1" @@ -4292,9 +4292,9 @@ forwarded@0.2.0: integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== fraction.js@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.1.tgz#ac4e520473dae67012d618aab91eda09bcb400ff" - integrity sha512-MHOhvvxHTfRFpF1geTK9czMIZ6xclsEor2wkIGYYq+PxcQqT7vStJqjhe6S1TenZrMZzo+wlqOufBDVepUEgPg== + version "4.1.2" + resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.2.tgz#13e420a92422b6cf244dff8690ed89401029fbe8" + integrity sha512-o2RiJQ6DZaR/5+Si0qJUIy637QMRudSi9kU/FFzx9EZazrIdnBgpU+3sEWCxAVhH2RtxW2Oz+T4p2o8uOPVcgA== fragment-cache@^0.2.1: version "0.2.1"