Skip to content

Commit d89ecda

Browse files
committed
angular 8.0.0-rc.2 and ng-cli 8.0.0-rc.3 integration
1 parent 863e555 commit d89ecda

File tree

7 files changed

+919
-1357
lines changed

7 files changed

+919
-1357
lines changed

browserslist

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
22
# For additional information regarding the format and rule options, please see:
33
# https://github.com/browserslist/browserslist#queries
4-
#
5-
# For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
# Googlebot uses an older version of Chrome
9+
# For additional information see: https://developers.google.com/search/docs/guides/rendering
610

711
> 0.5%
812
last 2 versions
913
Firefox ESR
14+
Chrome 41 # Support for Googlebot
1015
not dead
11-
not IE 9-11
16+
not IE 9-11 # For IE 9-11 support, remove 'not'.

package.json

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"ng5",
2626
"ng6",
2727
"ng7",
28+
"ng8",
2829
"loader",
2930
"progressbar",
3031
"spinner",
@@ -36,44 +37,42 @@
3637
"url": "https://github.com/mpalourdio/ng-http-loader/issues"
3738
},
3839
"peerDependencies": {
39-
"@angular/common": "^7.0.0",
40-
"@angular/core": "^7.0.0",
41-
"rxjs": "^6.3.3"
40+
"@angular/common": "^8.0.0-rc.2",
41+
"@angular/core": "^8.0.0-rc.2",
42+
"rxjs": "^6.4.0"
4243
},
4344
"devDependencies": {
44-
"@angular-devkit/build-angular": "~0.13.0",
45-
"@angular-devkit/build-ng-packagr": "~0.13.0",
46-
"@angular/cli": "~7.3.0",
47-
"@angular/common": "^7.0.0",
48-
"@angular/compiler": "^7.0.0",
49-
"@angular/compiler-cli": "^7.0.0",
50-
"@angular/core": "^7.0.0",
51-
"@angular/language-service": "^7.0.0",
52-
"@angular/platform-browser": "^7.0.0",
53-
"@angular/platform-browser-dynamic": "^7.0.0",
54-
"@types/jasmine": "~2.8.8",
45+
"@angular-devkit/build-angular": "~0.800.0-rc.2",
46+
"@angular-devkit/build-ng-packagr": "~0.800.0-rc.2",
47+
"@angular/cli": "~8.0.0-rc.3",
48+
"@angular/common": "^8.0.0-rc.2",
49+
"@angular/compiler": "^8.0.0-rc.2",
50+
"@angular/compiler-cli": "^8.0.0-rc.2",
51+
"@angular/core": "^8.0.0-rc.2",
52+
"@angular/language-service": "^8.0.0-rc.2",
53+
"@angular/platform-browser": "^8.0.0-rc.2",
54+
"@angular/platform-browser-dynamic": "^8.0.0-rc.2",
55+
"@types/jasmine": "~3.3.8",
5556
"@types/jasminewd2": "~2.0.3",
5657
"@types/node": "~8.9.4",
57-
"codelyzer": "~4.5.0",
58-
"core-js": "^2.5.4",
58+
"codelyzer": "^5.0.0",
5959
"coveralls": "^3.0.1",
60-
"jasmine-core": "~2.99.1",
60+
"jasmine-core": "~3.4.0",
6161
"jasmine-spec-reporter": "~4.2.1",
62-
"karma": "~4.0.0",
62+
"karma": "~4.1.0",
6363
"karma-chrome-launcher": "~2.2.0",
6464
"karma-coverage-istanbul-reporter": "~2.0.1",
6565
"karma-firefox-launcher": "^1.1.0",
66-
"karma-jasmine": "~1.1.2",
67-
"karma-jasmine-html-reporter": "^0.2.2",
68-
"ng-packagr": "^4.2.0",
69-
"rxjs": "^6.3.3",
66+
"karma-jasmine": "~2.0.1",
67+
"karma-jasmine-html-reporter": "^1.4.0",
68+
"ng-packagr": "^5.1.0",
69+
"rxjs": "^6.4.0",
7070
"rxjs-tslint-rules": "^4.13.0",
7171
"ts-node": "~7.0.0",
72-
"tsickle": ">=0.34.0",
7372
"tslib": "^1.9.0",
74-
"tslint": "~5.11.0",
75-
"typescript": "~3.2.2",
76-
"zone.js": "~0.8.26"
73+
"tslint": "~5.15.0",
74+
"typescript": "~3.4.3",
75+
"zone.js": "~0.9.0"
7776
},
7877
"engines": {
7978
"node": ">= 8.9.0",

polyfills.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
2222
// import 'classlist.js'; // Run `npm install --save classlist.js`.
2323

24-
/** IE10 and IE11 requires the following for the Reflect API. */
25-
// import 'core-js/es6/reflect';
26-
2724
/**
2825
* Web Animations `@angular/platform-browser/animations`
2926
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
@@ -46,7 +43,7 @@
4643
*
4744
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
4845
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
49-
* (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
46+
* (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
5047
*
5148
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
5249
* with the following flag, it will bypass `zone.js` patch for IE/Edge

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"compileOnSave": false,
33
"compilerOptions": {
4+
"baseUrl": "./",
45
"outDir": "./dist/out-tsc",
56
"sourceMap": true,
67
"declaration": false,
8+
"module": "esnext",
79
"moduleResolution": "node",
810
"emitDecoratorMetadata": true,
911
"experimentalDecorators": true,
1012
"importHelpers": true,
11-
"target": "es5",
13+
"target": "es2015",
1214
"typeRoots": [
1315
"node_modules/@types"
1416
],

tsconfig.lib.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,17 @@
33
"compilerOptions": {
44
"outDir": "./out-tsc/lib",
55
"target": "es2015",
6-
"module": "es2015",
76
"declaration": true,
87
"inlineSources": true,
98
"noImplicitAny": true,
109
"noImplicitReturns": true,
1110
"types": [],
12-
"baseUrl": "./",
1311
"lib": [
1412
"dom",
1513
"es2018"
1614
]
1715
},
1816
"angularCompilerOptions": {
19-
"annotateForClosureCompiler": true,
2017
"skipTemplateCodegen": true,
2118
"strictMetadataEmit": true,
2219
"fullTemplateTypeCheck": true,

tslint.json

Lines changed: 46 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,43 @@
11
{
2-
"rulesDirectory": [
3-
"node_modules/codelyzer"
4-
],
52
"extends": [
3+
"tslint:recommended",
64
"rxjs-tslint-rules"
75
],
86
"rules": {
9-
"arrow-return-shorthand": true,
10-
"callable-types": true,
11-
"class-name": true,
12-
"comment-format": [
7+
//to avoid warnings on private class fields
8+
"variable-name": [
139
true,
14-
"check-space"
10+
"ban-keywords",
11+
"check-format",
12+
"allow-pascal-case",
13+
"allow-leading-underscore"
1514
],
16-
"curly": true,
15+
"array-type": false,
16+
"arrow-parens": false,
1717
"deprecation": {
1818
"severity": "warn"
1919
},
20-
"eofline": true,
21-
"forin": true,
22-
"import-blacklist": [
20+
"component-class-suffix": true,
21+
"contextual-lifecycle": true,
22+
"directive-class-suffix": true,
23+
"directive-selector": [
2324
true,
24-
"rxjs/Rx"
25+
"attribute",
26+
null,
27+
"camelCase"
28+
],
29+
"component-selector": [
30+
true,
31+
"element",
32+
null,
33+
"kebab-case"
2534
],
26-
"import-spacing": true,
27-
"indent": [
35+
"import-blacklist": [
2836
true,
29-
"spaces"
37+
"rxjs/Rx"
3038
],
31-
"interface-over-type-literal": true,
32-
"label-position": true,
39+
"interface-name": false,
40+
"max-classes-per-file": false,
3341
"max-line-length": [
3442
true,
3543
140
@@ -46,8 +54,7 @@
4654
]
4755
}
4856
],
49-
"no-arg": true,
50-
"no-bitwise": true,
57+
"no-consecutive-blank-lines": false,
5158
"no-console": [
5259
true,
5360
"debug",
@@ -56,92 +63,39 @@
5663
"timeEnd",
5764
"trace"
5865
],
59-
"no-construct": true,
60-
"no-debugger": true,
61-
"no-duplicate-super": true,
6266
"no-empty": false,
63-
"no-empty-interface": true,
64-
"no-eval": true,
6567
"no-inferrable-types": [
6668
true,
6769
"ignore-params"
6870
],
69-
"no-misused-new": true,
7071
"no-non-null-assertion": true,
7172
"no-redundant-jsdoc": true,
72-
"no-shadowed-variable": true,
73-
"no-string-literal": false,
74-
"no-string-throw": true,
7573
"no-switch-case-fall-through": true,
76-
"no-trailing-whitespace": true,
77-
"no-unnecessary-initializer": true,
78-
"no-unused-expression": true,
7974
"no-use-before-declare": true,
80-
"no-var-keyword": true,
81-
"object-literal-sort-keys": false,
82-
"one-line": [
75+
"no-var-requires": false,
76+
"object-literal-key-quotes": [
8377
true,
84-
"check-open-brace",
85-
"check-catch",
86-
"check-else",
87-
"check-whitespace"
78+
"as-needed"
8879
],
89-
"prefer-const": true,
80+
"object-literal-sort-keys": false,
81+
"ordered-imports": false,
9082
"quotemark": [
9183
true,
9284
"single"
9385
],
94-
"radix": true,
95-
"semicolon": [
96-
true,
97-
"always"
98-
],
99-
"triple-equals": [
100-
true,
101-
"allow-null-check"
102-
],
103-
"typedef-whitespace": [
104-
true,
105-
{
106-
"call-signature": "nospace",
107-
"index-signature": "nospace",
108-
"parameter": "nospace",
109-
"property-declaration": "nospace",
110-
"variable-declaration": "nospace"
111-
}
112-
],
113-
"unified-signatures": true,
114-
"variable-name": false,
115-
"whitespace": [
116-
true,
117-
"check-branch",
118-
"check-decl",
119-
"check-operator",
120-
"check-separator",
121-
"check-type"
122-
],
123-
"directive-selector": [
124-
true,
125-
"attribute",
126-
null,
127-
"camelCase"
128-
],
129-
"component-selector": [
130-
true,
131-
"element",
132-
null,
133-
"kebab-case"
134-
],
135-
"no-output-on-prefix": true,
136-
"use-input-property-decorator": true,
137-
"use-output-property-decorator": true,
138-
"use-host-property-decorator": true,
86+
"trailing-comma": false,
87+
"no-conflicting-lifecycle": true,
88+
"no-host-metadata-property": true,
13989
"no-input-rename": true,
90+
"no-inputs-metadata-property": true,
91+
"no-output-native": true,
92+
"no-output-on-prefix": true,
14093
"no-output-rename": true,
141-
"use-life-cycle-interface": true,
94+
"no-outputs-metadata-property": true,
95+
"template-banana-in-box": true,
96+
"template-no-negated-async": true,
97+
"use-lifecycle-interface": true,
14298
"use-pipe-transform-interface": true,
143-
"component-class-suffix": true,
144-
"directive-class-suffix": true,
14599
"rxjs-finnish": {
146100
"options": [{
147101
"functions": true,
@@ -152,5 +106,8 @@
152106
}],
153107
"severity": "error"
154108
}
155-
}
109+
},
110+
"rulesDirectory": [
111+
"codelyzer"
112+
]
156113
}

0 commit comments

Comments
 (0)