Skip to content

Commit 2b1ce54

Browse files
committed
Squashed commit of the following:
commit 64e6d57 Author: Tanner Linsley <[email protected]> Date: Thu Jan 15 14:06:02 2026 -0700 attempt fix
1 parent 5a806c1 commit 2b1ce54

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

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)