refactor: update devcontainer and Biome configuration (#27)

- Remove ESLint and Prettier in favor of Biome
- Configure Biome as default formatter for TS/JS/JSON/MD
- Add development helper extensions
- Update VSCode settings for Biome integration

Closes #27
This commit is contained in:
Peter Wood
2025-05-04 08:39:31 -04:00
parent 377cc63465
commit f2c0373640
4 changed files with 96 additions and 10 deletions

View File

@@ -0,0 +1,28 @@
#!/bin/bash
# Configuration
GITHUB_USERNAME=$1
IMAGE_NAME="finance-devcontainer"
IMAGE_TAG="latest"
if [ -z "$GITHUB_USERNAME" ]; then
echo "Usage: $0 <github_username>"
echo "Example: $0 acedanger"
exit 1
fi
FULL_IMAGE_NAME="ghcr.io/$GITHUB_USERNAME/$IMAGE_NAME:$IMAGE_TAG"
# Build the image
echo "Building image: $FULL_IMAGE_NAME"
docker build -t $FULL_IMAGE_NAME -f Dockerfile .
# Push to GitHub Container Registry
echo "Pushing image to GHCR..."
docker push $FULL_IMAGE_NAME
echo "Done! Now update your devcontainer.json to use this image:"
echo "Replace the 'build' section with:"
echo '{
"image": "'$FULL_IMAGE_NAME'"
}'