Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build trpc types
run: pnpm --filter @kilocode/trpc run build

- name: Lint
run: scripts/lint-all.sh

Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ supabase/.temp

.kilo/plans

# @kilocode/trpc intermediate tsc output (bundled index.d.ts is committed)
packages/trpc/dist/tsc/
# @kilocode/trpc build output (rebuilt by: pnpm --filter @kilocode/trpc run build)
packages/trpc/dist/
18 changes: 18 additions & 0 deletions cloudflare-ai-attribution/jest.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/** @type {import('jest').Config} */
export default {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': [
'ts-jest',
{
tsconfig: {
esModuleInterop: true,
allowSyntheticDefaultImports: true,
},
useESM: true,
},
],
},
};
2 changes: 2 additions & 0 deletions cloudflare-o11y/test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ describe('o11y worker', () => {
ttfb_ms: 45,
complete_request_ms: 123,
status_code: 200,
created_at: expect.any(Number),
},
]);
});
Expand Down Expand Up @@ -310,6 +311,7 @@ describe('session metrics RPC', () => {
stuck_tool_call_count: 0,
auto_compaction_count: 1,
ingest_version: 1,
created_at: expect.any(Number),
},
]);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"typecheck": "pnpm --filter @kilocode/trpc run build && tsgo --noEmit",
"dependency-cycle-check": "madge --circular --warning --extensions ts,tsx --ts-config tsconfig.json --basedir . src",
"validate": "pnpm run typecheck && pnpm run lint && pnpm run format:changed && pnpm run test && pnpm run dependency-cycle-check",
"prepare": "husky",
"prepare": "bash scripts/prepare.sh",
"preinstall": "npx only-allow pnpm",
"node": "node",
"script": "IS_SCRIPT=true tsx --tsconfig tsconfig.scripts.json",
Expand Down
Loading
Loading