polylith 2024-07-11

Is it possible to add support for mulitple top-ns? My reason is that I want to create a project starter kit as a polylith workspace with "batteries included" for web dev, and I'd like the components provided by the starter project to have their own namespace, and the user to be able to subsequently create components with their own namespace.

Why not have the starter kit use the final, intended top-ns when it is generated? clj-new has a Polylith template that supports that, and create workspace in Polylith itself also lets you set the top-ns in the generated project.

Because I'm planning to add a cli tool that bring said components or maybe updates them.

down the road

The list of SNAPSHOT https://github.com/polyfy/polylith/releases is long and makes it hard to find the stable releases (e.g. 0.2.19). My suggestion is that we continuously delete snapshot versions, and only keep the latest 10 (or 20?) versions. Right now that would mean we could delete all 19 0.2.19-SNAPSHOT versions, and around 20 0.2.20-SNAPSHOT versions (they are all older than two weeks). What do you think?

➕ 1

Now I only kept the latest 0.2.20-SNAPSHOT version (and the stable releases of course) and the https://github.com/polyfy/polylith/releases is much cleaner. I think that should work fine, because it's only the latest snapshot release that is downloaded anyway, and you shouldn't use 0.2.19-SNAPSHOT releases, but 0.2.19. If a bug is introduced by mistake, then people can always use a SHA, or use the latest stable version.

There will be no more functionality added to 0.2.20-SNAPSHOT so please try it out! My current plan is to release 0.2.20 next week, and then focus on cljs support.

🔥 1
🎉 3