- 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>
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|