Skip to content

Commit 29ac272

Browse files
Update dependencies (#160)
* Update deno * Update cloudflare templates and add .env to gitignores * Update deno gitignore * Update node types, minimal, default, and node-custom-server, and test deps * Bump JavaScript, Netlify, and Vercel deps * comeon deno * downgrade deno version I guess * Undo some deno stuff * okay deno, I give up * I'm so tired * Get those tests back
1 parent 31cd791 commit 29ac272

File tree

27 files changed

+936
-13558
lines changed

27 files changed

+936
-13558
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
cache: "pnpm"
3333
- uses: denoland/setup-deno@v2
3434
with:
35-
deno-version: v2.3.3
35+
deno-version: v2.3.5
3636
- name: Install dependencies
3737
run: pnpm install
3838
- name: Install Playwright Browsers

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
.netlify
66
# Parcel cache
77
.parcel-cache
8+
# Deno
9+
deno.lock

.tests/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"clean": "rm -rf ./test-results && rm -rf ./tmp"
77
},
88
"devDependencies": {
9-
"@playwright/test": "^1.52.0",
9+
"@playwright/test": "^1.55.1",
1010
"@types/fs-extra": "^11.0.4",
1111
"@types/node": "^22.15.3",
12-
"execa": "^9.5.2",
13-
"fs-extra": "^11.3.0",
12+
"execa": "^9.6.0",
13+
"fs-extra": "^11.3.2",
1414
"get-port": "^7.1.0",
1515
"pathe": "^2.0.3"
1616
}

.tests/test.deno.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ test("build + start", async ({ page, $ }) => {
3232

3333
await workflow({ page, url: localURL.href });
3434
const [, ...restLines] = start.buffer.stderr.split("\n");
35-
expect(restLines.join("\n")).toBe(
36-
`Listening on ${url} (${localURL})\n`,
37-
);
35+
expect(restLines.join("\n")).toBe(`Listening on ${url} (${localURL})\n`);
3836
});
3937

4038
async function workflow({ page, url }: { page: Page; url: string }) {

cloudflare-d1/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
2+
.env
23
/node_modules/
34
*.tsbuildinfo
45

@@ -9,3 +10,4 @@
910
# Cloudflare
1011
.mf
1112
.wrangler
13+
worker-configuration.d.ts

cloudflare-d1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ First, you need to create a d1 database in Cloudflare.
5656
npx wrangler d1 create <name-of-your-database>
5757
```
5858

59-
Be sure to update the `wrangler.toml` file with the correct database name and id.
59+
Be sure to update the `wrangler.jsonc` file with the correct database name and id.
6060

6161
You will also need to [update the `drizzle.config.ts` file](https://orm.drizzle.team/docs/guides/d1-http-with-drizzle-kit), and then run the production migration:
6262

cloudflare-d1/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@
1515
},
1616
"dependencies": {
1717
"drizzle-orm": "~0.36.3",
18-
"isbot": "^5.1.27",
19-
"react": "^19.1.0",
20-
"react-dom": "^19.1.0",
21-
"react-router": "^7.7.1"
18+
"isbot": "^5.1.31",
19+
"react": "^19.1.1",
20+
"react-dom": "^19.1.1",
21+
"react-router": "^7.9.2"
2222
},
2323
"devDependencies": {
24-
"@cloudflare/vite-plugin": "^1.0.12",
25-
"@react-router/dev": "^7.7.1",
26-
"@tailwindcss/vite": "^4.1.4",
27-
"@types/node": "^20",
28-
"@types/react": "^19.1.2",
29-
"@types/react-dom": "^19.1.2",
30-
"dotenv-cli": "^7.4.3",
24+
"@cloudflare/vite-plugin": "^1.13.5",
25+
"@react-router/dev": "^7.9.2",
26+
"@tailwindcss/vite": "^4.1.13",
27+
"@types/node": "^22",
28+
"@types/react": "^19.1.13",
29+
"@types/react-dom": "^19.1.9",
30+
"dotenv-cli": "^10.0.0",
3131
"drizzle-kit": "~0.28.1",
32-
"tailwindcss": "^4.1.4",
33-
"typescript": "^5.8.3",
34-
"vite": "^6.3.3",
32+
"tailwindcss": "^4.1.13",
33+
"typescript": "^5.9.2",
34+
"vite": "^7.1.7",
3535
"vite-tsconfig-paths": "^5.1.4",
36-
"wrangler": "^4.13.2"
36+
"wrangler": "^4.40.0"
3737
}
3838
}

0 commit comments

Comments
 (0)