Skip to content

Commit 4d9c736

Browse files
committed
add lockfile
1 parent 6380cd9 commit 4d9c736

File tree

5 files changed

+237
-4
lines changed

5 files changed

+237
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
.vscode
22
npm
3-
deno.lock

deno.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@
44
},
55
"exclude": [
66
"npm"
7-
]
7+
],
8+
"imports": {
9+
"@deno/dnt": "jsr:@deno/dnt@^0.41.2",
10+
"@std/assert": "jsr:@std/assert@^0.226.0"
11+
}
812
}

deno.lock

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

mod_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/assert/mod.ts";
1+
import { assertEquals } from "@std/assert";
22
import { createFromBuffer, createStreaming, Formatter, GlobalConfiguration } from "./mod.ts";
33

44
Deno.test("it should create streaming", async () => {

scripts/build_npm.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import { build } from "https://deno.land/x/dnt@0.39.0/mod.ts";
1+
import { build } from "@deno/dnt";
22

33
await build({
44
entryPoints: ["mod.ts"],
55
test: true,
66
outDir: "./npm",
7+
importMap: "./deno.json",
78
shims: {
89
deno: {
910
test: "dev",

0 commit comments

Comments
 (0)