Fork me on GitHub
#polylith
<
2022-05-12
>
Tiago Dall'Oca13:05:00

hello there! I'm new here

Tiago Dall'Oca13:05:32

are there examples of setting up a polylith-like project with shadow-cljs?

domparry13:05:06

Polylith doesn’t have any support for front end at the moment.

domparry13:05:00

there have been a few attempts to include it, some posted to this #

Tiago Dall'Oca13:05:40

what about using just the core idea?

Tiago Dall'Oca13:05:26

like, composable packages

domparry13:05:35

I’m sure that could be done.

Tiago Dall'Oca13:05:42

did any one tried that with cljs?

domparry13:05:48

not that I know of

domparry13:05:01

But I can’t think of why not

domparry13:05:39

The tools won’t support it, but the tool is really just a nice to have for the concept.

Tiago Dall'Oca13:05:59

I'll try by myself and see where I can get

domparry13:05:20

Awesome. Please share if you have some success.

Teemu Kaukoranta14:05:43

what are you trying to achieve? Code sharing between multiple frontends? I think there's easier ways to do that

Tiago Dall'Oca14:05:58

my use case is very specific and not actually frontend

Tiago Dall'Oca14:05:02

more like nodejs

Teemu Kaukoranta14:05:27

I see, silly of me to immediately assume cljs = frontend 🙂

domparry14:05:30

I assumed the same thing!

wagjo10:05:33

We're slowly porting our project to polylith and we use shadow-cljs. Currently we have all frontend related code in the project folder. We also run app from the project folder, so it's the working directory for most of our scripts related to the app, and contains all the compiled frontend files too.