Skip to content

Commit 8d03a8b

Browse files
committed
angular 2.2.0
removed disableDebugTools, because it does not work.
1 parent 5235724 commit 8d03a8b

File tree

3 files changed

+45
-46
lines changed

3 files changed

+45
-46
lines changed

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
},
2828
"homepage": "https://github.com/springboot-angular2-tutorial/angular2-app",
2929
"dependencies": {
30-
"@angular/common": "~2.1.0",
31-
"@angular/compiler": "~2.1.0",
32-
"@angular/core": "~2.1.0",
33-
"@angular/forms": "~2.1.0",
34-
"@angular/http": "~2.1.0",
35-
"@angular/platform-browser": "~2.1.0",
36-
"@angular/platform-browser-dynamic": "~2.1.0",
37-
"@angular/router": "~3.1.0",
30+
"@angular/common": "~2.2.0",
31+
"@angular/compiler": "~2.2.0",
32+
"@angular/core": "~2.2.0",
33+
"@angular/forms": "~2.2.0",
34+
"@angular/http": "~2.2.0",
35+
"@angular/platform-browser": "~2.2.0",
36+
"@angular/platform-browser-dynamic": "~2.2.0",
37+
"@angular/router": "~3.2.0",
3838
"@angularclass/hmr": "^1.2.2",
3939
"@angularclass/hmr-loader": "^3.0.2",
4040
"aphrodite": "^1.1.0",
@@ -48,8 +48,8 @@
4848
"zone.js": "^0.6.26"
4949
},
5050
"devDependencies": {
51-
"@angular/compiler-cli": "~2.1.0",
52-
"@angular/platform-server": "~2.1.0",
51+
"@angular/compiler-cli": "~2.2.0",
52+
"@angular/platform-server": "~2.2.0",
5353
"@types/jasmine": "^2.5.37",
5454
"@types/lodash": "^4.14.38",
5555
"@types/node": "^6.0.48",

src/app/environment.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Angular 2
22
// rc2 workaround
3-
import {enableDebugTools, disableDebugTools} from "@angular/platform-browser";
3+
import {enableDebugTools} from "@angular/platform-browser";
44
import {enableProdMode, ApplicationRef} from "@angular/core";
55
// Environment Providers
66
let PROVIDERS: any[] = [
@@ -15,7 +15,6 @@ let _decorateModuleRef = function identity<T>(value: T): T {
1515

1616
if ('production' === ENV) {
1717
// Production
18-
disableDebugTools();
1918
enableProdMode();
2019

2120
PROVIDERS = [

yarn.lock

+34-34
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,55 @@
22
# yarn lockfile v1
33

44

5-
"@angular/common@~2.1.0":
6-
version "2.1.2"
7-
resolved "https://registry.yarnpkg.com/@angular/common/-/common-2.1.2.tgz#5c5b37c21d6e573def1670f43962c262bc9be82e"
5+
"@angular/common@~2.2.0":
6+
version "2.2.0"
7+
resolved "https://registry.yarnpkg.com/@angular/common/-/common-2.2.0.tgz#b52686eafd71e053169ac0257f9135f9583247b6"
88

9-
"@angular/compiler-cli@~2.1.0":
10-
version "2.1.2"
11-
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-2.1.2.tgz#9c34433af2183f294b9c63a035c785e002edc792"
9+
"@angular/compiler-cli@~2.2.0":
10+
version "2.2.0"
11+
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-2.2.0.tgz#8a06f2d38bfa7f9cb80f129dc81449ec101daa41"
1212
dependencies:
13-
"@angular/tsc-wrapped" "^0.3.0"
13+
"@angular/tsc-wrapped" "^0.4.0"
1414
minimist "^1.2.0"
1515
reflect-metadata "^0.1.2"
1616

17-
"@angular/compiler@~2.1.0":
18-
version "2.1.2"
19-
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-2.1.2.tgz#bd2a6c558de5350bdd43aa8e8de757943ac01d2a"
17+
"@angular/compiler@~2.2.0":
18+
version "2.2.0"
19+
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-2.2.0.tgz#154dfba521f2cce2655610f7d2e5065b04ea86b9"
2020

21-
"@angular/core@~2.1.0":
22-
version "2.1.2"
23-
resolved "https://registry.yarnpkg.com/@angular/core/-/core-2.1.2.tgz#ce39521643f3d97bc5923d5a7aa76604e973dac8"
21+
"@angular/core@~2.2.0":
22+
version "2.2.0"
23+
resolved "https://registry.yarnpkg.com/@angular/core/-/core-2.2.0.tgz#7a3a8592b6731a65e5a9746ce45419d86d15fe56"
2424

25-
"@angular/forms@~2.1.0":
26-
version "2.1.2"
27-
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-2.1.2.tgz#c55539ea5da6d60f64475f39392ae5dd76a7e990"
25+
"@angular/forms@~2.2.0":
26+
version "2.2.0"
27+
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-2.2.0.tgz#1e11781c740445ab5d08fd54f3b0d6f25d4ba34d"
2828

29-
"@angular/http@~2.1.0":
30-
version "2.1.2"
31-
resolved "https://registry.yarnpkg.com/@angular/http/-/http-2.1.2.tgz#50aa96c3b68a44b98e3f837886c96e5930eb543a"
29+
"@angular/http@~2.2.0":
30+
version "2.2.0"
31+
resolved "https://registry.yarnpkg.com/@angular/http/-/http-2.2.0.tgz#7e44c820692be03b8c882531dbd697ee04a4e993"
3232

33-
"@angular/platform-browser-dynamic@~2.1.0":
34-
version "2.1.2"
35-
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-2.1.2.tgz#3d51b494cfe0a29354c8c1f28369883679982af4"
33+
"@angular/platform-browser-dynamic@~2.2.0":
34+
version "2.2.0"
35+
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-2.2.0.tgz#db044fbdf8caeb8c4cb3eb5f5a7a57bbcf2eb9eb"
3636

37-
"@angular/platform-browser@~2.1.0":
38-
version "2.1.2"
39-
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-2.1.2.tgz#1f07c3a5668ac2381a7324f9001521deede159bc"
37+
"@angular/platform-browser@~2.2.0":
38+
version "2.2.0"
39+
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-2.2.0.tgz#6c39651ee861be9ca86ef6b7a21a160415b2ce8e"
4040

41-
"@angular/platform-server@~2.1.0":
42-
version "2.1.2"
43-
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-2.1.2.tgz#31345f76a055713d418cf4c525f6a1915638500b"
41+
"@angular/platform-server@~2.2.0":
42+
version "2.2.0"
43+
resolved "https://registry.yarnpkg.com/@angular/platform-server/-/platform-server-2.2.0.tgz#3e0b5f69d36ce892395533beb296bcbf0006c7d5"
4444
dependencies:
4545
parse5 "^2.2.1"
4646

47-
"@angular/router@~3.1.0":
48-
version "3.1.2"
49-
resolved "https://registry.yarnpkg.com/@angular/router/-/router-3.1.2.tgz#1046c943ace795027e2e5057df8c897da968fcd6"
47+
"@angular/router@~3.2.0":
48+
version "3.2.0"
49+
resolved "https://registry.yarnpkg.com/@angular/router/-/router-3.2.0.tgz#522585357ff9216e3ffae47e9045b3c150d00c7f"
5050

51-
"@angular/tsc-wrapped@^0.3.0":
52-
version "0.3.0"
53-
resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-0.3.0.tgz#98cdeb5c38d145b187c0ad0397a8d98b217f33f2"
51+
"@angular/tsc-wrapped@^0.4.0":
52+
version "0.4.0"
53+
resolved "https://registry.yarnpkg.com/@angular/tsc-wrapped/-/tsc-wrapped-0.4.0.tgz#78cacfd865b11366811baa1f2eec2ef0b63468e6"
5454
dependencies:
5555
tsickle "^0.1.7"
5656

0 commit comments

Comments
 (0)