prepare replaced with postinstall

This commit is contained in:
Jan Prochazka 2021-04-17 09:57:12 +02:00
parent 6b85870523
commit 479cec4209
6 changed files with 4 additions and 12 deletions

View File

@ -35,7 +35,6 @@
"prettier": "prettier --write packages/api/src && prettier --write packages/datalib/src && prettier --write packages/filterparser/src && prettier --write packages/sqltree/src && prettier --write packages/tools/src && prettier --write packages/types && prettier --write packages/web/src && prettier --write app/src",
"copy:docker:build": "copyfiles packages/api/dist/* docker -f && copyfiles packages/web/public/* docker -u 2 && copyfiles \"packages/web/public/**/*\" docker -u 2 && copyfiles \"plugins/dist/**/*\" docker/plugins -u 2",
"prepare:docker": "yarn plugins:copydist && yarn build:web:docker && yarn build:api && yarn copy:docker:build",
"prepare": "yarn build:lib",
"start": "concurrently --kill-others-on-fail \"yarn start:api\" \"yarn start:web\"",
"lib": "concurrently --kill-others-on-fail \"yarn start:sqltree\" \"yarn start:filterparser\" \"yarn start:datalib\" \"yarn start:tools\" \"yarn build:plugins:frontend:watch\"",
"ts:api": "yarn workspace dbgate-api ts",

View File

@ -4,7 +4,7 @@
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"prepare": "yarn build",
"postinstall": "yarn build",
"build": "tsc",
"start": "tsc --watch"
},

View File

@ -4,7 +4,7 @@
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"prepare": "yarn build",
"postinstall": "yarn build",
"build": "tsc",
"start": "tsc --watch",
"test": "jest"

View File

@ -20,7 +20,7 @@
"dbgate"
],
"scripts": {
"prepare": "yarn build",
"postinstall": "yarn build",
"build": "tsc",
"start": "tsc --watch"
},

View File

@ -16,7 +16,7 @@
"dbgate"
],
"scripts": {
"prepare": "yarn build",
"postinstall": "yarn build",
"build": "tsc",
"start": "tsc --watch",
"test": "jest",

View File

@ -2487,13 +2487,6 @@ dbgate-plugin-tools@^1.0.7:
pacote "^11.1.13"
rimraf "^3.0.2"
dbgate-tools@^4.0.3-rc.1, dbgate-tools@^4.1.0-rc.1:
version "4.1.0"
resolved "https://registry.yarnpkg.com/dbgate-tools/-/dbgate-tools-4.1.0.tgz#cacc62759fb43a4c2a54d5d0ff795f2f7995a445"
integrity sha512-IvvTOvGezUyiz9NP6GnheOU8rO8McQri2BSPBVv/p5MV0+veDLWo16Ag/RqIoMlTcmV/AZz5orwcKd5BLpGaaQ==
dependencies:
lodash "^4.17.15"
debug@2.6.9, debug@^2.2.0, debug@^2.3.3:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"