mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
new update last beta version script
This commit is contained in:
@@ -53,7 +53,8 @@
|
|||||||
"testTsconfig": "tsconfig.spec.json",
|
"testTsconfig": "tsconfig.spec.json",
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
"styles": [
|
"styles": [
|
||||||
"styles.scss"
|
"styles.scss",
|
||||||
|
"custom-style.scss"
|
||||||
],
|
],
|
||||||
"stylePreprocessorOptions": {
|
"stylePreprocessorOptions": {
|
||||||
"includePaths": [
|
"includePaths": [
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
@import './app/components/app-layout/app-layout.component.scss';
|
@import './app/components/app-layout/app-layout.component.scss';
|
||||||
|
|
||||||
@import '~@alfresco/adf-content-services';
|
@import '~@alfresco/adf-content-services/theming';
|
||||||
@import '~@alfresco/adf-process-services';
|
@import '~@alfresco/adf-process-services/theming';
|
||||||
@import '~@alfresco/adf-insights';
|
@import '~@alfresco/adf-insights/theming';
|
||||||
@import '~@alfresco/adf-core';
|
@import '~@alfresco/adf-core/theming';
|
||||||
|
|
||||||
@import '~@angular/material/theming';
|
@import '~@angular/material/theming';
|
||||||
|
|
||||||
|
@@ -24,6 +24,7 @@ show_help() {
|
|||||||
echo "-demoshell execute the change version only in the demo shell "
|
echo "-demoshell execute the change version only in the demo shell "
|
||||||
echo "-v or -version version to update"
|
echo "-v or -version version to update"
|
||||||
echo "-alpha update last alpha version of js-api and lib automatically"
|
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"
|
echo "-gnu for gnu"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,7 +34,7 @@ skip_js() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
last_alpha_mode() {
|
last_alpha_mode() {
|
||||||
echo "====== Auto find last version ====="
|
echo "====== Auto find last ALPHA version ====="
|
||||||
JS_API=false
|
JS_API=false
|
||||||
VERSION=$(npm view @alfresco/adf-core@alpha version)
|
VERSION=$(npm view @alfresco/adf-core@alpha version)
|
||||||
|
|
||||||
@@ -44,6 +45,18 @@ last_alpha_mode() {
|
|||||||
echo "====== version js-api ${DIFFERENT_JS_API} ====="
|
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() {
|
gnu_mode() {
|
||||||
echo "====== GNU MODE ====="
|
echo "====== GNU MODE ====="
|
||||||
GNU=true
|
GNU=true
|
||||||
@@ -163,6 +176,7 @@ while [[ $1 == -* ]]; do
|
|||||||
-vj|versionjsapi) version_js_change $2; shift 2;;
|
-vj|versionjsapi) version_js_change $2; shift 2;;
|
||||||
-gnu) gnu_mode; shift;;
|
-gnu) gnu_mode; shift;;
|
||||||
-alpha) last_alpha_mode; shift;;
|
-alpha) last_alpha_mode; shift;;
|
||||||
|
-beta) last_beta_mode; shift;;
|
||||||
-demoshell) only_demoshell; shift;;
|
-demoshell) only_demoshell; shift;;
|
||||||
-*) shift;;
|
-*) shift;;
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user