Skip to content

Commit 9618882

Browse files
committed
feat(providers): add utils for announcing
1 parent d3549d0 commit 9618882

26 files changed

+317
-30
lines changed

bun.lockb

3.35 KB
Binary file not shown.

package.json

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,20 @@
11
{
22
"name": "mina-js",
3-
"version": "0.0.1",
3+
"private": true,
44
"scripts": {
5-
"build": "tsup",
6-
"test": "bun test",
5+
"build": "bun run --filter '*' build",
6+
"test": "bun run --filter '*' test",
77
"lint": "bunx biome check .",
88
"format": "bunx biome check . --write",
99
"format:unsafe": "bunx biome check . --write --unsafe"
1010
},
1111
"devDependencies": {
1212
"@biomejs/biome": "1.8.3",
13+
"@happy-dom/global-registrator": "^14.12.3",
1314
"@tsconfig/bun": "1.0.7",
1415
"@types/bun": "1.1.6",
15-
"tsup": "8.2.3"
16+
"tsup": "8.2.3",
17+
"typescript": "5.5.4"
1618
},
17-
"dependencies": {
18-
"@noble/curves": "1.4.2",
19-
"@noble/hashes": "1.4.0",
20-
"@scure/bip32": "1.4.0",
21-
"@scure/bip39": "1.3.0",
22-
"mina-signer": "3.0.7",
23-
"zod": "3.23.8"
24-
},
25-
"peerDependencies": {
26-
"typescript": "^5.0.0"
27-
},
28-
"exports": {
29-
"./accounts": {
30-
"types": "./dist/accounts/index.d.ts",
31-
"import": "./dist/accounts/index.mjs",
32-
"default": "./dist/accounts/index.js"
33-
},
34-
"./providers": {
35-
"types": "./dist/providers/index.d.ts",
36-
"import": "./dist/providers/index.mjs",
37-
"default": "./dist/providers/index.js"
38-
}
39-
}
19+
"workspaces": ["packages/*"]
4020
}

packages/accounts/package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "@mina-js/accounts",
3+
"version": "0.0.1",
4+
"module": "dist/index.js",
5+
"types": "dist/index.d.ts",
6+
"exports": {
7+
".": {
8+
"types": "./dist/index.d.ts",
9+
"default": "./dist/index.cjs",
10+
"import": "./dist/index.js"
11+
}
12+
},
13+
"scripts": {
14+
"build": "tsup",
15+
"test": "bun test"
16+
},
17+
"dependencies": {
18+
"@noble/curves": "1.4.2",
19+
"@noble/hashes": "1.4.0",
20+
"@scure/bip32": "1.4.0",
21+
"@scure/bip39": "1.3.0",
22+
"mina-signer": "3.0.7"
23+
},
24+
"peerDependencies": {
25+
"typescript": "^5.0.0"
26+
}
27+
}
File renamed without changes.

packages/accounts/tsup.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import sharedConfig from "../shared/tsup.config";
2+
3+
export default sharedConfig;

packages/connect/bunfig.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[test]
2+
preload = "./happy-dom.ts"

0 commit comments

Comments
 (0)