Skip to content

Commit bb18940

Browse files
authored
Merge branch 'master' into master
2 parents bb97444 + 2048459 commit bb18940

File tree

14 files changed

+38
-38
lines changed

14 files changed

+38
-38
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Contributing to angular-cli
1+
# Contributing to Angular CLI
22

3-
We would love for you to contribute to angular-cli and help make it even better
3+
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
55
to follow:
66

@@ -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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Angular-CLI
1+
## Angular CLI
22

33
[![Join the chat at https://gitter.im/angular/angular-cli](https://badges.gitter.im/angular/angular-cli.svg)](https://gitter.im/angular/angular-cli?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44

@@ -52,14 +52,14 @@ 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

6060
**BEFORE YOU INSTALL:** please read the [prerequisites](#prerequisites)
6161
```bash
62-
npm install -g angular-cli
62+
npm install -g @angular/cli
6363
```
6464

6565
## Usage
@@ -292,7 +292,7 @@ You can add more global styles via the `apps[0].styles` property in `angular-cli
292292

293293
### CSS Preprocessor integration
294294

295-
Angular-CLI supports all major CSS preprocessors:
295+
Angular CLI supports all major CSS preprocessors:
296296
- sass/scss ([http://sass-lang.com/](http://sass-lang.com/))
297297
- less ([http://lesscss.org/](http://lesscss.org/))
298298
- stylus ([http://stylus-lang.com/](http://stylus-lang.com/))
@@ -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/design/third-party-libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ its `(pre|post|)install` hooks only on packages that are newly installed. It sho
102102
packages should be kept before performing `npm install`.
103103

104104
# <a name="appData">appData</a>
105-
The `angular-cli` key in the generated app should be used for `angular-cli` specific data.
105+
The `angular-cli` key in the generated app should be used for Angular CLI specific data.
106106
This includes the CLI configuration itself, as well as third-parties library configuration.
107107

108108
Third-parties can store data that will be passed to the app, and can use that data themselves.

docs/documentation/overview.md

Lines changed: 2 additions & 2 deletions
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

docs/documentation/stories/css-preprocessors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CSS Preprocessor integration
22

3-
Angular-CLI supports all major CSS preprocessors:
3+
Angular CLI supports all major CSS preprocessors:
44
- sass/scss ([http://sass-lang.com/](http://sass-lang.com/))
55
- less ([http://lesscss.org/](http://lesscss.org/))
66
- stylus ([http://stylus-lang.com/](http://stylus-lang.com/))

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

Lines changed: 2 additions & 2 deletions
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/destroy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const DestroyCommand = Command.extend({
1212
],
1313

1414
run: function() {
15-
return Promise.reject(new SilentError('The destroy command is not supported by Angular-CLI.'));
15+
return Promise.reject(new SilentError('The destroy command is not supported by Angular CLI.'));
1616
}
1717
});
1818

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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/lib/cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Error.stackTraceLimit = Infinity;
1515

1616
module.exports = function(options) {
1717

18-
// patch UI to not print Ember-CLI warnings (which don't apply to Angular-CLI)
18+
// patch UI to not print Ember-CLI warnings (which don't apply to Angular CLI)
1919
UI.prototype.writeWarnLine = function () { }
2020

2121
// patch Watcher to always default to node, not checking for Watchman

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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');

tests/acceptance/destroy.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ describe('Acceptance: ng destroy', function () {
2323
return ng(['destroy']).then(() => {
2424
throw new SilentError('ng destroy should fail.');
2525
}, (err) => {
26-
expect(err.message).to.equal('The destroy command is not supported by Angular-CLI.');
26+
expect(err.message).to.equal('The destroy command is not supported by Angular CLI.');
2727
});
2828
});
2929

3030
it('with args should fail', function () {
3131
return ng(['destroy', 'something']).then(() => {
3232
throw new SilentError('ng destroy something should fail.');
3333
}, (err) => {
34-
expect(err.message).to.equal('The destroy command is not supported by Angular-CLI.');
34+
expect(err.message).to.equal('The destroy command is not supported by Angular CLI.');
3535
});
3636
});
3737
});

0 commit comments

Comments
 (0)