Skip to content

Commit f32cdb5

Browse files
authored
Merge pull request #48 from OpenLiberty/qa
Qa to Master: upgrade guide to Angular 8
2 parents b191dd0 + d5a6e14 commit f32cdb5

File tree

14 files changed

+8266
-4600
lines changed

14 files changed

+8266
-4600
lines changed

finish/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
<goal>install-node-and-npm</goal>
6565
</goals>
6666
<configuration>
67-
<nodeVersion>v10.15.3</nodeVersion>
68-
<npmVersion>6.4.1</npmVersion>
67+
<nodeVersion>v12.14.0</nodeVersion>
68+
<npmVersion>6.13.4</npmVersion>
6969
</configuration>
7070
</execution>
7171

finish/src/main/frontend/package-lock.json

Lines changed: 4107 additions & 2275 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

finish/src/main/frontend/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "~7.2.0",
15-
"@angular/common": "~7.2.0",
16-
"@angular/compiler": "~7.2.0",
17-
"@angular/core": "~7.2.0",
18-
"@angular/forms": "~7.2.0",
19-
"@angular/platform-browser": "~7.2.0",
20-
"@angular/platform-browser-dynamic": "~7.2.0",
21-
"@angular/router": "~7.2.0",
14+
"@angular/animations": "~8.2.14",
15+
"@angular/common": "~8.2.14",
16+
"@angular/compiler": "~8.2.14",
17+
"@angular/core": "~8.2.14",
18+
"@angular/forms": "~8.2.14",
19+
"@angular/platform-browser": "~8.2.14",
20+
"@angular/platform-browser-dynamic": "~8.2.14",
21+
"@angular/router": "~8.2.14",
2222
"core-js": "^2.5.4",
23-
"rxjs": "~6.3.3",
23+
"rxjs": "~6.5.4",
2424
"tslib": "^1.9.0",
25-
"zone.js": "~0.8.26"
25+
"zone.js": "~0.9.1"
2626
},
2727
"devDependencies": {
28-
"@angular-devkit/build-angular": "^0.13.9",
29-
"@angular/cli": "~7.3.8",
30-
"@angular/compiler-cli": "~7.2.0",
31-
"@angular/language-service": "~7.2.0",
28+
"@angular-devkit/build-angular": "~0.803.21",
29+
"@angular/cli": "~8.3.21",
30+
"@angular/compiler-cli": "~8.2.14",
31+
"@angular/language-service": "~8.2.14",
3232
"@types/node": "~8.9.4",
3333
"@types/jasmine": "~2.8.8",
3434
"@types/jasminewd2": "~2.0.3",
35-
"codelyzer": "~4.5.0",
35+
"codelyzer": "^5.0.1",
3636
"jasmine-core": "~2.99.1",
3737
"jasmine-spec-reporter": "~4.2.1",
3838
"karma": "~4.0.0",
@@ -43,6 +43,6 @@
4343
"protractor": "~5.4.0",
4444
"ts-node": "~7.0.0",
4545
"tslint": "~5.11.0",
46-
"typescript": "~3.2.2"
46+
"typescript": "~3.5.3"
4747
}
4848
}

finish/src/main/frontend/src/polyfills.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*
4444
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
4545
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
46-
* (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
4747
*
4848
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
4949
* with the following flag, it will bypass `zone.js` patch for IE/Edge

finish/src/main/frontend/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
"compileOnSave": false,
33
"compilerOptions": {
44
"baseUrl": "./",
5+
"downlevelIteration": true,
56
"outDir": "./dist/out-tsc",
67
"sourceMap": true,
78
"declaration": false,
8-
"module": "es2015",
9+
"module": "esnext",
910
"moduleResolution": "node",
1011
"emitDecoratorMetadata": true,
1112
"experimentalDecorators": true,
1213
"importHelpers": true,
13-
"target": "es5",
14+
"target": "es2015",
1415
"typeRoots": [
1516
"node_modules/@types"
1617
],

finish/src/main/frontend/tslint.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@
6262
],
6363
"trailing-comma": false,
6464
"no-output-on-prefix": true,
65-
"use-input-property-decorator": true,
66-
"use-output-property-decorator": true,
67-
"use-host-property-decorator": true,
65+
"no-inputs-metadata-property": true,
66+
"no-outputs-metadata-property": true,
67+
"no-host-metadata-property": true,
6868
"no-input-rename": true,
6969
"no-output-rename": true,
70-
"use-life-cycle-interface": true,
70+
"use-lifecycle-interface": true,
7171
"use-pipe-transform-interface": true,
7272
"component-class-suffix": true,
7373
"directive-class-suffix": true

start/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
<goal>install-node-and-npm</goal>
6565
</goals>
6666
<configuration>
67-
<nodeVersion>v10.15.3</nodeVersion>
68-
<npmVersion>6.4.1</npmVersion>
67+
<nodeVersion>v12.14.0</nodeVersion>
68+
<npmVersion>6.13.4</npmVersion>
6969
</configuration>
7070
</execution>
7171

0 commit comments

Comments
 (0)