shadcn-ui has a CLI that can be integrated into the ui package to streamline building components for it. One suggestion would be to init the ui package for insertion as well as add a general script to add components (also ingrated in the CLI).
For questions, read here about the shadcn-ui CLI.
Ps.: The only problem with including this CLI is that by default it will always create the components in a ui folder in the components folder and with the name of the components in dash-case.
I created a starter using another build system tool (nx), for two applications next, without the server part, with a ui library and etc, if you are interested and want to take a look, you can find it here.