mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
build: fix linting
This commit is contained in:
@@ -91,9 +91,9 @@
|
||||
"lighthouse": "^11.0.0",
|
||||
"prettier": "^3.0.2",
|
||||
"turbo": "^1.10.13",
|
||||
"typescript": "^5.1.6",
|
||||
"typescript": "^5.2.2",
|
||||
"unocss": "^0.55.2",
|
||||
"vercel": "^32.0.1",
|
||||
"vercel": "^32.0.2",
|
||||
"vitest": "^0.34.2"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -97,8 +97,8 @@
|
||||
"lighthouse": "^11.0.0",
|
||||
"prettier": "^3.0.2",
|
||||
"turbo": "^1.10.13",
|
||||
"typescript": "^5.1.6",
|
||||
"vercel": "^32.0.1",
|
||||
"typescript": "^5.2.2",
|
||||
"vercel": "^32.0.2",
|
||||
"vitest": "^0.34.2"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -3,10 +3,6 @@ import { join } from 'node:path';
|
||||
import { connect } from '@planetscale/database';
|
||||
|
||||
const sql = connect({
|
||||
async fetch(input, init) {
|
||||
// @ts-expect-error: Deleting cache or setting as undefined, same thing
|
||||
return fetch(input, { ...init, cache: undefined, next: { revalidate: 3_600 } });
|
||||
},
|
||||
url: process.env.DATABASE_URL!,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user