Merge pull request #1590 from josehernandezfintecheandomx/enhancement/upgrade_angular13

Upgrade Angular 13
This commit is contained in:
Adam Saghy
2022-12-07 15:22:41 +01:00
committed by GitHub
19 changed files with 6674 additions and 11401 deletions
+3 -3
View File
@@ -29,13 +29,13 @@ jobs:
# lts/gallium node v16.15.1 (npm v8.11.0) # lts/gallium node v16.15.1 (npm v8.11.0)
node-version: '16.15.1' node-version: '16.15.1'
- name: Angular CLI install - name: Angular CLI install
run : npm install -g --silent @angular/cli@12.2.17 run : npm install -g --silent @angular/cli@13.3.10
- name: Npm install - name: Npm install
run: npm install run: npm install
- name: Run lint - name: Run tslint
run : ng lint run : npx tslint src/**/*.ts
- name: Run build - name: Run build
run : npm run build:prod run : npm run build:prod
+1
View File
@@ -1,5 +1,6 @@
# See http://help.github.com/ignore-files/ for more about ignoring files. # See http://help.github.com/ignore-files/ for more about ignoring files.
.env .env
.angular/*
# Compiled output # Compiled output
/dist /dist
+1 -1
View File
@@ -27,7 +27,7 @@ RUN npm cache clear --force
RUN npm config set fetch-retry-maxtimeout 120000 RUN npm config set fetch-retry-maxtimeout 120000
RUN npm config set registry $NPM_REGISTRY_URL --location=global RUN npm config set registry $NPM_REGISTRY_URL --location=global
RUN npm install --location=global @angular/cli@12.2.17 RUN npm install --location=global @angular/cli@13.3.10
RUN npm install RUN npm install
+1 -1
View File
@@ -20,7 +20,7 @@ The latest code is continuously deployed at https://openmf.github.io/web-app/ wh
2. Install [angular-cli](https://github.com/angular/angular-cli) globally. 2. Install [angular-cli](https://github.com/angular/angular-cli) globally.
``` ```
npm install -g @angular/cli@9.1.12 npm install -g @angular/cli@13.3.10
``` ```
3. Clone the project locally into your system. 3. Clone the project locally into your system.
+6629 -11357
View File
File diff suppressed because it is too large Load Diff
+19 -19
View File
@@ -29,22 +29,22 @@
}, },
"dependencies": { "dependencies": {
"@angular-devkit/schematics": "^14.0.4", "@angular-devkit/schematics": "^14.0.4",
"@angular/animations": "^12.2.16", "@angular/animations": "^13.3.12",
"@angular/cdk": "12.2.13", "@angular/cdk": "13.3.9",
"@angular/common": "12.2.16", "@angular/common": "13.3.12",
"@angular/compiler": "12.2.16", "@angular/compiler": "13.3.12",
"@angular/core": "12.2.16", "@angular/core": "13.3.12",
"@angular/flex-layout": "12.0.0-beta.35", "@angular/flex-layout": "13.0.0-beta.38",
"@angular/forms": "12.2.16", "@angular/forms": "13.3.12",
"@angular/localize": "12.2.16", "@angular/localize": "13.3.12",
"@angular/material": "12.2.13", "@angular/material": "13.3.9",
"@angular/platform-browser": "12.2.16", "@angular/platform-browser": "13.3.12",
"@angular/platform-browser-dynamic": "12.2.16", "@angular/platform-browser-dynamic": "13.3.12",
"@angular/router": "12.2.16", "@angular/router": "13.3.12",
"@angular/service-worker": "12.2.16", "@angular/service-worker": "13.3.12",
"@ckeditor/ckeditor5-angular": "1.2.3", "@ckeditor/ckeditor5-angular": "1.2.3",
"@ckeditor/ckeditor5-build-classic": "21.0.0", "@ckeditor/ckeditor5-build-classic": "21.0.0",
"@fortawesome/angular-fontawesome": "^0.9.0", "@fortawesome/angular-fontawesome": "^0.10.2",
"@fortawesome/fontawesome-svg-core": "^1.2.32", "@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-solid-svg-icons": "5.8.2", "@fortawesome/free-solid-svg-icons": "5.8.2",
"@ngx-translate/core": "13.0.0", "@ngx-translate/core": "13.0.0",
@@ -63,10 +63,10 @@
"zone.js": "0.11.6" "zone.js": "0.11.6"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "12.2.18", "@angular-devkit/build-angular": "13.3.10",
"@angular/cli": "12.2.17", "@angular/cli": "13.3.10",
"@angular/compiler-cli": "12.2.16", "@angular/compiler-cli": "13.3.12",
"@angular/language-service": "12.2.16", "@angular/language-service": "13.3.12",
"@biesbjerg/ngx-translate-extract": "^7.0.4", "@biesbjerg/ngx-translate-extract": "^7.0.4",
"@cypress/schematic": "^1.7.0", "@cypress/schematic": "^1.7.0",
"@ngx-rocket/scripts": "3.0.3", "@ngx-rocket/scripts": "3.0.3",
@@ -102,7 +102,7 @@
"stylelint-scss": "3.6.1", "stylelint-scss": "3.6.1",
"ts-node": "8.2.0", "ts-node": "8.2.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "4.3.5" "typescript": "4.6.4"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin centers-view-component-theme($theme) { @mixin centers-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin clients-view-component-theme($theme) { @mixin clients-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin fixed-deposits-account-view-component-theme($theme) { @mixin fixed-deposits-account-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -12,5 +12,5 @@
color: mat.get-contrast-color-from-palette($primary, 500); color: mat.get-contrast-color-from-palette($primary, 500);
} }
} }
} }
} }
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin recurring-deposits-account-view-component-theme($theme) { @mixin recurring-deposits-account-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin groups-view-component-theme($theme) { @mixin groups-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -8,5 +8,5 @@
background-color: mat.get-color-from-palette($primary, 500); background-color: mat.get-color-from-palette($primary, 500);
} }
} }
} }
} }
@@ -1,10 +1,10 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin dashboard-component-theme($theme) { @mixin dashboard-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
mifosx-dashboard { mifosx-dashboard {
.recent-activities, .frequent-activities { .recent-activities, .frequent-activities {
.header { .header {
background-color: mat.get-color-from-palette($primary, 500); background-color: mat.get-color-from-palette($primary, 500);
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin loans-view-component-theme($theme) { @mixin loans-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin savings-account-view-component-theme($theme) { @mixin savings-account-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -12,5 +12,5 @@
color: mat.get-contrast-color-from-palette($primary, 500); color: mat.get-contrast-color-from-palette($primary, 500);
} }
} }
} }
} }
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@mixin shares-account-view-component-theme($theme) { @mixin shares-account-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map-get($theme, primary);
@@ -12,5 +12,5 @@
color: mat.get-contrast-color-from-palette($primary, 500); color: mat.get-contrast-color-from-palette($primary, 500);
} }
} }
} }
} }
+1 -1
View File
@@ -3,7 +3,7 @@
export default { export default {
'mifos_x': { 'mifos_x': {
'version': '0.0.0', 'version': '0.0.0',
'hash': '79efe55' 'hash': '217d88b7'
}, },
'allow_switching_backend_instance': true 'allow_switching_backend_instance': true
}; };
+2 -2
View File
@@ -80,5 +80,5 @@ module.exports = (config: any) => {
], ],
reporter: ['progress', 'kjhtml'] reporter: ['progress', 'kjhtml']
}) });
} };
+1 -1
View File
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
// Plus imports for other components in your app. // Plus imports for other components in your app.
@import '../../app/clients/clients-view/clients-view.component-theme.scss'; @import '../../app/clients/clients-view/clients-view.component-theme.scss';
@import '../../app/groups/groups-view/groups-view.component-theme.scss'; @import '../../app/groups/groups-view/groups-view.component-theme.scss';
+1 -1
View File
@@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
// Plus imports for other components in your app. // Plus imports for other components in your app.
@import '../../app/clients/clients-view/clients-view.component-theme.scss'; @import '../../app/clients/clients-view/clients-view.component-theme.scss';
@import '../../app/groups/groups-view/groups-view.component-theme.scss'; @import '../../app/groups/groups-view/groups-view.component-theme.scss';