Skip to content

Commit 639d7c2

Browse files
committed
Squashed commit of the following:
commit 583e4a3 Author: Tanner Linsley <[email protected]> Date: Thu Jan 15 13:15:11 2026 -0700 prettier commit 0eab4dc Author: Tanner Linsley <[email protected]> Date: Thu Jan 15 13:14:19 2026 -0700 Tests, checkpoint, etc commit 0ba7da2 Author: Tanner Linsley <[email protected]> Date: Thu Jan 15 11:30:48 2026 -0700 test
1 parent 386b490 commit 639d7c2

File tree

116 files changed

+4578
-189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+4578
-189
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm husky

AGENTS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,19 @@ 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
198+
199+
**After making code changes, always run `pnpm lint` to verify the code passes linting.**
200+
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.
202+
197203
### Debugging Visual Issues
198204

199205
When the user reports something doesn't work or look right:
200206

201207
1. Use the Playwright MCP to view the page and debug visually
202208
2. Use builds (`pnpm build`) only when investigating build/bundler issues
203-
3. Use TypeScript compilation (`pnpm tsc --noEmit`) for type errors
209+
3. Use linting (`pnpm lint`) to check for code issues
204210

205211
### Use `build` for Build-Specific Issues
206212

package.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@
1818
"db:migrate": "drizzle-kit migrate",
1919
"db:push": "drizzle-kit push",
2020
"db:studio": "drizzle-kit studio",
21-
"test": "pnpm run test:smoke",
22-
"test:smoke": "playwright test"
21+
"husky": "pnpm run format && pnpm run test",
22+
"test": "tsc && pnpm run lint && pnpm run test:smoke",
23+
"test:smoke": "tsx tests/smoke.ts",
24+
"test:smoke:ci": "tsx tests/smoke.ts --server",
25+
"test:e2e": "playwright test",
26+
"prepare": "husky"
2327
},
2428
"dependencies": {
2529
"@auth/core": "0.37.0",
@@ -40,8 +44,13 @@
4044
"@sentry/node": "^10.33.0",
4145
"@sentry/tanstackstart-react": "^10.32.1",
4246
"@sentry/vite-plugin": "^4.6.1",
47+
"@stackblitz/sdk": "^1.11.0",
4348
"@tailwindcss/typography": "^0.5.13",
4449
"@tailwindcss/vite": "^4.1.11",
50+
"@tanstack/cta-engine": "^0.47.0",
51+
"@tanstack/cta-framework-react-cra": "^0.47.0",
52+
"@tanstack/cta-ui": "^0.47.0",
53+
"@tanstack/cta-ui-base": "^0.47.0",
4554
"@tanstack/pacer": "^0.16.4",
4655
"@tanstack/react-pacer": "^0.17.4",
4756
"@tanstack/react-query": "^5.90.12",
@@ -69,6 +78,7 @@
6978
"hast-util-to-string": "^3.0.1",
7079
"hono": "^4.11.3",
7180
"html-react-parser": "^5.1.10",
81+
"jszip": "^3.10.1",
7282
"lru-cache": "^7.13.1",
7383
"lucide-react": "^0.561.0",
7484
"mermaid": "^11.11.0",
@@ -110,6 +120,7 @@
110120
"@eslint/js": "^9.39.1",
111121
"@playwright/test": "^1.57.0",
112122
"@shikijs/transformers": "^1.10.3",
123+
"@types/express": "^5.0.3",
113124
"@types/hast": "^3.0.4",
114125
"@types/node": "^24.3.0",
115126
"@types/pg": "^8.15.6",
@@ -124,11 +135,13 @@
124135
"eslint-plugin-jsx-a11y": "^6.10.0",
125136
"eslint-plugin-react": "^7.37.5",
126137
"eslint-plugin-react-hooks": "^7.0.1",
138+
"husky": "^9.1.7",
127139
"npm-run-all": "^4.1.5",
128140
"postcss": "^8.4.35",
129141
"prettier": "^3.7.4",
130142
"source-map-explorer": "^2.5.3",
131143
"tailwindcss": "^4.1.11",
144+
"tailwindcss-animate": "^1.0.7",
132145
"tsx": "^4.21.0",
133146
"typescript": "^5.6.3",
134147
"typescript-eslint": "^8.48.1",
@@ -145,7 +158,8 @@
145158
"jws": ">=3.2.3",
146159
"qs": ">=6.14.1",
147160
"js-yaml": "^3.14.2",
148-
"brace-expansion": ">=1.1.12"
161+
"brace-expansion": ">=1.1.12",
162+
"unicorn-magic": "^0.4.0"
149163
}
150164
},
151165
"_pnpm": {

playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineConfig } from '@playwright/test'
22

33
export default defineConfig({
44
testDir: './tests',
5+
testMatch: '**/*.spec.ts',
56
fullyParallel: true,
67
forbidOnly: !!process.env.CI,
78
retries: 0,

0 commit comments

Comments
 (0)