mirror of
https://github.com/apache/superset.git
synced 2026-05-29 20:29:34 +00:00
- Update all CI workflows (pre-commit, tech-debt) to use Bun - Update build scripts (js_build.sh, cypress_build.sh, eslint.sh) for Bun - Add sync-package-versions.js script for release version alignment - Simplify package.json scripts (build:packages, publish:packages) - Add gitTag: false to changesets config to avoid repo tag clutter - Remove obsolete Lerna scripts (build.js, lernaVersion.sh) - Update RELEASING/README.md with comprehensive npm publishing guide - Update all developer documentation for Bun usage - Update LLM instruction files (AGENTS.md, dev-standard.mdc) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
1.1 KiB
Bash
Executable File
39 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
# Setup script for Superset Codespaces development environment
|
|
|
|
echo "🔧 Setting up Superset development environment..."
|
|
|
|
# The universal image has most tools, just need Superset-specific libs
|
|
echo "📦 Installing Superset-specific dependencies..."
|
|
sudo apt-get update
|
|
sudo apt-get install -y \
|
|
libsasl2-dev \
|
|
libldap2-dev \
|
|
libpq-dev \
|
|
tmux \
|
|
gh
|
|
|
|
# Install uv for fast Python package management
|
|
echo "📦 Installing uv..."
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
# Add cargo/bin to PATH for uv
|
|
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
|
|
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc
|
|
|
|
# Install Bun
|
|
echo "📦 Installing Bun..."
|
|
curl -fsSL https://bun.sh/install | bash
|
|
echo 'export PATH="$HOME/.bun/bin:$PATH"' >> ~/.bashrc
|
|
echo 'export PATH="$HOME/.bun/bin:$PATH"' >> ~/.zshrc
|
|
|
|
# Install Claude Code CLI
|
|
echo "🤖 Installing Claude Code..."
|
|
~/.bun/bin/bun install -g @anthropic-ai/claude-code
|
|
|
|
# Make the start script executable
|
|
chmod +x .devcontainer/start-superset.sh
|
|
|
|
echo "✅ Development environment setup complete!"
|
|
echo "🚀 Run '.devcontainer/start-superset.sh' to start Superset"
|