Skip to content

Commit

Permalink
chore(ng11): @angular/* migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalourdio committed Feb 22, 2021
1 parent 2a33c66 commit e967d8b
Show file tree
Hide file tree
Showing 5 changed files with 1,875 additions and 1,872 deletions.
9 changes: 9 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,17 @@ module.exports = function (config) {
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
jasmine: {
// you can add configuration options for Jasmine here
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
// for example, you can disable the random execution with `random: false`
// or set a specific seed with `seed: 4321`
},
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
jasmineHtmlReporter: {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, 'coverage'),
subdir: '.',
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"intl-tel-input": "^17.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1100.0",
"@angular-devkit/build-angular": "~0.1102.0",
"@angular/cli": "^11.0.0",
"@angular/common": "^11.0.0",
"@angular/compiler": "^11.0.0",
Expand All @@ -59,7 +59,7 @@
"intl-tel-input": "^17.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.1.0",
"karma": "~6.1.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-firefox-launcher": "^1.1.0",
Expand All @@ -70,7 +70,7 @@
"rxjs": "^6.6.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2",
"zone.js": "~0.10.3"
"typescript": "~4.1.2",
"zone.js": "~0.11.3"
}
}
4 changes: 3 additions & 1 deletion polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
* BROWSER POLYFILLS
*/

/** IE11 requires the following for NgClass support on SVG elements */
/**
* IE11 requires the following for NgClass support on SVG elements
*/
// import 'classlist.js'; // Run `npm install --save classlist.js`.

/**
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
]
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
Expand Down

0 comments on commit e967d8b

Please sign in to comment.