Gene CLI Generators Cheatsheet
Cheating is allowed here 🤫
All of the generators used inside of a terminal are step-based to ease the way of generating them. In some, if you need to place something inside of a specific library, you don’t have to know its exact directory, there is a search functionality inside of the script.
Module Generator 🎁
nx g @brainly-gene/tools:moduleCore Module Generator 🎁
nx g @brainly-gene/tools:core-moduleNextJS App Generator 💻
nx g @brainly-gene/tools:nextjs-appLibrary Generator 📕
nx g @brainly-gene/tools:libraryService Generator
nx generate @brainly-gene/tools:serviceSubapp Generator
nx g @brainly-gene/tools:subappIf you have issues with jest tests failing such as SyntaxError: Cannot use import statement outside a module, check if your newly generated jest.config doesn’t have a line with transform. If so, remove it.
UI Library Generator 📙
nx g @brainly-gene/tools:components-libraryComponent Generator 🧩
nx g @brainly-gene/tools:componentAPI Route Generator 🚏
nx g @brainly-gene/tools:api-routeBFF App Generator
nx g @brainly-gene/tools:bff-app