mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 22:34:21 +08:00
refactor: rebranding changes (#4602)
This commit is contained in:
parent
a22474e0ce
commit
74573bab3b
@ -35,7 +35,7 @@ with NPM 3 or higher.
|
||||
|
||||
* [Installation](#installation)
|
||||
* [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)
|
||||
* [Updating Angular CLI](#updating-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
|
||||
```
|
||||
|
||||
### Generating and serving an Angular2 project via a development server
|
||||
### Generating and serving an Angular project via a development server
|
||||
|
||||
```bash
|
||||
ng new PROJECT_NAME
|
||||
|
@ -53,7 +53,7 @@ import 'core-js/es7/reflect';
|
||||
/***************************************************************************************************
|
||||
* 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.
|
||||
|
||||
|
||||
|
||||
|
@ -20,7 +20,6 @@ exports.config = {
|
||||
defaultTimeoutInterval: 30000,
|
||||
print: function() {}
|
||||
},
|
||||
useAllAngular2AppRoots: true,
|
||||
beforeLaunch: function() {
|
||||
require('ts-node').register({
|
||||
project: 'e2e'
|
||||
|
@ -36,7 +36,7 @@ function getUserHome() {
|
||||
|
||||
export class CliConfig extends CliConfigBase<ConfigInterface> {
|
||||
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.
|
||||
return (projectPath && _findUp(CLI_CONFIG_FILE_NAME, projectPath))
|
||||
|| (projectPath && _findUp(CLI_CONFIG_FILE_NAME_ALT, projectPath))
|
||||
|
@ -9,7 +9,8 @@
|
||||
},
|
||||
"keywords": [
|
||||
"angular",
|
||||
"angular-cli"
|
||||
"angular-cli",
|
||||
"Angular CLI"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -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
|
||||
// the actual published file.
|
||||
module.exports = require('../packages/@angular/cli/plugins/karma');
|
||||
|
Loading…
x
Reference in New Issue
Block a user