prettier released a new update which seems to have changed a few
logistics
This commit is contained in:
Michael H
2025-11-28 17:51:45 +11:00
committed by GitHub
parent 37bce389a0
commit c7f7d9bb82
4 changed files with 37 additions and 30 deletions

16
.vscode/settings.json vendored
View File

@@ -27,18 +27,22 @@
"git.ignoreLimitWarning": true, "git.ignoreLimitWarning": true,
// Zig // Zig
"zig.initialSetupDone": true, // "zig.initialSetupDone": true,
"zig.buildOption": "build", // "zig.buildOption": "build",
"zig.zls.zigLibPath": "${workspaceFolder}/vendor/zig/lib", "zig.zls.zigLibPath": "${workspaceFolder}/vendor/zig/lib",
"zig.buildArgs": ["-Dgenerated-code=./build/debug/codegen", "--watch", "-fincremental"], "zig.buildOnSaveArgs": [
"zig.zls.buildOnSaveStep": "check", "-Dgenerated-code=./build/debug/codegen",
"--watch",
"-fincremental"
],
// "zig.zls.buildOnSaveStep": "check",
// "zig.zls.enableBuildOnSave": true, // "zig.zls.enableBuildOnSave": true,
// "zig.buildOnSave": true, // "zig.buildOnSave": true,
"zig.buildFilePath": "${workspaceFolder}/build.zig", // "zig.buildFilePath": "${workspaceFolder}/build.zig",
"zig.path": "${workspaceFolder}/vendor/zig/zig.exe", "zig.path": "${workspaceFolder}/vendor/zig/zig.exe",
"zig.zls.path": "${workspaceFolder}/vendor/zig/zls.exe", "zig.zls.path": "${workspaceFolder}/vendor/zig/zls.exe",
"zig.formattingProvider": "zls", "zig.formattingProvider": "zls",
"zig.zls.enableInlayHints": false, // "zig.zls.enableInlayHints": false,
"[zig]": { "[zig]": {
"editor.tabSize": 4, "editor.tabSize": 4,
"editor.useTabStops": false, "editor.useTabStops": false,

View File

@@ -1740,7 +1740,6 @@ declare module "bun" {
* @default "esm" * @default "esm"
*/ */
format?: /** format?: /**
* ECMAScript Module format * ECMAScript Module format
*/ */
| "esm" | "esm"
@@ -5651,11 +5650,17 @@ declare module "bun" {
maxBuffer?: number; maxBuffer?: number;
} }
interface SpawnSyncOptions<In extends Writable, Out extends Readable, Err extends Readable> interface SpawnSyncOptions<In extends Writable, Out extends Readable, Err extends Readable> extends BaseOptions<
extends BaseOptions<In, Out, Err> {} In,
Out,
Err
> {}
interface SpawnOptions<In extends Writable, Out extends Readable, Err extends Readable> interface SpawnOptions<In extends Writable, Out extends Readable, Err extends Readable> extends BaseOptions<
extends BaseOptions<In, Out, Err> { In,
Out,
Err
> {
/** /**
* If true, stdout and stderr pipes will not automatically start reading * If true, stdout and stderr pipes will not automatically start reading
* data. Reading will only begin when you access the `stdout` or `stderr` * data. Reading will only begin when you access the `stdout` or `stderr`

View File

@@ -455,10 +455,11 @@ class PooledMySQLConnection {
} }
} }
class MySQLAdapter class MySQLAdapter implements DatabaseAdapter<
implements PooledMySQLConnection,
DatabaseAdapter<PooledMySQLConnection, $ZigGeneratedClasses.MySQLConnection, $ZigGeneratedClasses.MySQLQuery> $ZigGeneratedClasses.MySQLConnection,
{ $ZigGeneratedClasses.MySQLQuery
> {
public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions; public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions;
public readonly connections: PooledMySQLConnection[]; public readonly connections: PooledMySQLConnection[];

View File

@@ -672,14 +672,11 @@ class PooledPostgresConnection {
} }
} }
class PostgresAdapter class PostgresAdapter implements DatabaseAdapter<
implements
DatabaseAdapter<
PooledPostgresConnection, PooledPostgresConnection,
$ZigGeneratedClasses.PostgresSQLConnection, $ZigGeneratedClasses.PostgresSQLConnection,
$ZigGeneratedClasses.PostgresSQLQuery $ZigGeneratedClasses.PostgresSQLQuery
> > {
{
public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions; public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions;
public readonly connections: PooledPostgresConnection[]; public readonly connections: PooledPostgresConnection[];