From a10df9e437d1e7450365df49b99fc1742de4b270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Fri, 3 Feb 2017 14:31:00 +0100 Subject: [PATCH 1/2] chore: change all Angular-CLI occurrences to Angular CLI --- CONTRIBUTING.md | 2 +- README.md | 4 ++-- docs/design/third-party-libraries.md | 2 +- docs/documentation/stories/css-preprocessors.md | 2 +- packages/@angular/cli/blueprints/ng2/files/README.md | 2 +- packages/@angular/cli/commands/destroy.ts | 2 +- packages/@angular/cli/lib/cli/index.js | 2 +- tests/acceptance/destroy.spec.js | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d2721f27917..b6a2a67b374f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: diff --git a/README.md b/README.md index 3f92e29e495e..ec4325615c67 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Angular-CLI +## Angular CLI [![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) @@ -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/)) diff --git a/docs/design/third-party-libraries.md b/docs/design/third-party-libraries.md index ac0a22c458e1..ae087c07b815 100644 --- a/docs/design/third-party-libraries.md +++ b/docs/design/third-party-libraries.md @@ -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`. # appData -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. diff --git a/docs/documentation/stories/css-preprocessors.md b/docs/documentation/stories/css-preprocessors.md index b8661e8d7494..d54b5ad6b270 100644 --- a/docs/documentation/stories/css-preprocessors.md +++ b/docs/documentation/stories/css-preprocessors.md @@ -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/)) diff --git a/packages/@angular/cli/blueprints/ng2/files/README.md b/packages/@angular/cli/blueprints/ng2/files/README.md index cbfa6c74da4d..69fb9c4a7b2b 100755 --- a/packages/@angular/cli/blueprints/ng2/files/README.md +++ b/packages/@angular/cli/blueprints/ng2/files/README.md @@ -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). diff --git a/packages/@angular/cli/commands/destroy.ts b/packages/@angular/cli/commands/destroy.ts index 57745599d2fe..99b6c036d804 100644 --- a/packages/@angular/cli/commands/destroy.ts +++ b/packages/@angular/cli/commands/destroy.ts @@ -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.')); } }); diff --git a/packages/@angular/cli/lib/cli/index.js b/packages/@angular/cli/lib/cli/index.js index f359071438be..a2e824a91bf0 100644 --- a/packages/@angular/cli/lib/cli/index.js +++ b/packages/@angular/cli/lib/cli/index.js @@ -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 diff --git a/tests/acceptance/destroy.spec.js b/tests/acceptance/destroy.spec.js index eabb2ef77a19..5eeed80b2aad 100644 --- a/tests/acceptance/destroy.spec.js +++ b/tests/acceptance/destroy.spec.js @@ -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.'); }); }); }); From bd91f81b8a293a0ee5bb8bedf13931dadc91df80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Fri, 3 Feb 2017 15:15:11 +0100 Subject: [PATCH 2/2] docs: remove one remaining angular-cli reference --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec4325615c67..a675e2ccd046 100644 --- a/README.md +++ b/README.md @@ -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