From eeee8477f43224421e528cbcf357b41f1529fe1d Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Tue, 12 Sep 2023 18:38:44 +0800 Subject: [PATCH 1/2] readme --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 8d69e42..b96f96a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ interface PersonTable { gender: "male" | "female" | "other" } -// Dialects +// Dialect const db = new Kysely({ dialect: new TiDBServerlessDialect({ url: process.env.DATABASE_URL @@ -99,9 +99,6 @@ const db = new Kysely({ fetch }), }) - ``` - - See [TiDB serverless driver configuration](https://github.com/tidbcloud/serverless-js#configuration) for the all configurations. From e7321b36c4e8eec0b3113ecc3d4b9af5cfe058ca Mon Sep 17 00:00:00 2001 From: shiyuhang <1136742008@qq.com> Date: Tue, 12 Sep 2023 18:41:36 +0800 Subject: [PATCH 2/2] fix ci --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a5c24f7..e4b6e53 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ ], "scripts": { "build": "tsup", - "fmt": "prettier --write /src", - "fmt-check": "prettier --check /src", + "fmt": "prettier --write ./src", + "fmt-check": "prettier --check ./src", "type-check": "tsc --noEmit" }, "peerDependencies": {