Repository navigation
Conversation
|
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. |
|
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 |
|
Done in 07de27c: |
|
Thanks @joei4cm, that's exactly it. With This is ready from my side. We'll merge once CI has run. Thanks for your continued work on this, it's great to have the scripts tests running in CI now. |
Co-Authored-By: Claude Code <noreply@anthropic.com>
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>
npx tsx scripts/... from the repo root is the documented way to run the import and cutover scripts (scripts/cutover/README.md and both scripts' usage text), and with tsx only in scripts/package.json npx no longer finds a local copy there — it fetches an unpinned version or fails. @linear/sdk stays in scripts/package.json. Co-Authored-By: Claude Code <noreply@anthropic.com>
07de27c to
3993a52
Compare
|
Rebased onto |
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.Rebased on
mainafter #327#327 removed the one-off migration and cutover tooling, including
scripts/migrate-from-orca.ts. This branch is rebased onto thatmain, so the fixes that only applied to the deleted Orca migration script are gone with it. The workspace package itself is unchanged:scripts/now holdscreate-admin.tsandimport-linear.ts, and the Vitest config moved toscripts/vitest.config.ts.Validation
pnpm turbo run typecheck --filter=@copilotkit/outpost-scripts— passed.pnpm --filter @copilotkit/outpost-scripts test— 2 files, 12 tests passed.npx prettier --checkon the changed files — passed.git diff --check— passed.Refs #267
🤖 Generated with Claude Code