Compare commits

..

No commits in common. "0b05168544e12635ed54fd5994e4f1605b371189" and "26cc090284a26c8bc161193fd69cb019d389f027" have entirely different histories.

85 changed files with 9 additions and 6 deletions

View File

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

4
.lintstagedrc.json Normal file
View File

@ -0,0 +1,4 @@
{
"*": ["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,7 +2,6 @@
"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": {
".": "./index.ts", ".": "./src/index.ts",
"./mocks": "./mocks.ts" "./mocks": "./src/mocks.ts"
} }
} }

View File

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