Skip to content

Commit

Permalink
chore(js): bump polkadot and gear-js dependencies (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
osipov-mit authored Sep 4, 2024
1 parent 461a6ba commit 15a64cd
Show file tree
Hide file tree
Showing 6 changed files with 5,872 additions and 3,289 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ jobs:
run: |
cargo build -p demo --release
- name: "Prepare: build demo client lib"
working-directory: js
run: |
node lib/app.js generate ../examples/demo/client/demo.idl -o ./test/demo
- name: "Prepare: download Gear node"
run: |
wget -O ./gear https://github.com/gear-tech/gear/releases/download/build/gear
Expand All @@ -73,6 +68,12 @@ jobs:
- name: "Prepare: sleep 3 min"
run: sleep 180

- name: "Prepare: generate ts lib"
working-directory: js
run: |
node lib/app.js generate ../examples/demo/client/demo.idl -o ./test/demo
node test/modify-import.js
- name: "Test: run"
working-directory: js
run: yarn test
Expand Down
14 changes: 9 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
.binpath
.DS_Store
.vscode
.vscode
*.log


target/

# js
node_modules/
js/lib/
js/parser.wasm
js/test/demo/

node_modules/
target/
*.log
js/.yarn/*
!js/.yarn/releases
925 changes: 925 additions & 0 deletions js/.yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions js/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.1.cjs
17 changes: 9 additions & 8 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sails-js",
"version": "0.1.9",
"version": "0.1.10",
"description": "Parser and typescript code generator from Sails IDL files",
"main": "lib/index.js",
"preferGlobal": true,
Expand Down Expand Up @@ -38,14 +38,14 @@
"test": "yarn node --no-warnings --experimental-vm-modules $(yarn bin jest) --detectOpenHandles"
},
"peerDependencies": {
"@gear-js/api": "^0.38.1",
"@polkadot/api": "^11.0.1",
"@polkadot/types": "^11.0.1"
"@gear-js/api": "0.38.2",
"@polkadot/api": "12.0.1",
"@polkadot/types": "12.0.1"
},
"devDependencies": {
"@gear-js/api": "^0.38.1",
"@polkadot/api": "^11.0.1",
"@polkadot/types": "^11.0.1",
"@gear-js/api": "0.38.2",
"@polkadot/api": "12.0.1",
"@polkadot/types": "12.0.1",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-typescript": "11.1.6",
Expand All @@ -62,5 +62,6 @@
},
"dependencies": {
"commander": "12.1.0"
}
},
"packageManager": "yarn@4.4.1"
}
Loading

0 comments on commit 15a64cd

Please sign in to comment.