Skip to content

Commit

Permalink
Merge pull request #438 from dajiaji/add-samples-to-npm-workspace
Browse files Browse the repository at this point in the history
Add samples to npm workspace.
  • Loading branch information
dajiaji authored Oct 17, 2024
2 parents 371e74a + f66d053 commit 9d67bd5
Show file tree
Hide file tree
Showing 16 changed files with 100 additions and 576 deletions.
92 changes: 91 additions & 1 deletion npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"packages/dhkem-x448",
"packages/dhkem-secp256k1",
"packages/hybridkem-x25519-kyber768",
"packages/hpke-js"
"packages/hpke-js",
"../**/*/samples/node"
]
}
60 changes: 0 additions & 60 deletions packages/chacha20poly1305/samples/node/package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/chacha20poly1305/samples/node/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "node-hpke-core",
"name": "samples-node-hpke-chacha20poly1305",
"version": "1.0.0",
"description": "A sample code of @hpke/core.",
"type": "module",
Expand Down
37 changes: 0 additions & 37 deletions packages/core/samples/node/package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/core/samples/node/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "node-hpke-core",
"name": "samples-node-hpke-core",
"version": "1.0.0",
"description": "A sample code of @hpke/core.",
"type": "module",
Expand Down
93 changes: 0 additions & 93 deletions packages/dhkem-secp256k1/samples/node/package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/dhkem-secp256k1/samples/node/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "node-hpke-core",
"name": "samples-node-hpke-dhkem-secp256k1",
"version": "1.0.0",
"description": "A sample code of @hpke/core.",
"type": "module",
Expand Down
Loading

0 comments on commit 9d67bd5

Please sign in to comment.