Skip to content

Repository files navigation

ngx-nuts-and-bolts

CI Build and Deploy documentation

A collection of commonly used pieces of Angular-related code that we use everyday at Infinum.

Installation

ng add @infinum/ngx-nuts-and-bolts

For usage inside of the NX monorepo setup, you'll have to firstly install the package using package manager e.g. npm:

npm install @infinum/ngx-nuts-and-bolts

After that you should be able to call the angular schematic via the NX generator like so:

nx g @infinum/ngx-nuts-and-bolts:<name-of-the-schematic>

Local development

This workspace is connected to Nx Cloud for remote caching and distributed CI. Nx requires an access token whenever a cloud workspace is configured, but that token is only available in CI via the NX_CLOUD_ACCESS_TOKEN secret—not on developer machines.

To avoid authentication errors when running Nx commands locally, disable Nx Cloud for your shell session:

export NX_NO_CLOUD=true

Add the same line to your shell profile (e.g. ~/.zshrc) so it applies to every terminal. CI is unaffected; it continues to use Nx Cloud as configured in .github/workflows/ci.yml.

Available nuts and bolts

For a list of all available nuts and bolts and guidance on how to use them, please check out the documentation pages.

You can also look at some examples in Storybook.

Contributing

Please check the CONTRIBUTING.md document.

License

The MIT License

Credits

ngx-nuts-and-bolts is maintained and sponsored by Infinum.

About

A collection of commonly used pieces of Angular-related code that we use everyday at Infinum.

Topics

Resources

Stars

5 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages