Skip to content

Commit

Permalink
fix(database): bump anitomy
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jan 11, 2024
1 parent bdcb66e commit 560b3ef
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.10.0
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@vite-pwa/assets-generator": "^0.2.2",
"@vite-pwa/astro": "^0.2.0",
"animegarden": "workspace:*",
"anitomy": "0.0.33",
"anitomy": "0.0.34",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"unocss": "^0.58.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/dmhy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export async function insertDmhy(database: Database, dir: string) {
const teamsResp = await insertTeams(database, [...teams.values()]);
console.log(`Insert ${teamsResp.length} teams`);

const chunks = splitChunks(all, 100);
const chunks = splitChunks(all, 1000);
for (const resources of chunks) {
const resp = await insertDmhyResources(database, resources);
console.log(`Insert ${resp.length} dmhy resources`);
Expand Down
2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"animegarden": "workspace:*",
"anitomy": "0.0.33",
"anitomy": "0.0.34",
"drizzle-orm": "^0.29.3",
"postgres": "^3.4.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@animegarden/scraper": "workspace:*",
"@planetscale/database": "^1.13.0",
"animegarden": "workspace:*",
"anitomy": "0.0.33",
"anitomy": "0.0.34",
"bgmd": "^0.0.34",
"hono": "^3.12.2",
"kysely-planetscale": "^1.4.0",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 560b3ef

Please sign in to comment.