Fork me on GitHub
#polylith
<
2023-03-28
>
Patrix08:03:12

I have no question in particular, just want to give a shoutout to @tengstrand, @furkan3ayraktar , and whoever else brought us polylith 🙂 And @seancorfield for the great discussions on clojureverse, blog posts etc about using it. Just last week I converted a holy-lambda project to use polylith and right when that was done, I had to start creating more services that re-used some of these components and made new ones.. That vindicated my choice to use polylith 🙂 so thanks!

🙌 2
polylith 14
tengstrand09:03:58

That makes me happy to hear!

thanks3 2
Patrix08:03:27

Actually now I do have a question.. I see that @david043 has created a python version of it.. Is anyone aware of a similar tool for nodejs or typescript projects? Some coworkers suddenly got interested in this...

😍 2
David Vujic09:03:58

I looked around a while ago and found a blog post about structuring TS code in Deno. But I think it had some things left to solve - since it relied on relative imports (and no tooling to package it into separate artifacts without the need to include the entire monorepo). In the Python version of Polylith, bricks are namespace packages - but I have learned that it is sometimes difficult to explain that, because the idea of putting shared code into isolated libraries is quite widespread. My guess it is the same thing in the JS/TS communities - that’s what tools like Lerna and such does (I think): monorepos with shared code in versioned local libraries.

👍 2
Patrix09:03:41

TIL about Lerna... https://lerna.js.org thanks, will have a look at that and ponder your feedback (I'm not a js/ts dev, and sadly I can't convert everyone in my company to clj either, so hopefully this can help)

👍 2
alpox19:03:05

In that space there is also: Simple monorepo management: • pnpm/npm/yarn workspaces Extended: • https://nx.dev/https://turbo.build/repo (newcomer) • https://bit.dev/ (with online registry)

👀 2