|
| 1 | +{ |
| 2 | + "name": "Java Modules: Dev", |
| 3 | + "remoteUser": "dev", |
| 4 | + "build": { |
| 5 | + "dockerfile": "Dockerfile", |
| 6 | + "context": "..", |
| 7 | + "cacheFrom": "ghcr.io/javamodules/javamodules.dev:latest", |
| 8 | + "args": { |
| 9 | + "NODE_VERSION": "21.7.1", |
| 10 | + "BUN_VERSION": "1.0.31" |
| 11 | + } |
| 12 | + }, |
| 13 | + "features": { |
| 14 | + "ghcr.io/devcontainers/features/github-cli:1": {}, |
| 15 | + "ghcr.io/devcontainers-contrib/features/actionlint:1": {}, |
| 16 | + "ghcr.io/devcontainers-contrib/features/cosign:1": {}, |
| 17 | + "ghcr.io/devcontainers-contrib/features/fulcio:1": {} |
| 18 | + }, |
| 19 | + "customizations": { |
| 20 | + "vscode": { |
| 21 | + "settings": { |
| 22 | + "terminal.integrated.gpuAcceleration": "on", |
| 23 | + "terminal.integrated.enableImages": true, |
| 24 | + "terminal.integrated.customGlyphs": true, |
| 25 | + "workbench.editorAssociations": { |
| 26 | + "*.md": "vscode.markdown.preview.editor" |
| 27 | + } |
| 28 | + }, |
| 29 | + "extensions": [ |
| 30 | + "dbaeumer.vscode-eslint", |
| 31 | + "dotjoshjohnson.xml", |
| 32 | + "esbenp.prettier-vscode", |
| 33 | + "github.codespaces", |
| 34 | + "github.copilot", |
| 35 | + "github.remotehub", |
| 36 | + "github.vscode-codeql", |
| 37 | + "github.vscode-pull-request-github", |
| 38 | + "gruntfuggly.todo-tree", |
| 39 | + "ms-vscode-remote.remote-containers", |
| 40 | + "ms-vscode.live-server", |
| 41 | + "oven.bun-vscode", |
| 42 | + "redhat.vscode-yaml", |
| 43 | + "snyk-security.snyk-vulnerability-scanner", |
| 44 | + "socketsecurity.vscode-socket-security", |
| 45 | + "sourcegraph.cody-ai", |
| 46 | + "sourcegraph.sourcegraph" |
| 47 | + ] |
| 48 | + }, |
| 49 | + "codespaces": { |
| 50 | + "repositories": { |
| 51 | + "javamodules/javamodules.dev": { |
| 52 | + "permissions": { |
| 53 | + "contents": "read", |
| 54 | + "issues": "read", |
| 55 | + "pull_requests": "read" |
| 56 | + } |
| 57 | + } |
| 58 | + } |
| 59 | + } |
| 60 | + }, |
| 61 | + "secrets": { |
| 62 | + "BUILDLESS_APIKEY": { |
| 63 | + "description": "API key for build caching via Buildless.", |
| 64 | + "documentationUrl": "https://docs.less.build/reference/intro/getting-started" |
| 65 | + }, |
| 66 | + "CLOUDFLARE_API_TOKEN": { |
| 67 | + "description": "API token for interacting with Cloudflare.", |
| 68 | + "documentationUrl": "https://developers.cloudflare.com/fundamentals/api/get-started/create-token" |
| 69 | + }, |
| 70 | + "CLOUDFLARE_ACCOUNT_ID": { |
| 71 | + "description": "Account ID for interacting with Cloudflare.", |
| 72 | + "documentationUrl": "https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids" |
| 73 | + } |
| 74 | + }, |
| 75 | + "forwardPorts": [ |
| 76 | + 5173, |
| 77 | + 8888 |
| 78 | + ], |
| 79 | + "portsAttributes": { |
| 80 | + "5173": { |
| 81 | + "label": "Vite Dev", |
| 82 | + "onAutoForward": "notify" |
| 83 | + }, |
| 84 | + "8888": { |
| 85 | + "label": "Workers Dev", |
| 86 | + "onAutoForward": "notify" |
| 87 | + } |
| 88 | + }, |
| 89 | + "postCreateCommand": "pnpm install --frozen-lockfile --strict-peer-dependencies" |
| 90 | +} |
0 commit comments