From 2bf72eec03c3a8c8953e0a9000cd84b336a74b67 Mon Sep 17 00:00:00 2001 From: Kwangsoo Yeo Date: Mon, 9 Dec 2024 15:21:02 -0800 Subject: [PATCH] v2.1 react release --- .github/workflows/react-demos.yml | 10 ---------- .github/workflows/react.yml | 6 ------ binding/react/package.json | 4 ++-- binding/react/yarn.lock | 4 +++- demo/react/package.json | 4 ++-- demo/react/yarn.lock | 18 ++++++++---------- 6 files changed, 15 insertions(+), 31 deletions(-) diff --git a/.github/workflows/react-demos.yml b/.github/workflows/react-demos.yml index 57fa166b..8b06ea87 100644 --- a/.github/workflows/react-demos.yml +++ b/.github/workflows/react-demos.yml @@ -39,16 +39,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - # ************** REMOVE AFTER RELEASE ******************** - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - - - name: Build Local React SDK - run: yarn && yarn build - working-directory: binding/react - # ******************************************************** - - name: Install dependencies run: yarn install diff --git a/.github/workflows/react.yml b/.github/workflows/react.yml index 5255cbb4..d2922627 100644 --- a/.github/workflows/react.yml +++ b/.github/workflows/react.yml @@ -44,12 +44,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - # ************** REMOVE AFTER RELEASE ******************** - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - # ******************************************************** - - name: Install dependencies run: yarn install diff --git a/binding/react/package.json b/binding/react/package.json index 9563c30a..9c7500e9 100644 --- a/binding/react/package.json +++ b/binding/react/package.json @@ -1,6 +1,6 @@ { "name": "@picovoice/cheetah-react", - "version": "2.0.0", + "version": "2.1.0", "description": "React hook for Cheetah Web SDK", "entry": "src/index.ts", "module": "dist/esm/index.js", @@ -36,7 +36,7 @@ "test": "cypress run --component" }, "dependencies": { - "@picovoice/cheetah-web": "../web" + "@picovoice/cheetah-web": "~2.1.0" }, "devDependencies": { "@babel/core": "^7.21.3", diff --git a/binding/react/yarn.lock b/binding/react/yarn.lock index e14736f8..e6027bb7 100644 --- a/binding/react/yarn.lock +++ b/binding/react/yarn.lock @@ -1110,8 +1110,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/cheetah-web@../web": +"@picovoice/cheetah-web@~2.1.0": version "2.1.0" + resolved "https://registry.yarnpkg.com/@picovoice/cheetah-web/-/cheetah-web-2.1.0.tgz#d75e579460ca7d3b308ff4d56c82b0171f19ff30" + integrity sha512-LMJC8wRu6vakDdzuL9flWtgmrYk/6fodBwX18cNSqmXgRaVYNn7/jjW+N7XgA5UQrbGLcNBipIdsEBPivuzCBA== dependencies: "@picovoice/web-utils" "=1.4.3" diff --git a/demo/react/package.json b/demo/react/package.json index a29515da..a78cf60b 100644 --- a/demo/react/package.json +++ b/demo/react/package.json @@ -1,10 +1,10 @@ { "name": "cheetah-react-demo", - "version": "2.0.0", + "version": "2.1.0", "private": true, "description": "Cheetah React demo (made with Create React App)", "dependencies": { - "@picovoice/cheetah-react": "../../binding/react", + "@picovoice/cheetah-react": "~2.1.0", "@picovoice/web-voice-processor": "~4.0.8", "@types/node": "^18.11.9", "@types/react": "^18.0.17", diff --git a/demo/react/yarn.lock b/demo/react/yarn.lock index 6fcc3257..5da611d1 100644 --- a/demo/react/yarn.lock +++ b/demo/react/yarn.lock @@ -1616,22 +1616,20 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/cheetah-react@../../binding/react": - version "2.0.0" +"@picovoice/cheetah-react@~2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@picovoice/cheetah-react/-/cheetah-react-2.1.0.tgz#69647960d792ff3d076ed39ac31f6a055a6ba521" + integrity sha512-BVW4wZyJo0wy28vrFdgLhiIFCt9etUZmwdWXwkdLI4Y1wZ4GNQuN3iimL+xlL9tmzgAzcN3OuJbGHoSndc5CBw== dependencies: - "@picovoice/cheetah-web" "../web" + "@picovoice/cheetah-web" "~2.1.0" -"@picovoice/cheetah-web@../../binding/web": +"@picovoice/cheetah-web@~2.1.0": version "2.1.0" + resolved "https://registry.yarnpkg.com/@picovoice/cheetah-web/-/cheetah-web-2.1.0.tgz#d75e579460ca7d3b308ff4d56c82b0171f19ff30" + integrity sha512-LMJC8wRu6vakDdzuL9flWtgmrYk/6fodBwX18cNSqmXgRaVYNn7/jjW+N7XgA5UQrbGLcNBipIdsEBPivuzCBA== dependencies: "@picovoice/web-utils" "=1.4.3" -"@picovoice/cheetah-web@../web": - version "2.0.0" - dependencies: - "@picovoice/cheetah-web" "../../binding/web" - "@picovoice/web-voice-processor" "~4.0.8" - "@picovoice/web-utils@=1.3.1": version "1.3.1" resolved "https://registry.npmjs.org/@picovoice/web-utils/-/web-utils-1.3.1.tgz"