diff --git a/demo-shell/.angular-cli.json b/demo-shell/.angular-cli.json index 733865305c..c80cfad9f7 100644 --- a/demo-shell/.angular-cli.json +++ b/demo-shell/.angular-cli.json @@ -53,7 +53,8 @@ "testTsconfig": "tsconfig.spec.json", "prefix": "app", "styles": [ - "styles.scss" + "styles.scss", + "custom-style.scss" ], "stylePreprocessorOptions": { "includePaths": [ diff --git a/demo-shell/src/custom-style.scss b/demo-shell/src/custom-style.scss index 5288d808af..8dd59f1809 100644 --- a/demo-shell/src/custom-style.scss +++ b/demo-shell/src/custom-style.scss @@ -1,9 +1,9 @@ @import './app/components/app-layout/app-layout.component.scss'; -@import '~@alfresco/adf-content-services'; -@import '~@alfresco/adf-process-services'; -@import '~@alfresco/adf-insights'; -@import '~@alfresco/adf-core'; +@import '~@alfresco/adf-content-services/theming'; +@import '~@alfresco/adf-process-services/theming'; +@import '~@alfresco/adf-insights/theming'; +@import '~@alfresco/adf-core/theming'; @import '~@angular/material/theming'; diff --git a/scripts/update-version.sh b/scripts/update-version.sh index 83564c5d05..a8b90d01fd 100755 --- a/scripts/update-version.sh +++ b/scripts/update-version.sh @@ -24,6 +24,7 @@ show_help() { echo "-demoshell execute the change version only in the demo shell " echo "-v or -version version to update" echo "-alpha update last alpha version of js-api and lib automatically" + echo "-beta update beta alpha version of js-api and lib automatically" echo "-gnu for gnu" } @@ -33,7 +34,7 @@ skip_js() { } last_alpha_mode() { - echo "====== Auto find last version =====" + echo "====== Auto find last ALPHA version =====" JS_API=false VERSION=$(npm view @alfresco/adf-core@alpha version) @@ -44,6 +45,18 @@ last_alpha_mode() { echo "====== version js-api ${DIFFERENT_JS_API} =====" } +last_beta_mode() { + echo "====== Auto find last BETA version =====" + JS_API=false + VERSION=$(npm view @alfresco/adf-core@beta version) + + echo "====== version lib ${VERSION} =====" + + DIFFERENT_JS_API=$(npm view alfresco-js-api@beta version) + + echo "====== version js-api ${DIFFERENT_JS_API} =====" +} + gnu_mode() { echo "====== GNU MODE =====" GNU=true @@ -163,6 +176,7 @@ while [[ $1 == -* ]]; do -vj|versionjsapi) version_js_change $2; shift 2;; -gnu) gnu_mode; shift;; -alpha) last_alpha_mode; shift;; + -beta) last_beta_mode; shift;; -demoshell) only_demoshell; shift;; -*) shift;; esac