You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: get rid of remaining angular-cli references (#4398)
This commit changes 2 things:
1. Changes remaining angular-cli package references to @angular/cli.
2. Where angular-cli was mentioned as a project name, it's been changed
to Angular CLI.
Where angular-cli was meant to mean the repository name, it's been left
unchanged.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Contributing to angular-cli
1
+
# Contributing to Angular CLI
2
2
3
3
We would love for you to contribute to angular-cli and help make it even better
4
4
than it is today! As a contributor, here are the guidelines we would like you
@@ -18,7 +18,7 @@ Help us keep Angular open and inclusive. Please read and follow our [Code of Con
18
18
19
19
## <aname="question"></a> Got a Question or Problem?
20
20
21
-
If you have questions about how to *use* Angular CLI, please direct them to [StackOverflow][stackoverflow]. Please note that angular-cli is still in early developer preview, and the core team's capacity to answer usage questions is limited. We are also available on [Gitter][gitter].
21
+
If you have questions about how to *use* Angular CLI, please direct them to [StackOverflow][stackoverflow]. Please note that Angular CLI is still in early developer preview, and the core team's capacity to answer usage questions is limited. We are also available on [Gitter][gitter].
22
22
23
23
## <aname="issue"></a> Found an Issue?
24
24
If you find a bug in the source code or a mistake in the documentation, you can help us by
*[Development Hints for hacking on angular-cli](#development-hints-for-hacking-on-angular-cli)
55
+
*[Updating Angular CLI](#updating-angular-cli)
56
+
*[Development Hints for hacking on Angular CLI](#development-hints-for-hacking-on-angular-cli)
57
57
58
58
## Installation
59
59
@@ -392,21 +392,21 @@ your app.
392
392
393
393
<!-- DeleteSection2 End here -->
394
394
395
-
### Updating angular-cli
395
+
### Updating Angular CLI
396
396
397
-
To update `angular-cli` to a new version, you must update both the global package and your project's local package.
397
+
To update Angular CLI to a new version, you must update both the global package and your project's local package.
398
398
399
399
Global package:
400
400
```bash
401
-
npm uninstall -g angular-cli
401
+
npm uninstall -g angular-cli @angular/cli
402
402
npm cache clean
403
-
npm install -g angular-cli@latest
403
+
npm install -g @angular/cli@latest
404
404
```
405
405
406
406
Local project package:
407
407
```bash
408
408
rm -rf node_modules dist # use rmdir on Windows
409
-
npm install --save-dev angular-cli@latest
409
+
npm install --save-dev @angular/cli@latest
410
410
npm install
411
411
ng update
412
412
```
@@ -420,7 +420,7 @@ Carefully read the diffs for each code file, and either accept the changes or in
420
420
You can find more details about changes between versions in [CHANGELOG.md](https://github.com/angular/angular-cli/blob/master/CHANGELOG.md).
421
421
422
422
423
-
## Development Hints for hacking on angular-cli
423
+
## Development Hints for hacking on Angular CLI
424
424
425
425
### Working with master
426
426
@@ -432,25 +432,25 @@ npm link
432
432
433
433
`npm link` is very similar to `npm install -g` except that instead of downloading the package
434
434
from the repo, the just cloned `angular-cli/` folder becomes the global package.
435
-
Any changes to the files in the `angular-cli/` folder will immediately affect the global `angular-cli` package,
435
+
Any changes to the files in the `angular-cli/` folder will immediately affect the global `@angular/cli` package,
436
436
allowing you to quickly test any changes you make to the cli project.
437
437
438
-
Now you can use `angular-cli` via the command line:
438
+
Now you can use `@angular/cli` via the command line:
439
439
440
440
```bash
441
441
ng new foo
442
442
cd foo
443
-
npm link angular-cli
443
+
npm link @angular/cli
444
444
ng serve
445
445
```
446
446
447
-
`npm link angular-cli` is needed because by default the globally installed `angular-cli` just loads
448
-
the local `angular-cli` from the project which was fetched remotely from npm.
449
-
`npm link angular-cli` symlinks the global `angular-cli` package to the local `angular-cli` package.
447
+
`npm link @angular/cli` is needed because by default the globally installed `@angular/cli` just loads
448
+
the local `@angular/cli` from the project which was fetched remotely from npm.
449
+
`npm link @angular/cli` symlinks the global `@angular/cli` package to the local `@angular/cli` package.
450
450
Now the `angular-cli` you cloned before is in three places:
451
-
The folder you cloned it into, npm's folder where it stores global packages and the `angular-cli` project you just created.
451
+
The folder you cloned it into, npm's folder where it stores global packages and the Angular CLI project you just created.
452
452
453
-
You can also use `ng new foo --link-cli` to automatically link the `angular-cli` package.
453
+
You can also use `ng new foo --link-cli` to automatically link the `@angular/cli` package.
454
454
455
455
Please read the official [npm-link documentation](https://www.npmjs.org/doc/cli/npm-link.html)
456
456
and the [npm-link cheatsheet](http://browsenpm.org/help#linkinganynpmpackagelocally) for more information.
Copy file name to clipboardExpand all lines: packages/@angular/cli/blueprints/ng2/files/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# <%= jsComponentName %>
2
2
3
-
This project was generated with [angular-cli](https://github.com/angular/angular-cli) version <%= version %>.
3
+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= version %>.
4
4
5
5
## Development server
6
6
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
@@ -24,4 +24,4 @@ Before running the tests make sure you are serving the app via `ng serve`.
24
24
25
25
## Further help
26
26
27
-
To get more help on the `angular-cli` use `ng help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
27
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
0 commit comments