Skip to content

Commit d83edce

Browse files
committed
Update deps and new formatter
1 parent 03bde81 commit d83edce

20 files changed

Lines changed: 1425 additions & 1352 deletions

File tree

‎.github/workflows/endform-tests-on-main.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
- name: Set up pnpm
2222
uses: pnpm/action-setup@v4
23-
23+
2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: lts/*
28-
cache: 'pnpm'
29-
28+
cache: "pnpm"
29+
3030
- name: Install dependencies
3131
run: pnpm install
3232

‎.github/workflows/endform-tests-on-prs.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
20+
2121
- name: Set up pnpm
2222
uses: pnpm/action-setup@v4
2323

2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: lts/*
28-
cache: 'pnpm'
28+
cache: "pnpm"
2929

3030
- name: Install dependencies
3131
run: pnpm install

‎.oxfmtrc.json‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"useTabs": true,
4+
"tabWidth": 2,
5+
"printWidth": 80,
6+
"singleQuote": false,
7+
"jsxSingleQuote": false,
8+
"quoteProps": "as-needed",
9+
"trailingComma": "all",
10+
"semi": true,
11+
"arrowParens": "always",
12+
"bracketSameLine": false,
13+
"bracketSpacing": true,
14+
"ignorePatterns": [
15+
"**/node_modules",
16+
"**/.next",
17+
"**/.auth",
18+
"app/globals.css",
19+
"**/playwright-report",
20+
"**/test-results"
21+
],
22+
"overrides": [
23+
{
24+
"files": ["**/*.md", "**/*.mdx"],
25+
"options": {
26+
"useTabs": false,
27+
"embeddedLanguageFormatting": "off"
28+
}
29+
}
30+
]
31+
}

‎README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## About the tutorial
66

7-
This tutorial is geared towards learning how to create a realistic playwright setup for testing fully fledged software as a service applications, generating tests for realistic applications, and then running those tests with Endform.
7+
This tutorial is geared towards learning how to create a realistic playwright setup for testing fully fledged software as a service applications, generating tests for realistic applications, and then running those tests with Endform.
88

99
## Getting started with the tutorial repository
1010

@@ -31,7 +31,6 @@ You can either:
3131
- Don't forget to connect your project with the Endform vercel integration
3232
- You will need the `copy-me-github-workflows` copied to `.github/workflows` to get going with running your tests in github actions
3333

34-
3534
## About the SaaS
3635

3736
The SaaS is based on the [Next.JS SaaS Starter Tempate](https://github.com/nextjs/saas-starter).

‎app/(dashboard)/dashboard/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function TeamMembers() {
131131
>
132132
<div className="flex items-center space-x-4">
133133
<Avatar>
134-
{/*
134+
{/*
135135
This app doesn't save profile images, but here
136136
is how you'd show them:
137137

‎biome.json‎

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

‎cf/src/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function json(data, init) {
113113
headers: {
114114
"content-type": "application/json",
115115
...CORS_HEADERS,
116-
...(responseInit.headers || {}),
116+
...responseInit.headers,
117117
},
118118
});
119119
}

‎cf/wrangler.jsonc‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
"routes": [
66
{
77
"pattern": "playwright-tutorial-sqlite-db-every-hour-cleanup.endform.dev",
8-
"custom_domain": true
9-
}
8+
"custom_domain": true,
9+
},
1010
],
1111
"durable_objects": {
1212
"bindings": [
1313
{
1414
"name": "SQLITE_PROXY",
15-
"class_name": "SqliteProxyDurableObject"
16-
}
17-
]
15+
"class_name": "SqliteProxyDurableObject",
16+
},
17+
],
1818
},
1919
"migrations": [
2020
{
2121
"tag": "v1",
22-
"new_sqlite_classes": ["SqliteProxyDurableObject"]
23-
}
24-
]
22+
"new_sqlite_classes": ["SqliteProxyDurableObject"],
23+
},
24+
],
2525
}

‎package.json‎

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"private": true,
3-
"packageManager": "pnpm@11.8.0",
43
"scripts": {
54
"dev": "next dev --turbopack",
65
"build": "next build --turbopack",
@@ -11,14 +10,17 @@
1110
"db:migrate": "drizzle-kit migrate",
1211
"db:studio": "drizzle-kit studio",
1312
"tutorial": "bun run scripts/tutorial-manager.ts",
14-
"format:fix": "pnpm biome check --write",
13+
"format": "oxfmt",
14+
"format:check": "oxfmt --check",
15+
"format:fix": "oxfmt --write",
16+
"lint": "oxlint",
1517
"mcp-user": "tsx mcp-user.ts"
1618
},
1719
"dependencies": {
1820
"@libsql/client": "^0.17.4",
1921
"@opentelemetry/api": "^1.9.1",
20-
"@tailwindcss/postcss": "4.3.1",
21-
"@types/node": "^24.13.2",
22+
"@tailwindcss/postcss": "4.3.2",
23+
"@types/node": "^26.1.1",
2224
"@types/react": "19.2.17",
2325
"@types/react-dom": "19.2.3",
2426
"@vercel/otel": "^2.1.3",
@@ -29,26 +31,28 @@
2931
"drizzle-kit": "^0.31.10",
3032
"drizzle-orm": "^0.45.2",
3133
"jose": "^6.2.3",
32-
"lucide-react": "^1.21.0",
33-
"next": "16.2.9",
34-
"postcss": "^8.5.15",
35-
"radix-ui": "^1.6.0",
34+
"lucide-react": "^1.24.0",
35+
"next": "16.2.10",
36+
"postcss": "^8.5.17",
37+
"radix-ui": "^1.6.2",
3638
"react": "19.2.7",
3739
"react-dom": "19.2.7",
3840
"server-only": "^0.0.1",
39-
"swr": "^2.4.1",
41+
"swr": "^2.4.2",
4042
"tailwind-merge": "^3.6.0",
41-
"tailwindcss": "4.3.1",
43+
"tailwindcss": "4.3.2",
4244
"tw-animate-css": "^1.4.0",
43-
"typescript": "^6.0.3",
4445
"zod": "^4.4.3"
4546
},
4647
"devDependencies": {
47-
"@biomejs/biome": "^2.5.0",
48-
"@playwright/test": "1.61.0",
48+
"@playwright/test": "1.61.1",
4949
"@types/bun": "^1.3.14",
50-
"endform": "^0.71.0",
51-
"playwright-opentelemetry": "^0.9.0",
52-
"tsx": "^4.22.4"
53-
}
50+
"endform": "^0.72.0",
51+
"oxfmt": "0.58.0",
52+
"oxlint": "1.73.0",
53+
"playwright-opentelemetry": "^0.12.1",
54+
"tsx": "^4.23.0",
55+
"typescript": "^6.0.3"
56+
},
57+
"packageManager": "pnpm@11.8.0"
5458
}

‎playwright.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const baseURL =
1414

1515
const playwrightOtelEnabled = Boolean(
1616
process.env.PLAYWRIGHT_TRACE_API_ENDPOINT ||
17-
process.env.OTEL_EXPORTER_OTLP_ENDPOINT,
17+
process.env.OTEL_EXPORTER_OTLP_ENDPOINT,
1818
);
1919

2020
/**

0 commit comments

Comments
 (0)