chore(angular): update to angular 11

This commit is contained in:
ThibaudAv 2020-11-16 21:11:25 +01:00
parent e940b85e5e
commit daec8f9911
6 changed files with 694 additions and 679 deletions

View File

@ -81,7 +81,7 @@
"util-deprecate": "^1.0.2"
},
"devDependencies": {
"@angular/core": "^10.2.2",
"@angular/core": "^11.0.0",
"@babel/core": "^7.12.3",
"@emotion/core": "^10.1.1",
"@emotion/styled": "^10.0.23",
@ -112,7 +112,7 @@
"tslib": "^2.0.0",
"web-component-analyzer": "^1.0.3",
"webpack": "^4.44.2",
"zone.js": "^0.10.2"
"zone.js": "^0.11.3"
},
"peerDependencies": {
"@babel/core": "^7.11.5",

View File

@ -54,14 +54,15 @@
"webpack": "^4.44.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.0",
"@angular-devkit/core": "^10.2.0",
"@angular/common": "^10.2.2",
"@angular/compiler": "^10.2.2",
"@angular/core": "^10.2.2",
"@angular/forms": "^10.2.2",
"@angular/platform-browser": "^10.2.2",
"@angular/platform-browser-dynamic": "^10.2.2",
"@angular-devkit/build-angular": "~0.1100.1",
"@angular-devkit/core": "^11.0.1",
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
"@angular/compiler-cli": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/forms": "^11.0.0",
"@angular/platform-browser": "^11.0.0",
"@angular/platform-browser-dynamic": "^11.0.0",
"@types/autoprefixer": "^9.4.0"
},
"peerDependencies": {
@ -69,6 +70,7 @@
"@angular-devkit/core": "^0.6.1 || >=7.0.0",
"@angular/common": ">=6.0.0",
"@angular/compiler": ">=6.0.0",
"@angular/compiler-cli": ">=6.0.0",
"@angular/core": ">=6.0.0",
"@angular/forms": ">=6.0.0",
"@angular/platform-browser": ">=6.0.0",
@ -76,7 +78,7 @@
"@babel/core": "*",
"rxjs": "^6.0.0",
"typescript": "^3.4.0 || >=4.0.0",
"zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0"
"zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0 || ^0.11.0"
},
"engines": {
"node": ">=8.0.0"

View File

@ -38,7 +38,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,

View File

@ -9,6 +9,12 @@ module.exports = {
'ts-jest': {
tsConfig: path.join(__dirname, 'src/tsconfig.spec.json'),
stringifyContentPathRegex: '\\.html$',
astTransformers: {
before: [
'jest-preset-angular/build/InlineFilesTransformer',
'jest-preset-angular/build/StripStylesTransformer',
],
},
},
},
roots: [__dirname],

View File

@ -19,23 +19,23 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@angular/common": "^10.2.2",
"@angular/compiler": "^10.2.2",
"@angular/core": "^10.2.2",
"@angular/forms": "^10.2.2",
"@angular/platform-browser": "^10.2.2",
"@angular/platform-browser-dynamic": "^10.2.2",
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
"@angular/core": "^11.0.0",
"@angular/forms": "^11.0.0",
"@angular/platform-browser": "^11.0.0",
"@angular/platform-browser-dynamic": "^11.0.0",
"@ngrx/store": "^10.0.1",
"core-js": "^3.7.0",
"node-sass": "^4.14.0",
"rxjs": "^6.6.3",
"zone.js": "^0.10.2"
"zone.js": "^0.11.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.0",
"@angular-devkit/core": "^10.2.0",
"@angular/cli": "^10.2.0",
"@angular/compiler-cli": "^10.2.2",
"@angular-devkit/build-angular": "~0.1100.1",
"@angular-devkit/core": "^11.0.1",
"@angular/cli": "^11.0.1",
"@angular/compiler-cli": "^11.0.0",
"@compodoc/compodoc": "^1.1.11",
"@storybook/addon-a11y": "6.1.0-rc.4",
"@storybook/addon-actions": "6.1.0-rc.4",
@ -56,14 +56,14 @@
"@types/webpack-env": "^1.15.3",
"babel-plugin-require-context-hook": "^1.0.0",
"global": "^4.3.2",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.2",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"jest": "^26.0.0",
"jest-preset-angular": "^8.3.2",
"protractor": "~7.0.0",
"ts-jest": "^26.4.4",
"ts-node": "^8.10.2",
"typescript": "^3.9.3"
"typescript": "^4.0.5"
},
"storybook": {
"chromatic": {

1314
yarn.lock

File diff suppressed because it is too large Load Diff