Repository navigation
Conversation
Co-Authored-By: Claude Code <noreply@anthropic.com>
|
Thanks @joei4cm, this is a really tidy piece of work. Swapping the structural casts for the generated Prisma delegate types makes There are two things I'd like to ask for before we merge. The scripts tests now have two configs. The root The second is the new A few older things in the importer came up while reading through it. None of them were introduced here, so I've put them in #307 rather than asking for them in this PR. |
Remove the redundant root vitest config and root-only script dependencies. Limit the source export to the sync subpath and document that it is only for tsx and vitest. Co-Authored-By: Claude Code <noreply@anthropic.com>
|
Addressed both requests in f3f0998: removed the redundant root vitest.config.ts and root-only @linear/sdk/tsx devDependencies, and narrowed the source export to ./shared/source/sync with an import comment noting it is only for tsx/vitest. Validation: scripts Vitest 64/64 passed, scripts typecheck passed after building @copilotkit/outpost, Prettier and git diff --check passed. |
|
Thanks @joei4cm, this looks good. The single vitest config and the narrowed subpath are exactly what I had in mind, and it's great to have the scripts tests running in CI. There's one thing I'd like to ask for, and it comes from my own earlier request. With |
What changed
scripts/as a pnpm workspace package with its own Vitest and TypeScript tasks so Turbo and CI run the scripts tests and typecheck.tsxcommand usable from a fresh checkout beforeshared/disthas been built.Validation
NODE_OPTIONS="--max-old-space-size=4096" pnpm exec turbo run typecheck --filter=@copilotkit/outpost-scripts --concurrency=2— passed.NODE_OPTIONS="--max-old-space-size=4096" pnpm exec turbo run test --filter=@copilotkit/outpost-scripts --concurrency=2 -- --maxWorkers=2— 4 files, 64 tests passed.tsxstartup smoke check withpackages/outpost/shared/distremoved — passed module resolution and reached the expected missing-team-id usage message.git diff --check, and code review — passed.Refs #267
🤖 Generated with Claude Code