devcontainer.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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/ubuntu
  3. {
  4. "name": "GROWI-Dev",
  5. "dockerComposeFile": ["../compose.yml", "../compose.extend.yml"],
  6. "service": "app",
  7. "workspaceFolder": "/workspace/growi",
  8. "features": {
  9. "ghcr.io/devcontainers/features/node:2": {
  10. "version": "24",
  11. "pnpmVersion": "11.1.1"
  12. },
  13. "ghcr.io/devcontainers/features/github-cli:1": {}
  14. },
  15. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  16. // "forwardPorts": [],
  17. "initializeCommand": "/bin/bash .devcontainer/pdf-converter/initializeCommand.sh",
  18. // Use 'postCreateCommand' to run commands after the container is created.
  19. "postCreateCommand": "/bin/bash ./.devcontainer/app/postCreateCommand.sh",
  20. // Configure tool-specific properties.
  21. "customizations": {
  22. "vscode": {
  23. "extensions": [
  24. // AI
  25. "anthropic.claude-code",
  26. // linter
  27. "biomejs.biome",
  28. "editorconfig.editorconfig",
  29. "shinnn.stylelint",
  30. "stylelint.vscode-stylelint",
  31. // markdown
  32. "bierner.markdown-mermaid",
  33. // TypeScript (Native Preview)
  34. "typescriptteam.native-preview",
  35. // Test
  36. "vitest.explorer",
  37. "ms-playwright.playwright",
  38. // git/github
  39. "codeinklingon.git-worktree-menu",
  40. "github.vscode-pull-request-github",
  41. "mhutchie.git-graph",
  42. "eamodio.gitlens",
  43. "cschleiden.vscode-github-actions",
  44. // DB
  45. "cweijan.vscode-database-client2",
  46. "mongodb.mongodb-vscode",
  47. // Debug
  48. "msjsdiag.debugger-for-chrome",
  49. "firefox-devtools.vscode-firefox-debug",
  50. // prisma
  51. "Prisma.prisma@6.19.0"
  52. ],
  53. "settings": {
  54. "terminal.integrated.defaultProfile.linux": "bash"
  55. }
  56. },
  57. },
  58. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  59. // "remoteUser": "root"
  60. }