Skip to content

Commit 004be7d

Browse files
Merge branch 'main' into DC-5560-deno-deploy-integration-guide
2 parents 8be0435 + 42cb0a5 commit 004be7d

116 files changed

Lines changed: 7965 additions & 3360 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.

.coderabbit.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
# yaml template to refer to https://docs.coderabbit.ai/reference/yaml-template#enterprise
3+
language: "en-US"
4+
reviews:
5+
collapse_walkthrough: false
6+
profile: "chill"
7+
high_level_summary: true
8+
request_changes_workflow: true
9+
poem: false
10+
in_progress_fortune: false
11+
sequence_diagrams: false
12+
suggested_labels: false
13+
suggested_reviewers: false
14+
auto_review:
15+
enabled: true
16+
drafts: false
17+
finishing_touches:
18+
docstrings:
19+
enabled: false
20+
unit_tests:
21+
enabled: false
22+
chat:
23+
art: false

.github/workflows/check-all-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- uses: actions/checkout@v4
9090
- uses: actions/setup-node@v4
9191
with:
92-
node-version: 18
92+
node-version: 22
9393

9494
- name: Install deps
9595
run: npm install

.github/workflows/lost-pixel.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/lychee.yml

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
name: 🍈 Lychee
2+
3+
on: [pull_request]
4+
5+
concurrency:
6+
group: lychee-${{ github.event.pull_request.number }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
check-links:
11+
name: Check links
12+
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: write
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: 🍈 Lychee Link Checker (First Run)
19+
id: lychee
20+
uses: lycheeverse/lychee-action@v2
21+
with:
22+
fail: false
23+
output: ../lychee/out.md
24+
args: >
25+
--cache
26+
--cache-exclude-status 429,500,502,503,504
27+
--max-cache-age 5m
28+
--verbose
29+
--no-progress
30+
--accept 200,201,204,304,403,429
31+
--timeout 20
32+
--max-retries 8
33+
--retry-wait-time 5
34+
--exclude 'http://localhost.*'
35+
--exclude 'https://localhost.*'
36+
--exclude 'https://cockroachlabs.com'
37+
--exclude '^/.*'
38+
'./**/*.md' './**/*.mdx'
39+
workingDirectory: "content"
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.github_token }}
42+
43+
- name: 🔄 Retry Lychee Link Checker (Second Run for Timeouts)
44+
id: lychee-retry
45+
if: ${{ always() && steps.lychee.outputs.exit_code != 0 }}
46+
uses: lycheeverse/lychee-action@v2
47+
with:
48+
fail: false
49+
output: ../lychee/out-retry.md
50+
args: >
51+
--cache
52+
--max-cache-age 5m
53+
--verbose
54+
--no-progress
55+
--accept 200,201,204,304,403,429
56+
--cache-exclude-status 429,500,502,503,504
57+
--timeout 30
58+
--max-retries 10
59+
--retry-wait-time 10
60+
--exclude 'http://localhost.*'
61+
--exclude 'https://localhost.*'
62+
--exclude 'https://cockroachlabs.com'
63+
--exclude '^/.*'
64+
'./**/*.md' './**/*.mdx'
65+
workingDirectory: "content"
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.github_token }}
68+
69+
- name: 📝 Clean up Lychee Report
70+
if: ${{ always() && github.event.pull_request.head.repo.fork == false }}
71+
run: |
72+
# Use retry results if available, otherwise use first run results
73+
if [ -f "lychee/out-retry.md" ]; then
74+
REPORT_FILE="lychee/out-retry.md"
75+
NOTE="Links are cached for 5 minutes. Failed links (timeouts, rate limits) are retried in a second run with longer timeout."
76+
elif [ -f "lychee/out.md" ]; then
77+
REPORT_FILE="lychee/out.md"
78+
NOTE="Links are cached for 5 minutes to avoid unnecessary requests, and speed up consecutive runs."
79+
fi
80+
81+
if [ -n "$REPORT_FILE" ]; then
82+
# Read the original output
83+
ORIGINAL=$(cat "$REPORT_FILE")
84+
85+
# Create formatted output
86+
cat > lychee/formatted.md << EOF
87+
## 🍈 Lychee Link Check Report
88+
89+
> **Note:** $NOTE
90+
91+
### 📊 Results Overview
92+
93+
EOF
94+
95+
# Append the original content with title replacement
96+
echo "$ORIGINAL" | sed 's/^# Summary$//' | sed 's/^## Summary$//' >> lychee/formatted.md
97+
fi
98+
99+
- name: 📝 Comment Broken Links
100+
if: ${{ always() && github.event.pull_request.head.repo.fork == false }}
101+
uses: peter-evans/create-or-update-comment@v4
102+
with:
103+
issue-number: ${{ github.event.pull_request.number }}
104+
body-path: lychee/formatted.md
105+
106+
- name: 🚫 Fail if broken links found
107+
if: ${{ steps.lychee-retry.conclusion == 'success' && steps.lychee-retry.outputs.exit_code != 0 || steps.lychee-retry.conclusion == 'failure' }}
108+
run: |
109+
if [ "${{ steps.lychee-retry.conclusion }}" == "success" ]; then
110+
echo "Failing based on retry run results"
111+
exit ${{ steps.lychee-retry.outputs.exit_code }}
112+
else
113+
echo "Failing based on first run results"
114+
exit ${{ steps.lychee.outputs.exit_code }}
115+
fi

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/setup-node@v4
2222
name: Setup node
2323
with:
24-
node-version: "18"
24+
node-version: "22"
2525
- run: npm install -g cspell
2626
name: Install cSpell
2727
- run: cspell --config ./cSpell.json "content/**/*.mdx" --no-progress

