build(deps): update latest

This commit is contained in:
theoludwig committed 2026-10-02 16:47:08 +02:00
1 parent f956a31c92
commit 3849b14615
6 files changed
+1478 -1226

No files matched your search

+2 -2
View File
@@ -15,10 +15,10 @@ jobs:
TZ: "Europe/Paris"
DO_NOT_TRACK: "1"
steps:
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
- uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
- name: "Setup Node.js"
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020" # v7.0.0
with:
node-version: "24.16.0"
cache: "npm"
+2 -2
View File
@@ -17,13 +17,13 @@ jobs:
pull-requests: "write"
id-token: "write"
steps:
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
- uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: "Setup Node.js"
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020" # v7.0.0
with:
node-version: "24.16.0"
registry-url: "https://registry.npmjs.org"
+1446 -1196
View File
File diff suppressed because it is too large. Load diff
+16 -16
View File
@@ -41,23 +41,23 @@
"release": "semantic-release"
},
"devDependencies": {
"@testcontainers/mysql": "12.0.1",
"@testcontainers/postgresql": "12.0.1",
"@types/better-sqlite3": "7.6.13",
"@types/node": "25.9.2",
"@types/pg": "8.20.0",
"better-sqlite3": "12.10.0",
"kysely": "0.29.2",
"kysely-postgres-js": "3.0.0",
"mysql2": "3.22.5",
"oxfmt": "0.54.0",
"oxlint": "1.69.0",
"oxlint-tsgolint": "0.23.0",
"pg": "8.21.0",
"@testcontainers/mysql": "12.2.0",
"@testcontainers/postgresql": "12.2.0",
"@types/better-sqlite3": "9.6.0",
"@types/node": "26.6.4",
"@types/pg": "8.23.1",
"better-sqlite3": "13.0.3",
"kysely": "0.29.6",
"kysely-postgres-js": "5.0.1",
"mysql2": "3.24.5",
"oxfmt": "0.71.0",
"oxlint": "1.86.0",
"oxlint-tsgolint": "7.0.2003",
"pg": "8.23.1",
"postgres": "3.4.9",
"semantic-release": "25.0.3",
"tsdown": "0.22.2",
"typescript": "6.0.3"
"semantic-release": "25.0.9",
"tsdown": "0.23.0",
"typescript": "7.0.2"
},
"peerDependencies": {
"kysely": ">=0.29.0"
+10 -8
View File
@@ -146,14 +146,16 @@ export abstract class KyselyTypegenDialect {
tables: TableMetadata[]
}> {
const [tables, { enums, inlineEnums }] = await Promise.all([this.getTables(), this.getEnums()])
const lines: string[] = [...PREAMBLE_LINES]
lines.push(...this.getEnumsTypegen(enums))
lines.push(...this.getTablesTypegen(tables, enums, inlineEnums))
lines.push("export interface DB {")
for (const table of tables) {
lines.push(` ${table.name}: ${table.name}`)
}
lines.push("}")
const lines: string[] = [
...PREAMBLE_LINES,
...this.getEnumsTypegen(enums),
...this.getTablesTypegen(tables, enums, inlineEnums),
"export interface DB {",
...tables.map((table) => {
return ` ${table.name}: ${table.name}`
}),
"}",
]
return { lines, enums, inlineEnums, tables }
}
}
+2 -2
View File
@@ -52,12 +52,12 @@ export class KyselyTypegenMySQLDialect extends KyselyTypegenDialect {
])
.where("columns.TABLE_SCHEMA", "=", sql`database()`)
.where("columns.DATA_TYPE", "in", ["enum", "set"])
.$castTo<{ tableName: string; columnName: string; columnType: string }>()
.execute()
const inline = new Map<string, string[]>()
for (const row of rows) {
const data = row as { tableName: string; columnName: string; columnType: string }
inline.set(`${data.tableName}.${data.columnName}`, parseMysqlEnumColumnType(data.columnType))
inline.set(`${row.tableName}.${row.columnName}`, parseMysqlEnumColumnType(row.columnType))
}
return { named: [], inline }
}