Skip to content

Commit

Permalink
Angular CLI update for packages - @angular/core@latest, @angular/cli@…
Browse files Browse the repository at this point in the history
…latest

Migration notices:

  * Update Browserslist configuration file name to '.browserslistrc' from
    deprecated 'browserslist'.
  * Update tslint to version 6 and adjust rules to maintain existing behavior.
  * Add "Solution Style" TypeScript configuration file support. This
    improves developer experience using editors powered by TypeScript’s
    language server. Read more about this here:
    https://v10.angular.io/guide/migration-solution-style-tsconfig
  * Update workspace dependencies to match a new v10 project.
  * Update 'module' and 'target' TypeScript compiler options. Read more about this here:
    https://v10.angular.io/guide/migration-update-module-and-target-compiler-options
  • Loading branch information
jebrosen committed Jul 31, 2020
1 parent ca4cba0 commit da5c1a7
Show file tree
Hide file tree
Showing 11 changed files with 5,685 additions and 2,692 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion e2e/tsconfig.e2e.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "commonjs",
Expand Down
8,256 changes: 5,615 additions & 2,641 deletions package-lock.json

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^9.0.7",
"@angular/animations": "^10.0.7",
"@angular/cdk": "^9.1.3",
"@angular/common": "^9.0.7",
"@angular/compiler": "^9.0.7",
"@angular/core": "^9.0.7",
"@angular/common": "^10.0.7",
"@angular/compiler": "^10.0.7",
"@angular/core": "^10.0.7",
"@angular/flex-layout": "^9.0.0-beta.29",
"@angular/forms": "^9.0.7",
"@angular/forms": "^10.0.7",
"@angular/material": "^9.1.3",
"@angular/platform-browser": "^9.0.7",
"@angular/platform-browser-dynamic": "^9.0.7",
"@angular/router": "^9.0.7",
"@angular/platform-browser": "^10.0.7",
"@angular/platform-browser-dynamic": "^10.0.7",
"@angular/router": "^10.0.7",
"@auth0/angular-jwt": "^3.0.1",
"@flowjs/flow.js": "^2.13.2",
"@flowjs/ngx-flow": "^0.4.3",
Expand All @@ -34,29 +34,29 @@
"file-saver": "^2.0.2",
"raphael": "^2.3.0",
"rxjs": "^6.5.4",
"tslib": "^1.11.1",
"tslib": "^2.0.0",
"zone.js": "^0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.900.6",
"@angular/cli": "^9.0.6",
"@angular/compiler-cli": "^9.0.7",
"@angular/language-service": "^9.0.7",
"@angular-devkit/build-angular": "^0.1000.5",
"@angular/cli": "^10.0.5",
"@angular/compiler-cli": "^10.0.7",
"@angular/language-service": "^10.0.7",
"@types/d3": "^5.7.2",
"@types/jasmine": "^3.5.9",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^12.12.30",
"codelyzer": "^5.2.1",
"jasmine-core": "^3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.5.2",
"protractor": "^5.4.3",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "^8.7.0",
"tslint": "^5.20.1",
"typescript": "~3.7.5"
"tslint": "~6.1.0",
"typescript": "~3.9.7"
}
}
2 changes: 1 addition & 1 deletion src/app/shared/dfam-api/dfam-api.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('DfamAPIService', () => {
beforeEach(() => TestBed.configureTestingModule({}));

it('should be created', () => {
const service: DfamAPIService = TestBed.get(DfamAPIService);
const service: DfamAPIService = TestBed.inject(DfamAPIService);
expect(service).toBeTruthy();
});
});
2 changes: 1 addition & 1 deletion src/app/shared/dfam-api/dfam-backend-api.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('DfamBackendAPIService', () => {
beforeEach(() => TestBed.configureTestingModule({}));

it('should be created', () => {
const service: DfamBackendAPIService = TestBed.get(DfamBackendAPIService);
const service: DfamBackendAPIService = TestBed.inject(DfamBackendAPIService);
expect(service).toBeTruthy();
});
});
2 changes: 1 addition & 1 deletion src/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"types": ["d3"]
Expand Down
2 changes: 1 addition & 1 deletion src/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"types": [
Expand Down
22 changes: 22 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2020",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
}
}
40 changes: 19 additions & 21 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
/*
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
It is not intended to be used to perform a compilation.
To learn more about this file see: https://angular.io/config/solution-tsconfig.
*/
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
}
}
"files": [],
"references": [
{
"path": "./src/tsconfig.app.json"
},
{
"path": "./src/tsconfig.spec.json"
},
{
"path": "./e2e/tsconfig.e2e.json"
}
]
}
1 change: 0 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
Expand Down

0 comments on commit da5c1a7

Please sign in to comment.