19.2.2 • Published 4 months ago

angular-extended-builder v19.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Angular Extended Builder

Package is forked/copied and heavily inspired by https://github.com/just-jeb/angular-builders

I just build this package to provide/implement a more modern base for https://github.com/just-jeb/angular-builders and to extend it to my needs wherever I need to.

!CAUTION I use this project for my needs and my companies Angular projects, it does not guarantee to work with your project nor do I want to implement edge cases. Please refer to angular-builders if you need that type of stability.

Usage

  1. Install library
  2. Replace @angular/build in angular.json's build and serve with this library name
  3. Replace $schema with ./node_modules/angular-extended-builder/dist/schema.json
  4. Run and customize

Builders

NameOptions
applicationschema.json
dev-serverschema.json

How to

Esbuild Plugins

Add a plugins section in your angular.json at projects.<>.architect.build.options and add an array of relative file paths to your ESM esbuild Plugins. Examples can be found here: https://github.com/muuvmuuv/angular-extended-builders/tree/main/projects/app/plugins

  • Define plugin to define environment variables
  • Graphql compatible Angular plugin to load your .gql files

Index HTML Transformer

Add a indexHtmlTransformer section in your angular.json at projects.<>.architect.build.options and add the relative file path to your ESM script. An example can be found here: https://github.com/muuvmuuv/angular-extended-builders/tree/main/projects/app

Versioning

The major and minor version of this library will always be aligned with the supported Angular version to provide better type compatibility of underlying peer dependencies. Publishing fixes and patches will only effect the libs patch identifier. Major and minor releases will only be available once a Angular version has been published. During next, rc and beta releases, an additional number will be prepended instead.

19.2.1

4 months ago

19.2.2

4 months ago

19.2.0

5 months ago

19.1.9

5 months ago

19.1.8

5 months ago

19.1.6

5 months ago

19.1.7

5 months ago

19.1.4

5 months ago

19.1.1

6 months ago

19.0.4

7 months ago

19.0.3

7 months ago

19.0.1

8 months ago

19.0.0

8 months ago

19.0.0-rc.2

8 months ago

19.0.0-rc.3

8 months ago

19.0.0-rc.0

8 months ago

19.0.0-next.13.1

9 months ago

19.0.0-next.13

9 months ago