This is the home of the DevKit and the Angular CLI code. You can find the Angular CLI specific README here.
Gitter | Contributing | Angular CLI |
---|
The Angular CLI creates, manages, builds and test your Angular projects. It's built on top of the Angular DevKit.
DevKit's goal is to provide a large set of libraries that can be used to manage, develop, deploy and analyze your code.
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. The Angular CLI requires Node 8, but development requires Node 10.
- 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.
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.
This is a monorepo which contains many tools and packages:
Project | Package | Version | Links |
---|---|---|---|
Angular CLI | @angular/cli |
||
Schematics CLI | @angular-devkit/schematics-cli |
Project | Package | Version | Links |
---|---|---|---|
Architect | @angular-devkit/architect |
||
Architect CLI | @angular-devkit/architect-cli |
||
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 |
Project | Package | Version | Links |
---|---|---|---|
Angular PWA Schematics | @angular/pwa |
||
Angular Schematics | @schematics/angular |
||
Schematics Schematics | @schematics/schematics |
||
Package Update Schematics | @schematics/update |
Project | Package | Version | Links |
---|---|---|---|
Webpack Angular Plugin | @ngtools/webpack |