Use deno typescript instead of node. Fix compilation errors for updated typescript. update setup script to install deno. use tmux when running localling for all processes.
This commit is contained in:
23
setup.sh
23
setup.sh
@@ -1,6 +1,29 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Install deno if needed
|
||||
if ! command -v deno &>/dev/null; then
|
||||
echo "Installing deno..."
|
||||
curl -fsSL https://deno.land/install.sh | sh
|
||||
export DENO_INSTALL="$HOME/.deno"
|
||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
||||
fi
|
||||
|
||||
# Install node if needed
|
||||
if ! command -v node &>/dev/null; then
|
||||
echo "Installing node..."
|
||||
brew install node
|
||||
fi
|
||||
|
||||
# Install TypeScript dependencies
|
||||
npm install
|
||||
|
||||
# Install tmux if needed
|
||||
if ! command -v tmux &>/dev/null; then
|
||||
echo "Installing tmux..."
|
||||
brew install tmux
|
||||
fi
|
||||
|
||||
# Install mkcert if needed
|
||||
if ! command -v mkcert &>/dev/null; then
|
||||
echo "Installing mkcert..."
|
||||
|
||||
Reference in New Issue
Block a user