From 6ba24703b3accc0044718d21ffbd02922f485bca Mon Sep 17 00:00:00 2001 From: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com> Date: Wed, 17 Apr 2024 15:28:26 +0200 Subject: [PATCH] Bump nodejs version, add alpha tag for wasm releases (#2227) * Bump nodejs version, add alpha tag for wasm releases * format * Fix nodejs build on windows --- .github/workflows/bindings-wasm-publish.yml | 2 +- bindings/nodejs/CHANGELOG.md | 6 ++++++ bindings/nodejs/package.json | 2 +- bindings/nodejs/scripts/build.js | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bindings-wasm-publish.yml b/.github/workflows/bindings-wasm-publish.yml index f497331257..9c2e1a1689 100644 --- a/.github/workflows/bindings-wasm-publish.yml +++ b/.github/workflows/bindings-wasm-publish.yml @@ -46,7 +46,7 @@ jobs: shell: sh env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: yarn publish --access public + run: yarn publish --access public --tag alpha - name: Prepare Github release id: prepare_release diff --git a/bindings/nodejs/CHANGELOG.md b/bindings/nodejs/CHANGELOG.md index 4caa5bb962..55f2b6cf25 100644 --- a/bindings/nodejs/CHANGELOG.md +++ b/bindings/nodejs/CHANGELOG.md @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security --> +## 2.0.0-alpha.6 - 2024-04-17 + +### Fixed + +- MacOS binary build; + ## 2.0.0-alpha.5 - 2024-04-15 ### Added diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json index a1d772639f..0fdaca0f3d 100644 --- a/bindings/nodejs/package.json +++ b/bindings/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@iota/sdk", - "version": "2.0.0-alpha.5", + "version": "2.0.0-alpha.6", "description": "Node.js binding to the IOTA SDK library", "main": "out/index.js", "types": "out/index.d.ts", diff --git a/bindings/nodejs/scripts/build.js b/bindings/nodejs/scripts/build.js index 6397cb0966..2216789111 100644 --- a/bindings/nodejs/scripts/build.js +++ b/bindings/nodejs/scripts/build.js @@ -6,6 +6,7 @@ const { spawnSync } = require('child_process'); const { status } = spawnSync(process.platform === 'win32' ? 'yarn.cmd' : 'yarn', ['build'], { stdio: 'inherit', cwd: resolve(__dirname, '../'), + shell: true }); if (status === null) {