From 986a5ee1c32800baaded03e0216e7c08bfaad390 Mon Sep 17 00:00:00 2001 From: Kwangsoo Yeo Date: Wed, 25 Oct 2023 13:45:17 -0700 Subject: [PATCH] v3.0 web ui release --- .github/workflows/angular-codestyle.yml | 8 -------- .github/workflows/angular-demos.yml | 8 -------- .github/workflows/angular.yml | 4 ---- .github/workflows/react-codestyle.yml | 8 -------- .github/workflows/react-demos.yml | 8 -------- .github/workflows/react.yml | 4 ---- .github/workflows/vue-codestyle.yml | 8 -------- .github/workflows/vue-demos.yml | 8 -------- .github/workflows/vue.yml | 4 ---- binding/angular/package.json | 2 +- binding/angular/projects/rhino-angular/package.json | 2 +- binding/angular/yarn.lock | 4 +++- binding/react/package.json | 2 +- binding/react/yarn.lock | 4 +++- binding/vue/package.json | 2 +- binding/vue/yarn.lock | 4 +++- demo/angular/package.json | 2 +- demo/angular/yarn.lock | 10 +++++++--- demo/react/package.json | 2 +- demo/react/yarn.lock | 10 +++++++--- demo/vue/package.json | 2 +- demo/vue/yarn.lock | 10 +++++++--- 22 files changed, 37 insertions(+), 79 deletions(-) diff --git a/.github/workflows/angular-codestyle.yml b/.github/workflows/angular-codestyle.yml index a0bd66d9..3b4706a6 100644 --- a/.github/workflows/angular-codestyle.yml +++ b/.github/workflows/angular-codestyle.yml @@ -30,14 +30,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - - - name: Build Local Angular SDK - run: yarn && yarn build - working-directory: binding/angular - - name: Run Binding Linter run: yarn && yarn lint working-directory: binding/angular diff --git a/.github/workflows/angular-demos.yml b/.github/workflows/angular-demos.yml index c766d411..d72689c9 100644 --- a/.github/workflows/angular-demos.yml +++ b/.github/workflows/angular-demos.yml @@ -35,14 +35,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - - - name: Build Local Angular SDK - run: yarn && yarn build - working-directory: binding/angular - - name: Pre-build dependencies run: npm install yarn --force diff --git a/.github/workflows/angular.yml b/.github/workflows/angular.yml index 9a492a3d..2b3e63fa 100644 --- a/.github/workflows/angular.yml +++ b/.github/workflows/angular.yml @@ -42,10 +42,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - - name: Install dependencies run: yarn install diff --git a/.github/workflows/react-codestyle.yml b/.github/workflows/react-codestyle.yml index dc93c9d8..5ba0a49a 100644 --- a/.github/workflows/react-codestyle.yml +++ b/.github/workflows/react-codestyle.yml @@ -34,14 +34,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - 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: Run Binding Linter run: yarn && yarn lint working-directory: binding/react diff --git a/.github/workflows/react-demos.yml b/.github/workflows/react-demos.yml index 35ae6ee8..2221ad92 100644 --- a/.github/workflows/react-demos.yml +++ b/.github/workflows/react-demos.yml @@ -38,14 +38,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - 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 c04b2ca6..49be2b6d 100644 --- a/.github/workflows/react.yml +++ b/.github/workflows/react.yml @@ -42,10 +42,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - - name: Install dependencies run: yarn install diff --git a/.github/workflows/vue-codestyle.yml b/.github/workflows/vue-codestyle.yml index fbccbdcc..a98d4db7 100644 --- a/.github/workflows/vue-codestyle.yml +++ b/.github/workflows/vue-codestyle.yml @@ -34,14 +34,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - - - name: Build Local Vue SDK - run: yarn && yarn build - working-directory: binding/vue - - name: Run Binding Linter run: yarn && yarn lint working-directory: binding/vue diff --git a/.github/workflows/vue-demos.yml b/.github/workflows/vue-demos.yml index 00032e05..04d2812b 100644 --- a/.github/workflows/vue-demos.yml +++ b/.github/workflows/vue-demos.yml @@ -38,14 +38,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - name: Build Local Web SDK - run: yarn && yarn copywasm && yarn build - working-directory: binding/web - - - name: Build Local Vue SDK - run: yarn && yarn build - working-directory: binding/vue - - name: Install dependencies run: yarn install diff --git a/.github/workflows/vue.yml b/.github/workflows/vue.yml index b90bb113..b45d6a4c 100644 --- a/.github/workflows/vue.yml +++ b/.github/workflows/vue.yml @@ -42,10 +42,6 @@ jobs: - name: Pre-build dependencies run: npm install yarn - - 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/angular/package.json b/binding/angular/package.json index a7f72359..457dae1e 100644 --- a/binding/angular/package.json +++ b/binding/angular/package.json @@ -34,7 +34,7 @@ "@angular-eslint/template-parser": "~13.5.0", "@angular/cli": "~13.3.9", "@angular/compiler-cli": "~13.3.0", - "@picovoice/rhino-web": "file:../web", + "@picovoice/rhino-web": "=3.0.0", "@picovoice/web-voice-processor": "~4.0.8", "@types/node": "^18.11.9", "@typescript-eslint/eslint-plugin": "^5.27.1", diff --git a/binding/angular/projects/rhino-angular/package.json b/binding/angular/projects/rhino-angular/package.json index 5a6a13d7..8891b5c5 100644 --- a/binding/angular/projects/rhino-angular/package.json +++ b/binding/angular/projects/rhino-angular/package.json @@ -22,7 +22,7 @@ "author": "Picovoice Inc", "license": "Apache-2.0", "dependencies": { - "@picovoice/rhino-web": "file:../../../web", + "@picovoice/rhino-web": "=3.0.0", "tslib": "^2.3.0" } } diff --git a/binding/angular/yarn.lock b/binding/angular/yarn.lock index 02a8061e..417425e8 100644 --- a/binding/angular/yarn.lock +++ b/binding/angular/yarn.lock @@ -1662,8 +1662,10 @@ node-addon-api "^3.2.1" node-gyp-build "^4.3.0" -"@picovoice/rhino-web@file:../web": +"@picovoice/rhino-web@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-3.0.0.tgz#d3cf3a4d4062726e2f7be5926122e8833e8857a7" + integrity sha512-P0sA19lpuh1szkzXgfRxR1bhldoLqkfQP0Ok9uViZYYfX6jcknEziYhNIiAqGdVOexuPbXupAmNsTAru7FfuqQ== dependencies: "@picovoice/web-utils" "=1.3.1" diff --git a/binding/react/package.json b/binding/react/package.json index d1e4d3d2..16570f4f 100644 --- a/binding/react/package.json +++ b/binding/react/package.json @@ -73,6 +73,6 @@ "react-dom": ">=17" }, "dependencies": { - "@picovoice/rhino-web": "file:../web" + "@picovoice/rhino-web": "=3.0.0" } } diff --git a/binding/react/yarn.lock b/binding/react/yarn.lock index 451c0814..83d224db 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/rhino-web@file:../web": +"@picovoice/rhino-web@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-3.0.0.tgz#d3cf3a4d4062726e2f7be5926122e8833e8857a7" + integrity sha512-P0sA19lpuh1szkzXgfRxR1bhldoLqkfQP0Ok9uViZYYfX6jcknEziYhNIiAqGdVOexuPbXupAmNsTAru7FfuqQ== dependencies: "@picovoice/web-utils" "=1.3.1" diff --git a/binding/vue/package.json b/binding/vue/package.json index 3370ebeb..6fda2852 100644 --- a/binding/vue/package.json +++ b/binding/vue/package.json @@ -56,6 +56,6 @@ "vue": "^2.6.11 || ^3.0.0" }, "dependencies": { - "@picovoice/rhino-web": "file:../web" + "@picovoice/rhino-web": "=3.0.0" } } diff --git a/binding/vue/yarn.lock b/binding/vue/yarn.lock index c71cab89..af10fa0e 100644 --- a/binding/vue/yarn.lock +++ b/binding/vue/yarn.lock @@ -1231,8 +1231,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/rhino-web@file:../web": +"@picovoice/rhino-web@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-3.0.0.tgz#d3cf3a4d4062726e2f7be5926122e8833e8857a7" + integrity sha512-P0sA19lpuh1szkzXgfRxR1bhldoLqkfQP0Ok9uViZYYfX6jcknEziYhNIiAqGdVOexuPbXupAmNsTAru7FfuqQ== dependencies: "@picovoice/web-utils" "=1.3.1" diff --git a/demo/angular/package.json b/demo/angular/package.json index e852187f..987ea266 100644 --- a/demo/angular/package.json +++ b/demo/angular/package.json @@ -18,7 +18,7 @@ "@angular/platform-browser": "^15.0.3", "@angular/platform-browser-dynamic": "^15.0.3", "@angular/router": "^15.0.3", - "@picovoice/rhino-angular": "../../binding/angular/dist/rhino-angular", + "@picovoice/rhino-angular": "~3.0.0", "@picovoice/web-voice-processor": "~4.0.8", "rxjs": "~7.5.0", "tslib": "^2.3.0", diff --git a/demo/angular/yarn.lock b/demo/angular/yarn.lock index 3b61113b..dced5e4b 100644 --- a/demo/angular/yarn.lock +++ b/demo/angular/yarn.lock @@ -1534,14 +1534,18 @@ read-package-json-fast "^3.0.0" which "^3.0.0" -"@picovoice/rhino-angular@../../binding/angular/dist/rhino-angular": +"@picovoice/rhino-angular@~3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-angular/-/rhino-angular-3.0.0.tgz#995a9b43e787a9798bcff6ca6fbf224a7bff3ed9" + integrity sha512-ziYTqecktU0Qpi76ROLC0iHjAhVXaiHO5/28V00GiDJtjU9dt1CPBbomd5n0pVTnEarotc1RLBt9BaEbnLshcg== dependencies: - "@picovoice/rhino-web" "file:../../../../../.cache/yarn/v6/npm-@picovoice-rhino-angular-3.0.0-2e47461b-913f-4f44-b38f-13afc7a68eda-1697758280091/web" + "@picovoice/rhino-web" "=3.0.0" tslib "^2.3.0" -"@picovoice/rhino-web@file:../../binding/web": +"@picovoice/rhino-web@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-3.0.0.tgz#d3cf3a4d4062726e2f7be5926122e8833e8857a7" + integrity sha512-P0sA19lpuh1szkzXgfRxR1bhldoLqkfQP0Ok9uViZYYfX6jcknEziYhNIiAqGdVOexuPbXupAmNsTAru7FfuqQ== dependencies: "@picovoice/web-utils" "=1.3.1" diff --git a/demo/react/package.json b/demo/react/package.json index a2e28e12..52c34672 100644 --- a/demo/react/package.json +++ b/demo/react/package.json @@ -4,7 +4,7 @@ "private": true, "description": "Rhino React demo (made with Create React App)", "dependencies": { - "@picovoice/rhino-react": "../../binding/react", + "@picovoice/rhino-react": "~3.0.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 f0447e08..4638566e 100644 --- a/demo/react/yarn.lock +++ b/demo/react/yarn.lock @@ -1545,13 +1545,17 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/rhino-react@../../binding/react": +"@picovoice/rhino-react@~3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-react/-/rhino-react-3.0.0.tgz#7deeec441e086efd1496a9a82a0853b423f18a6a" + integrity sha512-zPZh6o2YjOS/rlvgUoqbElEGy3Rxr2S5lXCP7gybqZMfQ74xT2BEG51hXg4Bnkp5F++HN8Z9M1CYVckRCsV28Q== dependencies: - "@picovoice/rhino-web" "file:../../../../../.cache/yarn/v6/npm-@picovoice-rhino-react-3.0.0-39bfe464-7ec1-4fbf-8d9e-0167d1dfe41b-1697758420673/node_modules/@picovoice/web" + "@picovoice/rhino-web" "=3.0.0" -"@picovoice/rhino-web@file:../../binding/web": +"@picovoice/rhino-web@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-3.0.0.tgz#d3cf3a4d4062726e2f7be5926122e8833e8857a7" + integrity sha512-P0sA19lpuh1szkzXgfRxR1bhldoLqkfQP0Ok9uViZYYfX6jcknEziYhNIiAqGdVOexuPbXupAmNsTAru7FfuqQ== dependencies: "@picovoice/web-utils" "=1.3.1" diff --git a/demo/vue/package.json b/demo/vue/package.json index 46c2a968..d7c88df6 100644 --- a/demo/vue/package.json +++ b/demo/vue/package.json @@ -12,7 +12,7 @@ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" }, "dependencies": { - "@picovoice/rhino-vue": "../../binding/vue", + "@picovoice/rhino-vue": "~3.0.0", "@picovoice/web-voice-processor": "~4.0.8", "vue": "^3.2.45" }, diff --git a/demo/vue/yarn.lock b/demo/vue/yarn.lock index 1ec6513e..cdf78e02 100644 --- a/demo/vue/yarn.lock +++ b/demo/vue/yarn.lock @@ -77,13 +77,17 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@picovoice/rhino-vue@../../binding/vue": +"@picovoice/rhino-vue@~3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-vue/-/rhino-vue-3.0.0.tgz#062c8945c2fbb872527c5eba9e7e37708716c8e0" + integrity sha512-AywZoaT9ps/C5xH3+6EDH4MSv5jZ2E4PYtsu7rJvsFVdgruV9kamUf828timHsg1VAA/HtXsDLLR9lpeHHw49Q== dependencies: - "@picovoice/rhino-web" "file:../../../../../.cache/yarn/v6/npm-@picovoice-rhino-vue-3.0.0-98b8eb03-2b2f-4cc6-834d-63f9d807ebed-1697758537488/node_modules/@picovoice/web" + "@picovoice/rhino-web" "=3.0.0" -"@picovoice/rhino-web@file:../../binding/web": +"@picovoice/rhino-web@=3.0.0": version "3.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/rhino-web/-/rhino-web-3.0.0.tgz#d3cf3a4d4062726e2f7be5926122e8833e8857a7" + integrity sha512-P0sA19lpuh1szkzXgfRxR1bhldoLqkfQP0Ok9uViZYYfX6jcknEziYhNIiAqGdVOexuPbXupAmNsTAru7FfuqQ== dependencies: "@picovoice/web-utils" "=1.3.1"