Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,6 @@ Title hierarchy:
- [ ] No commented-out code
- [ ] No `console.log` debug statements
- [ ] No TODO comments without an owner / issue link
- [ ] Type errors clean (`npx tsc --noEmit`)
- [ ] Type errors clean (`pnpm type-check`)
- [ ] Lint clean (`pnpm lint`)
- [ ] Format clean (`pnpm format`)
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pnpm-lock.yaml.bak

# typescript
*.tsbuildinfo
next-env.d.ts

# rss feeds
feed.xml
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ This project enforces type-safe chain names via TypeScript. When working with la

1. **Always look up exact names** - Before adding `chainName` or `supported_chains`, search `chains.ts` for the exact `name` value
2. **Names are case-sensitive and exact** - e.g., use `"Zircuit Mainnet"` not `"Zircuit"`, use `"OP Mainnet"` not `"Optimism"`
3. **Run type checking** - Use `npx tsc --noEmit` to verify chain names are valid before committing
3. **Run type checking** - Use `pnpm type-check` to verify chain names are valid before committing
4. **Non-EVM chains** - For Starknet and other non-EVM chains, use `NonEVMChainName` type

**Common Mistakes:**
Expand Down
6 changes: 0 additions & 6 deletions next-env.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "next start",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"type-check": "tsc --noEmit",
"type-check": "next typegen && tsc --noEmit",
"format": "prettier \"**/*.{js,jsx,ts,tsx}\" --write",
"preversion": "bash ./src/scripts/updatePublishDate.sh",
"storybook": "storybook dev -p 6006",
Expand Down
Loading