Skip to content

Commit

Permalink
feat: refactor vue-devcontainer image
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarjs committed Feb 15, 2024
1 parent e7d88e3 commit ed95778
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 110 deletions.
4 changes: 2 additions & 2 deletions src/vue/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Choice] Node.js version (use -bookworm, or -bullseye variants on local arm64/Apple Silicon): 20, 18, 20-bookworm, 18-bookworm, 20-bullseye, 18-bullseye, 20-buster, 18-buster
ARG VARIANT=lts
FROM dbarjs/node-extras-devcontainer:${VARIANT}
ARG VARIANT=current
FROM dbarjs/node-devcontainer:${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
Expand Down
80 changes: 2 additions & 78 deletions src/vue/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"dockerfile": "Dockerfile"
},
"features": {

"ghcr.io/dbarjs/devcontainer-features/code-essentials:latest": { },
"ghcr.io/dbarjs/devcontainer-features/code-extras:latest": { }
},

// Configure tool-specific properties.
Expand All @@ -23,84 +24,7 @@
"antfu.vite"
],
"settings": {
// ========== UX - Search ==========
"search.exclude": {
"**/*.snap": true,
"**/*.svg": true,
"**/.git": true,
"**/.github": false,
"**/.nuxt": true,
"**/.output": true,
"**/.pnpm": true,
"**/.vscode": true,
"**/.yarn": true,
"**/assets": true,
"**/bower_components": true,
"**/dist/**": true,
"**/logs": true,
"**/node_modules": true,
"**/out/**": true,
"**/package-lock.json": true,
"**/pnpm-lock.yaml": true,
"**/public": true,
"**/temp": true,
"**/yarn.lock": true,
"**/CHANGELOG*": true,
"**/LICENSE*": true
},

// ========== Extension Settings ==========
"github.copilot.enable": {
"*": true,
"markdown": true,
"plaintext": false
},
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.menus": {
"editor": {
"blame": false,
"clipboard": true,
"compare": true,
"history": false,
"remote": false
},
"editorGroup": {
"blame": true,
"compare": false
},
"editorTab": {
"clipboard": true,
"compare": true,
"history": true,
"remote": true
},
"explorer": {
"clipboard": true,
"compare": true,
"history": true,
"remote": true
},
"scm": {
"authors": true
},
"scmGroup": {
"compare": true,
"openClose": true,
"stash": true
},
"scmGroupInline": {
"stash": true
},
"scmItem": {
"clipboard": true,
"compare": true,
"history": true,
"remote": false,
"stash": true
}
},
"iconify.annotations": true,
"iconify.inplace": true,
"i18n-ally.autoDetection": false,
Expand Down
32 changes: 2 additions & 30 deletions src/vue/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"version": "0.5.9",
"variants": [
"current",
"lts"
"current"
],
"build": {
"latest": "current",
Expand All @@ -15,35 +14,8 @@
],
"variantTags": {
"current": [
"vue-devcontainer:21",
"vue-devcontainer:21-bookworm",
"vue-devcontainer:bookworm",
"vue-devcontainer:current",
"vue-devcontainer:current-bookworm",
"vue-devcontainer:latest",
"vue-devcontainer:${VERSION}",
"vue-devcontainer:${VERSION}-21",
"vue-devcontainer:${VERSION}-21-bookworm",
"vue-devcontainer:${VERSION}-bookworm",
"vue-devcontainer:${VERSION}-current",
"vue-devcontainer:${VERSION}-current-bookworm",
"vue-devcontainer:${VERSION}-latest"
],
"lts": [
"vue-devcontainer:20",
"vue-devcontainer:20-bookworm",
"vue-devcontainer:iron",
"vue-devcontainer:iron-bookworm",
"vue-devcontainer:lts",
"vue-devcontainer:lts-iron",
"vue-devcontainer:lts-bookworm",
"vue-devcontainer:${VERSION}-20",
"vue-devcontainer:${VERSION}-20-bookworm",
"vue-devcontainer:${VERSION}-iron",
"vue-devcontainer:${VERSION}-iron-bookworm",
"vue-devcontainer:${VERSION}-lts",
"vue-devcontainer:${VERSION}-lts-iron",
"vue-devcontainer:${VERSION}-lts-bookworm"
"vue-devcontainer:${VERSION}"
]
}
},
Expand Down

0 comments on commit ed95778

Please sign in to comment.