Update Angular to 13
This commit is contained in:
parent
27b5e80a2b
commit
a31e921375
6 changed files with 4414 additions and 9763 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,6 +25,7 @@
|
|||
!.vscode/extensions.json
|
||||
|
||||
# misc
|
||||
/.angular/cache
|
||||
/.sass-cache
|
||||
/connect.lock
|
||||
/coverage
|
||||
|
|
21
angular.json
21
angular.json
|
@ -116,18 +116,6 @@
|
|||
"src/manifest.json"
|
||||
]
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-devkit/build-angular:tslint",
|
||||
"options": {
|
||||
"tsConfig": [
|
||||
"src/tsconfig.app.json",
|
||||
"src/tsconfig.spec.json"
|
||||
],
|
||||
"exclude": [
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -146,15 +134,6 @@
|
|||
"devServerTarget": "twigs:serve:production"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-devkit/build-angular:tslint",
|
||||
"options": {
|
||||
"tsConfig": "e2e/tsconfig.e2e.json",
|
||||
"exclude": [
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
14134
package-lock.json
generated
14134
package-lock.json
generated
File diff suppressed because it is too large
Load diff
28
package.json
28
package.json
|
@ -14,17 +14,17 @@
|
|||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^12.0.4",
|
||||
"@angular/animations": "^13.0.2",
|
||||
"@angular/cdk": "^12.0.4",
|
||||
"@angular/common": "^12.0.4",
|
||||
"@angular/compiler": "^12.0.4",
|
||||
"@angular/core": "^12.0.4",
|
||||
"@angular/forms": "^12.0.4",
|
||||
"@angular/common": "^13.0.2",
|
||||
"@angular/compiler": "^13.0.2",
|
||||
"@angular/core": "^13.0.2",
|
||||
"@angular/forms": "^13.0.2",
|
||||
"@angular/material": "^12.0.4",
|
||||
"@angular/platform-browser": "^12.0.4",
|
||||
"@angular/platform-browser-dynamic": "^12.0.4",
|
||||
"@angular/router": "^12.0.4",
|
||||
"@angular/service-worker": "^12.0.4",
|
||||
"@angular/platform-browser": "^13.0.2",
|
||||
"@angular/platform-browser-dynamic": "^13.0.2",
|
||||
"@angular/router": "^13.0.2",
|
||||
"@angular/service-worker": "^13.0.2",
|
||||
"chart.js": "^2.9.4",
|
||||
"core-js": "^2.6.12",
|
||||
"dexie": "^2.0.4",
|
||||
|
@ -34,10 +34,10 @@
|
|||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^12.0.4",
|
||||
"@angular/cli": "^12.0.4",
|
||||
"@angular/compiler-cli": "^12.0.4",
|
||||
"@angular/language-service": "^12.0.4",
|
||||
"@angular-devkit/build-angular": "^13.0.3",
|
||||
"@angular/cli": "^13.0.3",
|
||||
"@angular/compiler-cli": "^13.0.2",
|
||||
"@angular/language-service": "^13.0.2",
|
||||
"@types/jasmine": "~3.6.0",
|
||||
"@types/jasminewd2": "^2.0.8",
|
||||
"@types/node": "^12.19.14",
|
||||
|
@ -53,6 +53,6 @@
|
|||
"protractor": "~7.0.0",
|
||||
"ts-node": "~8.6.2",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": "4.2.4"
|
||||
"typescript": "4.4.4"
|
||||
}
|
||||
}
|
|
@ -34,9 +34,6 @@
|
|||
// import 'core-js/es6/weak-map';
|
||||
// import 'core-js/es6/set';
|
||||
|
||||
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
|
||||
// import 'classlist.js'; // Run `npm install --save classlist.js`.
|
||||
|
||||
/** IE10 and IE11 requires the following for the Reflect API. */
|
||||
import 'core-js/es6/reflect';
|
||||
|
||||
|
@ -45,14 +42,6 @@ import 'core-js/es6/reflect';
|
|||
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
|
||||
import 'core-js/es7/reflect';
|
||||
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
|
@ -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 a new issue