Skip to content

Commit 0772fc8

Browse files
committed
build: use deno npm: syntax and lockfile
1 parent af2f45b commit 0772fc8

File tree

4 files changed

+40
-3
lines changed

4 files changed

+40
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
.vscode
2+
coverage
3+
docs
4+
node_modules

content-ok.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Ajv from "https://esm.sh/ajv@8.17.1";
1+
import { Ajv } from "npm:ajv@8";
22

33
const DIR = "./events";
44

deno.jsonc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
// https://deno.land/manual/getting_started/configuration_file
3-
"lock": false,
43
// https://deno.land/manual/advanced/typescript/configuration
54
// https://www.typescriptlang.org/tsconfig/
65
"compilerOptions": {
@@ -10,6 +9,11 @@
109
"noUncheckedIndexedAccess": true,
1110
"useUnknownInCatchVariables": true
1211
},
12+
"exclude": [
13+
"./coverage/",
14+
"./docs/",
15+
"./node_modules/"
16+
],
1317
"fmt": {
1418
"exclude": ["README.md"],
1519
"proseWrap": "preserve",
@@ -30,7 +34,8 @@
3034
"no-slow-types",
3135
"no-sparse-arrays",
3236
"verbatim-module-syntax"
33-
]
37+
],
38+
"exclude": ["no-import-prefix"]
3439
}
3540
}
3641
}

deno.lock

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)