Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 2d132de

Browse files
authored
docs(README): move deps note to a table
1 parent e4494d8 commit 2d132de

File tree

1 file changed

+5
-38
lines changed

1 file changed

+5
-38
lines changed

README.md

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -30,43 +30,10 @@ The versions of the newly added packages depend on the versions of some of your
3030
You can force update your `package.json` using the `update-ns-webpack` script which you can find in `PROJECT_DIR/node_modules/.bin`.
3131
If the bundling process fails, please make sure you have the correct versions of the packages.
3232

33-
If you are targetting:
34-
```
35-
"tns-core-modules": "^3.0.0" or "^3.0.0-rc.1" or "rc"
36-
"@angular/": "^4.0.0"
37-
```
38-
Then you should use:
39-
```
40-
"nativescript-angular": "rc" or "internal-preview"
41-
"@ngtools/webpack": "1.3.0"
42-
"typescript": "^2.2.0"
43-
```
44-
45-
46-
If you are targetting:
47-
```
48-
"tns-core-modules": "~2.5.0"
49-
"@angular/": "^4.0.0"
50-
```
51-
Then you should use:
52-
```
53-
"nativescript-angular": "~1.5.1"
54-
"@ngtools/webpack": "1.2.13"
55-
"typescript": "~2.1.6"
56-
```
57-
58-
59-
If you are targetting:
60-
```
61-
"tns-core-modules": "~2.5.0"
62-
"@angular/": "~2.4.0"
63-
```
64-
Then you should use:
65-
```
66-
"nativescript-angular": "~1.4.1"
67-
"@ngtools/webpack": "1.2.10"
68-
"typescript": "~2.1.6"
69-
```
70-
33+
| Main packages versions | Plugins versions
34+
| --- | ---
35+
| `tns-core-modules`: **^3.0.0** <br> `@angular/`: **^4.0.0** | `nativescript-angular`: **^3.0.0** <br> `@ngtools/webpack`: **^1.3.0** <br> `typescript`: **^2.2.0**
36+
| `tns-core-modules`: **^2.5.0** <br> `@angular/`: **^4.0.0** | `nativescript-angular`: **^1.5.1** <br> `@ngtools/webpack`: **1.2.13** <br> `typescript`: **2.1.6**
37+
| `tns-core-modules`: **^2.5.0** <br> `@angular/`: **^2.4.0** | `nativescript-angular`: **^1.4.1** <br> ``@ngtools/webpack``: **1.2.10** <br> `typescript`: **2.1.6**
7138

7239
P.S. Also please make sure you are using the same version of all `@angular/` packages, including the devDependency of `@angular/compiler-cli`.

0 commit comments

Comments
 (0)