1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 19:08:26 -04:00

update vscode/codespaces config

This commit is contained in:
Jake Jarvis 2021-11-12 11:22:10 -05:00
parent 178dd93ce5
commit de0250c4b5
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
4 changed files with 37 additions and 21 deletions

View File

@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // 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 // https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/ubuntu
{ {
"name": "Ubuntu", "name": "jarv.is",
"runArgs": ["--init"], "runArgs": ["--init"],
"build": { "build": {
"dockerfile": "Dockerfile", "dockerfile": "Dockerfile",
@ -11,6 +11,7 @@
}, },
"features": { "features": {
"git": "os-provided", "git": "os-provided",
"github-cli": "latest",
"node": "16" "node": "16"
}, },
@ -18,8 +19,7 @@
"remoteUser": "vscode", "remoteUser": "vscode",
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm i -g vercel", "postStartCommand": "yarn install --frozen-lockfile && git update-index --assume-unchanged data/manifest.json",
"postAttachCommand": "yarn install --frozen-lockfile",
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [1337], "forwardPorts": [1337],
@ -32,18 +32,7 @@
// Set *default* container specific settings.json values on container create. // Set *default* container specific settings.json values on container create.
"settings": { "settings": {
"editor.tabSize": 2, "terminal.integrated.shell.linux": "/bin/zsh"
"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
}, },
// Add the IDs of extensions you want installed when the container is created. // Add the IDs of extensions you want installed when the container is created.

13
.vscode/extensions.json vendored Normal file
View File

@ -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"
]
}

14
.vscode/settings.json vendored Normal file
View File

@ -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
}

View File

@ -2251,9 +2251,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.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: 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" version "1.0.30001280"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001279.tgz#eb06818da481ef5096a3b3760f43e5382ed6b0ce" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001280.tgz#066a506046ba4be34cde5f74a08db7a396718fb7"
integrity sha512-VfEHpzHEXj6/CxggTwSFoZBBYGQfQv9Cf42KPlO79sWXCD1QNKWKsKzFeWL7QpZHJQYAvocqV6Rty1yJMkqWLQ== integrity sha512-kFXwYvHe5rix25uwueBxC569o53J6TpnGu0BEEn+6Lhl2vsnAumRFWEBhDft1fwyo6m1r4i+RqA4+163FpeFcA==
careful-downloader@^2.0.1: careful-downloader@^2.0.1:
version "2.0.1" version "2.0.1"
@ -4292,9 +4292,9 @@ forwarded@0.2.0:
integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==
fraction.js@^4.1.1: fraction.js@^4.1.1:
version "4.1.1" version "4.1.2"
resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.1.tgz#ac4e520473dae67012d618aab91eda09bcb400ff" resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.2.tgz#13e420a92422b6cf244dff8690ed89401029fbe8"
integrity sha512-MHOhvvxHTfRFpF1geTK9czMIZ6xclsEor2wkIGYYq+PxcQqT7vStJqjhe6S1TenZrMZzo+wlqOufBDVepUEgPg== integrity sha512-o2RiJQ6DZaR/5+Si0qJUIy637QMRudSi9kU/FFzx9EZazrIdnBgpU+3sEWCxAVhH2RtxW2Oz+T4p2o8uOPVcgA==
fragment-cache@^0.2.1: fragment-cache@^0.2.1:
version "0.2.1" version "0.2.1"