Skip to content

Commit

Permalink
v10 - migration
Browse files Browse the repository at this point in the history
  • Loading branch information
eserkansozer committed Jun 24, 2021
1 parent 038d816 commit a7e0051
Show file tree
Hide file tree
Showing 8 changed files with 7,407 additions and 5,451 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es5",
"target": "es2018",
"types": [
"jasmine",
"jasminewd2",
Expand Down
12,744 changes: 7,321 additions & 5,423 deletions package-lock.json

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~9.0.3",
"@angular/common": "~9.0.3",
"@angular/compiler": "~9.0.3",
"@angular/core": "~9.0.3",
"@angular/forms": "~9.0.3",
"@angular/platform-browser": "~9.0.3",
"@angular/platform-browser-dynamic": "~9.0.3",
"@angular/platform-server": "~9.0.3",
"@angular/router": "~9.0.3",
"@angular/animations": "~10.2.5",
"@angular/common": "~10.2.5",
"@angular/compiler": "~10.2.5",
"@angular/core": "~10.2.5",
"@angular/forms": "~10.2.5",
"@angular/platform-browser": "~10.2.5",
"@angular/platform-browser-dynamic": "~10.2.5",
"@angular/platform-server": "~10.2.5",
"@angular/router": "~10.2.5",
"@asymmetrik/ngx-leaflet": "^7.0.0",
"@microsoft/applicationinsights-web": "^2.5.8",
"@nguniversal/express-engine": "^9.0.1",
Expand All @@ -44,14 +44,14 @@
"ngx-bootstrap": "^5.5.0",
"popper.js": "^1.16.1",
"rxjs": "~6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.900.4",
"@angular/cli": "~9.1.0",
"@angular/compiler-cli": "~9.0.3",
"@angular/language-service": "~9.0.3",
"@angular-devkit/build-angular": "~0.1002.3",
"@angular/cli": "~10.2.3",
"@angular/compiler-cli": "~10.2.5",
"@angular/language-service": "~10.2.5",
"@nguniversal/builders": "^9.0.1",
"@types/express": "^4.17.0",
"@types/jasmine": "~3.5.0",
Expand All @@ -60,15 +60,15 @@
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.3",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~5.18.0",
"typescript": "~3.7.5"
"tslint": "~6.1.0",
"typescript": "~4.0.8"
}
}
2 changes: 1 addition & 1 deletion src/app/core/core.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { AppConfigModule } from './config/app-config.module';
]
})
export class CoreModule {
static forRoot(): ModuleWithProviders {
static forRoot(): ModuleWithProviders<CoreModule> {
return {
ngModule: CoreModule
};
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.server.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.app.json",
"compilerOptions": {
"outDir": "./out-tsc/app-server",
"module": "commonjs",
"target": "es2016",
"types": [
"node"
]
Expand Down
60 changes: 59 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"deprecation": {
"severity": "warning"
},
"arrow-return-shorthand": true,
"component-class-suffix": true,
"contextual-lifecycle": true,
"directive-class-suffix": true,
"curly": true,
"directive-selector": [
true,
"attribute",
Expand All @@ -25,7 +27,14 @@
true,
"rxjs/Rx"
],
"eofline": true,
"interface-name": false,
"import-spacing": true,
"indent": {
"options": [
"spaces"
]
},
"max-classes-per-file": false,
"max-line-length": [
true,
Expand Down Expand Up @@ -80,11 +89,60 @@
"no-output-on-prefix": true,
"no-output-rename": true,
"no-outputs-metadata-property": true,
"semicolon": {
"options": [
"always"
]
},
"space-before-function-paren": {
"options": {
"anonymous": "never",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never"
}
},
"template-banana-in-box": true,
"template-no-negated-async": true,
"use-lifecycle-interface": true,
"typedef-whitespace": {
"options": [
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
]
},
"use-pipe-transform-interface": true,
"align": false
"align": false,
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-pascal-case"
]
},
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
}
},
"rulesDirectory": [
"codelyzer"
Expand Down

0 comments on commit a7e0051

Please sign in to comment.