mirror of
https://github.com/QWRK-ORG/qwrk-laconic-core.git
synced 2026-05-07 07:04:15 +00:00
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"name": "Laconic Core Development",
|
|
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
|
|
|
|
// Add environment variables
|
|
"containerEnv": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
|
|
// Mount your SSH keys for git authentication
|
|
"mounts": [
|
|
"source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,type=bind,readonly"
|
|
],
|
|
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"biomejs.biome",
|
|
"ms-vscode.vscode-typescript-next",
|
|
"ms-azuretools.vscode-docker",
|
|
"dbaeumer.vscode-eslint",
|
|
"christian-kohler.path-intellisense",
|
|
"github.vscode-pull-request-github",
|
|
"streetsidesoftware.code-spell-checker",
|
|
"eamodio.gitlens"
|
|
],
|
|
"settings": {
|
|
"editor.defaultFormatter": "biomejs.biome",
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit",
|
|
"source.fixAll": "explicit",
|
|
"source.addMissingImports.ts": "explicit",
|
|
"source.fixAll.ts": "explicit",
|
|
"source.removeUnusedImports": "explicit"
|
|
},
|
|
// Additional helpful settings
|
|
"editor.bracketPairColorization.enabled": true,
|
|
"editor.guides.bracketPairs": true,
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
|
"javascript.updateImportsOnFileMove.enabled": "always",
|
|
"typescript.updateImportsOnFileMove.enabled": "always",
|
|
"files.exclude": {
|
|
"**/.git": true,
|
|
"**/node_modules": true,
|
|
"**/dist": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
// Forward common development ports
|
|
"forwardPorts": [3000, 4000, 5000, 8000],
|
|
|
|
// Set up git configuration
|
|
"postCreateCommand": "pnpm install && git config --global pull.rebase true",
|
|
|
|
"remoteUser": "node",
|
|
|
|
// Features to install in the container
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
|
"ghcr.io/devcontainers/features/git:1": {}
|
|
}
|
|
}
|