Skip to content

Commit 8eaa16d

Browse files
committed
fix: remove relative paths
1 parent b0602bd commit 8eaa16d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/build_npm.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { build, emptyDir } from "https://deno.land/x/[email protected]/mod.ts";
22

3-
await emptyDir("../npm");
3+
await emptyDir("./npm");
44

55
await build({
6-
entryPoints: ["../mod.ts"],
7-
outDir: "../npm",
6+
entryPoints: ["./mod.ts"],
7+
outDir: "./npm",
88
shims: {
99
deno: {
1010
test: "dev",
@@ -36,13 +36,13 @@ await build({
3636
},
3737
});
3838

39-
Deno.copyFileSync("LICENSE", "../npm/LICENSE");
39+
Deno.copyFileSync("./LICENSE", "./npm/LICENSE");
4040

41-
const readme = Deno.readTextFileSync("README.md")
41+
const readme = Deno.readTextFileSync("./README.md")
4242
.replaceAll("https://deno.land/std/testing/asserts.ts", "asserts")
4343
.replaceAll(
4444
"https://deno.land/x/combinatorics/mod.ts",
4545
"combinatorial-generators",
4646
);
4747

48-
Deno.writeTextFileSync("../npm/README.md", readme);
48+
Deno.writeTextFileSync("./npm/README.md", readme);

0 commit comments

Comments
 (0)