feat(kits): add test script to all packages under kits - #2945
Conversation
There was a problem hiding this comment.
Code Review
This pull request configures testing scripts across various packages in the kits/ directory, introducing vitest as a test runner for several packages and placeholder warnings for others. It also updates the workspace configuration in lerna.json and pnpm-workspace.yaml to include the kits/ directory, and adds a base TypeScript configuration. The reviewer suggests enabling strict type checking (strict: true) in the base TypeScript configuration to enforce stronger type guarantees and improve code quality across the workspace.
| "declaration": true, | ||
| "declarationMap": true, | ||
| "sourceMap": true, | ||
| "strict": false, |
There was a problem hiding this comment.
Consider enabling strict type checking (strict: true) in the base TypeScript configuration. This enforces stronger type guarantees, helps catch potential runtime errors during compilation, and ensures consistent code quality across all packages in the workspace.
| "strict": false, | |
| "strict": true, |
Adds a test script to every package under kits/. Runs vitest for packages with a tests folder, and prints a warning for packages without tests.