Skip to content

Commit 0ca34bb

Browse files
docs: correct rc.0 migration guide
fix test runner dependency and other corrections Closes angular#5039
1 parent a6289f8 commit 0ca34bb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/documentation/stories/rc.0-update.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Then update `protractor.conf.js` to use the e2e config as well:
292292
```
293293
beforeLaunch: function() {
294294
require('ts-node').register({
295-
project: 'e2e'
295+
project: 'e2e/tsconfig.e2e.json'
296296
});
297297
},
298298
```
@@ -303,20 +303,23 @@ We've updated a lot of packages over the last months in order to keep projects u
303303

304304
Additions or removals are found in bold below.
305305

306+
`"angular-cli": {},` was **removed**
307+
306308
Packages in `dependencies`:
307309
- `@angular/*` packages now have a `^2.4.0` minimum (`^3.4.0` for router)
308310
- `core-js` remains unchanged at `^2.4.1`
309311
- `rxjs` to `^5.1.0`
312+
- `ts-helpers` was **removed**
310313
- `zone.js` to `^0.7.6`
311314

312-
Packages in `dependencies`:
315+
Packages in `devDependencies`:
313316
- `@angular/cli` at `1.0.0-rc.0` replaces `angular-cli`
314317
- `@angular/compiler-cli` is also at `^2.4.0`
315318
- `@types/jasmine` remains unchanged and pinned at `2.5.38`
316319
- `@types/node` was updated to `~6.0.60`
317320
- `codelyzer` was updated to `~2.0.0`
318321
- `jasmine-core` was updated to `~2.5.2`
319-
- `jasmine-spec-reporter` was **removed**
322+
- `jasmine-spec-reporter` was updated to ~3.2.0
320323
- `karma` was updated to `~1.4.1`
321324
- `karma-chrome-launcher` was updated to `~2.0.0`
322325
- `karma-cli` was updated to `~1.0.1`
@@ -340,6 +343,7 @@ We also updated the scripts section to make it more simple:
340343
"scripts": {
341344
"ng": "ng",
342345
"start": "ng serve",
346+
"build": "ng build"
343347
"test": "ng test",
344348
"lint": "ng lint",
345349
"e2e": "ng e2e"
@@ -448,4 +452,3 @@ Add these new rules:
448452

449453
Update `no-inferrable-types` to `"no-inferrable-types": [true, "ignore-params"]`.
450454

451-

0 commit comments

Comments
 (0)