cSpell.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,23 @@
9898
"Tabnine",
9999
"windsurfrules",
100100
"betterauth",
101-
"Turbopack"
101+
"Turbopack",
102+
"BCNF",
103+
"multivalued",
104+
"Boyce",
105+
"Codd",
106+
"HTAP",
107+
"Multiversion",
108+
"MVCC",
109+
"OLAP",
110+
"OLTP",
111+
"Nonrepeatable",
112+
"RDBMS",
113+
"nonrepeatable",
114+
"Superkey",
115+
"superkey",
116+
"Dataguide",
117+
"psql"
102118
],
103119
"ignoreWords": [
104120
"Aiven",
@@ -140,7 +156,9 @@
140156
"Valkey",
141157
"Nixpacks",
142158
"Buildpacks",
143-
"Sevalla's"
159+
"Sevalla's",
160+
"Dataguide",
161+
"justinellingwood"
144162
],
145163
"patterns": [
146164
{
@@ -194,4 +212,4 @@
194212
"HTML Tags"
195213
],
196214
"ignorePaths": []
197-
}
215+
}

content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-cockroachdb.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metaTitle: 'Start from scratch with Prisma ORM using JavaScript and CockroachDB
55
metaDescription: 'Learn how to create a new Node.js project from scratch by connecting Prisma ORM to your CockroachDB database and generating a Prisma Client for database access.'
66
hide_table_of_contents: true
77
langSwitcher: ['typescript', 'node']
8-
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb', 'prismaPostgres']
8+
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb']
99
sidebar_custom_props: { badge: '15 min' }
1010
sidebar_class_name: hidden-sidebar
1111
pagination_next: getting-started/setup-prisma/start-from-scratch/relational-databases/connect-your-database-node-cockroachdb

content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-mysql.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metaTitle: 'Start from scratch with Prisma ORM using JavaScript and MySQL (15 mi
55
metaDescription: 'Learn how to create a new Node.js project from scratch by connecting Prisma ORM to your MySQL database and generating a Prisma Client for database access.'
66
hide_table_of_contents: true
77
langSwitcher: ['typescript', 'node']
8-
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb', 'prismaPostgres']
8+
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb']
99
sidebar_custom_props: { badge: '15 min' }
1010
sidebar_class_name: hidden-sidebar
1111
pagination_next: getting-started/setup-prisma/start-from-scratch/relational-databases/connect-your-database-node-mysql

content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-planetscale.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metaTitle: 'Start from scratch with Prisma ORM using JavaScript and PlanetScale
55
metaDescription: 'Learn how to create a new Node.js project from scratch by connecting Prisma ORM to your PlanetScale database and generating a Prisma Client for database access.'
66
hide_table_of_contents: true
77
langSwitcher: ['typescript', 'node']
8-
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb', 'prismaPostgres']
8+
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb']
99
sidebar_custom_props: { badge: '15 min' }
1010
sidebar_class_name: hidden-sidebar
1111
pagination_next: getting-started/setup-prisma/start-from-scratch/relational-databases/connect-your-database-node-planetscale

content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases-node-postgresql.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metaTitle: 'Start from scratch with Prisma ORM using JavaScript and PostgreSQL (
55
metaDescription: 'Learn how to create a new Node.js project from scratch by connecting Prisma ORM to your PostgreSQL database and generating a Prisma Client for database access.'
66
hide_table_of_contents: true
77
langSwitcher: ['typescript', 'node']
8-
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb', 'prismaPostgres']
8+
dbSwitcher: ['postgresql', 'mysql', 'sqlserver', 'planetscale', 'cockroachdb']
99
sidebar_custom_props: { badge: '15 min' }
1010
sidebar_class_name: hidden-sidebar
1111
pagination_next: getting-started/setup-prisma/start-from-scratch/relational-databases/connect-your-database-node-postgresql

0 commit comments

Comments
 (0)