Compare commits

..

3 Commits

85 changed files with 6 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env sh #!/usr/bin/env sh
. "$(dirname -- "$0")/_/hook.sh" . "$(dirname -- "$0")/_/hook.sh"
deno run -A npm:lint-staged deno task check

View File

@ -1,4 +0,0 @@
{
"*": ["deno fmt --check"],
"*.ts": ["deno lint --fix"]
}

View File

@ -7,6 +7,6 @@
"usernamehw.errorlens", "usernamehw.errorlens",
"bourhaouta.tailwindshades", "bourhaouta.tailwindshades",
"austenc.tailwind-docs", "austenc.tailwind-docs",
"denoland.vscode-deno", "denoland.vscode-deno"
] ]
} }

View File

@ -2,6 +2,7 @@
"tasks": { "tasks": {
"test": "deno test --allow-all --unstable-ffi", "test": "deno test --allow-all --unstable-ffi",
"test:dev": "deno test --allow-all --unstable-ffi --watch", "test:dev": "deno test --allow-all --unstable-ffi --watch",
"check": "deno fmt && deno lint --fix && deno check **/*.ts && deno task test",
"hook": "deno run --allow-read --allow-run --allow-write https://deno.land/x/deno_hooks@0.1.1/mod.ts" "hook": "deno run --allow-read --allow-run --allow-write https://deno.land/x/deno_hooks@0.1.1/mod.ts"
}, },
"workspace": [ "workspace": [

View File

@ -1,7 +1,7 @@
{ {
"name": "@fabric/domain", "name": "@fabric/domain",
"exports": { "exports": {
".": "./src/index.ts", ".": "./index.ts",
"./mocks": "./src/mocks.ts" "./mocks": "./mocks.ts"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@fabric/sqlite-store", "name": "@fabric/sqlite-store",
"exports": { "exports": {
".": "./src/index.ts" ".": "./index.ts"
} }
} }