bgotink / yarn-plugin-angular

yarn 2 (aka berry) plugin to facilitate angular projects
MIT License
10 stars 1 forks source link

Yarn 2 angular plugin

This repository contains a yarn 2 (aka berry) plugin for angular development.

Install

yarn plugin import https://github.com/bgotink/yarn-plugin-angular/raw/latest/bin/%40yarnpkg/plugin-angular.js

Angular CLI in monorepositories

This plugin makes the Angular CLI available in your entire monorepository. Once installed in the root package.json file, running ng will be available everywhere:

Interactive update

This plugins adds a powerful interactive update command. Try it out using yarn ng update-interactive.

Some of the features of this command:

Angular in yarn's Plug-n-Play mode

This plugin's PnP support is experimental. It should work for angular 8.3, 9, 10, and 11, but only parts of angular have been tested so far. If you're not using PnP, everything should work as is.

Contributing

When making changes, use yarn build to build the plugin. This'll create two files.

The patchfiles are zipped and included in the src/patches folder. Use yarn generate-patches before yarn build to update these zipped patches.

License

See LICENSE.md