Skip to content

Commit fc56d19

Browse files
committed
Fix version for dnt.
1 parent 6f1a537 commit fc56d19

File tree

6 files changed

+58
-23
lines changed

6 files changed

+58
-23
lines changed

deno.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"imports": {
2424
"@dajiaji/mlkem": "npm:mlkem@^2.3.1",
25-
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
25+
"@deno/dnt": "jsr:@deno/[email protected]",
2626
"@noble/ciphers/chacha": "npm:@noble/ciphers@^1.2.1/chacha",
2727
"@noble/curves/ed25519": "npm:@noble/curves@^1.8.1/ed25519",
2828
"@noble/curves/ed448": "npm:@noble/curves@^1.8.1/ed448",
@@ -33,9 +33,9 @@
3333
"@noble/hashes/sha3": "npm:@noble/hashes@^1.7.1/sha3",
3434
"@playwright/test": "npm:@playwright/test@^1.51.0",
3535
"@std/assert": "jsr:@std/[email protected]",
36-
"@std/fs": "jsr:@std/fs@^1.0.14",
37-
"@std/path": "jsr:@std/path@^1.0.8",
38-
"@std/testing/bdd": "jsr:@std/testing@^1.0.9/bdd"
36+
"@std/fs": "jsr:@std/[email protected]",
37+
"@std/path": "jsr:@std/[email protected]",
38+
"@std/testing/bdd": "jsr:@std/[email protected]/bdd"
3939
},
4040
"fmt": {
4141
"exclude": [
@@ -66,6 +66,7 @@
6666
]
6767
},
6868
"tasks": {
69+
"ci": "deno cache --lock=deno.lock",
6970
"test:all": "deno task test && deno task npm && deno task test:cloudflare && deno task bun-link && deno task test:bun",
7071
"test": "deno fmt && deno lint && deno check packages/*/*.ts packages/*/src/**/*.ts packages/*/samples/**/*.ts packages/*/test/*.ts && deno test --fail-fast --doc --coverage=coverage --parallel --allow-read",
7172
"test:common": "cd packages/common && deno task test",

deno.lock

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

npm/import_map.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"imports": {
33
"@dajiaji/mlkem": "npm:mlkem@^2.3.1",
4-
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
4+
"@deno/dnt": "jsr:@deno/[email protected]",
55
"@hpke/chacha20poly1305": "npm:@hpke/chacha20poly1305@^1.6.2",
66
"@hpke/common": "npm:@hpke/common@^1.7.2",
77
"@hpke/core": "npm:@hpke/core@^1.7.2",
@@ -16,8 +16,8 @@
1616
"@noble/hashes/sha512": "npm:@noble/hashes@^1.7.1/sha512",
1717
"@noble/hashes/sha3": "npm:@noble/hashes@^1.7.1/sha3",
1818
"@std/assert": "jsr:@std/[email protected]",
19-
"@std/fs": "jsr:@std/fs@^1.0.14",
20-
"@std/path": "jsr:@std/path@^1.0.8",
21-
"@std/testing/bdd": "jsr:@std/testing@^1.0.9/bdd"
19+
"@std/fs": "jsr:@std/[email protected]",
20+
"@std/path": "jsr:@std/[email protected]",
21+
"@std/testing/bdd": "jsr:@std/[email protected]/bdd"
2222
}
2323
}

packages/common/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"tasks": {
4343
"test": "deno fmt && deno lint && deno check *.ts src/**/*.ts test/*.ts && deno test --fail-fast --doc --coverage=coverage --parallel --allow-read",
4444
"cov": "deno coverage ./coverage --lcov --exclude='test'",
45-
"dnt": "deno run --import-map=../../npm/import_map.json -A dnt.ts",
45+
"dnt": "deno run --lock=../../deno.lock --import-map=../../npm/import_map.json -A dnt.ts",
4646
"minify": "esbuild ../../npm/packages/common/esm/mod.js --bundle --format=esm --minify"
4747
}
4848
}

packages/common/dnt.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ await build({
1414
importMap: "../../npm/import_map.json",
1515
compilerOptions: {
1616
lib: ["ES2022", "DOM"],
17+
target: "ES2022",
18+
noEmit: "true",
19+
allowImportingTsExtensions: "true",
1720
},
1821
shims: {
1922
deno: "dev",
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Changes
2+
3+
## Version 1.6.2
4+
5+
Released 2024-03-30
6+
7+
- [(#509) Update dev environments for prerequisites.](https://github.com/dajiaji/hpke-js/pull/509)
8+
- [(#508) Update prerequisites.](https://github.com/dajiaji/hpke-js/pull/508)
9+
- [(#506) Add running samples.](https://github.com/dajiaji/hpke-js/pull/506)
10+
- [(#504) Add deno check to deno.json.](https://github.com/dajiaji/hpke-js/pull/504)
11+
- [(#502) Bump Node version on CI to 22.x.](https://github.com/dajiaji/hpke-js/pull/502)
12+
- [(#501) Add support for Node 23.](https://github.com/dajiaji/hpke-js/pull/501)
13+
- [(#499) Bump deps for samples to latest.](https://github.com/dajiaji/hpke-js/pull/499)
14+
- [(#495) Fix type declaration error on samples.](https://github.com/dajiaji/hpke-js/pull/495)
15+
- [(#493) Bump @hpke/core to 1.7.2.](https://github.com/dajiaji/hpke-js/pull/493)
16+
- [(#491) Remove package-lock.json for cloudflare test.](https://github.com/dajiaji/hpke-js/pull/491)
17+
- [(#490) Update core sample.](https://github.com/dajiaji/hpke-js/pull/490)
18+
- [(#489) Bump @hpke/common to 1.7.2.](https://github.com/dajiaji/hpke-js/pull/489)
19+
- [(#488) Bump wrangler to latest for testing on cloudflare env.](https://github.com/dajiaji/hpke-js/pull/488)
20+
- [(#487) Bump @noble/hashes to 1.7.1.](https://github.com/dajiaji/hpke-js/pull/487)
21+
- [(#486) Update dependencies for npm.](https://github.com/dajiaji/hpke-js/pull/486)
22+
- [(#485) Update dependencies for deno.](https://github.com/dajiaji/hpke-js/pull/485)
23+
- [(#483) Apply deno formatter/linter.](https://github.com/dajiaji/hpke-js/pull/483)
24+
- [(#483) Fix type declaration error.](https://github.com/dajiaji/hpke-js/pull/483)
25+
- [(#459) Update package version to 1.6.2.](https://github.com/dajiaji/hpke-js/pull/459)
26+
- [(#459) Maintain dependency on @noble/curves at version ^1.8.1.](https://github.com/dajiaji/hpke-js/pull/459)
27+
- [(#459) Fix type declaration error.](https://github.com/dajiaji/hpke-js/pull/459)
28+
- [(#459) Apply deno formatter/linter.](https://github.com/dajiaji/hpke-js/pull/459)
29+
30+
## Version 1.6.1
31+
32+
Released 2024-11-05
33+
34+
- Update internal dependencies.

0 commit comments

Comments
 (0)