mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-14 09:37:18 +08:00
chore: change all Angular-CLI occurrences to Angular CLI (#4402)
* chore: change all Angular-CLI occurrences to Angular CLI * docs: remove one remaining angular-cli reference
This commit is contained in:
parent
0dc2200004
commit
20484598dd
@ -1,6 +1,6 @@
|
||||
# Contributing to Angular CLI
|
||||
|
||||
We would love for you to contribute to angular-cli and help make it even better
|
||||
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
|
||||
to follow:
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
## Angular-CLI
|
||||
## Angular CLI
|
||||
|
||||
[](https://gitter.im/angular/angular-cli?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
@ -59,7 +59,7 @@ with NPM 3 or higher.
|
||||
|
||||
**BEFORE YOU INSTALL:** please read the [prerequisites](#prerequisites)
|
||||
```bash
|
||||
npm install -g angular-cli
|
||||
npm install -g @angular/cli
|
||||
```
|
||||
|
||||
## Usage
|
||||
@ -292,7 +292,7 @@ You can add more global styles via the `apps[0].styles` property in `angular-cli
|
||||
|
||||
### CSS Preprocessor integration
|
||||
|
||||
Angular-CLI supports all major CSS preprocessors:
|
||||
Angular CLI supports all major CSS preprocessors:
|
||||
- sass/scss ([http://sass-lang.com/](http://sass-lang.com/))
|
||||
- less ([http://lesscss.org/](http://lesscss.org/))
|
||||
- stylus ([http://stylus-lang.com/](http://stylus-lang.com/))
|
||||
|
@ -102,7 +102,7 @@ its `(pre|post|)install` hooks only on packages that are newly installed. It sho
|
||||
packages should be kept before performing `npm install`.
|
||||
|
||||
# <a name="appData">appData</a>
|
||||
The `angular-cli` key in the generated app should be used for `angular-cli` specific data.
|
||||
The `angular-cli` key in the generated app should be used for Angular CLI specific data.
|
||||
This includes the CLI configuration itself, as well as third-parties library configuration.
|
||||
|
||||
Third-parties can store data that will be passed to the app, and can use that data themselves.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# CSS Preprocessor integration
|
||||
|
||||
Angular-CLI supports all major CSS preprocessors:
|
||||
Angular CLI supports all major CSS preprocessors:
|
||||
- sass/scss ([http://sass-lang.com/](http://sass-lang.com/))
|
||||
- less ([http://lesscss.org/](http://lesscss.org/))
|
||||
- stylus ([http://stylus-lang.com/](http://stylus-lang.com/))
|
||||
|
@ -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).
|
||||
|
@ -12,7 +12,7 @@ const DestroyCommand = Command.extend({
|
||||
],
|
||||
|
||||
run: function() {
|
||||
return Promise.reject(new SilentError('The destroy command is not supported by Angular-CLI.'));
|
||||
return Promise.reject(new SilentError('The destroy command is not supported by Angular CLI.'));
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -15,7 +15,7 @@ Error.stackTraceLimit = Infinity;
|
||||
|
||||
module.exports = function(options) {
|
||||
|
||||
// patch UI to not print Ember-CLI warnings (which don't apply to Angular-CLI)
|
||||
// patch UI to not print Ember-CLI warnings (which don't apply to Angular CLI)
|
||||
UI.prototype.writeWarnLine = function () { }
|
||||
|
||||
// patch Watcher to always default to node, not checking for Watchman
|
||||
|
@ -23,7 +23,7 @@ describe('Acceptance: ng destroy', function () {
|
||||
return ng(['destroy']).then(() => {
|
||||
throw new SilentError('ng destroy should fail.');
|
||||
}, (err) => {
|
||||
expect(err.message).to.equal('The destroy command is not supported by Angular-CLI.');
|
||||
expect(err.message).to.equal('The destroy command is not supported by Angular CLI.');
|
||||
});
|
||||
});
|
||||
|
||||
@ -31,7 +31,7 @@ describe('Acceptance: ng destroy', function () {
|
||||
return ng(['destroy', 'something']).then(() => {
|
||||
throw new SilentError('ng destroy something should fail.');
|
||||
}, (err) => {
|
||||
expect(err.message).to.equal('The destroy command is not supported by Angular-CLI.');
|
||||
expect(err.message).to.equal('The destroy command is not supported by Angular CLI.');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user