chore(knip): include 'knip.ts' in the root 'tsconfig.json' and remove unnecessary nullish fallback for 'optionalDependencies' - #11789
Conversation
|
View your CI Pipeline Execution ↗ for commit 1fede28
☁️ Nx Cloud last updated this comment at |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: TanStack/query/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe Angular Query workspace now reads ChangesKnip dependency handling
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to This developer-tooling change reads a field supplied by the Angular Query manifest and brings knip.ts into TypeScript analysis. No merge-blocking risk is established by the supplied evidence. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
knip.tstoincludein the roottsconfig.json. It only matched*.config.*, so type-aware ESLint failed to parseknip.tswith "The file was not found in any of the provided project(s)".?? {}fallback forangularQuery.optionalDependenciesinknip.ts, which@typescript-eslint/no-unnecessary-conditionreports once the file is type-checked. If the declaration is removed, the property access now fails instead of silently producing an empty ignore list.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit