diff --git a/.github/scripts/build-vite-app.sh b/.github/scripts/build-vite-app.sh index 4814e5ce5..07e595339 100755 --- a/.github/scripts/build-vite-app.sh +++ b/.github/scripts/build-vite-app.sh @@ -7,7 +7,7 @@ build_folder=$(dirname $entry_file) package_name=$(jq -r '.name' $PACKAGE_PATH/package.json) # Run build using turbo -npx turbo run build:static --filter $package_name +npx turbo run build:static --filter $package_name -- --base ./ # Copy build folder to deploy path mkdir -p "$DEPLOY_PATH/$TARGET_FOLDER" @@ -15,5 +15,5 @@ cp -r "$PACKAGE_PATH/$build_folder/." "$DEPLOY_PATH/$TARGET_FOLDER" # Generate appProps.json if APP_PROPS_BASE64 is non-empty if [ -n "$APP_PROPS_BASE64" ]; then - echo "$APP_PROPS_BASE64" | base64 -d > "$DEPLOY_PATH/$TARGET_FOLDER/appProps.json" + echo "$APP_PROPS_BASE64" | base64 -d >"$DEPLOY_PATH/$TARGET_FOLDER/appProps.json" fi diff --git a/apps/carbon/vite.config.ts b/apps/carbon/vite.config.ts index f06c3e8ae..6a82fa6c8 100644 --- a/apps/carbon/vite.config.ts +++ b/apps/carbon/vite.config.ts @@ -37,7 +37,6 @@ export default defineConfig(({ mode }) => { if (mode === "static") { return { ...sharedConfig, - base: "./", // Relative Path in Generated index.html build: { outDir: "build", }, diff --git a/apps/doop/vite.config.ts b/apps/doop/vite.config.ts index 74360cbf0..5e81710aa 100644 --- a/apps/doop/vite.config.ts +++ b/apps/doop/vite.config.ts @@ -30,7 +30,6 @@ export default defineConfig(({ mode }) => { if (mode === "static") { return { ...sharedConfig, - base: "./", // Relative Path in Generated index.html build: { outDir: "build", }, diff --git a/apps/example/vite.config.ts b/apps/example/vite.config.ts index 17ed2806c..58d36be4b 100644 --- a/apps/example/vite.config.ts +++ b/apps/example/vite.config.ts @@ -30,7 +30,6 @@ export default defineConfig(({ mode }) => { if (mode === "static") { return { ...sharedConfig, - base: "./", // Relative Path in Generated index.html build: { outDir: "build", }, diff --git a/apps/greenhouse/vite.config.ts b/apps/greenhouse/vite.config.ts index 10c83784a..1e3b5b539 100644 --- a/apps/greenhouse/vite.config.ts +++ b/apps/greenhouse/vite.config.ts @@ -31,7 +31,6 @@ export default defineConfig(({ mode }) => { if (mode === "static") { return { ...sharedConfig, - base: "./", // Relative Path in Generated index.html build: { outDir: "build", }, diff --git a/apps/heureka/vite.config.ts b/apps/heureka/vite.config.ts index 74360cbf0..5e81710aa 100644 --- a/apps/heureka/vite.config.ts +++ b/apps/heureka/vite.config.ts @@ -30,7 +30,6 @@ export default defineConfig(({ mode }) => { if (mode === "static") { return { ...sharedConfig, - base: "./", // Relative Path in Generated index.html build: { outDir: "build", }, diff --git a/apps/supernova/vite.config.ts b/apps/supernova/vite.config.ts index 74360cbf0..5e81710aa 100644 --- a/apps/supernova/vite.config.ts +++ b/apps/supernova/vite.config.ts @@ -30,7 +30,6 @@ export default defineConfig(({ mode }) => { if (mode === "static") { return { ...sharedConfig, - base: "./", // Relative Path in Generated index.html build: { outDir: "build", }, diff --git a/package-lock.json b/package-lock.json index b5855438c..b31548066 100644 --- a/package-lock.json +++ b/package-lock.json @@ -681,7 +681,7 @@ }, "apps/greenhouse": { "name": "@cloudoperators/juno-app-greenhouse", - "version": "0.3.3", + "version": "0.3.4", "license": "Apache-2.0", "dependencies": { "@cloudoperators/juno-app-doop": "*", @@ -826,7 +826,7 @@ }, "apps/heureka": { "name": "@cloudoperators/juno-app-heureka", - "version": "2.9.2", + "version": "2.10.0", "license": "Apache-2.0", "dependencies": { "@cloudoperators/juno-communicator": "*", @@ -29600,7 +29600,7 @@ }, "packages/ui-components": { "name": "@cloudoperators/juno-ui-components", - "version": "2.28.0", + "version": "2.29.0", "license": "Apache-2.0", "devDependencies": { "@babel/plugin-transform-parameters": "^7.22.15", @@ -29811,7 +29811,7 @@ }, "packages/url-state-provider": { "name": "@cloudoperators/juno-url-state-provider", - "version": "2.0.7", + "version": "2.1.0", "license": "Apache-2.0", "dependencies": { "juri": "^1.0.3"