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/02 14:05:58 UTC
[incubator-streampipes] 01/01: Use local file reference to platform-service library
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
commit e5bc4abdecf0e6d0dfb57083435f2d5d5dcea859
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Feb 2 15:04:06 2022 +0100
Use local file reference to platform-service library
---
ui/angular.json | 2 +-
ui/package.json | 4 ++--
ui/src/app/login/components/startup/startup.component.html | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/angular.json b/ui/angular.json
index 73cfa9e..183704e 100644
--- a/ui/angular.json
+++ b/ui/angular.json
@@ -12,7 +12,7 @@
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"aot": true,
- "outputPath": "dist/",
+ "outputPath": "dist/streampipes/ui",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
diff --git a/ui/package.json b/ui/package.json
index daa697e..1516ab6 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -8,7 +8,7 @@
"url": "https://github.com/apache/incubator-streampipes"
},
"scripts": {
- "start": "node ./deployment/prebuild.js && ng serve",
+ "start": "node ./deployment/prebuild.js && ng build @streampipes/platform-services && ng serve",
"test": "node ./deployment/prebuild.js && ng test",
"start-plain": "ng serve",
"build-plain": "set NODE_OPTIONS=--max-old-space-size=10192 && ng build --configuration production",
@@ -45,7 +45,7 @@
"@ngx-loading-bar/http-client": "5.1.2",
"@panzoom/panzoom": "^4.3.2",
"@stomp/ng2-stompjs": "7.2.0",
- "@streampipes/platform-services": "0.0.1",
+ "@streampipes/platform-services": "file:./dist/streampipes/platform-services",
"@swimlane/ngx-charts": "16.0.0",
"angular-datatables": "^12.0.2",
"angular-gridster2": "12.1.1",
diff --git a/ui/src/app/login/components/startup/startup.component.html b/ui/src/app/login/components/startup/startup.component.html
index 01f78ec..a95712c 100644
--- a/ui/src/app/login/components/startup/startup.component.html
+++ b/ui/src/app/login/components/startup/startup.component.html
@@ -19,7 +19,7 @@
<div class="md-padding sp-fade" fxLayout="row" fxLayoutAlign="center center"
style="min-height:100vh !important; background:white;">
<div fxFlex="80" fxLayout="column" fxLayoutAlign="center center" style="display:flex;">
- <img src="../../../../assets/img/logo.png" style="max-width:500px;"/>
+ <img src="../../../../assets/img/sp/logo.png" style="max-width:500px;"/>
<div fxFlex="100">
<h2>Welcome!</h2>