From 25af0f69c42d9082ee66f9c3f19913a2eb812081 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Fri, 19 Jan 2018 10:24:45 -0300 Subject: [PATCH] chore: version 1.5.6 --- ponyracer/.gitignore | 1 + ponyracer/package.json | 44 +++++++++++++++++++++--------------------- ponyracer/src/test.ts | 14 +------------- ponyracer/tslint.json | 1 - 4 files changed, 24 insertions(+), 36 deletions(-) diff --git a/ponyracer/.gitignore b/ponyracer/.gitignore index 54bfd2001..4ae2c3791 100644 --- a/ponyracer/.gitignore +++ b/ponyracer/.gitignore @@ -2,6 +2,7 @@ # compiled output /dist +/dist-server /tmp /out-tsc diff --git a/ponyracer/package.json b/ponyracer/package.json index 5602104c6..d354651df 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -5,45 +5,45 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build", + "build": "ng build --prod", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { - "@angular/animations": "^5.0.0", - "@angular/common": "^5.0.0", - "@angular/compiler": "^5.0.0", - "@angular/core": "^5.0.0", - "@angular/forms": "^5.0.0", - "@angular/http": "^5.0.0", - "@angular/platform-browser": "^5.0.0", - "@angular/platform-browser-dynamic": "^5.0.0", - "@angular/router": "^5.0.0", + "@angular/animations": "^5.1.0", + "@angular/common": "^5.1.0", + "@angular/compiler": "^5.1.0", + "@angular/core": "^5.1.0", + "@angular/forms": "^5.1.0", + "@angular/http": "^5.1.0", + "@angular/platform-browser": "^5.1.0", + "@angular/platform-browser-dynamic": "^5.1.0", + "@angular/router": "^5.1.0", "core-js": "^2.4.1", - "rxjs": "^5.5.2", - "zone.js": "^0.8.14" + "rxjs": "^5.5.6", + "zone.js": "^0.8.19" }, "devDependencies": { - "@angular/cli": "1.5.5", - "@angular/compiler-cli": "^5.0.0", - "@angular/language-service": "^5.0.0", - "@types/jasmine": "~2.5.53", + "@angular/cli": "1.5.6", + "@angular/compiler-cli": "^5.1.0", + "@angular/language-service": "^5.1.0", + "@types/jasmine": "~2.8.3", "@types/jasminewd2": "~2.0.2", "@types/node": "~6.0.60", "codelyzer": "^4.0.1", - "jasmine-core": "~2.6.2", - "jasmine-spec-reporter": "~4.1.0", - "karma": "~1.7.0", - "karma-chrome-launcher": "~2.1.1", + "jasmine-core": "~2.8.0", + "jasmine-spec-reporter": "~4.2.1", + "karma": "~2.0.0", + "karma-chrome-launcher": "~2.2.0", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^1.2.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.1.2", "ts-node": "~3.2.0", - "tslint": "~5.7.0", - "typescript": "~2.4.2" + "tslint": "~5.9.1", + "typescript": "~2.5.3" } } diff --git a/ponyracer/src/test.ts b/ponyracer/src/test.ts index cd612eeb0..16317897b 100644 --- a/ponyracer/src/test.ts +++ b/ponyracer/src/test.ts @@ -1,24 +1,14 @@ // This file is required by karma.conf.js and loads recursively all the .spec and framework files -import 'zone.js/dist/long-stack-trace-zone'; -import 'zone.js/dist/proxy.js'; -import 'zone.js/dist/sync-test'; -import 'zone.js/dist/jasmine-patch'; -import 'zone.js/dist/async-test'; -import 'zone.js/dist/fake-async-test'; +import 'zone.js/dist/zone-testing'; import { getTestBed } from '@angular/core/testing'; import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; -// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. -declare const __karma__: any; declare const require: any; -// Prevent Karma from running prematurely. -__karma__.loaded = function () {}; - // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, @@ -28,5 +18,3 @@ getTestBed().initTestEnvironment( const context = require.context('./', true, /\.spec\.ts$/); // And load the modules. context.keys().map(context); -// Finally, start Karma to run the tests. -__karma__.start(); diff --git a/ponyracer/tslint.json b/ponyracer/tslint.json index 20ad878fe..a2e30eff2 100644 --- a/ponyracer/tslint.json +++ b/ponyracer/tslint.json @@ -130,7 +130,6 @@ "app", "kebab-case" ], - "angular-whitespace": [true, "check-interpolation"], "no-output-on-prefix": true, "use-input-property-decorator": true, "use-output-property-decorator": true,