Skip to content

Commit

Permalink
chore: 📦️ Update PolkadotJS Versions (#3155)
Browse files Browse the repository at this point in the history
* pjs update

* update viem

* update pkgs

* update versions

* update zombienet

* Update typescript-api/package.json

* Update typescript-api/package.json

* add types-bundle pub script

---------

Co-authored-by: Rodrigo Quelhas <[email protected]>
  • Loading branch information
timbrinded and RomarQ authored Jan 28, 2025
1 parent 6d6faaf commit a902cf6
Show file tree
Hide file tree
Showing 9 changed files with 899 additions and 2,692 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/publish-types-bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Publish moonbeam-types-bundle
on:
workflow_dispatch:
inputs:
TargetSHA:
description: full sha of commit to publish moonbeam-types-bundle from
required: true
DryRun:
description: Dry run mode
required: false
default: "false"

jobs:
publish-moonbeam-types-bundle:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.TargetSHA }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: "test/.nvmrc"
cache: pnpm
registry-url: https://registry.npmjs.org/
- name: Build moonbeam-types-bundle package
run: |
cd moonbeam-types-bundle
pnpm i --frozen-lockfile
pnpm build
- name: Publish moonbeam-types-bundle
run: |
cd moonbeam-types-bundle
if [ "${{ github.event.inputs.DryRun }}" == "true" ]; then
pnpm publish --access public --no-git-checks --dry-run
else
pnpm publish --access public --no-git-checks
fi
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion moonbeam-types-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moonbeam-types-bundle",
"version": "3.0.0",
"version": "3.0.1",
"description": "Bundled types to instantiate the Polkadot JS api with a Moonbeam network",
"main": "./dist/definitions.cjs",
"prepublish": "tsc",
Expand Down
34 changes: 23 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@
"check:fix": "pnpm -r check:fix"
},
"dependencies": {
"@polkadot/api": "15.0.1",
"@polkadot/api-augment": "15.0.1",
"@polkadot/api-derive": "15.0.1",
"@polkadot/keyring": "13.2.3",
"@polkadot/rpc-provider": "15.0.1",
"@polkadot/types": "15.0.1",
"@polkadot/types-codec": "15.0.1",
"@polkadot/util": "13.2.3",
"@polkadot/util-crypto": "13.2.3",
"@openzeppelin/contracts": "4.9.6",
"@polkadot/api": "15.4.1",
"@polkadot/api-augment": "15.4.1",
"@polkadot/api-derive": "15.4.1",
"@polkadot/keyring": "13.3.1",
"@polkadot/rpc-provider": "15.4.1",
"@polkadot/types": "15.4.1",
"@polkadot/types-codec": "15.4.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1",
"ethers": "6.13.4",
"tsup": "8.3.5"
},
Expand All @@ -37,10 +38,21 @@
},
"pnpm": {
"overrides": {
"@openzeppelin/contracts": "4.9.6"
"@openzeppelin/contracts": "4.9.6",
"@polkadot/api": "15.4.1",
"@polkadot/api-augment": "15.4.1",
"@polkadot/api-derive": "15.4.1",
"@polkadot/keyring": "13.3.1",
"@polkadot/rpc-provider": "15.4.1",
"@polkadot/types": "15.4.1",
"@polkadot/types-codec": "15.4.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1",
"ethers": "6.13.4",
"tsup": "8.3.5"
}
},
"keywords": [],
"author": "",
"license": "ISC"
}
}
Loading

0 comments on commit a902cf6

Please sign in to comment.