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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ coverage/
tests/fixtures/**/dist/
tests/integration/**/.next/
tests/integration/**/dist/

# AGENTS.md is the only agent instruction surface
.claude/
5 changes: 5 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Public shared TypeScript presets for Node.js, libraries, React, and Next.js. The goal is a small, strict, independently installable config package with verified TypeScript 6/7 behavior.

## Agent instructions

`AGENTS.md` is the sole agent-instruction source for this repository. Do not add
`CLAUDE.md` or `.claude` content.

## Repository map

- `*.json` — published compiler presets; `base.json` owns shared defaults.
Expand Down
21 changes: 0 additions & 21 deletions CLAUDE.md

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"lint": "pnpm check:agents && eslint .",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:integration": "pnpm --dir tests/integration/react build && pnpm --dir tests/integration/nextjs build",
"check": "pnpm format:check && pnpm lint && pnpm test:coverage && pnpm test:integration",
"prepublishOnly": "pnpm check"
"prepublishOnly": "pnpm check",
"check:agents": "node -e \"const f=require('node:fs');if(!f.existsSync('AGENTS.md')||f.existsSync('CLAUDE.md')||f.existsSync('.claude'))process.exit(1)\""
},
"peerDependencies": {
"typescript": ">=6.0.2 <8"
Expand Down