Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: get rid of remaining angular-cli references #4398

Merged
merged 1 commit into from
Feb 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to angular-cli
# Contributing to Angular CLI

We would love for you to contribute to angular-cli and help make it even better
than it is today! As a contributor, here are the guidelines we would like you
Expand All @@ -18,7 +18,7 @@ Help us keep Angular open and inclusive. Please read and follow our [Code of Con

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

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

## <a name="issue"></a> Found an Issue?
If you find a bug in the source code or a mistake in the documentation, you can help us by
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ with NPM 3 or higher.
* [CSS preprocessor integration](#css-preprocessor-integration)
* [3rd Party Library Installation](#3rd-party-library-installation)
* [Global Library Installation](#global-library-installation)
* [Updating angular-cli](#updating-angular-cli)
* [Development Hints for hacking on angular-cli](#development-hints-for-hacking-on-angular-cli)
* [Updating Angular CLI](#updating-angular-cli)
* [Development Hints for hacking on Angular CLI](#development-hints-for-hacking-on-angular-cli)

## Installation

Expand Down Expand Up @@ -392,21 +392,21 @@ your app.

<!-- DeleteSection2 End here -->

### Updating angular-cli
### Updating Angular CLI

To update `angular-cli` to a new version, you must update both the global package and your project's local package.
To update Angular CLI to a new version, you must update both the global package and your project's local package.

Global package:
```bash
npm uninstall -g angular-cli
npm uninstall -g angular-cli @angular/cli
npm cache clean
npm install -g angular-cli@latest
npm install -g @angular/cli@latest
```

Local project package:
```bash
rm -rf node_modules dist # use rmdir on Windows
npm install --save-dev angular-cli@latest
npm install --save-dev @angular/cli@latest
npm install
ng update
```
Expand All @@ -420,7 +420,7 @@ Carefully read the diffs for each code file, and either accept the changes or in
You can find more details about changes between versions in [CHANGELOG.md](https://github.com/angular/angular-cli/blob/master/CHANGELOG.md).


## Development Hints for hacking on angular-cli
## Development Hints for hacking on Angular CLI

### Working with master

Expand All @@ -432,25 +432,25 @@ npm link

`npm link` is very similar to `npm install -g` except that instead of downloading the package
from the repo, the just cloned `angular-cli/` folder becomes the global package.
Any changes to the files in the `angular-cli/` folder will immediately affect the global `angular-cli` package,
Any changes to the files in the `angular-cli/` folder will immediately affect the global `@angular/cli` package,
allowing you to quickly test any changes you make to the cli project.

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

```bash
ng new foo
cd foo
npm link angular-cli
npm link @angular/cli
ng serve
```

`npm link angular-cli` is needed because by default the globally installed `angular-cli` just loads
the local `angular-cli` from the project which was fetched remotely from npm.
`npm link angular-cli` symlinks the global `angular-cli` package to the local `angular-cli` package.
`npm link @angular/cli` is needed because by default the globally installed `@angular/cli` just loads
the local `@angular/cli` from the project which was fetched remotely from npm.
`npm link @angular/cli` symlinks the global `@angular/cli` package to the local `@angular/cli` package.
Now the `angular-cli` you cloned before is in three places:
The folder you cloned it into, npm's folder where it stores global packages and the `angular-cli` project you just created.
The folder you cloned it into, npm's folder where it stores global packages and the Angular CLI project you just created.

You can also use `ng new foo --link-cli` to automatically link the `angular-cli` package.
You can also use `ng new foo --link-cli` to automatically link the `@angular/cli` package.

Please read the official [npm-link documentation](https://www.npmjs.org/doc/cli/npm-link.html)
and the [npm-link cheatsheet](http://browsenpm.org/help#linkinganynpmpackagelocally) for more information.
Expand Down
4 changes: 2 additions & 2 deletions docs/documentation/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
The Angular CLI is a tool to initialize, develop, scaffold and maintain [Angular](https://angular.io) applications

### Getting Started
To install the angular-cli:
To install the Angular CLI:
```
npm install -g angular-cli
npm install -g @angular/cli
```

Generating and serving an Angular project via a development server
Expand Down
4 changes: 2 additions & 2 deletions packages/@angular/cli/blueprints/ng2/files/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <%= jsComponentName %>

This project was generated with [angular-cli](https://github.com/angular/angular-cli) version <%= version %>.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= version %>.

## Development server
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.
Expand All @@ -24,4 +24,4 @@ Before running the tests make sure you are serving the app via `ng serve`.

## Further help

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).
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).
2 changes: 1 addition & 1 deletion packages/@angular/cli/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Command = require('../ember-cli/lib/models/command');

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

Expand Down
2 changes: 1 addition & 1 deletion packages/@angular/cli/commands/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as chalk from 'chalk';

const VersionCommand = Command.extend({
name: 'version',
description: 'outputs angular-cli version',
description: 'outputs Angular CLI version',
aliases: ['v', '--version', '-v'],
works: 'everywhere',

Expand Down
4 changes: 2 additions & 2 deletions packages/@angular/cli/models/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class CliConfig extends CliConfigBase<ConfigInterface> {
console.error(chalk.yellow(oneLine`
The "defaults.prefix" and "defaults.sourceDir" properties of angular-cli.json
are deprecated in favor of "apps[0].root" and "apps[0].prefix".\n
Please update in order to avoid errors in future versions of angular-cli.
Please update in order to avoid errors in future versions of Angular CLI.
`));
}

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

Expand Down
2 changes: 1 addition & 1 deletion packages/@angular/cli/plugins/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const init = (config) => {
config.webpack = Object.assign(webpackConfig, config.webpack);
config.webpackMiddleware = Object.assign(webpackMiddlewareConfig, config.webpackMiddleware);

// replace the angular-cli preprocessor with webpack+sourcemap
// replace the @angular/cli preprocessor with webpack+sourcemap
Object.keys(config.preprocessors)
.filter((file) => config.preprocessors[file].indexOf('@angular/cli') !== -1)
.map((file) => config.preprocessors[file])
Expand Down
2 changes: 1 addition & 1 deletion plugins/karma.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is necessary when using a linked angular-cli to this repo, meaning that
// require('angular-cli/plugins/karma') will load this file, and we just forward to
// require('@angular/cli/plugins/karma') will load this file, and we just forward to
// the actual published file.
module.exports = require('../packages/@angular/cli/plugins/karma');