Skip to content

Commit

Permalink
Merge pull request #401 from dajiaji/refine-import-map
Browse files Browse the repository at this point in the history
Refine import_map.
  • Loading branch information
dajiaji authored Oct 5, 2024
2 parents aa5b22f + 499ea1d commit 1a9fb1b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
1 change: 0 additions & 1 deletion import_map.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"imports": {
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
"@noble/ciphers/chacha": "npm:@noble/ciphers@^0.5.3/chacha",
"@noble/curves/ed25519": "npm:@noble/curves@^1.4.2/ed25519",
"@noble/curves/ed448": "npm:@noble/curves@^1.4.2/ed448",
Expand Down
18 changes: 1 addition & 17 deletions npm/import_map.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
{
"imports": {
"@deno/dnt": "jsr:@deno/dnt@^0.41.3",
"@hpke/common": "npm:@hpke/common@^0.5.0",
"@hpke/core": "npm:@hpke/core@^1.3.0",
"@hpke/chacha20poly1305": "npm:@hpke/chacha20poly1305@^1.3.0",
"@hpke/dhkem-x25519": "npm:@hpke/dhkem-x25519@^1.3.0",
"@hpke/dhkem-x448": "npm:@hpke/dhkem-x448@^1.3.0",
"@noble/ciphers/chacha": "npm:@noble/ciphers@^0.5.3/chacha",
"@noble/curves/ed25519": "npm:@noble/curves@^1.4.2/ed25519",
"@noble/curves/ed448": "npm:@noble/curves@^1.4.2/ed448",
"@noble/curves/secp256k1": "npm:@noble/curves@^1.4.2/secp256k1",
"@noble/hashes/hmac": "npm:@noble/hashes@^1.4.0/hmac",
"@noble/hashes/sha256": "npm:@noble/hashes@^1.4.0/sha256",
"@noble/hashes/sha512": "npm:@noble/hashes@^1.4.0/sha512",
"@noble/hashes/sha3": "npm:@noble/hashes@^1.4.0/sha3",
"@std/assert": "jsr:@std/assert@1.0.0",
"@std/path": "jsr:@std/path@^1.0.3",
"@std/testing/bdd": "jsr:@std/testing@^1.0.0/bdd"
"@deno/dnt": "jsr:@deno/dnt@^0.41.3"
}
}
2 changes: 1 addition & 1 deletion packages/chacha20poly1305/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"test": "deno fmt && deno lint && deno test --import-map=../../import_map.json -A --fail-fast --doc --coverage=coverage --parallel --allow-read",
"test:cloudflare": "cd test/runtimes/cloudflare && npm install && npm link @hpke/common @hpke/chacha20poly1305 && npm run test",
"cov": "deno coverage ./coverage --lcov --exclude='test'",
"dnt": "deno run --import-map=../../import_map.json -A dnt.ts",
"dnt": "deno run --import-map=../../npm/import_map.json -A dnt.ts",
"minify": "esbuild ../../npm/packages/chacha20poly1305/esm/chacha20poly1305/mod.js --bundle --format=esm --minify"
}
}
2 changes: 1 addition & 1 deletion packages/common/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"tasks": {
"test": "deno fmt && deno lint && deno test --import-map=../../import_map.json -A --fail-fast --doc --coverage=coverage --parallel --allow-read",
"cov": "deno coverage ./coverage --lcov --exclude='test'",
"dnt": "deno run --import-map=../../import_map.json -A dnt.ts",
"dnt": "deno run --import-map=../../npm/import_map.json -A dnt.ts",
"minify": "esbuild ../../npm/packages/common/esm/mod.js --bundle --format=esm --minify"
}
}

0 comments on commit 1a9fb1b

Please sign in to comment.