Detailed fully featured template for long-term projects
MIT License
Project is in early development phase and contains some dirty moments
Visit our documentation to get detailed information and see like-a-real-world example of apps/docs in one đź‘Ź
corepack enable
yarn
Global tsconfig.base.json is a well-designed configuration preset with strict rules and monorepo packages paths. It should be used in all modules in workspace for consistency purpose. Of course, you can reconfigure it as you wish :)
It sounds not so important, but it changes the way you think about your code and significantly boosts your productivity in certain cases (it literally could be 1 day vs 30 minutes)
Unfortunately, we still can't provide better way then just copy-paste one of libraries.
Help wanted If you know really well worked way to generate libs with NX - let me know.
By default, unit tests is powered by Vitest,
in our root package.json already added vite
and vite-tsconfig-paths
,
so you don't need to add them in every package.
So, if you want to add unit tests:
yarn add -D vitest
in target library folder or yarn workspace @my-org/NAME add -D vitest
anywhere elsevite.config.ts
- you can take configuration in local "std" library"test": "vitest run"
to your library package.json
Of course, you can change choose jest
or something else instead of vitest
if you want :)
In all packages we use TailwindCSS,
This command will show a graph of the dependencies and tasks.
yarn nx graph
tsconfig.base.json