A collection of commonly used pieces of Angular-related code that we use everyday at Infinum.
ng add @infinum/ngx-nuts-and-boltsFor 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-boltsAfter 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>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=trueAdd 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.
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.
Please check the CONTRIBUTING.md document.
The MIT License
ngx-nuts-and-bolts is maintained and sponsored by Infinum.