https://github.com/kh4f/next-dont
😤 Next.js, don’t mess with my tsconfig
https://github.com/kh4f/next-dont
next-dont next-fix next-patch nextjs tsconfig tsconfig-guard
Last synced: 2 months ago
JSON representation
😤 Next.js, don’t mess with my tsconfig
- Host: GitHub
- URL: https://github.com/kh4f/next-dont
- Owner: kh4f
- License: mit
- Created: 2026-01-22T20:34:15.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-02T03:48:29.000Z (4 months ago)
- Last Synced: 2026-02-02T15:02:29.226Z (4 months ago)
- Topics: next-dont, next-fix, next-patch, nextjs, tsconfig, tsconfig-guard
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/next-dont
- Size: 119 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## 🕹️ Usage
```bash
bunx next-dont
```
This patches your local `node_modules/next` to prevent Next.js from making unnecessary changes to the `tsconfig.json`.
For convenience, add `next-dont` to the `prepare` script in `package.json` so the patch is applied automatically after every dependency install:
```json
{
"scripts": {
"prepare": "bunx next-dont"
}
}
```