From bbf4cf2b821443fbc3c08409634b06a4228406be Mon Sep 17 00:00:00 2001 From: bitbeckers Date: Wed, 21 Aug 2024 15:52:22 +0200 Subject: [PATCH 1/2] chore: bump contracts package version --- .github/workflows/create-prerelease-sdk.yml | 1 + package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/create-prerelease-sdk.yml b/.github/workflows/create-prerelease-sdk.yml index 5d0c57c..b87b25c 100644 --- a/.github/workflows/create-prerelease-sdk.yml +++ b/.github/workflows/create-prerelease-sdk.yml @@ -78,6 +78,7 @@ jobs: @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/github + @semantic-release/npm env: GITHUB_TOKEN: ${{ secrets.GH_PA_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 49761a4..1dc6bee 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ ], "dependencies": { "@graphql-typed-document-node/core": "^3.2.0", - "@hypercerts-org/contracts": "2.0.0-alpha.5", + "@hypercerts-org/contracts": "2.0.0-alpha.7", "@openzeppelin/merkle-tree": "^1.0.7", "@swc/core": "^1.6.3", "ajv": "^8.11.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98a3ac3..ed88ba5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^3.2.0 version: 3.2.0(graphql@16.9.0) '@hypercerts-org/contracts': - specifier: 2.0.0-alpha.5 - version: 2.0.0-alpha.5(@nomicfoundation/hardhat-ethers@3.0.6(ethers@5.7.2)(hardhat@2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5)))(@swc/core@1.7.10)(@types/node@20.14.15)(ethers@5.7.2)(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.5.4))(typescript@5.4.5) + specifier: 2.0.0-alpha.7 + version: 2.0.0-alpha.7(@nomicfoundation/hardhat-ethers@3.0.6(ethers@5.7.2)(hardhat@2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5)))(@swc/core@1.7.10)(@types/node@20.14.15)(ethers@5.7.2)(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5) '@openzeppelin/merkle-tree': specifier: ^1.0.7 version: 1.0.7 @@ -693,8 +693,8 @@ packages: resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==} engines: {node: '>=18.18'} - '@hypercerts-org/contracts@2.0.0-alpha.5': - resolution: {integrity: sha512-yMYlI2YWQpb9eIBK/dopzekuj/QS6ynzu/sG8sFzBASdu4Jk8s4m8FGlNotj5lXpLi8hx+kHfk/1tTN7NX9UaA==} + '@hypercerts-org/contracts@2.0.0-alpha.7': + resolution: {integrity: sha512-rnITsv1vcRsVtJxYCaHWXT9xk+5xjRRub1hJ9XqOrs0+HAvZTwBzTsoNWjjUlrW37loYHGxm5pRD+omFfeBbsw==} '@ibm-cloud/openapi-ruleset-utilities@1.3.2': resolution: {integrity: sha512-pDZ+YTawZBAMgxfGG0JeCizh7Brmz8h4WRQaJvfJaRfgfdFmp5xZ64oqvnpJQ16XjCdNMBkTB6NJCZjQzq1gpQ==} @@ -4902,7 +4902,7 @@ snapshots: '@humanwhocodes/retry@0.3.0': {} - '@hypercerts-org/contracts@2.0.0-alpha.5(@nomicfoundation/hardhat-ethers@3.0.6(ethers@5.7.2)(hardhat@2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5)))(@swc/core@1.7.10)(@types/node@20.14.15)(ethers@5.7.2)(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.5.4))(typescript@5.4.5)': + '@hypercerts-org/contracts@2.0.0-alpha.7(@nomicfoundation/hardhat-ethers@3.0.6(ethers@5.7.2)(hardhat@2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5)))(@swc/core@1.7.10)(@types/node@20.14.15)(ethers@5.7.2)(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5)': dependencies: '@tenderly/hardhat-tenderly': 2.3.0(@nomicfoundation/hardhat-ethers@3.0.6(ethers@5.7.2)(hardhat@2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5)))(@swc/core@1.7.10)(@types/node@20.14.15)(ethers@5.7.2)(hardhat@2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5)) hardhat: 2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5) @@ -5738,7 +5738,7 @@ snapshots: fs-extra: 10.1.0 hardhat: 2.22.8(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.4.5) hardhat-deploy: 0.11.45 - tenderly: 0.9.1(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.5.4))(typescript@5.5.4) + tenderly: 0.9.1(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.5.4) ts-node: 10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.5.4) tslog: 4.9.3 typescript: 5.5.4 @@ -8664,7 +8664,7 @@ snapshots: string-width: 4.2.3 strip-ansi: 6.0.1 - tenderly@0.9.1(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.5.4))(typescript@5.5.4): + tenderly@0.9.1(ts-node@10.9.2(@swc/core@1.7.10)(@types/node@20.14.15)(typescript@5.4.5))(typescript@5.5.4): dependencies: axios: 0.27.2 cli-table3: 0.6.5 From cc3486574bf05aca31487a9b4ba8bfe68ee8c5f5 Mon Sep 17 00:00:00 2001 From: bitbeckers Date: Wed, 21 Aug 2024 15:54:57 +0200 Subject: [PATCH 2/2] chore: enable npm release on main --- .github/workflows/create-prerelease-sdk.yml | 1 - .releaserc.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-prerelease-sdk.yml b/.github/workflows/create-prerelease-sdk.yml index b87b25c..05a6eb3 100644 --- a/.github/workflows/create-prerelease-sdk.yml +++ b/.github/workflows/create-prerelease-sdk.yml @@ -6,7 +6,6 @@ on: - main - dev/* - develop/* - - feat/* jobs: build-and-test: diff --git a/.releaserc.yaml b/.releaserc.yaml index ee3d4df..f3b48f5 100644 --- a/.releaserc.yaml +++ b/.releaserc.yaml @@ -4,6 +4,7 @@ plugins: - "@semantic-release/changelog" - "@semantic-release/git" - "@semantic-release/github" + - "@semantic-release/npm" branches: - "+([0-9])?(.{+([0-9]),x}).x"