Skip to content

Commit dba4c70

Browse files
pnpm update
1 parent 8851bf4 commit dba4c70

3 files changed

Lines changed: 1170 additions & 1071 deletions

File tree

db/seed.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import sponsorsPerEpisode from './data/sponsors-per-episode';
1818
export default async function seed() {
1919
await db
2020
.insert(Person)
21-
.values(people)
21+
.values(people as any)
2222
.onConflictDoUpdate({
2323
target: Person.id,
2424
set: { name: sql`excluded.name`, img: sql`excluded.img` }
@@ -53,10 +53,9 @@ export default async function seed() {
5353
hostsOrGuestsToInsert.push({
5454
episodeSlug: episode.episodeSlug,
5555
isHost:
56-
(person.id === 'chuckcarpenter' ||
57-
person.id === 'robbiethewagner' ||
58-
person.host) ??
59-
false,
56+
person.id === 'chuckcarpenter' ||
57+
person.id === 'robbiethewagner' ||
58+
Boolean(person.host),
6059
personId: person.id
6160
});
6261
}

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@
1313
"build": "astro check && astro build --remote",
1414
"preview": "astro preview",
1515
"astro": "astro",
16+
"db:seed": "pnpm astro db execute db/seed.ts --remote",
1617
"test:e2e": "pnpm exec playwright test"
1718
},
1819
"dependencies": {
1920
"@astrojs/check": "^0.9.4",
20-
"@astrojs/db": "^0.14.10",
21+
"@astrojs/db": "^0.14.14",
2122
"@astrojs/preact": "^4.1.0",
2223
"@astrojs/sitemap": "^3.4.1",
2324
"@astrojs/vercel": "https://pkg.pr.new/@astrojs/vercel@14014",
2425
"@preact/signals": "^2.2.1",
25-
"@vercel/analytics": "^1.4.1",
26-
"@vercel/speed-insights": "^1.1.0",
26+
"@vercel/analytics": "^1.5.0",
27+
"@vercel/speed-insights": "^1.2.0",
2728
"astro": "^5.11.0",
2829
"astro-seo-schema": "^5.0.0",
2930
"atropos": "^2.0.2",
@@ -33,20 +34,20 @@
3334
"valibot": "^0.31.1"
3435
},
3536
"devDependencies": {
36-
"@playwright/test": "^1.49.0",
37+
"@playwright/test": "^1.53.2",
3738
"@tailwindcss/forms": "^0.5.10",
3839
"@tailwindcss/typography": "^0.5.16",
39-
"@tailwindcss/vite": "^4.1.3",
40+
"@tailwindcss/vite": "^4.1.11",
4041
"@types/html-to-text": "^9.0.4",
41-
"@types/node": "^22.10.1",
42+
"@types/node": "^22.16.0",
4243
"html-to-text": "^9.0.5",
43-
"prettier": "^3.4.1",
44+
"prettier": "^3.6.2",
4445
"prettier-plugin-astro": "^0.14.1",
45-
"prettier-plugin-tailwindcss": "^0.6.11",
46+
"prettier-plugin-tailwindcss": "^0.6.13",
4647
"sharp": "^0.33.5",
4748
"tailwind-scrollbar": "^4.0.2",
48-
"tailwindcss": "^4.1.3",
49-
"typescript": "^5.7.2",
49+
"tailwindcss": "^4.1.11",
50+
"typescript": "^5.8.3",
5051
"vite": "^6.3.5"
5152
},
5253
"engines": {

0 commit comments

Comments
 (0)