Skip to content

Commit

Permalink
v2.1 react release
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 committed Dec 9, 2024
1 parent 319fa82 commit 2bf72ee
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 31 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/react-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions binding/react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion binding/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions demo/react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
18 changes: 8 additions & 10 deletions demo/react/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2bf72ee

Please sign in to comment.