postCreateCommand.sh 974 B

1234567891011121314151617181920212223242526272829303132
  1. sudo chown -R vscode:vscode /workspace;
  2. # Instal additional packages
  3. sudo apt update
  4. sudo apt-get install -y --no-install-recommends \
  5. iputils-ping net-tools dnsutils
  6. sudo apt-get clean -y
  7. # Set permissions for shared directory for bulk export
  8. mkdir -p /tmp/page-bulk-export
  9. sudo chown -R vscode:vscode /tmp/page-bulk-export
  10. sudo chmod 700 /tmp/page-bulk-export
  11. # Install uv
  12. curl -LsSf https://astral.sh/uv/install.sh | sh
  13. # Install Claude Code
  14. curl -fsSL https://claude.ai/install.sh | bash
  15. # Install turbo
  16. pnpm install turbo --global
  17. # Install typescript-language-server for Claude Code LSP plugin
  18. # Use `npm -g` (not `pnpm --global`) so the binary lands in nvm's node bin, which is on the default PATH.
  19. # pnpm's global bin requires PNPM_HOME from ~/.bashrc, which the Claude Code extension's shell doesn't source.
  20. npm install -g typescript-language-server typescript
  21. # Install dependencies
  22. turbo run bootstrap
  23. # Install Lefthook git hooks
  24. pnpm lefthook install