fix(bundle): update vite input files path + add `set -e` in bash scripts to fail if command fails

This commit is contained in:
Yassine Doghri 2022-01-18 18:51:25 +00:00
parent e10c071a85
commit 0ee53c71ff
6 changed files with 14 additions and 10 deletions

View File

@ -111,5 +111,5 @@ release:
- js-dependencies
only:
- main
- alpha
- beta
- alpha

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
# install only production dependencies using the --no-dev option
composer install --no-dev --prefer-dist --no-ansi --no-interaction --no-progress --ignore-platform-reqs

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
VERSION=$1
COMPOSER_VERSION=$(echo "$VERSION" | perl -pe 's/(?<=[alpha|beta])\.//g')

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
# see https://github.com/conventional-changelog/commitlint/issues/885

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
VERSION=$1

View File

@ -13,15 +13,15 @@ export default defineConfig({
sourcemap: true,
rollupOptions: {
input: {
"podcast.ts": "app/Resources/js/podcast.ts",
"install.ts": "app/Resources/js/install.ts",
"app.ts": "app/Resources/js/app.ts",
"admin.ts": "app/Resources/js/admin.ts",
"charts.ts": "app/Resources/js/charts.ts",
"map.ts": "app/Resources/js/map.ts",
"audio-player.ts": "app/Resources/js/audio-player.ts",
"embed.ts": "app/Resources/js/embed.ts",
"styles/index.css": "app/Resources/styles/index.css",
"podcast.ts": "js/podcast.ts",
"install.ts": "js/install.ts",
"app.ts": "js/app.ts",
"admin.ts": "js/admin.ts",
"charts.ts": "js/charts.ts",
"map.ts": "js/map.ts",
"audio-player.ts": "js/audio-player.ts",
"embed.ts": "js/embed.ts",
"styles/index.css": "styles/index.css",
},
},
},