I have a little update on this: I have integrated studio in our monorepo. You can run it there with:
npm run studio
That is in the root folder. If you are in sites/studio
run:
npm run start
like any site. (note that you need to have at least once run npm run kickstart
)
This studio setup is mostly — but not entirely — equivalent to the stand alone environment.
The main difference is how we manage the add new design flow.
In the stand-along studio, new designs get added to the local studio, and it combines all designs from the FreeSewing collection as well as your local designs.
In the monorepo, adding a new design adds it to the collection, and there is no concept of your own local designs.
Please note that under the hood, there’s a bunch of changes. We no longer use config/software
and instead rely on the designs’ about.json
file. The collection package, the useDesign
hook, and all other files that need to are also now auto-generated by npm run reconfigure
. Auto-generated files are also kept out of the repo.
The npm run add
script can also be used to add a new plugin.
Give that there’s a bunch of change, there may very well be rough edges. I also have no idea how this will behave on windows, and zero interest in finding out. But I welcome all feedback.
@wouter.vdub Having never used GitPod myself, I assumed it would just work because it is all git under the hood. Seems they do not support it, so that’s unfortunate.
I asked around a bit, and it seems this could be an alternative: https://coder.com/
I’m a little spread thin right now to look into it, but if you feel inclined, I would like to know whether this could be something that would bring you back to development nirvana.
Given that it is open source, we could potentially run our own FreeSewing instance. Perhaps not for everyone (because we’re not made of money) but you could certainly be one of the users.