From 3250ceb43fdb323e204732f71f15cc5abbbe8d37 Mon Sep 17 00:00:00 2001 From: Albert Ho Date: Wed, 28 Feb 2024 09:53:55 -0800 Subject: [PATCH] post-release --- .github/workflows/nodejs-demos.yml | 12 ------------ binding/nodejs/README.md | 2 +- demo/nodejs/package.json | 2 +- demo/nodejs/yarn.lock | 4 +++- 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/nodejs-demos.yml b/.github/workflows/nodejs-demos.yml index b94c7b8..5159af4 100644 --- a/.github/workflows/nodejs-demos.yml +++ b/.github/workflows/nodejs-demos.yml @@ -39,12 +39,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - # ************** REMOVE AFTER RELEASE ******************** - - name: Build Node.js SDK - run: yarn && yarn build - working-directory: binding/nodejs - # ******************************************************** - - name: Install dependencies run: yarn install @@ -64,12 +58,6 @@ jobs: steps: - uses: actions/checkout@v3 - # ************** REMOVE AFTER RELEASE ******************** - - name: Build Node.js SDK - run: yarn && yarn build - working-directory: binding/nodejs - # ******************************************************** - - name: Install dependencies run: yarn install diff --git a/binding/nodejs/README.md b/binding/nodejs/README.md index 75fe656..51e0fa6 100644 --- a/binding/nodejs/README.md +++ b/binding/nodejs/README.md @@ -142,4 +142,4 @@ eagle.release(); ## Demos -The [Eagle Node.js demo package](../../demo/nodejs) provides command-line utilities for processing audio using Eagle. +The [Eagle Node.js demo package](https://www.npmjs.com/package/@picovoice/eagle-node-demo) provides command-line utilities for processing audio using Eagle. diff --git a/demo/nodejs/package.json b/demo/nodejs/package.json index eada9d1..c4d5dee 100644 --- a/demo/nodejs/package.json +++ b/demo/nodejs/package.json @@ -24,7 +24,7 @@ "author": "Picovoice Inc.", "license": "Apache-2.0", "dependencies": { - "@picovoice/eagle-node": "file:../../binding/nodejs", + "@picovoice/eagle-node": "=1.0.0", "@picovoice/pvrecorder-node": "^1.2.2", "commander": "^6.1.0", "readline": "^1.3.0", diff --git a/demo/nodejs/yarn.lock b/demo/nodejs/yarn.lock index 6e8cf74..b07b3a5 100644 --- a/demo/nodejs/yarn.lock +++ b/demo/nodejs/yarn.lock @@ -2,8 +2,10 @@ # yarn lockfile v1 -"@picovoice/eagle-node@file:../../binding/nodejs": +"@picovoice/eagle-node@=1.0.0": version "1.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/eagle-node/-/eagle-node-1.0.0.tgz#bcaceae487ae2183e83f6029f400b591a0999f2b" + integrity sha512-BkP9A1skjTQlRMQmFPghaSArt3kM2vIDNO7jyZOlIJVz2AYeyyVB/3lvmKsNTIUw+lbx/Q5mgcTaJF19JX3/6g== "@picovoice/pvrecorder-node@^1.2.2": version "1.2.2"