From 2bacead72fba8f053c50a5d768f71293543e4873 Mon Sep 17 00:00:00 2001 From: Serhii Shymkiv Date: Wed, 17 Jul 2024 13:54:13 +0300 Subject: [PATCH] Fix for publishing on NPM. --- .github/workflows/build-action.yml | 2 +- .github/workflows/pkg-pr-new-publish.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-action.yml b/.github/workflows/build-action.yml index b01291da79..81e670a737 100644 --- a/.github/workflows/build-action.yml +++ b/.github/workflows/build-action.yml @@ -92,7 +92,7 @@ jobs: run: | git submodule update --init --recursive npm ci - npm run build + npm run prepublishOnly - name: Publish to NPM if version has changed uses: JS-DevTools/npm-publish@v3 with: diff --git a/.github/workflows/pkg-pr-new-publish.yml b/.github/workflows/pkg-pr-new-publish.yml index f075ad0da6..0283567a30 100644 --- a/.github/workflows/pkg-pr-new-publish.yml +++ b/.github/workflows/pkg-pr-new-publish.yml @@ -26,7 +26,7 @@ jobs: run: | git submodule update --init --recursive npm ci - npm run build + npm run prepublishOnly cd src/mina-signer npm ci npm run prepublishOnly diff --git a/package-lock.json b/package-lock.json index e24c0e6277..5772a22495 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "o1js", - "version": "1.5.0", + "version": "1.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "o1js", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0", "dependencies": { "blakejs": "1.2.1", diff --git a/package.json b/package.json index ba746fd441..cb6b60ce09 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "o1js", "description": "TypeScript framework for zk-SNARKs and zkApps", - "version": "1.5.0", + "version": "1.5.1", "license": "Apache-2.0", "homepage": "https://github.com/o1-labs/o1js/", "repository": {