From ebe92aac0c5cb824ea149569b1acbffbbdc1b887 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Sat, 7 Oct 2017 22:01:13 -0400 Subject: [PATCH] chore: version 1.0.3 --- ponyracer/e2e/app.po.ts | 2 +- ponyracer/e2e/tsconfig.e2e.json | 2 +- ponyracer/package.json | 4 ++-- ponyracer/src/polyfills.ts | 4 ++++ ponyracer/tslint.json | 26 ++++++++++++++++++++------ 5 files changed, 28 insertions(+), 10 deletions(-) diff --git a/ponyracer/e2e/app.po.ts b/ponyracer/e2e/app.po.ts index ff117ae89..203cd9191 100644 --- a/ponyracer/e2e/app.po.ts +++ b/ponyracer/e2e/app.po.ts @@ -1,4 +1,4 @@ -import { browser, element, by } from 'protractor'; +import { browser, by, element } from 'protractor'; export class PonyracerPage { navigateTo() { diff --git a/ponyracer/e2e/tsconfig.e2e.json b/ponyracer/e2e/tsconfig.e2e.json index ac7a37325..e2a9a2fc7 100644 --- a/ponyracer/e2e/tsconfig.e2e.json +++ b/ponyracer/e2e/tsconfig.e2e.json @@ -4,7 +4,7 @@ "outDir": "../out-tsc/e2e", "module": "commonjs", "target": "es5", - "types":[ + "types": [ "jasmine", "node" ] diff --git a/ponyracer/package.json b/ponyracer/package.json index de38af193..9dfbb5783 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -25,7 +25,7 @@ "zone.js": "^0.8.4" }, "devDependencies": { - "@angular/cli": "1.0.2", + "@angular/cli": "1.0.3", "@angular/compiler-cli": "^4.0.0", "@types/jasmine": "2.5.38", "@types/node": "~6.0.60", @@ -33,7 +33,7 @@ "jasmine-core": "~2.5.2", "jasmine-spec-reporter": "~3.2.0", "karma": "~1.4.1", - "karma-chrome-launcher": "~2.0.0", + "karma-chrome-launcher": "~2.1.1", "karma-cli": "~1.0.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", diff --git a/ponyracer/src/polyfills.ts b/ponyracer/src/polyfills.ts index 53bdaf1b8..bc94e7a6d 100644 --- a/ponyracer/src/polyfills.ts +++ b/ponyracer/src/polyfills.ts @@ -66,3 +66,7 @@ import 'zone.js/dist/zone'; // Included with Angular CLI. * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 */ // import 'intl'; // Run `npm install --save intl`. +/** + * Need to import at least one locale-data with intl. + */ +// import 'intl/locale-data/jsonp/en'; diff --git a/ponyracer/tslint.json b/ponyracer/tslint.json index 9113f1368..97adaa5e9 100644 --- a/ponyracer/tslint.json +++ b/ponyracer/tslint.json @@ -12,7 +12,10 @@ "curly": true, "eofline": true, "forin": true, - "import-blacklist": [true, "rxjs"], + "import-blacklist": [ + true, + "rxjs" + ], "import-spacing": true, "indent": [ true, @@ -42,11 +45,13 @@ ], "no-construct": true, "no-debugger": true, - "no-duplicate-variable": true, "no-empty": false, "no-empty-interface": true, "no-eval": true, - "no-inferrable-types": [true, "ignore-params"], + "no-inferrable-types": [ + true, + "ignore-params" + ], "no-shadowed-variable": true, "no-string-literal": false, "no-string-throw": true, @@ -97,9 +102,18 @@ "check-separator", "check-type" ], - - "directive-selector": [true, "attribute", "app", "camelCase"], - "component-selector": [true, "element", "app", "kebab-case"], + "directive-selector": [ + true, + "attribute", + "app", + "camelCase" + ], + "component-selector": [ + true, + "element", + "app", + "kebab-case" + ], "use-input-property-decorator": true, "use-output-property-decorator": true, "use-host-property-decorator": true,