Update to Angular 14

This commit is contained in:
Liam Westby 2022-11-28 15:39:17 -06:00
parent 332a8fd480
commit 7ed54ff116
6 changed files with 4545 additions and 4636 deletions

View File

@ -41,7 +41,12 @@
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"namedChunks": true,
"allowedCommonJsDependencies": [
"createjs-module",
"rxjs/observable/timer",
"rxjs/add/operator/share"
]
},
"configurations": {
"production": {
@ -113,7 +118,6 @@
}
}
},
"defaultProject": "frontend",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
@ -123,5 +127,8 @@
"@schematics/angular:directive": {
"prefix": "app"
}
},
"cli": {
"analytics": false
}
}

File diff suppressed because it is too large Load Diff

View File

@ -13,17 +13,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^13.3.12",
"@angular/common": "^13.3.12",
"@angular/compiler": "^13.3.12",
"@angular/core": "^13.3.12",
"@angular/forms": "^13.3.12",
"@angular/localize": "^13.3.12",
"@angular/platform-browser": "^13.3.12",
"@angular/platform-browser-dynamic": "^13.3.12",
"@angular/router": "^13.3.12",
"@ng-bootstrap/ng-bootstrap": "^10.0.0",
"autoprefixer": "^7.2.6",
"@angular/animations": "^14.2.12",
"@angular/common": "^14.2.12",
"@angular/compiler": "^14.2.12",
"@angular/core": "^14.2.12",
"@angular/forms": "^14.2.12",
"@angular/localize": "^14.2.12",
"@angular/platform-browser": "^14.2.12",
"@angular/platform-browser-dynamic": "^14.2.12",
"@angular/router": "^14.2.12",
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
"autoprefixer": "^10.4.13",
"bootstrap": "^4.3.1",
"core-js": "^3.16.3",
"createjs-module": "^0.8.3",
@ -34,14 +34,14 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.3.10",
"@angular/cli": "~13.3.10",
"@angular/compiler-cli": "^13.3.12",
"@angular/language-service": "^13.3.12",
"@angular-devkit/build-angular": "^14.2.10",
"@angular/cli": "^14.2.10",
"@angular/compiler-cli": "^14.2.12",
"@angular/language-service": "^14.2.12",
"@types/jasmine": "^3.6.9",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^14.14.37",
"codelyzer": "^6.0.1",
"codelyzer": "^6.0.2",
"jasmine-core": "^3.7.1",
"jasmine-spec-reporter": "^6.0.0",
"karma": "^6.3.2",
@ -56,4 +56,4 @@
"tslint": "^6.1.3",
"typescript": "~4.6.4"
}
}
}

View File

@ -172,7 +172,7 @@ $animationStyle:cubic-bezier(.23,.78,.69,.84);
position:fixed;
top:25%;
left:50%;
margin-left:-($loaderHeightWidth/2);
margin-left:-(calc($loaderHeightWidth/2));
height:$loaderHeightWidth;
width:$loaderHeightWidth;
background:transparent;
@ -203,14 +203,14 @@ $animationStyle:cubic-bezier(.23,.78,.69,.84);
opacity: 0;
.spin-loader.shrink {
top: calc(25% + #{($loaderHeightWidth/2)});
top: calc(25% + #{(calc($loaderHeightWidth/2))});
margin-left:0;
width:$loaderMinHeightWidth;
height:$loaderMinHeightWidth;
}
.spin-loader.expand {
top: calc(25% - #{($loaderMaxHeightWidth/4)});
margin-left:-($loaderMaxHeightWidth/2);
top: calc(25% - #{(calc($loaderMaxHeightWidth/4))});
margin-left:-(calc($loaderMaxHeightWidth/2));
width:$loaderMaxHeightWidth;
height:$loaderMaxHeightWidth;
}

View File

@ -73,4 +73,4 @@ nav a.active {
}
/* Importing Bootstrap SCSS file. */
@import '~bootstrap/scss/bootstrap';
@import 'bootstrap/scss/bootstrap';

View File

@ -9,7 +9,7 @@
"declaration": false,
"moduleResolution": "node",
"experimentalDecorators": true,
"target": "es2015",
"target": "es2020",
"typeRoots": [
"node_modules/@types"
],