Update deps

This commit is contained in:
Sebastian Miasojed
2024-11-27 15:28:04 +01:00
parent 6a4fd1e991
commit d25be523c1
4 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ on:
env: env:
CARGO_TERM_COLOR: always 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 EMSCRIPTEN_VERSION: 3.1.64
jobs: jobs:
-1
View File
@@ -25,7 +25,6 @@ install-npm:
install-wasm: install-wasm:
RUSTFLAGS='$(RUSTFLAGS_EMSCRIPTEN)' cargo build --target wasm32-unknown-emscripten -p revive-solidity --release --no-default-features RUSTFLAGS='$(RUSTFLAGS_EMSCRIPTEN)' cargo build --target wasm32-unknown-emscripten -p revive-solidity --release --no-default-features
npm install npm install
npm run build:revive
# install-revive: Build and install to the directory specified in REVIVE_INSTALL_DIR # install-revive: Build and install to the directory specified in REVIVE_INSTALL_DIR
ifeq ($(origin REVIVE_INSTALL_DIR), undefined) ifeq ($(origin REVIVE_INSTALL_DIR), undefined)
+3 -5
View File
@@ -1,14 +1,12 @@
{ {
"name": "revive", "name": "revive",
"version": "1.0.0", "private": true,
"description": "Revive compiler",
"main": "resolc.js",
"dependencies": { "dependencies": {
"solc": "^0.8.28" "solc": "^0.8.28"
}, },
"scripts": { "scripts": {
"start-web": "http-server ./examples/web/", "example:web": "http-server ./examples/web/",
"start-node": "node ./examples//node/run_revive.js" "example:node": "node ./examples/node/run_revive.js"
}, },
"devDependencies": { "devDependencies": {
"http-server": "^14.1.1" "http-server": "^14.1.1"
+1 -2
View File
@@ -3,8 +3,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"test:cli": "npm run test -w crates/solidity/src/tests/cli-tests", "test:cli": "npm run test -w crates/solidity/src/tests/cli-tests",
"build:revive": "npm run build -w js", "test:revive": "npm run example:node -w js"
"test:revive": "npm run test -w js"
}, },
"workspaces": [ "workspaces": [
"crates/solidity/src/tests/cli-tests", "crates/solidity/src/tests/cli-tests",