Skip to content

Commit

Permalink
refactor to monorepo style
Browse files Browse the repository at this point in the history
  • Loading branch information
willemolding committed Aug 9, 2024
1 parent 88936e6 commit 1658df2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Just
uses: extractions/setup-just@v2

- name: install wasm-pack
uses: jetli/[email protected]
with:
version: latest

- name: build pkg
run: wasm-pack build --target web --no-opt
run: just build

- name: Set up Node.js
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default:
just --list

build:
wasm-pack build -t web --release
wasm-pack build -t web --release --out-dir ./packages/webz

test-web:
WASM_BINDGEN_TEST_TIMEOUT=99999 wasm-pack test --release --headless --chrome
Empty file.
19 changes: 19 additions & 0 deletions packages/webz-indexdb-store/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "webz-indexdb-store",
"version": "1.0.0",
"description": "Simple wrapper to allow using indexdb as the wallet store for WebZjs",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ChainSafe/WebZjs.git"
},
"author": "ChainSafe Systems",
"license": "MIT OR Apache-2.0",
"bugs": {
"url": "https://github.com/ChainSafe/WebZjs/issues"
},
"homepage": "https://github.com/ChainSafe/WebZjs#readme"
}

0 comments on commit 1658df2

Please sign in to comment.