Skip to content

Commit 1def2b4

Browse files
committed
chore: refine code
1 parent 44d5110 commit 1def2b4

24 files changed

+42
-1241
lines changed

.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

bun.lockb

92.3 KB
Binary file not shown.

bun.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { app } from './src/app'
2-
import { config } from './src/config'
1+
import { app } from './src/app.ts'
2+
import { config } from './src/config/index.ts'
33

44
globalThis.env = process.env
55

cf-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { app } from './src/app'
1+
import { app } from './src/app.ts'
22

33
export default {
44
fetch: (req: any, env: any, ctx: any) => {

deno.json

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

deno.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
///<reference lib="deno.ns" />
22

3-
import { app } from './src/app'
4-
import { config } from './src/config'
3+
import { app } from './src/app.ts'
4+
import { config } from './src/config/index.ts'
55

66
globalThis.env = Deno.env.toObject()
77

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "60s-api",
33
"type": "module",
4-
"packageManager": "[email protected]",
54
"scripts": {
6-
"dev": "DEV=1 bun --watch --env-file=.env bun.ts"
5+
"dev": "DEV=1 bun --watch --env-file=.env bun.ts",
6+
"start": "bun --env-file=.env bun.ts"
77
},
88
"dependencies": {
99
"@oak/oak": "npm:@jsr/oak__oak@^17.1.4"
1010
},
1111
"devDependencies": {
1212
"@types/node": "^22.10.5",
13-
"esno": "^4.8.0",
13+
"typescript": "^5.7.3",
1414
"wrangler": "^3.99.0"
1515
}
1616
}

0 commit comments

Comments
 (0)