From 083407dab9ae0639eb25271976dcf6906fca58a1 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Thu, 17 Jan 2019 11:27:58 +0000 Subject: [PATCH] chore: version 7.3.0-beta.0 --- ponyracer/angular.json | 3 +- ponyracer/package.json | 24 +++++------ ponyracer/src/karma.conf.js | 4 +- ponyracer/src/polyfills.ts | 22 ---------- ponyracer/tslint.json | 80 ++++++------------------------------- 5 files changed, 28 insertions(+), 105 deletions(-) diff --git a/ponyracer/angular.json b/ponyracer/angular.json index 6336e7c68..38afba365 100644 --- a/ponyracer/angular.json +++ b/ponyracer/angular.json @@ -25,7 +25,8 @@ "styles": [ "src/styles.css" ], - "scripts": [] + "scripts": [], + "es5BrowserSupport": true }, "configurations": { "production": { diff --git a/ponyracer/package.json b/ponyracer/package.json index 599cb8039..e5abdc033 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -11,24 +11,24 @@ }, "private": true, "dependencies": { - "@angular/animations": "~7.2.0", - "@angular/common": "~7.2.0", - "@angular/compiler": "~7.2.0", - "@angular/core": "~7.2.0", - "@angular/forms": "~7.2.0", - "@angular/platform-browser": "~7.2.0", - "@angular/platform-browser-dynamic": "~7.2.0", - "@angular/router": "~7.2.0", + "@angular/animations": "~7.2.0-rc.0", + "@angular/common": "~7.2.0-rc.0", + "@angular/compiler": "~7.2.0-rc.0", + "@angular/core": "~7.2.0-rc.0", + "@angular/forms": "~7.2.0-rc.0", + "@angular/platform-browser": "~7.2.0-rc.0", + "@angular/platform-browser-dynamic": "~7.2.0-rc.0", + "@angular/router": "~7.2.0-rc.0", "core-js": "^2.5.4", "rxjs": "~6.3.3", "tslib": "^1.9.0", "zone.js": "~0.8.26" }, "devDependencies": { - "@angular-devkit/build-angular": "~0.12.0", - "@angular/cli": "~7.2.4", - "@angular/compiler-cli": "~7.2.0", - "@angular/language-service": "~7.2.0", + "@angular-devkit/build-angular": "~0.12.0-rc.0", + "@angular/cli": "~7.3.0-beta.0", + "@angular/compiler-cli": "~7.2.0-rc.0", + "@angular/language-service": "~7.2.0-rc.0", "@types/node": "~8.9.4", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", diff --git a/ponyracer/src/karma.conf.js b/ponyracer/src/karma.conf.js index ee9caa152..3eca159bf 100644 --- a/ponyracer/src/karma.conf.js +++ b/ponyracer/src/karma.conf.js @@ -16,7 +16,7 @@ module.exports = function (config) { clearContext: false // leave Jasmine Spec Runner output visible in browser }, coverageIstanbulReporter: { - dir: require('path').join(__dirname, '../coverage'), + dir: require('path').join(__dirname, '../coverage/ponyracer'), reports: ['html', 'lcovonly', 'text-summary'], fixWebpackSourcePaths: true }, @@ -28,4 +28,4 @@ module.exports = function (config) { browsers: ['Chrome'], singleRun: false }); -}; \ No newline at end of file +}; diff --git a/ponyracer/src/polyfills.ts b/ponyracer/src/polyfills.ts index a6d34ea67..75d639398 100644 --- a/ponyracer/src/polyfills.ts +++ b/ponyracer/src/polyfills.ts @@ -18,31 +18,9 @@ * BROWSER POLYFILLS */ -/** IE9, IE10, IE11, and Chrome <55 requires all of the following polyfills. - * This also includes Android Emulators with older versions of Chrome and Google Search/Googlebot - */ - -// import 'core-js/es6/symbol'; -// import 'core-js/es6/object'; -// import 'core-js/es6/function'; -// import 'core-js/es6/parse-int'; -// import 'core-js/es6/parse-float'; -// import 'core-js/es6/number'; -// import 'core-js/es6/math'; -// import 'core-js/es6/string'; -// import 'core-js/es6/date'; -// import 'core-js/es6/array'; -// import 'core-js/es6/regexp'; -// import 'core-js/es6/map'; -// import 'core-js/es6/weak-map'; -// import 'core-js/es6/set'; - /** IE10 and IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. -/** IE10 and IE11 requires the following for the Reflect API. */ -// import 'core-js/es6/reflect'; - /** * Web Animations `@angular/platform-browser/animations` * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. diff --git a/ponyracer/tslint.json b/ponyracer/tslint.json index c740a7b2a..868ecba0d 100644 --- a/ponyracer/tslint.json +++ b/ponyracer/tslint.json @@ -1,32 +1,20 @@ { + "extends": "tslint:recommended", "rulesDirectory": [ "codelyzer" ], "rules": { - "arrow-return-shorthand": true, - "callable-types": true, - "class-name": true, - "comment-format": [ - true, - "check-space" - ], - "curly": true, + "array-type": false, + "arrow-parens": false, "deprecation": { "severity": "warn" }, - "eofline": true, - "forin": true, "import-blacklist": [ true, "rxjs/Rx" ], - "import-spacing": true, - "indent": [ - true, - "spaces" - ], - "interface-over-type-literal": true, - "label-position": true, + "interface-name": false, + "max-classes-per-file": false, "max-line-length": [ true, 140 @@ -43,8 +31,7 @@ ] } ], - "no-arg": true, - "no-bitwise": true, + "no-consecutive-blank-lines": false, "no-console": [ true, "debug", @@ -53,70 +40,27 @@ "timeEnd", "trace" ], - "no-construct": true, - "no-debugger": true, - "no-duplicate-super": true, "no-empty": false, - "no-empty-interface": true, - "no-eval": true, "no-inferrable-types": [ true, "ignore-params" ], - "no-misused-new": true, "no-non-null-assertion": true, "no-redundant-jsdoc": true, - "no-shadowed-variable": true, - "no-string-literal": false, - "no-string-throw": true, "no-switch-case-fall-through": true, - "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": [ + "no-var-requires": false, + "object-literal-key-quotes": [ true, - "check-open-brace", - "check-catch", - "check-else", - "check-whitespace" + "as-needed" ], - "prefer-const": true, + "object-literal-sort-keys": false, + "ordered-imports": false, "quotemark": [ true, "single" ], - "radix": true, - "semicolon": [ - true, - "always" - ], - "triple-equals": [ - true, - "allow-null-check" - ], - "typedef-whitespace": [ - true, - { - "call-signature": "nospace", - "index-signature": "nospace", - "parameter": "nospace", - "property-declaration": "nospace", - "variable-declaration": "nospace" - } - ], - "unified-signatures": true, - "variable-name": false, - "whitespace": [ - true, - "check-branch", - "check-decl", - "check-operator", - "check-separator", - "check-type" - ], + "trailing-comma": false, "no-output-on-prefix": true, "use-input-property-decorator": true, "use-output-property-decorator": true,