refactor: rebranding changes (#4602)

This commit is contained in:
Sumit Arora 2017-02-16 17:58:28 -05:00 committed by Hans
parent a22474e0ce
commit 74573bab3b
6 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ with NPM 3 or higher.
* [Installation](#installation) * [Installation](#installation)
* [Usage](#usage) * [Usage](#usage)
* [Generating a New Project](#generating-and-serving-an-angular2-project-via-a-development-server) * [Generating a New Project](#generating-and-serving-an-angular-project-via-a-development-server)
* [Generating Components, Directives, Pipes and Services](#generating-components-directives-pipes-and-services) * [Generating Components, Directives, Pipes and Services](#generating-components-directives-pipes-and-services)
* [Updating Angular CLI](#updating-angular-cli) * [Updating Angular CLI](#updating-angular-cli)
* [Development Hints for hacking on Angular CLI](#development-hints-for-hacking-on-angular-cli) * [Development Hints for hacking on Angular CLI](#development-hints-for-hacking-on-angular-cli)
@ -54,7 +54,7 @@ npm install -g @angular/cli
ng help ng help
``` ```
### Generating and serving an Angular2 project via a development server ### Generating and serving an Angular project via a development server
```bash ```bash
ng new PROJECT_NAME ng new PROJECT_NAME

View File

@ -53,7 +53,7 @@ import 'core-js/es7/reflect';
/*************************************************************************************************** /***************************************************************************************************
* Zone JS is required by Angular itself. * Zone JS is required by Angular itself.
*/ */
import 'zone.js/dist/zone'; // Included with Angular-CLI. import 'zone.js/dist/zone'; // Included with Angular CLI.

View File

@ -20,7 +20,6 @@ exports.config = {
defaultTimeoutInterval: 30000, defaultTimeoutInterval: 30000,
print: function() {} print: function() {}
}, },
useAllAngular2AppRoots: true,
beforeLaunch: function() { beforeLaunch: function() {
require('ts-node').register({ require('ts-node').register({
project: 'e2e' project: 'e2e'

View File

@ -36,7 +36,7 @@ function getUserHome() {
export class CliConfig extends CliConfigBase<ConfigInterface> { export class CliConfig extends CliConfigBase<ConfigInterface> {
static configFilePath(projectPath?: string): string { static configFilePath(projectPath?: string): string {
// Find the configuration, either where specified, in the angular-cli project // Find the configuration, either where specified, in the Angular CLI project
// (if it's in node_modules) or from the current process. // (if it's in node_modules) or from the current process.
return (projectPath && _findUp(CLI_CONFIG_FILE_NAME, projectPath)) return (projectPath && _findUp(CLI_CONFIG_FILE_NAME, projectPath))
|| (projectPath && _findUp(CLI_CONFIG_FILE_NAME_ALT, projectPath)) || (projectPath && _findUp(CLI_CONFIG_FILE_NAME_ALT, projectPath))

View File

@ -9,7 +9,8 @@
}, },
"keywords": [ "keywords": [
"angular", "angular",
"angular-cli" "angular-cli",
"Angular CLI"
], ],
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,4 +1,4 @@
// This file is necessary when using a linked angular-cli to this repo, meaning that // 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. // the actual published file.
module.exports = require('../packages/@angular/cli/plugins/karma'); module.exports = require('../packages/@angular/cli/plugins/karma');