diff --git a/packages/example-common/package.json b/packages/example-common/package.json index a60948c..d4e4e69 100644 --- a/packages/example-common/package.json +++ b/packages/example-common/package.json @@ -22,6 +22,6 @@ "typescript": "^4.1.3" }, "scripts": { - "build": "tsc --declaration" + "build-lib": "tsc --declaration" } } \ No newline at end of file diff --git a/packages/example-server/Dockerfile b/packages/example-server/Dockerfile index 6586501..b4cde4c 100644 --- a/packages/example-server/Dockerfile +++ b/packages/example-server/Dockerfile @@ -13,6 +13,7 @@ COPY package.json yarn.lock lerna.json ./ RUN lerna bootstrap COPY . ./ +RUN lerna run build-lib RUN lerna run build ENTRYPOINT ["tini", "--"] diff --git a/packages/ketchup-client/package.json b/packages/ketchup-client/package.json index 2339291..3ed69cc 100644 --- a/packages/ketchup-client/package.json +++ b/packages/ketchup-client/package.json @@ -21,6 +21,6 @@ "typescript": "^4.1.3" }, "scripts": { - "build": "tsc --declaration" + "build-lib": "tsc --declaration" } } \ No newline at end of file diff --git a/packages/ketchup-common/package.json b/packages/ketchup-common/package.json index c5f7d14..e7ca9c1 100644 --- a/packages/ketchup-common/package.json +++ b/packages/ketchup-common/package.json @@ -21,7 +21,7 @@ "typescript": "^4.1.3" }, "scripts": { - "build": "tsc --declaration", + "build-lib": "tsc --declaration", "test": "tsc --declaration && jest" } } \ No newline at end of file diff --git a/packages/ketchup-react/package.json b/packages/ketchup-react/package.json index 628d2fe..0bcb205 100644 --- a/packages/ketchup-react/package.json +++ b/packages/ketchup-react/package.json @@ -23,6 +23,6 @@ "typescript": "^4.1.3" }, "scripts": { - "build": "tsc --declaration" + "build-lib": "tsc --declaration" } } \ No newline at end of file diff --git a/packages/ketchup-server/package.json b/packages/ketchup-server/package.json index fedfde6..a9542b1 100644 --- a/packages/ketchup-server/package.json +++ b/packages/ketchup-server/package.json @@ -28,6 +28,6 @@ "utf-8-validate": "^5.0.4" }, "scripts": { - "build": "tsc --declaration" + "build-lib": "tsc --declaration" } } \ No newline at end of file diff --git a/packages/wonders-common/package.json b/packages/wonders-common/package.json index e68aa88..cda7ac7 100644 --- a/packages/wonders-common/package.json +++ b/packages/wonders-common/package.json @@ -22,6 +22,6 @@ "typescript": "^4.1.3" }, "scripts": { - "build": "tsc --declaration" + "build-lib": "tsc --declaration" } } \ No newline at end of file diff --git a/packages/wonders-server/Dockerfile b/packages/wonders-server/Dockerfile index e304357..a67c763 100644 --- a/packages/wonders-server/Dockerfile +++ b/packages/wonders-server/Dockerfile @@ -13,6 +13,7 @@ COPY package.json yarn.lock lerna.json ./ RUN lerna bootstrap COPY . ./ +RUN lerna run build-lib RUN lerna run build ENTRYPOINT ["tini", "--"]