This Project is Made Possible thanks to
This Repo is a mono repo containing many utility packages. please look at the readme.md of each package for more info.
Before starting we need to install some dependencies
- Node.js version 18
- Begin the long and arduous process of installing everything
npm install
In this repo we use generators to add libraries. here are some examples.
-
A publishable typescript library
yarn nx g @nx/js:lib --bundler=swc --unitTestRunner=jest library-name --directory=library-dir --importPath=@benzinga/lib-import-path --publishable
-
A non-publishable typescript library
yarn nx g @nx/js:lib --bundler=none --unitTestRunner=jest library-name --directory=library-dir --importPath=@benzinga/lib-import-path
-
A publishable react Library
yarn nx g @nx/react:lib library-name --directory=library-dir --importPath=@benzinga/lib-import-path --compiler=swc --bundler=vite --publishable
-
A non-publishable react Library
yarn nx g @nx/react:lib library-name --directory=library-dir --importPath=@benzinga/lib-import-path --compiler=swc --bundler=none
-
if you use another command please add it here.