The verbatim-module-syntax lint rule was correctly flagging that GraphConfig is only used in a type position (typeof GraphConfig). Since typeof resolves purely at the type level, import type works fine here and is the correct form. No lint exclusion needed. Also: deno fmt across all files (markdown line wrapping).
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"name": "@alkdev/storage",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": "./mod.ts",
|
|
"./graphs": "./src/graphs/mod.ts",
|
|
"./sqlite": "./src/sqlite/mod.ts",
|
|
"./pg": "./src/pg/mod.ts"
|
|
},
|
|
"imports": {
|
|
"@alkdev/typebox": "npm:@alkdev/typebox",
|
|
"@alkdev/drizzlebox": "npm:@alkdev/drizzlebox",
|
|
"drizzle-orm": "npm:drizzle-orm",
|
|
"drizzle-orm/sqlite-core": "npm:drizzle-orm/sqlite-core",
|
|
"drizzle-orm/pg-core": "npm:drizzle-orm/pg-core",
|
|
"@libsql/client": "npm:@libsql/client",
|
|
"postgres": "npm:postgres",
|
|
"@std/assert": "jsr:@std/assert",
|
|
"@std/flags": "jsr:@std/flags",
|
|
"@std/path": "jsr:@std/path"
|
|
},
|
|
"lint": {
|
|
"rules": {
|
|
"exclude": ["no-slow-types"]
|
|
}
|
|
},
|
|
"tasks": {
|
|
"check": "deno check mod.ts src/graphs/mod.ts src/sqlite/mod.ts",
|
|
"test": "deno test --allow-all test/",
|
|
"lint": "deno lint",
|
|
"lint:analyze": "deno run --allow-read --allow-run scripts/analyze_lint.ts",
|
|
"fmt": "deno fmt",
|
|
"publish:dry": "deno publish --allow-slow-types --dry-run"
|
|
}
|
|
}
|