feat: add quality gate tools and Node 22 setup
- Add type-coverage, knip, and dependency-cruiser for code quality - Set up Node 22 (LTS) with .nvmrc file - Configure knip for dead code detection across monorepo - Configure dependency-cruiser with sensible architecture rules - Add ts-reset for better TypeScript built-in types - Fix Tabs component type exports for Storybook - Recreate eslint react.js config that was missing - Add quality gates documentation All quality checks pass with 0 errors (only informational warnings). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
54f2c1a2d1
commit
378b068e38
11 changed files with 1292 additions and 141 deletions
71
package.json
71
package.json
|
|
@ -1,34 +1,41 @@
|
|||
{
|
||||
"name": "@tpmjs/monorepo",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": ">=18",
|
||||
"pnpm": ">=8"
|
||||
},
|
||||
"packageManager": "pnpm@10.14.0",
|
||||
"scripts": {
|
||||
"dev": "turbo dev",
|
||||
"build": "turbo build",
|
||||
"test": "turbo test",
|
||||
"test:ui": "turbo test:ui",
|
||||
"lint": "turbo lint",
|
||||
"format": "biome format --write .",
|
||||
"format:check": "biome check .",
|
||||
"type-check": "turbo type-check",
|
||||
"clean": "turbo clean && rm -rf node_modules .turbo",
|
||||
"changeset": "changeset",
|
||||
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile",
|
||||
"changeset:publish": "pnpm build && changeset publish",
|
||||
"prepare": "lefthook install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@changesets/cli": "^2.27.10",
|
||||
"@types/node": "^22.10.2",
|
||||
"lefthook": "^1.10.1",
|
||||
"turbo": "^2.6.1",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
"name": "@tpmjs/monorepo",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": ">=22",
|
||||
"pnpm": ">=8"
|
||||
},
|
||||
"packageManager": "pnpm@10.14.0",
|
||||
"scripts": {
|
||||
"dev": "turbo dev",
|
||||
"build": "turbo build",
|
||||
"test": "turbo test",
|
||||
"test:ui": "turbo test:ui",
|
||||
"lint": "turbo lint",
|
||||
"format": "biome format --write .",
|
||||
"format:check": "biome check .",
|
||||
"type-check": "turbo type-check",
|
||||
"type-coverage": "type-coverage --at-least 95",
|
||||
"find-deadcode": "knip",
|
||||
"check-architecture": "depcruise --validate --config .dependency-cruiser.js apps packages",
|
||||
"clean": "turbo clean && rm -rf node_modules .turbo",
|
||||
"changeset": "changeset",
|
||||
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile",
|
||||
"changeset:publish": "pnpm build && changeset publish",
|
||||
"prepare": "lefthook install"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
"@changesets/cli": "^2.27.10",
|
||||
"@total-typescript/ts-reset": "^0.6.1",
|
||||
"@types/node": "^22.10.2",
|
||||
"dependency-cruiser": "^17.3.1",
|
||||
"knip": "^5.70.2",
|
||||
"lefthook": "^1.10.1",
|
||||
"turbo": "^2.6.1",
|
||||
"type-coverage": "^2.29.7",
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue