Skip to content

Commit fdf60d0

Browse files
committed
v3.0 node release
1 parent 8f9a5a6 commit fdf60d0

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

.github/workflows/nodejs-demos.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ jobs:
3939
with:
4040
node-version: ${{ matrix.node-version }}
4141

42-
- name: Pre-build binding dependencies
43-
run: npm install yarn
44-
working-directory: binding/nodejs
45-
46-
- name: Build Node.js SDK
47-
run: yarn && yarn build
48-
working-directory: binding/nodejs
49-
5042
- name: Pre-build dependencies
5143
run: npm install yarn
5244

@@ -69,10 +61,6 @@ jobs:
6961
- name: Pre-build dependencies
7062
run: npm install --global yarn
7163

72-
- name: Build Node.js SDK
73-
run: yarn && yarn build
74-
working-directory: binding/nodejs
75-
7664
- name: Install dependencies
7765
run: yarn install
7866

demo/nodejs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"author": "Picovoice, Inc.",
1717
"license": "Apache-2.0",
1818
"dependencies": {
19-
"@picovoice/porcupine-node": "file:../../binding/nodejs",
20-
"@picovoice/pvrecorder-node": "1.2.1",
19+
"@picovoice/porcupine-node": "~3.0.0",
20+
"@picovoice/pvrecorder-node": "~1.2.1",
2121
"commander": "^6.1.0",
2222
"wavefile": "^11.0.0"
2323
},

demo/nodejs/yarn.lock

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
# yarn lockfile v1
33

44

5-
"@picovoice/porcupine-node@file:../../binding/nodejs":
5+
"@picovoice/porcupine-node@~3.0.0":
66
version "3.0.0"
7+
resolved "https://registry.yarnpkg.com/@picovoice/porcupine-node/-/porcupine-node-3.0.0.tgz#576fcfdc8a6b98430022e3650b590b5c274b1468"
8+
integrity sha512-wkX5+2qmnR7ea9N1/vJZOGdx0W4cBfAABisX78yTAI6XXZivL8UCT3UJcrAMHoXeFN252flyDrRbqA1oH2uHzQ==
79

8-
"@picovoice/[email protected]":
10+
"@picovoice/pvrecorder-node@~1.2.1":
911
version "1.2.1"
1012
resolved "https://registry.yarnpkg.com/@picovoice/pvrecorder-node/-/pvrecorder-node-1.2.1.tgz#8e112ecc7a4836aa4fa92d62ac7942d8a2366db8"
1113
integrity sha512-7TtRMh04PSVn542Oq1v/MGLFuNPdUrrv+f7qbCGOWRc8y6ox+FATigdQqLRbRey4kZWf40dNHQFdVPCk5ZcXnQ==

0 commit comments

Comments
 (0)