Shared library generator

This generator is responsible for generating shared libraries. These are the libraries that can be imported by any project in the monorepo.

You can run the shared library generator by executing the following command:

nx generate @microservice-stack/workspace:util-library-generator

Executing the command will start the interactive shell which will guide you through different options for the shared library generator. These options can also be added directly to the command by using the following flags:

  • --libraryName=<name> This flag sets the name of the library you wish to create

  • --dry-run This flag will run the generator without actually generating any files.

  • --no-interactive This flag will skip the interactive shell

Shared libraries will be created inside the libs/api/utils directory.

Last updated