Awesome Reviewers

Maintain configuration consistency and compatibility by using a single, intentional strategy for dependency declarations, peer ranges, and script runtimes.

Apply these rules: 1) Pick a monorepo pattern per package type

2) Prefer package-local dependency ownership

3) Use peerDependencies when you don’t bundle

4) Make peer semver ranges explicit and future-proof

5) Don’t duplicate tooling already provided by shared configs

6) Use the correct TS/script runner for the declared Node environment

Example (peer range + script runner):

{
  "peerDependencies": {
    "next": "^13 || ^14",
    "typescript": "^5.0.0"
  },
  "scripts": {
    "verify-links": "pnpm tsx scripts/verify-links.ts"
  }
}

Example (workspace dep):

{
  "dependencies": {
    "@tanstack/query-core": "workspace:*"
  }
}