Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78c82e7

Browse files
committed
refactor: upgrade to Angular 5.0
1 parent 51445a9 commit 78c82e7

File tree

4 files changed

+695
-429
lines changed

4 files changed

+695
-429
lines changed

‎e2e/app.e2e-spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AppPage } from './app.po';
22

3-
describe('helloworld App', () => {
3+
describe('angular-hello-world App', () => {
44
let page: AppPage;
55

66
beforeEach(() => {

‎package.json‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "helloworld",
3-
"version": "0.0.0",
2+
"name": "angular-hello-world",
3+
"version": "1.0.0",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",
@@ -12,27 +12,27 @@
1212
},
1313
"private": true,
1414
"dependencies": {
15-
"@angular/animations": "4.3.0",
16-
"@angular/common": "4.3.0",
17-
"@angular/compiler": "4.3.0",
18-
"@angular/core": "4.3.0",
19-
"@angular/forms": "4.3.0",
20-
"@angular/http": "4.3.0",
21-
"@angular/platform-browser": "4.3.0",
22-
"@angular/platform-browser-dynamic": "4.3.0",
23-
"@angular/router": "4.3.0",
15+
"@angular/animations": "5.0.0",
16+
"@angular/common": "5.0.0",
17+
"@angular/compiler": "5.0.0",
18+
"@angular/core": "5.0.0",
19+
"@angular/forms": "5.0.0",
20+
"@angular/http": "5.0.0",
21+
"@angular/platform-browser": "5.0.0",
22+
"@angular/platform-browser-dynamic": "5.0.0",
23+
"@angular/router": "5.0.0",
2424
"core-js": "2.4.1",
25-
"rxjs": "5.4.2",
25+
"rxjs": "5.5.2",
2626
"zone.js": "0.8.14"
2727
},
2828
"devDependencies": {
29-
"@angular/cli": "1.3.1",
30-
"@angular/compiler-cli": "4.3.0",
31-
"@angular/language-service": "4.3.0",
29+
"@angular/cli": "1.5.0",
30+
"@angular/compiler-cli": "5.0.0",
31+
"@angular/language-service": "5.0.0",
3232
"@types/jasmine": "~2.5.53",
3333
"@types/jasminewd2": "~2.0.2",
3434
"@types/node": "~6.0.60",
35-
"codelyzer": "~3.1.1",
35+
"codelyzer": "~3.2.0",
3636
"jasmine-core": "~2.6.2",
3737
"jasmine-spec-reporter": "~4.1.0",
3838
"karma": "~1.7.0",
@@ -43,7 +43,7 @@
4343
"karma-jasmine-html-reporter": "0.2.2",
4444
"protractor": "~5.1.2",
4545
"ts-node": "~3.2.0",
46-
"tslint": "~5.3.2",
47-
"typescript": "~2.3.3"
46+
"tslint": "~5.7.0",
47+
"typescript": "~2.4.2"
4848
}
4949
}

‎tslint.json‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"forin": true,
1616
"import-blacklist": [
1717
true,
18-
"rxjs"
18+
"rxjs",
19+
"rxjs/Rx"
1920
],
2021
"import-spacing": true,
2122
"indent": [
@@ -135,8 +136,6 @@
135136
"use-pipe-transform-interface": true,
136137
"component-class-suffix": true,
137138
"directive-class-suffix": true,
138-
"no-access-missing-member": true,
139-
"templates-use-public": true,
140139
"invoke-injectable": true
141140
}
142141
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /