Skip to content

Commit ee2a0da

Browse files
committed
chore: update package dependencies and scripts to use vite-plus
- Changed script commands in package.json to use `vp` instead of `vite`. - Updated dependencies to their latest versions, including major updates for several packages. - Modified test setup to import from `vite-plus/test`. - Adjusted TypeScript configuration to include necessary files and settings. - Refactored Vite configuration to utilize `vite-plus` and improved plugin setup. - Enhanced auto-imports and environment configurations for better type support.
1 parent f60f7c7 commit ee2a0da

14 files changed

Lines changed: 568 additions & 753 deletions

.oxfmtrc.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.oxlintrc.json

Lines changed: 0 additions & 132 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["usernamehw.errorlens", "oxc.oxc-vscode"]
2+
"recommendations": ["usernamehw.errorlens", "voidzero.vite-plus-extension-pack"]
33
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"bun.lock": true
99
},
1010
"editor.defaultFormatter": "oxc.oxc-vscode",
11-
"typescript.tsdk": "node_modules/typescript/lib",
11+
"js/ts.experimental.useTsgo": true,
1212
"search.exclude": {
1313
"**/routeTree.gen.ts": true,
1414
"**/node_modules": true,

AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Repository Guidelines
22

33
## Project Structure & Module Organization
4+
45
Core application code lives in `src/`. Use `src/routes/` for TanStack Router file-based routes, `src/components/` for reusable UI, layouts, and providers, `src/store/` for Zustand state, and `src/core/` for shared infrastructure such as env parsing, database access, schemas, and utilities. Tests currently live in `src/__tests__/`. Root config files include `vite.config.ts`, `vitest.config.ts`, `drizzle.config.ts`, and TypeScript configs.
56

67
## Build, Test, and Development Commands
8+
79
Use Bun for all local workflows:
810

911
- `bun dev`: start the Vite/TanStack Start dev server on port `3000`.
@@ -16,13 +18,17 @@ Use Bun for all local workflows:
1618
- `docker-compose up -d`: start the local PostgreSQL service when needed.
1719

1820
## Coding Style & Naming Conventions
21+
1922
Write TypeScript with 2-space indentation, no semicolon style, and ESM imports, matching the existing codebase. Prefer `PascalCase` for React components, `camelCase` for hooks and utilities, and descriptive route filenames such as `index.tsx` and `__root.tsx`. Keep shared UI in `src/components/ui/`, app-wide providers in `src/components/providers/`, and avoid bypassing `src/core/utils/` for common helpers. Run `bun lint` and `bun format` before opening a PR.
2023

2124
## Testing Guidelines
25+
2226
This repo uses Vitest with `happy-dom`. Name tests `*.test.ts` or `*.test.tsx`; place broad setup-style tests in `src/__tests__/` and keep feature-specific tests close to the code when practical. No coverage threshold is enforced in config, so contributors should add or update tests for new route logic, state transitions, and utility behavior. Run `bun test` locally before pushing.
2327

2428
## Commit & Pull Request Guidelines
29+
2530
Follow the commit style already used in history: Conventional Commit prefixes such as `feat:`, `fix:`, `refactor:`, `docs:`, `style:`, and `chore:` with a short imperative summary. PRs should include a concise description, linked issue when applicable, local verification steps, and screenshots or recordings for UI changes. Call out schema, environment, or migration impacts explicitly.
2631

2732
## Environment & Configuration Tips
33+
2834
Keep secrets in local env files, not in source control. Database and runtime configuration flow through `src/core/env/` and Drizzle config, so update those paths together when introducing new environment variables or database settings.

0 commit comments

Comments
 (0)