Imagine this, your team decides to split a monolith application into smaller packages, either in a monorepo or multi-repo, how do you promote standard scripts and ease of use when creating new packages?
Having a standard set of scripts for all the packages has its benefits:
- In multi-repo projects, CI/CD pipelines become very easy to create with templates; you can rely on them and use templates instead of hardcoding scripts/jobs.
- For Monorepos using Lerna, for example, you can safely run a standard script and know that every package is following that structure.
- It’s easy to create a new package, either copy-paste from another one, or create a package creator script. If this is easy to do, people will eventually do it more often. …