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
. "$(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",
"bourhaouta.tailwindshades",
"austenc.tailwind-docs",
"denoland.vscode-deno"
"denoland.vscode-deno",
]
}

View File

@ -2,7 +2,6 @@
"tasks": {
"test": "deno test --allow-all --unstable-ffi",
"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"
},
"workspace": [

View File

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

View File

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