Skip to content

Commit 57d6330

Browse files
committed
chore: move noble libraries to their future package.json
1 parent 28d8555 commit 57d6330

File tree

5 files changed

+116
-72
lines changed

5 files changed

+116
-72
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
cache: 'npm'
2929
check-latest: true
3030
- run: npm clean-install
31+
- run: npm clean-install
32+
working-directory: ./examples/noble-suite
3133
- run: node --run build
3234
- run: node --run build:other
3335
- run: node --run format
@@ -43,6 +45,8 @@ jobs:
4345
cache: 'npm'
4446
check-latest: true
4547
- run: npm clean-install
48+
- run: npm clean-install
49+
working-directory: ./examples/noble-suite
4650
- run: node --run docs
4751
- run: git diff --exit-code
4852
- uses: r-lib/actions/setup-pandoc@v2
@@ -67,6 +71,8 @@ jobs:
6771
cache: 'npm'
6872
check-latest: true
6973
- run: npm clean-install
74+
- run: npm clean-install
75+
working-directory: ./examples/noble-suite
7076
- run: node --run test
7177

7278
deno:
@@ -77,6 +83,8 @@ jobs:
7783
with:
7884
deno-version: latest
7985
- run: npm clean-install
86+
- run: npm clean-install
87+
working-directory: ./examples/noble-suite
8088
- run: deno run test:deno
8189

8290
bun:
@@ -87,4 +95,6 @@ jobs:
8795
with:
8896
bun-version: latest
8997
- run: npm clean-install
98+
- run: npm clean-install
99+
working-directory: ./examples/noble-suite
90100
- run: bun run test:bun

examples/noble-suite/package-lock.json

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

examples/noble-suite/package.json

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
11
{
2-
"name": "noble-suite",
3-
"private": true,
4-
"version": "0.0.0",
5-
"description": "",
6-
"main": "index.ts",
2+
"name": "@panva/hpke-noble",
3+
"version": "0.2.2",
4+
"description": "HPKE algorithm implementations for @panva/hpke based on the @noble cryptographic libraries",
75
"keywords": [],
8-
"author": "Filip Skokan <panva.ip@gmail.com>",
6+
"homepage": "https://github.com/panva/hpke",
7+
"repository": "panva/hpke",
8+
"funding": {
9+
"url": "https://github.com/sponsors/panva"
10+
},
911
"license": "MIT",
10-
"type": "module"
12+
"author": "Filip Skokan <panva.ip@gmail.com>",
13+
"sideEffects": false,
14+
"type": "module",
15+
"main": "index.js",
16+
"types": "index.d.ts",
17+
"files": [
18+
"index.d.ts",
19+
"index.js"
20+
],
21+
"scripts": {},
22+
"devDependencies": {
23+
"@noble/ciphers": "^2.0.1",
24+
"@noble/hashes": "^2.0.1",
25+
"@noble/post-quantum": "^0.5.2"
26+
},
27+
"publishConfig": {
28+
"access": "public"
29+
}
1130
}

package-lock.json

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

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@
5050
"test:docs": "node --run docs && npx tsc -p tsconfig.docs.json && ./check-examples.sh"
5151
},
5252
"devDependencies": {
53-
"@noble/ciphers": "^2.0.1",
54-
"@noble/hashes": "^2.0.1",
55-
"@noble/post-quantum": "^0.5.2",
5653
"@types/node": "^24.10.1",
5754
"@types/web": "^0.0.294",
5855
"amaro": "^1.1.5",

0 commit comments

Comments
 (0)