Skip to content

Commit fb6458c

Browse files
committed
feat: add devcontainer configuration and Creative Commons license
1 parent 9e87506 commit fb6458c

3 files changed

Lines changed: 469 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
3+
{
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-24-bookworm",
7+
// Features to add to the dev container. More info: https://containers.dev/features.
8+
"features": {
9+
"ghcr.io/eitsupi/devcontainer-features/nushell:0": {}
10+
},
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
"forwardPorts": [
13+
3000
14+
],
15+
"portsAttributes": {
16+
"3000": {
17+
"label": "Blog",
18+
"onAutoForward": "openPreview"
19+
}
20+
},
21+
"onCreateCommand": "pnpm self-update",
22+
"updateContentCommand": "pnpm install --config.confirmModulesPurge=false",
23+
"postAttachCommand": "pnpm dev",
24+
25+
// Configure tool-specific properties.
26+
"customizations": {
27+
"jetbrains": {
28+
"backend": "Rider"
29+
},
30+
"vscode": {
31+
"extensions": [
32+
"Vue.volar",
33+
"Nuxtr.nuxtr-vscode",
34+
"Nuxt.mdc",
35+
"sdras.vue-vscode-snippets"
36+
]
37+
}
38+
}
39+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
40+
// "remoteUser": "root"
41+
}

0 commit comments

Comments
 (0)