Skip to content

Commit 28bd65e

Browse files
Merge branch 'main' into fix/claude-code-mcp-transport-flag
2 parents a35c2f5 + 5323004 commit 28bd65e

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ dist
3030

3131
test-results
3232
.claude/CLAUDE.md
33+
.eslintcache
34+
.tsbuildinfo

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ Since `listRoles` is wrapped in `createServerFn`, TanStack Start will properly h
194194

195195
This is a visual website, not a library. Assume changes work unless the user reports otherwise. Running builds after every change wastes time and context.
196196

197-
### Run Linting After Code Changes
197+
### Run Tests after Code Changes
198198

199-
**After making code changes, always run `pnpm lint` to verify the code passes linting.**
199+
**After making code changes, always run `pnpm test` to verify the code passes basic tests.**
200200

201-
Do NOT run tests after every change. Tests are run automatically by the pre-commit hook and CI. Linting is fast and catches most issues immediately.
201+
Do NOT run tests after every tiny small change, just at the end of your known tasks. Tests are run automatically by the pre-commit hook and CI. Linting is fast and catches most issues immediately.
202202

203203
### Debugging Visual Issues
204204

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@
1111
"dev:frontend": "pnpm run with-env vite dev",
1212
"build": "vite build && cp src/instrument.server.mjs dist/server",
1313
"start": "vite start",
14-
"lint": "eslint --ext .ts,.tsx ./src",
14+
"lint": "eslint --cache --ext .ts,.tsx ./src",
1515
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
1616
"linkAll": "node scripts/link.js",
1717
"db:generate": "drizzle-kit generate",
1818
"db:migrate": "drizzle-kit migrate",
1919
"db:push": "drizzle-kit push",
2020
"db:studio": "drizzle-kit studio",
2121
"husky": "pnpm run format && pnpm run test",
22-
"test": "tsc && pnpm run lint && pnpm run test:smoke",
22+
"test": "run-p test:tsc test:lint test:smoke",
23+
"test:tsc": "tsc",
24+
"test:lint": "pnpm run lint",
2325
"test:smoke": "tsx tests/smoke.ts",
2426
"test:smoke:ci": "tsx tests/smoke.ts --server",
2527
"test:e2e": "playwright test",

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"content-collections": ["./.content-collections/generated"]
2121
},
2222
"types": ["vite/client"],
23-
"noEmit": true
23+
"noEmit": true,
24+
"incremental": true,
25+
"tsBuildInfoFile": ".tsbuildinfo"
2426
}
2527
}

vite.config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,17 @@ export default defineConfig({
2323
// CTA packages use execa which has a broken unicorn-magic dependency
2424
'@tanstack/cta-engine',
2525
'@tanstack/cta-ui',
26-
'@tanstack/cta-ui-base',
2726
'@tanstack/cta-framework-react-cra',
2827
],
29-
noExternal: ['drizzle-orm'],
28+
// Bundle cta-ui-base so Vite resolves its extensionless imports
29+
noExternal: ['drizzle-orm', '@tanstack/cta-ui-base'],
3030
},
3131
optimizeDeps: {
3232
exclude: [
3333
'postgres',
3434
// CTA packages use execa which has a broken unicorn-magic dependency
3535
'@tanstack/cta-engine',
3636
'@tanstack/cta-ui',
37-
'@tanstack/cta-ui-base',
3837
'@tanstack/cta-framework-react-cra',
3938
],
4039
},

0 commit comments

Comments
 (0)