⬆️ 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-servicemerge-requests/7/head
parent
edb998ef7c
commit
295aef9ac1
|
@ -32,6 +32,7 @@ speed-measure-plugin*.json
|
|||
.history/*
|
||||
|
||||
# misc
|
||||
/.angular/cache
|
||||
/.sass-cache
|
||||
/connect.lock
|
||||
/coverage
|
||||
|
|
13
angular.json
13
angular.json
|
@ -154,19 +154,6 @@
|
|||
"scripts": []
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-devkit/build-angular:tslint",
|
||||
"options": {
|
||||
"tsConfig": [
|
||||
"tsconfig.app.json",
|
||||
"tsconfig.spec.json",
|
||||
"e2e/tsconfig.json"
|
||||
],
|
||||
"exclude": [
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
||||
},
|
||||
"e2e": {
|
||||
"builder": "@angular-devkit/build-angular:protractor",
|
||||
"options": {
|
||||
|
|
34
package.json
34
package.json
|
@ -37,17 +37,17 @@
|
|||
"postinstall": "ngcc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "~12.2.16",
|
||||
"@angular/cdk": "~12.2.13",
|
||||
"@angular/common": "~12.2.16",
|
||||
"@angular/compiler": "~12.2.16",
|
||||
"@angular/core": "~12.2.16",
|
||||
"@angular/flex-layout": "^12.0.0-beta.35",
|
||||
"@angular/forms": "~12.2.16",
|
||||
"@angular/material": "^12.2.13",
|
||||
"@angular/platform-browser": "~12.2.16",
|
||||
"@angular/platform-browser-dynamic": "~12.2.16",
|
||||
"@angular/router": "~12.2.16",
|
||||
"@angular/animations": "~13.2.6",
|
||||
"@angular/cdk": "~13.2.6",
|
||||
"@angular/common": "~13.2.6",
|
||||
"@angular/compiler": "~13.2.6",
|
||||
"@angular/core": "~13.2.6",
|
||||
"@angular/flex-layout": "^13.0.0-beta.38",
|
||||
"@angular/forms": "~13.2.6",
|
||||
"@angular/material": "^13.2.6",
|
||||
"@angular/platform-browser": "~13.2.6",
|
||||
"@angular/platform-browser-dynamic": "~13.2.6",
|
||||
"@angular/router": "~13.2.6",
|
||||
"bootstrap": "^5.1.3",
|
||||
"ipfs-css": "^1.3.0",
|
||||
"rxjs": "~6.6.0",
|
||||
|
@ -55,10 +55,10 @@
|
|||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "~12.2.16",
|
||||
"@angular/cli": "~12.2.16",
|
||||
"@angular/compiler-cli": "~12.2.16",
|
||||
"@angular/language-service": "~12.2.16",
|
||||
"@angular-devkit/build-angular": "~13.2.6",
|
||||
"@angular/cli": "~13.2.6",
|
||||
"@angular/compiler-cli": "~13.2.6",
|
||||
"@angular/language-service": "~13.2.6",
|
||||
"@types/jasmine": "~3.6.0",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"@types/node": "^12.11.1",
|
||||
|
@ -77,7 +77,7 @@
|
|||
"tslint-consistent-codestyle": "^1.16.0",
|
||||
"tslint-origin-ordered-imports-rule": "^2.0.0",
|
||||
"tslint-rxjs-subject-restrictions-rule": "^1.0.4",
|
||||
"typescript": "~4.3.5"
|
||||
"typescript": "~4.5.5"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
}
|
|
@ -18,16 +18,6 @@
|
|||
* 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
|
||||
* user can disable parts of macroTask/DomEvents patch by setting following flags
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Custom Theming for Angular Material
|
||||
@use '~@angular/material' as mat;
|
||||
@use '@angular/material' as mat;
|
||||
// For more information: https://material.angular.io/guide/theming
|
||||
// Plus imports for other components in your app.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@import "~@angular/material/core/theming/palette";
|
||||
@import "@angular/material/core/theming/palette";
|
||||
|
||||
$ipfs-colour-navy: (default: #0B3A53,
|
||||
lighter: #3e6480,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@use '~@angular/material' as mat;
|
||||
@use '@angular/material' as mat;
|
||||
@import 'ipfs-colours.scss';
|
||||
|
||||
$ipfs-primary: mat.define-palette($ipfs-colour-navy, 'default', 'lighter', 'darker');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@use '~@angular/material' as mat;
|
||||
@use '@angular/material' as mat;
|
||||
@import 'ipfs-palettes.scss';
|
||||
|
||||
$ipfs-light-theme: mat.define-light-theme($ipfs-primary, $ipfs-accent, $ipfs-warn);
|
||||
|
|
|
@ -12,7 +12,9 @@ declare const require: any;
|
|||
// First, initialize the Angular testing environment.
|
||||
getTestBed().initTestEnvironment(
|
||||
BrowserDynamicTestingModule,
|
||||
platformBrowserDynamicTesting()
|
||||
platformBrowserDynamicTesting(), {
|
||||
teardown: { destroyAfterEach: false }
|
||||
}
|
||||
);
|
||||
// Then we find all the tests.
|
||||
const context = require.context('./', true, /\.spec\.ts$/);
|
||||
|
|
Loading…
Reference in New Issue