implements basic header and installs oat
This commit is contained in:
parent
0c4f160800
commit
74b979704f
8 changed files with 1147 additions and 2466 deletions
22
AGENTS.md
22
AGENTS.md
|
|
@ -9,6 +9,7 @@ This file provides guidelines for AI coding agents working in this repository.
|
|||
- **Framework**: Astro 5.x
|
||||
- **Package Manager**: pnpm
|
||||
- **Module System**: ES Modules (`"type": "module"`)
|
||||
- **Shell**: Either use `bash` when in `direnv` or `fish` when used on my personal devices. Do not use `zsh`
|
||||
|
||||
## Project Structure
|
||||
|
||||
|
|
@ -39,15 +40,9 @@ pnpm preview # Preview production build locally
|
|||
pnpm astro check # Run Astro + TypeScript type checking
|
||||
```
|
||||
|
||||
### Linting & Formatting (Biome)
|
||||
### Formatting
|
||||
|
||||
```bash
|
||||
biome check . # Check linting and formatting
|
||||
biome check --write . # Auto-fix linting and formatting issues
|
||||
biome format --write . # Format files only
|
||||
biome lint . # Lint files only
|
||||
biome lint --write . # Auto-fix lint issues only
|
||||
```
|
||||
Use prettier for formatting
|
||||
|
||||
### Testing
|
||||
|
||||
|
|
@ -199,18 +194,11 @@ direnv allow
|
|||
nix develop
|
||||
```
|
||||
|
||||
The Nix shell provides: Node.js, pnpm, Biome, PostgreSQL, and language servers.
|
||||
|
||||
## VS Code Integration
|
||||
|
||||
Recommended extensions are configured in `.vscode/extensions.json`:
|
||||
|
||||
- Astro language support
|
||||
- Biome for formatting/linting
|
||||
The Nix shell provides: Node.js, pnpm, PostgreSQL, and language servers.
|
||||
|
||||
## Before Committing
|
||||
|
||||
1. Run type checking: `pnpm astro check`
|
||||
2. Run linting/formatting: `biome check --write .`
|
||||
2. Run formatting: `pnpm format` (prettier)
|
||||
3. Build successfully: `pnpm build`
|
||||
4. Test locally if applicable: `pnpm preview`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue