diff --git a/package.json b/package.json index 897c71ed6..97b012658 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "ts:api": "yarn workspace dbgate-api ts", "ts:web": "yarn workspace dbgate-web ts", "ts": "yarn ts:api && yarn ts:web", - "postinstall": "patch-package && yarn fillNativeModules && yarn build:plugins:frontend" + "postinstall": "yarn build:lib && patch-package && yarn fillNativeModules && yarn build:plugins:frontend" }, "dependencies": { "concurrently": "^5.1.0", diff --git a/packages/datalib/package.json b/packages/datalib/package.json index cfe2db453..984ffa7fe 100644 --- a/packages/datalib/package.json +++ b/packages/datalib/package.json @@ -4,7 +4,6 @@ "main": "lib/index.js", "typings": "lib/index.d.ts", "scripts": { - "postinstall": "yarn build", "build": "tsc", "start": "tsc --watch" }, diff --git a/packages/filterparser/package.json b/packages/filterparser/package.json index fd10e8d6c..f46c323a3 100644 --- a/packages/filterparser/package.json +++ b/packages/filterparser/package.json @@ -4,7 +4,6 @@ "main": "lib/index.js", "typings": "lib/index.d.ts", "scripts": { - "postinstall": "yarn build", "build": "tsc", "start": "tsc --watch", "test": "jest" diff --git a/packages/sqltree/package.json b/packages/sqltree/package.json index cbbd5dd72..e62340cb6 100644 --- a/packages/sqltree/package.json +++ b/packages/sqltree/package.json @@ -20,7 +20,6 @@ "dbgate" ], "scripts": { - "postinstall": "yarn build", "build": "tsc", "start": "tsc --watch" }, diff --git a/packages/tools/package.json b/packages/tools/package.json index 5cfe8abca..a3f64a2c5 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -16,7 +16,6 @@ "dbgate" ], "scripts": { - "postinstall": "yarn build", "build": "tsc", "start": "tsc --watch", "test": "jest",