Compare commits
2 Commits
283a00be39
...
dfa3826ec5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfa3826ec5
|
||
|
|
d9403925c5
|
22
deno.json
22
deno.json
@@ -1,9 +1,7 @@
|
||||
{
|
||||
"lock": false,
|
||||
"nodeModulesDir": "auto",
|
||||
"unstable": [
|
||||
"cron"
|
||||
],
|
||||
"unstable": ["cron"],
|
||||
"tasks": {
|
||||
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
|
||||
"dev": "deno run --env-file -A --watch=static/,routes/ dev.ts",
|
||||
@@ -13,14 +11,7 @@
|
||||
"preview": "deno run -A main.ts",
|
||||
"update": "deno run -A -r https://fresh.deno.dev/update ."
|
||||
},
|
||||
"lint": {
|
||||
"rules": {
|
||||
"tags": [
|
||||
"fresh",
|
||||
"recommended"
|
||||
]
|
||||
}
|
||||
},
|
||||
"lint": { "rules": { "tags": ["fresh", "recommended"] } },
|
||||
"imports": {
|
||||
"$fresh/": "https://deno.land/x/fresh@1.7.3/",
|
||||
"@components": "./components",
|
||||
@@ -56,11 +47,6 @@
|
||||
"fs": "https://deno.land/std/fs/mod.ts",
|
||||
"imagemagick": "https://deno.land/x/imagemagick_deno@0.0.31/mod.ts"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "preact"
|
||||
},
|
||||
"exclude": [
|
||||
"**/_fresh/*"
|
||||
]
|
||||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
|
||||
"exclude": ["**/_fresh/*"]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { createLogger } from "@lib/log/index.ts";
|
||||
import { generateThumbhash } from "@lib/thumbhash.ts";
|
||||
import { parseMediaType } from "https://deno.land/std@0.224.0/media_types/parse_media_type.ts";
|
||||
import path from "node:path";
|
||||
import { ensureDir } from "https://deno.land/std@0.216.0/fs/mod.ts";
|
||||
import { ensureDir } from "fs";
|
||||
import { DATA_DIR } from "@lib/env.ts";
|
||||
import { db } from "@lib/db/sqlite.ts";
|
||||
import { imageTable } from "@lib/db/schema.ts";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as env from "@lib/env.ts";
|
||||
import { ensureDir } from "https://deno.land/std@0.224.0/fs/mod.ts";
|
||||
import { ensureDir } from "fs";
|
||||
import { join } from "node:path";
|
||||
import { getLogLevel, LOG_LEVEL } from "@lib/log/types.ts";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user