Skip to content

Commit b65d2e7

Browse files
committed
replace knex with kysely
1 parent e7d6c65 commit b65d2e7

24 files changed

Lines changed: 467 additions & 396 deletions

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN pnpm rebuild --pending
2727

2828
FROM base_deps as build
2929

30-
COPY knexfile.js tsconfig.json tsdown.config.ts ./
30+
COPY tsconfig.json tsdown.config.ts ./
3131
COPY src/ src/
3232

3333
RUN node --run build
@@ -40,9 +40,8 @@ RUN node --run docs
4040

4141
FROM base
4242

43-
COPY knexfile.js package.json pnpm-lock.yaml ./
43+
COPY package.json pnpm-lock.yaml ./
4444
COPY src/ src/
45-
COPY migrations/ migrations/
4645

4746
COPY --from=build /app/dist dist/
4847
COPY --from=docs /app/redoc-static.html .

knexfile.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"docker:run": "docker run -it --rm --name arm -p 3000:3000 arm-server",
2727
"fetch-data": "node --experimental-strip-types --experimental-transform-types bin/update.ts --exit",
2828
"lint": "eslint src",
29-
"migrate:create": "knex migrate:make --knexfile knexfile.js -x ts",
3029
"start": "node --experimental-strip-types --experimental-transform-types src/index.ts",
3130
"test": "vitest",
3231
"typecheck": "tsc --noEmit",
@@ -43,12 +42,12 @@
4342
"@types/json-schema": "7.0.15",
4443
"@types/node": "24.0.1",
4544
"@vitest/coverage-v8": "3.2.3",
46-
"better-sqlite3": "11.10.0",
45+
"db0": "0.3.2",
4746
"dotenv": "16.5.0",
4847
"eslint": "9.29.0",
4948
"hono": "4.7.11",
5049
"is-ci": "4.1.0",
51-
"knex": "3.1.0",
50+
"kysely": "0.28.2",
5251
"mentoss": "0.11.0",
5352
"nano-staged": "0.8.0",
5453
"onchange": "7.1.0",

patches/knex.patch

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)