⬆️ Upgrade to Angular 13

ng update @angular/animations @angular/cdk @angular/common @angular/compiler @angular/core @angular/flex-layout@13.0.0-beta.38 @angular/forms @angular/material @angular/platform-browser @angular/platform-browser-dynamic @angular/router @angular-devkit/build-angular @angular/cli @angular/compiler-cli @angular/language-service
merge-requests/7/head
Nato Boram 2022-03-10 16:49:14 -05:00
parent edb998ef7c
commit 295aef9ac1
No known key found for this signature in database
GPG Key ID: 478E3C64BF88AFFA
10 changed files with 1499 additions and 2944 deletions

1
.gitignore vendored
View File

@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/* .history/*
# misc # misc
/.angular/cache
/.sass-cache /.sass-cache
/connect.lock /connect.lock
/coverage /coverage

View File

@ -154,19 +154,6 @@
"scripts": [] "scripts": []
} }
}, },
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {

View File

@ -37,17 +37,17 @@
"postinstall": "ngcc" "postinstall": "ngcc"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "~12.2.16", "@angular/animations": "~13.2.6",
"@angular/cdk": "~12.2.13", "@angular/cdk": "~13.2.6",
"@angular/common": "~12.2.16", "@angular/common": "~13.2.6",
"@angular/compiler": "~12.2.16", "@angular/compiler": "~13.2.6",
"@angular/core": "~12.2.16", "@angular/core": "~13.2.6",
"@angular/flex-layout": "^12.0.0-beta.35", "@angular/flex-layout": "^13.0.0-beta.38",
"@angular/forms": "~12.2.16", "@angular/forms": "~13.2.6",
"@angular/material": "^12.2.13", "@angular/material": "^13.2.6",
"@angular/platform-browser": "~12.2.16", "@angular/platform-browser": "~13.2.6",
"@angular/platform-browser-dynamic": "~12.2.16", "@angular/platform-browser-dynamic": "~13.2.6",
"@angular/router": "~12.2.16", "@angular/router": "~13.2.6",
"bootstrap": "^5.1.3", "bootstrap": "^5.1.3",
"ipfs-css": "^1.3.0", "ipfs-css": "^1.3.0",
"rxjs": "~6.6.0", "rxjs": "~6.6.0",
@ -55,10 +55,10 @@
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~12.2.16", "@angular-devkit/build-angular": "~13.2.6",
"@angular/cli": "~12.2.16", "@angular/cli": "~13.2.6",
"@angular/compiler-cli": "~12.2.16", "@angular/compiler-cli": "~13.2.6",
"@angular/language-service": "~12.2.16", "@angular/language-service": "~13.2.6",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
@ -77,7 +77,7 @@
"tslint-consistent-codestyle": "^1.16.0", "tslint-consistent-codestyle": "^1.16.0",
"tslint-origin-ordered-imports-rule": "^2.0.0", "tslint-origin-ordered-imports-rule": "^2.0.0",
"tslint-rxjs-subject-restrictions-rule": "^1.0.4", "tslint-rxjs-subject-restrictions-rule": "^1.0.4",
"typescript": "~4.3.5" "typescript": "~4.5.5"
}, },
"private": true "private": true
} }

View File

@ -18,16 +18,6 @@
* BROWSER POLYFILLS * BROWSER POLYFILLS
*/ */
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/** /**
* By default, zone.js will patch all possible macroTask and DomEvents * By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags * user can disable parts of macroTask/DomEvents patch by setting following flags

View File

@ -1,5 +1,5 @@
// Custom Theming for Angular Material // Custom Theming for Angular Material
@use '~@angular/material' as mat; @use '@angular/material' as mat;
// For more information: https://material.angular.io/guide/theming // For more information: https://material.angular.io/guide/theming
// Plus imports for other components in your app. // Plus imports for other components in your app.

View File

@ -1,4 +1,4 @@
@import "~@angular/material/core/theming/palette"; @import "@angular/material/core/theming/palette";
$ipfs-colour-navy: (default: #0B3A53, $ipfs-colour-navy: (default: #0B3A53,
lighter: #3e6480, lighter: #3e6480,

View File

@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@import 'ipfs-colours.scss'; @import 'ipfs-colours.scss';
$ipfs-primary: mat.define-palette($ipfs-colour-navy, 'default', 'lighter', 'darker'); $ipfs-primary: mat.define-palette($ipfs-colour-navy, 'default', 'lighter', 'darker');

View File

@ -1,4 +1,4 @@
@use '~@angular/material' as mat; @use '@angular/material' as mat;
@import 'ipfs-palettes.scss'; @import 'ipfs-palettes.scss';
$ipfs-light-theme: mat.define-light-theme($ipfs-primary, $ipfs-accent, $ipfs-warn); $ipfs-light-theme: mat.define-light-theme($ipfs-primary, $ipfs-accent, $ipfs-warn);

View File

@ -12,7 +12,9 @@ declare const require: any;
// First, initialize the Angular testing environment. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
); );
// Then we find all the tests. // Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/); const context = require.context('./', true, /\.spec\.ts$/);

4373
yarn.lock

File diff suppressed because it is too large Load Diff