pelicanonical 2 hours ago
Features like pnpm's workspace catalog make life much easier when it comes to dependency management, and I want to take this even further.
monoswan allows you to lint & fix your entire monorepo to enforce standards across your package.json, tsconfig, and any arbitrary files (tsdown.config.ts, vite.config.ts, LICENSE, etc.). I include a few built-in rules, but you can easily write your own custom ones as well.
On top of that, monoswan also leverages these standards to let you easily create new packages in your monorepo. No more copying and pasting existing packages, instead you can run `monoswan create-package packages/my-new-api @myrepo/api node-service` to spin up a package that matches your exact `node-service` package configuration.
Would appreciate any feedback, and I hope you may find some use out of it. Contributions welcome!