Skip to content

Commit 1658df2

Browse files
committed
refactor to monorepo style
1 parent 88936e6 commit 1658df2

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ jobs:
2323
- name: Checkout
2424
uses: actions/checkout@v3
2525

26+
- name: Install Just
27+
uses: extractions/setup-just@v2
28+
2629
- name: install wasm-pack
2730
uses: jetli/wasm-pack-action@v0.4.0
2831
with:
2932
version: latest
3033

3134
- name: build pkg
32-
run: wasm-pack build --target web --no-opt
35+
run: just build
3336

3437
- name: Set up Node.js
3538
uses: actions/setup-node@v3

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ default:
22
just --list
33

44
build:
5-
wasm-pack build -t web --release
5+
wasm-pack build -t web --release --out-dir ./packages/webz
66

77
test-web:
88
WASM_BINDGEN_TEST_TIMEOUT=99999 wasm-pack test --release --headless --chrome

packages/webz-indexdb-store/index.js

Whitespace-only changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "webz-indexdb-store",
3+
"version": "1.0.0",
4+
"description": "Simple wrapper to allow using indexdb as the wallet store for WebZjs",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/ChainSafe/WebZjs.git"
12+
},
13+
"author": "ChainSafe Systems",
14+
"license": "MIT OR Apache-2.0",
15+
"bugs": {
16+
"url": "https://github.com/ChainSafe/WebZjs/issues"
17+
},
18+
"homepage": "https://github.com/ChainSafe/WebZjs#readme"
19+
}

0 commit comments

Comments
 (0)