Skip to content

Commit

Permalink
update devcontainer file
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 22, 2024
1 parent fde5ef2 commit 85644c5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 79 deletions.
32 changes: 0 additions & 32 deletions .devcontainer/Dockerfile

This file was deleted.

64 changes: 17 additions & 47 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,26 @@
// 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
{
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.112.0/containers/typescript-node-12
"name": "Vue.js & Node.js",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "14"
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"eslint.validate": ["javascript", "javascriptreact", "vue"],
"eslint.workingDirectories": ["./", "./.vitepress"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
},
"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",

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"formulahendry.auto-rename-tag",
"christian-kohler.path-intellisense",
"CoenraadS.bracket-pair-colorizer",
"streetsidesoftware.code-spell-checker",
"visualstudioexptteam.vscodeintellicode",
"alefragnani.bookmarks",
"sohamkamani.code-eol",
"ms-azuretools.vscode-docker",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"mhutchie.git-graph",
"eamodio.gitlens",
"oderwat.indent-rainbow",
"shd101wyy.markdown-preview-enhanced",
"ms-vscode-remote.vscode-remote-extensionpack",
"mosapride.zenkaku",
"octref.vetur",
"jcbuisson.vue",
"dariofuzinato.vue-peek",
"redhat.vscode-yaml"
],
// 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": [8080],
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install"
"postCreateCommand": "npm install",

// Use 'postStartCommand' to run commands after the container is started.
// "postStartCommand": "npm ci"
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
}
}

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "node"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 85644c5

Please sign in to comment.