mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
chore: remove devcontainer configuration and related scripts
This commit is contained in:
31
.github/copilot-instructions.md
vendored
31
.github/copilot-instructions.md
vendored
@@ -10,28 +10,17 @@ This project is a financial transaction management application built with Astro
|
||||
* **Language:** TypeScript, JavaScript (client-side scripts), HTML, CSS
|
||||
* **Styling:** Plain CSS (`src/styles/global.css`)
|
||||
* **Data:** Using Astro's built-in API routes in `src/pages/api/` with persistent database storage via Prisma ORM (`src/data/db.service.ts`).
|
||||
* **Development Environment:** VS Code Dev Container using private Docker image (`ghcr.io/acedanger/finance-devcontainer:latest`)
|
||||
* **Development Environment:** Local development with Node.js, PostgreSQL, and standard tooling
|
||||
|
||||
## Development Environment
|
||||
|
||||
* **Dev Container:** The project uses a VS Code Dev Container for consistent development environments.
|
||||
* Container configuration in `.devcontainer/devcontainer.json`
|
||||
* Uses a private container image hosted on GitHub Container Registry
|
||||
* Image: `ghcr.io/acedanger/finance-devcontainer:latest`
|
||||
* Includes all necessary development tools and extensions
|
||||
* Configured with GitHub CLI and authentication
|
||||
* Features Docker-in-Docker support for additional container needs
|
||||
* **Container Features:**
|
||||
* Node.js and npm pre-installed
|
||||
* Git and GitHub CLI configured
|
||||
* TypeScript support
|
||||
* VS Code extensions pre-configured
|
||||
* Docker-in-Docker capability
|
||||
* Automatic GitHub authentication
|
||||
* **Authentication:**
|
||||
* Requires GitHub Personal Access Token for private container access
|
||||
* Token should be configured in `.devcontainer/.env`
|
||||
* GitHub CLI authentication handled in post-start command
|
||||
* **Local Development:** The project uses standard Node.js development practices.
|
||||
* Node.js (version 18 or higher)
|
||||
* PostgreSQL for database storage
|
||||
* Prisma ORM for database operations
|
||||
* TypeScript for type safety
|
||||
* Biome.js for code formatting and linting
|
||||
* Husky for Git hooks and code quality enforcement
|
||||
|
||||
## Current State & Key Features
|
||||
|
||||
@@ -60,10 +49,6 @@ This project is a financial transaction management application built with Astro
|
||||
|
||||
## File Structure Overview
|
||||
|
||||
* `.devcontainer/`: Development container configuration
|
||||
* `devcontainer.json`: VS Code Dev Container configuration
|
||||
* `Dockerfile`: Base container definition (for reference)
|
||||
* `.env.example`: Template for container environment variables
|
||||
* `src/components/`: Reusable UI components.
|
||||
* `src/data/`: Data store and persistence layer.
|
||||
* `db.service.ts`: Database service layer using Prisma ORM
|
||||
|
||||
Reference in New Issue
Block a user