Leosvel Pérez Espinosa 5853d83fb1
cleanup(angular): remove deprecated utilities related to the angular devkit (#7386)
BREAKING CHANGE:
All the utilities located at `@nrwl/angular/src/utils/ast-utils` were removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilities `runSchematic` and `runExternalSchematic` located in `@nrwl/angular/src/utils/testing` were removed. These utilities were not part of the package public API and as such, they were not recommended to be used and were likely to be changed or removed.
2021-10-18 12:57:56 -05:00
..
2020-12-02 14:07:53 -05:00
2021-09-20 16:39:13 -04:00

Nx - Smart, Extensible Build Framework

{{links}}


Angular Plugin for Nx

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications, and libraries within an Nx workspace. It provides:

  • Integration with libraries such as Jest, Cypress, Karma, Protractor, and Storybook.
  • Helper services, and functions to use along with NgRx libraries.
  • Scaffolding for upgrading AngularJS applications.
  • Scaffolding for creating buildable libraries that can be published to npm.
  • Utilities for automatic workspace refactoring.

Adding the Angular plugin

Adding the Angular plugin to a workspace can be done with the following:

#yarn
yarn add @nrwl/angular
#npm
npm install @nrwl/angular

For more information about the @nrwl/angular package take a look at the Angular Plugin Overview.

{{what-is-nx}}

{{getting-started}}


✔ Workspace name (e.g., org name)     · happyorg
✔ What to create in the new workspace · angular
✔ Application name                    · my app
✔ Default stylesheet format           · css

Serving Application

  • Run nx serve myapp to serve the newly generated application!
  • Run nx test myapp to test it.
  • Run nx e2e myapp-e2e to run e2e tests for it.

You can also use ng instead of nx:

  • Run ng serve myapp to serve the newly generated application!
  • Run ng test myapp to test it.
  • Run ng e2e myapp-e2e to run e2e tests for it.

Quick Start Videos

Nx - Quick Start Videos

{{resources}}