GitHub - angular/angular-cli: CLI tool for Angular
source link: https://github.com/angular/angular-cli
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Angular CLI
Development tools and libraries specialized for Angular
This is the home of the DevKit and the Angular CLI code. You can find the Angular CLI specific README here.
Quick Links
Gitter Contributing Angular CLIThe Goal of Angular CLI
The Angular CLI creates, manages, builds and test your Angular projects. It's built on top of the Angular DevKit.
The Goal of DevKit
DevKit's goal is to provide a large set of libraries that can be used to manage, develop, deploy and analyze your code.
Getting Started - Local Development
Installation
To get started locally, follow these instructions:
- If you haven't done it already, make a fork of this repo.
- Clone to your local computer using
git
. - Make sure that you have Node 10.9 or later installed. See instructions here.
- Make sure that you have
yarn
installed; see instructions here. - Run
yarn
(no arguments) from the root of your clone of this project. - Run
yarn link
to add all custom scripts we use to your global install.
Creating New Packages
Adding a package to this repository means running two separate commands:
schematics devkit:package PACKAGE_NAME
. This will update the.monorepo
file, and create the base files for the new package (package.json, src/index, etc).devkit-admin templates
. This will update the README and all other template files that might have changed when adding a new package.
For private packages, you will need to add a "private": true
key to your package.json manually.
This will require re-running the template admin script.
Packages
This is a monorepo which contains many tools and packages:
Tools
Project Package Version Links Angular CLI@angular/cli
Architect CLI
@angular-devkit/architect-cli
Schematics CLI
@angular-devkit/schematics-cli
Packages
Project Package Version Links Architect@angular-devkit/architect
Build Angular
@angular-devkit/build-angular
Build NgPackagr
@angular-devkit/build-ng-packagr
Build Optimizer
@angular-devkit/build-optimizer
Build Webpack
@angular-devkit/build-webpack
Core
@angular-devkit/core
Schematics
@angular-devkit/schematics
Schematics
Project Package Version Links Angular PWA Schematics@angular/pwa
Angular Schematics
@schematics/angular
Schematics Schematics
@schematics/schematics
Package Update Schematics
@schematics/update
Misc
Project Package Version Links Webpack Angular Plugin@ngtools/webpack
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK