@@ -14,8 +14,8 @@ When the user runs this command, execute the following workflow:
|
||||
- If user provides $ARGUMENTS (a simple message), skip to step 3
|
||||
|
||||
2. **Run pre-commit validation**:
|
||||
- Execute `pnpm lint` and report any issues
|
||||
- Execute `pnpm build` and ensure it succeeds
|
||||
- Execute `bun run lint` and report any issues
|
||||
- Execute `bun run type:check && bun run lint` (or `bun run build` if none available) and ensure it succeeds
|
||||
- If either fails, ask user if they want to proceed anyway or fix issues first
|
||||
|
||||
3. **Analyze git status**:
|
||||
|
||||
@@ -10,9 +10,9 @@ This command runs the complete testing pipeline for the project.
|
||||
|
||||
To run the complete testing pipeline, just type:
|
||||
|
||||
1. Run pnpm type:check
|
||||
2. Run pnpm lint
|
||||
3. Run pnpm test
|
||||
1. Run bun run type:check
|
||||
2. Run bun run lint
|
||||
3. Run bun test
|
||||
4. Report any failures
|
||||
5. Fix any failures
|
||||
6. Repeat until all tests pass
|
||||
@@ -20,7 +20,7 @@ To run the complete testing pipeline, just type:
|
||||
|
||||
## What This Command Does
|
||||
|
||||
1. Runs `pnpm type:check` to check for type errors
|
||||
2. Runs `pnpm lint` to check for linting errors
|
||||
3. Runs `pnpm test` to run the tests
|
||||
4. Reports any failures
|
||||
1. Runs `bun run type:check` to check for type errors
|
||||
2. Runs `bun run lint` to check for linting errors
|
||||
3. Runs `bun test` to run the tests
|
||||
4. Reports any failures
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
|
||||
**Primary Language:** TypeScript
|
||||
**Runtime:** Node.js/Bun
|
||||
**Package Manager:** npm/pnpm/yarn
|
||||
**Package Manager:** npm/pnpm/yarn/bun
|
||||
**Build Tools:** TypeScript Compiler (tsc)
|
||||
**Testing:** Jest/Vitest (if configured)
|
||||
**Linting:** ESLint (if configured)
|
||||
**Testing:** Jest/Vitest/Bun (if configured)
|
||||
**Linting:** ESLint/Biome/Oxlint (if configured)
|
||||
|
||||
## Project Structure
|
||||
|
||||
@@ -101,4 +101,4 @@ Execute [task] now.
|
||||
- Code review completed
|
||||
- Build process succeeds
|
||||
- Tests pass (if available)
|
||||
- Documentation updated
|
||||
- Documentation updated
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint && biome check --write --files-max-size=50000000 --vcs-enabled=true src",
|
||||
"typecheck": "tsgo"
|
||||
"type:check": "tsgo"
|
||||
},
|
||||
"dependencies": {
|
||||
"@openrouter/sdk": "^0.11.2",
|
||||
|
||||
Reference in New Issue
Block a user