Skip to content

Commit 5ba14a9

Browse files
Merge branch 'main' into feat/testimonials-heading-alignment
2 parents a6b5d50 + d82a4df commit 5ba14a9

218 files changed

Lines changed: 22007 additions & 8616 deletions

File tree

Some content is hidden

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

.agents/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ TanStack.com marketing site built with TanStack Start.
55
## Essentials
66

77
- Package manager: `pnpm`
8-
- Run `pnpm test` before commits or after significant code changes, not after every tiny edit
9-
- Smoke tests live outside the default `pnpm test` path and are reserved for commit-hook validation
10-
- Don't run builds after every change. This is a visual site; assume changes work unless reported otherwise.
8+
- Run `pnpm test` before commits not after every tiny edit
9+
- Don't run builds or tests after every change. This is a visual site; assume changes work unless reported otherwise.
10+
- Rely on `tsc` or your built-in LSP integration (hopefully you have this)
1111
- **Typesafety is paramount.** Never cast types; fix at source instead. See [typescript.md](./typescript.md).
1212

1313
## Topic Guides

docs/partner-placement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Do not expose private commercial criteria in client-facing field names, comments
1818

1919
### `tier-rotated`
2020

21-
Use for visible partner surfaces where partners in the same tier should cycle over time. Tier order remains fixed, but partners inside the same tier are selected with weighted-random ordering for each page view and surface.
21+
Use for visible partner surfaces where partners in the same tier should cycle over time. Tier order remains fixed, but partners inside the same tier are selected with weighted-random ordering for each loaded app session and surface.
2222

23-
The root loader creates the initial page-view seed, so SSR and hydration receive the same value through loader data. A React provider owns the seed after hydration and refreshes it on client-side page views. Each surface combines its stable surface id with the page-view seed; avoid runtime-generated component ids in the seed because they can diverge across server and client rendering. Partners default to equal probability within their tier; a future `placementWeight` can bias same-tier odds without changing the ordering API.
23+
The root loader creates the session seed, so SSR and hydration receive the same value through loader data. Client placement hooks read the root loader data directly and do not refresh it during normal navigation. Each surface combines its stable surface id with the session seed; avoid runtime-generated component ids in the seed because they can diverge across server and client rendering. Partners default to equal probability within their tier; a future `placementWeight` can bias same-tier odds without changing the ordering API.
2424

2525
### `contextual-recommendation`
2626

@@ -34,7 +34,7 @@ Use for AI- or crawler-facing outputs such as `llms.txt` and JSON feeds. These s
3434

3535
Reserved rules should be narrow. For example, Cloudflare is reserved as the first deployment/hosting partner in any list that contains Cloudflare and other deployment partners. That should not imply Cloudflare is globally first across every partner surface; non-deployment partners can still appear before Cloudflare when the surface is mixed-category.
3636

37-
Deployment action buttons are a deployment-only surface. Cloudflare remains first when present. Tier order is still preserved, and providers within the same tier can rotate by page view.
37+
Deployment action buttons are a deployment-only surface. Cloudflare remains first when present. Tier order is still preserved, and providers within the same tier can rotate by session.
3838

3939
## Current Surfaces
4040

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
NODE_OPTIONS = "--max-old-space-size=4096"
33

44
[build]
5-
command = "vite build && cp src/instrument.server.mjs dist/server"
5+
command = "vite build --logLevel warn && cp src/instrument.server.mjs dist/server"
66
publish = "dist/client"
77

88
[functions]

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dev": "pnpm run with-env vite dev",
1010
"with-env": "dotenv -e .env.local",
1111
"dev:frontend": "pnpm run with-env vite dev",
12-
"build": "vite build",
12+
"build": "vite build --logLevel warn",
1313
"start": "vite start",
1414
"start:prod": "pnpm run with-env node scripts/run-built-server.mjs",
1515
"content:build": "node scripts/build-content-collections.mjs",
@@ -29,6 +29,7 @@
2929
"prepare": "husky"
3030
},
3131
"dependencies": {
32+
"@fingerprintjs/fingerprintjs-pro-react": "^2.7.1",
3233
"@floating-ui/react": "^0.27.19",
3334
"@kapaai/react-sdk": "^0.9.10",
3435
"@modelcontextprotocol/sdk": "^1.29.0",
@@ -64,6 +65,7 @@
6465
"@tanstack/react-router-devtools": "1.167.0",
6566
"@tanstack/react-router-ssr-query": "1.167.0",
6667
"@tanstack/react-start": "1.168.10",
68+
"@tanstack/react-start-client": "1.168.2",
6769
"@tanstack/react-table": "^8.21.3",
6870
"@types/d3": "^7.4.3",
6971
"@uploadthing/react": "^7.3.3",
@@ -79,15 +81,19 @@
7981
"diff": "^8.0.4",
8082
"discord-interactions": "^4.4.0",
8183
"drizzle-orm": "^0.45.2",
84+
"encoding-sniffer": "^0.2.1",
8285
"gray-matter": "^4.0.3",
8386
"hast-util-is-element": "^3.0.0",
8487
"hast-util-to-string": "^3.0.1",
88+
"iconv-lite": "^0.7.2",
8589
"jszip": "^3.10.1",
8690
"lru-cache": "^11.2.7",
8791
"lucide-react": "^1.7.0",
8892
"maath": "^0.10.8",
8993
"match-sorter": "^8.2.0",
9094
"mermaid": "^11.14.0",
95+
"parse5": "^7.3.0",
96+
"parse5-parser-stream": "^7.1.2",
9197
"postgres": "^3.4.8",
9298
"react": "19.2.3",
9399
"react-colorful": "^5.6.1",
@@ -127,7 +133,7 @@
127133
"@tanstack/devtools-vite": "^0.7.0",
128134
"@tanstack/react-devtools": "^0.10.5",
129135
"@tanstack/react-query-devtools": "^5.100.11",
130-
"@tanstack/redact": "^0.0.12",
136+
"@tanstack/redact": "^0.0.17",
131137
"@types/hast": "^3.0.4",
132138
"@types/node": "^25.5.0",
133139
"@types/pg": "^8.20.0",

pnpm-lock.yaml

Lines changed: 31 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
157 KB
Loading
1.52 MB
Loading
2.77 MB
Loading
95.6 KB
Loading
1.75 MB
Loading

0 commit comments

Comments
 (0)