diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index fd89e5a..66ac2ae 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -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/wasm-pack-action@v0.4.0 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 diff --git a/justfile b/justfile index 014ee54..c3ef7ca 100644 --- a/justfile +++ b/justfile @@ -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 diff --git a/packages/webz-indexdb-store/index.js b/packages/webz-indexdb-store/index.js new file mode 100644 index 0000000..e69de29 diff --git a/packages/webz-indexdb-store/package.json b/packages/webz-indexdb-store/package.json new file mode 100644 index 0000000..3dee8f8 --- /dev/null +++ b/packages/webz-indexdb-store/package.json @@ -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" +}