This commit is contained in:
parent
14bfbc2d5c
commit
551c6e5246
@ -6,7 +6,7 @@
|
|||||||
"tasks": {
|
"tasks": {
|
||||||
"check": "deno check main.ts",
|
"check": "deno check main.ts",
|
||||||
"dev": "deno run -A --unstable-ffi --env main.ts",
|
"dev": "deno run -A --unstable-ffi --env main.ts",
|
||||||
"compile": "deno compile --allow-net --allow-read --allow-env --allow-write --allow-ffi --allow-run --unstable-ffi --env main.ts",
|
"compile": "deno compile --allow-net --allow-read --allow-env --allow-write --allow-ffi --allow-run --unstable-ffi --output bunker --include 'https://deno.land/x/bcrypt@v0.4.1/src/worker.ts' main.ts",
|
||||||
"reset-db": "rm -rf bunker.db && sqlite3 bunker.db '.read database.sql'"
|
"reset-db": "rm -rf bunker.db && sqlite3 bunker.db '.read database.sql'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
main.ts
1
main.ts
@ -1,7 +1,6 @@
|
|||||||
import * as sqlite from "jsr:@db/sqlite@0.11";
|
import * as sqlite from "jsr:@db/sqlite@0.11";
|
||||||
import * as oak from "jsr:@oak/oak@14";
|
import * as oak from "jsr:@oak/oak@14";
|
||||||
import * as bcrypt from "https://deno.land/x/bcrypt@v0.4.1/mod.ts";
|
import * as bcrypt from "https://deno.land/x/bcrypt@v0.4.1/mod.ts";
|
||||||
import * as _bcrypt_worker from "https://deno.land/x/bcrypt@v0.4.1/src/worker.ts";
|
|
||||||
|
|
||||||
type User = {
|
type User = {
|
||||||
id: number;
|
id: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user