Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add samples to npm workspace. #438

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading