Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Setting up new Effect project..."
|
||||
|
||||
# Install all dependencies (including @effect/eslint-plugin, typescript, etc.)
|
||||
echo "Installing dependencies..."
|
||||
pnpm install
|
||||
|
||||
# Pre-fetch the effect-mcp server so it runs instantly the first time
|
||||
echo "Pre-caching effect-mcp MCP server..."
|
||||
npx -y effect-mcp@latest --version >/dev/null 2>&1 || true
|
||||
|
||||
echo "Setting up git remotes..."
|
||||
|
||||
# Check if the 'template' remote already exists to avoid errors
|
||||
if ! git remote | grep -q "^template$"; then
|
||||
git remote add template git@git.ewynn.in:ada/effect-template.git
|
||||
echo "Template remote added successfully."
|
||||
else
|
||||
echo "Template remote already exists."
|
||||
fi
|
||||
|
||||
echo "Setup complete! The project is ready to use."
|
||||
Reference in New Issue
Block a user