Skip to content

Commit 5a60a0c

Browse files
authored
Merge pull request #327 from dajiaji/fix-dnt-ts-for-chacha20poly1305
Fix dnt ts for chacha20poly1305
2 parents ffc67cf + b55490e commit 5a60a0c

File tree

2 files changed

+67
-3
lines changed

2 files changed

+67
-3
lines changed

samples/node/package-lock.json

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

x/chacha20poly1305/dnt.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ await build({
1212
scriptModule: "umd",
1313
importMap: "../../import_map_for_dnt.json",
1414
compilerOptions: {
15-
lib: ["es2022", "dom"],
15+
lib: ["ES2022", "DOM"],
1616
},
1717
shims: {
1818
deno: "dev",
@@ -26,7 +26,8 @@ await build({
2626
type: "git",
2727
url: "git+https://github.com/dajiaji/hpke-js.git",
2828
},
29-
homepage: "https://github.com/dajiaji/hpke-js#readme",
29+
homepage:
30+
"https://github.com/dajiaji/hpke-js/tree/main/x/chacha20poly1305#readme",
3031
license: "MIT",
3132
module: "./esm/x/chacha20poly1305/mod.js",
3233
main: "./script/x/chacha20poly1305/mod.js",
@@ -59,5 +60,5 @@ await build({
5960
});
6061

6162
// post build steps
62-
Deno.copyFileSync("../../LICENSE", "npm/LICENSE");
63+
Deno.copyFileSync("LICENSE", "npm/LICENSE");
6364
Deno.copyFileSync("README.md", "npm/README.md");

0 commit comments

Comments
 (0)