Skip to content

Commit 0dc2200

Browse files
mgolfilipesilva
authored andcommitted
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.
1 parent 4ad406f commit 0dc2200

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to angular-cli
1+
# Contributing to Angular CLI
22

33
We would love for you to contribute to angular-cli and help make it even better
44
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
1818

1919
## <a name="question"></a> Got a Question or Problem?
2020

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].
2222

2323
## <a name="issue"></a> Found an Issue?
2424
If you find a bug in the source code or a mistake in the documentation, you can help us by

README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ with NPM 3 or higher.
5252
* [CSS preprocessor integration](#css-preprocessor-integration)
5353
* [3rd Party Library Installation](#3rd-party-library-installation)
5454
* [Global Library Installation](#global-library-installation)
55-
* [Updating angular-cli](#updating-angular-cli)
56-
* [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)
5757

5858
## Installation
5959

@@ -392,21 +392,21 @@ your app.
392392

393393
<!-- DeleteSection2 End here -->
394394

395-
### Updating angular-cli
395+
### Updating Angular CLI
396396

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.
398398

399399
Global package:
400400
```bash
401-
npm uninstall -g angular-cli
401+
npm uninstall -g angular-cli @angular/cli
402402
npm cache clean
403-
npm install -g angular-cli@latest
403+
npm install -g @angular/cli@latest
404404
```
405405

406406
Local project package:
407407
```bash
408408
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
410410
npm install
411411
ng update
412412
```
@@ -420,7 +420,7 @@ Carefully read the diffs for each code file, and either accept the changes or in
420420
You can find more details about changes between versions in [CHANGELOG.md](https://github.com/angular/angular-cli/blob/master/CHANGELOG.md).
421421

422422

423-
## Development Hints for hacking on angular-cli
423+
## Development Hints for hacking on Angular CLI
424424

425425
### Working with master
426426

@@ -432,25 +432,25 @@ npm link
432432

433433
`npm link` is very similar to `npm install -g` except that instead of downloading the package
434434
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,
436436
allowing you to quickly test any changes you make to the cli project.
437437

438-
Now you can use `angular-cli` via the command line:
438+
Now you can use `@angular/cli` via the command line:
439439

440440
```bash
441441
ng new foo
442442
cd foo
443-
npm link angular-cli
443+
npm link @angular/cli
444444
ng serve
445445
```
446446

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.
450450
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.
452452

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.
454454

455455
Please read the official [npm-link documentation](https://www.npmjs.org/doc/cli/npm-link.html)
456456
and the [npm-link cheatsheet](http://browsenpm.org/help#linkinganynpmpackagelocally) for more information.

docs/documentation/overview.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
The Angular CLI is a tool to initialize, develop, scaffold and maintain [Angular](https://angular.io) applications
77

88
### Getting Started
9-
To install the angular-cli:
9+
To install the Angular CLI:
1010
```
11-
npm install -g angular-cli
11+
npm install -g @angular/cli
1212
```
1313

1414
Generating and serving an Angular project via a development server

packages/@angular/cli/blueprints/ng2/files/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# <%= jsComponentName %>
22

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 %>.
44

55
## Development server
66
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`.
2424

2525
## Further help
2626

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).

packages/@angular/cli/commands/init.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const Command = require('../ember-cli/lib/models/command');
22

33
const InitCommand: any = Command.extend({
44
name: 'init',
5-
description: 'Creates a new angular-cli project in the current folder.',
5+
description: 'Creates a new Angular CLI project in the current folder.',
66
aliases: ['u', 'update', 'i'],
77
works: 'everywhere',
88

packages/@angular/cli/commands/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as chalk from 'chalk';
55

66
const VersionCommand = Command.extend({
77
name: 'version',
8-
description: 'outputs angular-cli version',
8+
description: 'outputs Angular CLI version',
99
aliases: ['v', '--version', '-v'],
1010
works: 'everywhere',
1111

packages/@angular/cli/models/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class CliConfig extends CliConfigBase<ConfigInterface> {
5757
console.error(chalk.yellow(oneLine`
5858
The "defaults.prefix" and "defaults.sourceDir" properties of angular-cli.json
5959
are deprecated in favor of "apps[0].root" and "apps[0].prefix".\n
60-
Please update in order to avoid errors in future versions of angular-cli.
60+
Please update in order to avoid errors in future versions of Angular CLI.
6161
`));
6262
}
6363

@@ -85,7 +85,7 @@ export class CliConfig extends CliConfigBase<ConfigInterface> {
8585
console.error(chalk.yellow(oneLine`
8686
The "defaults.prefix" and "defaults.sourceDir" properties of angular-cli.json
8787
are deprecated in favor of "apps[0].root" and "apps[0].prefix".\n
88-
Please update in order to avoid errors in future versions of angular-cli.
88+
Please update in order to avoid errors in future versions of Angular CLI.
8989
`));
9090
}
9191

packages/@angular/cli/plugins/karma.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const init = (config) => {
6161
config.webpack = Object.assign(webpackConfig, config.webpack);
6262
config.webpackMiddleware = Object.assign(webpackMiddlewareConfig, config.webpackMiddleware);
6363

64-
// replace the angular-cli preprocessor with webpack+sourcemap
64+
// replace the @angular/cli preprocessor with webpack+sourcemap
6565
Object.keys(config.preprocessors)
6666
.filter((file) => config.preprocessors[file].indexOf('@angular/cli') !== -1)
6767
.map((file) => config.preprocessors[file])

plugins/karma.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// This file is necessary when using a linked angular-cli to this repo, meaning that
2-
// require('angular-cli/plugins/karma') will load this file, and we just forward to
2+
// require('@angular/cli/plugins/karma') will load this file, and we just forward to
33
// the actual published file.
44
module.exports = require('../packages/@angular/cli/plugins/karma');

0 commit comments

Comments
 (0)