fix: forgot 'shared' in build-all

Massimo Melina committed Mar 17, 2022 at 10:54 UTC 4d81bba88813dc1f80a988e65890293a6652f9ef
2 files changed +4 -3
package-lock.json
+2 -2
@@ -1,12 +1,12 @@
1 {
2 "name": "hfs",
3 - "version": "0.14.1",
3 + "version": "0.14.2",
4 "lockfileVersion": 2,
5 "requires": true,
6 "packages": {
7 "": {
8 "name": "hfs",
9 - "version": "0.14.1",
9 + "version": "0.14.2",
10 "license": "GPL-3.0",
11 "workspaces": [
12 "server",
package.json
+2 -1
@@ -17,9 +17,10 @@
17 "start-admin": "cd admin && npm run start",
18 "start": "node dist",
19 "build": "npm install && rm -rf dist/src && tsc --target es2018 && cp -v -r package-lock.json server/package.json READ* LICENSE* plugins dist && cd dist && npm ci --production && cd .. && node afterbuild",
20 - "build-all": "rm -rf dist && npm run build && npm run build-frontend && npm run build-admin && npm audit --production && echo COMPLETED",
20 + "build-all": "rm -rf dist && npm run build-shared && npm run build && npm run build-frontend && npm run build-admin && npm audit --production && echo COMPLETED",
21 "build-frontend": "cd frontend && npm run build",
22 "build-admin": "cd admin && npm run build",
23 + "build-shared": "cd shared && npx tsc",
24 "test": "mocha -r ts-node/register 'tests/**/*.ts'",
25 "zip-dist": "cd dist && zip hfs-node.zip -r * -x *.zip *.exe hfs-*",
26 "exe-dist": "pkg . -C brotli && cd dist && mv -f hfs-win.exe hfs.exe && zip plugins.zip -r plugins",