diff --git a/ponyracer/e2e/app.e2e-spec.ts b/ponyracer/e2e/app.e2e-spec.ts index 0794739de..e7ea74bb8 100644 --- a/ponyracer/e2e/app.e2e-spec.ts +++ b/ponyracer/e2e/app.e2e-spec.ts @@ -9,6 +9,6 @@ describe('ponyracer App', () => { it('should display welcome message', () => { page.navigateTo(); - expect(page.getParagraphText()).toEqual('Welcome to app!!'); + expect(page.getParagraphText()).toEqual('Welcome to app!'); }); }); diff --git a/ponyracer/e2e/tsconfig.e2e.json b/ponyracer/e2e/tsconfig.e2e.json index 39b800f78..1d9e5edf0 100644 --- a/ponyracer/e2e/tsconfig.e2e.json +++ b/ponyracer/e2e/tsconfig.e2e.json @@ -2,6 +2,7 @@ "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/e2e", + "baseUrl": "./", "module": "commonjs", "target": "es5", "types": [ diff --git a/ponyracer/package.json b/ponyracer/package.json index 0d448efb6..7fa9d9e0c 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -26,7 +26,7 @@ "zone.js": "^0.8.12" }, "devDependencies": { - "@angular/cli": "1.3.0-beta.0", + "@angular/cli": "1.3.0-beta.1", "@angular/compiler-cli": "^4.2.4", "@angular/language-service": "^4.2.4", "@types/jasmine": "~2.5.53", diff --git a/ponyracer/src/app/app.component.html b/ponyracer/src/app/app.component.html index 1a00adb0a..e27076210 100644 --- a/ponyracer/src/app/app.component.html +++ b/ponyracer/src/app/app.component.html @@ -1,7 +1,7 @@

- Welcome to {{title}}!! + Welcome to {{title}}!

diff --git a/ponyracer/src/app/app.component.spec.ts b/ponyracer/src/app/app.component.spec.ts index 7d2799ceb..9510495a2 100644 --- a/ponyracer/src/app/app.component.spec.ts +++ b/ponyracer/src/app/app.component.spec.ts @@ -27,6 +27,6 @@ describe('AppComponent', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('Welcome to app!!'); + expect(compiled.querySelector('h1').textContent).toContain('Welcome to app!'); })); }); diff --git a/ponyracer/src/tsconfig.app.json b/ponyracer/src/tsconfig.app.json index 5e2507db5..39ba8dbac 100644 --- a/ponyracer/src/tsconfig.app.json +++ b/ponyracer/src/tsconfig.app.json @@ -2,8 +2,8 @@ "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/app", + "baseUrl": "./", "module": "es2015", - "baseUrl": "", "types": [] }, "exclude": [ diff --git a/ponyracer/src/tsconfig.spec.json b/ponyracer/src/tsconfig.spec.json index 510e3f1fd..63d89ff28 100644 --- a/ponyracer/src/tsconfig.spec.json +++ b/ponyracer/src/tsconfig.spec.json @@ -2,9 +2,9 @@ "extends": "../tsconfig.json", "compilerOptions": { "outDir": "../out-tsc/spec", + "baseUrl": "./", "module": "commonjs", "target": "es5", - "baseUrl": "", "types": [ "jasmine", "node" diff --git a/ponyracer/tsconfig.json b/ponyracer/tsconfig.json index a35a8ee3a..1f9b55851 100644 --- a/ponyracer/tsconfig.json +++ b/ponyracer/tsconfig.json @@ -2,7 +2,6 @@ "compileOnSave": false, "compilerOptions": { "outDir": "./dist/out-tsc", - "baseUrl": "src", "sourceMap": true, "declaration": false, "moduleResolution": "node", diff --git a/ponyracer/tslint.json b/ponyracer/tslint.json index dd117b387..0db5751c7 100644 --- a/ponyracer/tslint.json +++ b/ponyracer/tslint.json @@ -31,8 +31,14 @@ "member-access": false, "member-ordering": [ true, - "static-before-instance", - "variables-before-functions" + { + "order": [ + "static-field", + "instance-field", + "static-method", + "instance-method" + ] + } ], "no-arg": true, "no-bitwise": true, @@ -80,6 +86,7 @@ ], "radix": true, "semicolon": [ + true, "always" ], "triple-equals": [