From d25be523c118cc1c72b294a0d978e7b782e9957e Mon Sep 17 00:00:00 2001 From: Sebastian Miasojed Date: Wed, 27 Nov 2024 15:28:04 +0100 Subject: [PATCH] Update deps --- .github/workflows/build-revive-wasm.yml | 2 +- Makefile | 1 - js/package.json | 8 +++----- package.json | 3 +-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-revive-wasm.yml b/.github/workflows/build-revive-wasm.yml index e848516..90bc2f8 100644 --- a/.github/workflows/build-revive-wasm.yml +++ b/.github/workflows/build-revive-wasm.yml @@ -8,7 +8,7 @@ on: env: CARGO_TERM_COLOR: always - REVIVE_WASM_INSTALL_DIR: ${{ github.workspace }}/js/dist/revive-cjs + REVIVE_WASM_INSTALL_DIR: ${{ github.workspace }}/target/wasm32-unknown-emscripten/release EMSCRIPTEN_VERSION: 3.1.64 jobs: diff --git a/Makefile b/Makefile index c99c885..2b08368 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ install-npm: install-wasm: RUSTFLAGS='$(RUSTFLAGS_EMSCRIPTEN)' cargo build --target wasm32-unknown-emscripten -p revive-solidity --release --no-default-features npm install - npm run build:revive # install-revive: Build and install to the directory specified in REVIVE_INSTALL_DIR ifeq ($(origin REVIVE_INSTALL_DIR), undefined) diff --git a/js/package.json b/js/package.json index 9dc38e2..c696c8b 100644 --- a/js/package.json +++ b/js/package.json @@ -1,14 +1,12 @@ { "name": "revive", - "version": "1.0.0", - "description": "Revive compiler", - "main": "resolc.js", + "private": true, "dependencies": { "solc": "^0.8.28" }, "scripts": { - "start-web": "http-server ./examples/web/", - "start-node": "node ./examples//node/run_revive.js" + "example:web": "http-server ./examples/web/", + "example:node": "node ./examples/node/run_revive.js" }, "devDependencies": { "http-server": "^14.1.1" diff --git a/package.json b/package.json index ebee435..71dacf7 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,7 @@ "private": true, "scripts": { "test:cli": "npm run test -w crates/solidity/src/tests/cli-tests", - "build:revive": "npm run build -w js", - "test:revive": "npm run test -w js" + "test:revive": "npm run example:node -w js" }, "workspaces": [ "crates/solidity/src/tests/cli-tests",