You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/02/08 20:08:58 UTC

[incubator-streampipes] branch experimental-module-federation-494 updated: [hotfix] Improve build script

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch experimental-module-federation-494
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/experimental-module-federation-494 by this push:
     new ba87fc6  [hotfix] Improve build script
ba87fc6 is described below

commit ba87fc6393bf052a654b8f2d86f003b0da6da962
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Feb 8 21:08:47 2022 +0100

    [hotfix] Improve build script
---
 ui/package.json | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/ui/package.json b/ui/package.json
index 3e6f495..d83e9d4 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -8,14 +8,15 @@
     "url": "https://github.com/apache/incubator-streampipes"
   },
   "scripts": {
-    "start": "node ./deployment/prebuild.js && ng build @streampipes/platform-services && npm install @streampipes/platform-services@file:./dist/streampipes/platform-services && ng serve",
-    "test": "node ./deployment/prebuild.js && npm install @streampipes/platform-services@file:./dist/streampipes/platform-services && ng test",
+    "build-platform-services": "ng build @streampipes/platform-services && npm install @streampipes/platform-services@file:./dist/streampipes/platform-services",
+    "start": "node ./deployment/prebuild.js && npm run build-platform-services && ng serve",
+    "test": "node ./deployment/prebuild.js && npm run build-platform-services && ng test",
     "start-plain": "ng serve",
-    "build-plain": "set NODE_OPTIONS=--max-old-space-size=10192 && npm install @streampipes/platform-services@file:./dist/streampipes/platform-services && ng build --configuration production",
+    "build-plain": "set NODE_OPTIONS=--max-old-space-size=10192 && npm run build-platform-services && ng build --configuration production",
     "run-prebuild-script": "node ./deployment/prebuild.js",
-    "build": "node ./deployment/prebuild.js && set NODE_OPTIONS=--max-old-space-size=10192 && npm install @streampipes/platform-services@file:./dist/streampipes/platform-services && ng build --configuration production",
-    "build-dev": "node ./deployment/prebuild.js && set NODE_OPTIONS=--max-old-space-size=10192 && npm install @streampipes/platform-services@file:./dist/streampipes/platform-services && ng build",
-    "build-rc": "node ./deployment/prebuild.js rel && set NODE_OPTIONS=--max-old-space-size=10192 && npm install @streampipes/platform-services@file:./dist/streampipes/platform-services && ng build --configuration production",
+    "build": "node ./deployment/prebuild.js && set NODE_OPTIONS=--max-old-space-size=10192 && npm run build-platform-services && ng build --configuration production",
+    "build-dev": "node ./deployment/prebuild.js && set NODE_OPTIONS=--max-old-space-size=10192 && npm run build-platform-services && ng build",
+    "build-rc": "node ./deployment/prebuild.js rel && set NODE_OPTIONS=--max-old-space-size=10192 && npm run build-platform-services && ng build --configuration production",
     "lint": "tslint -c tslint.json 'src/**/*.ts*",
     "analyze": "webpack-bundle-analyzer dist/stats.json",
     "test-cypress-open": "cypress open",