underpin icon indicating copy to clipboard operation
underpin copied to clipboard

Upgrade Underpin to Support Mozart

Open alexstandiford opened this issue 2 years ago • 3 comments

Right now, Underpin has its own compiler package that works for Underpin, but it doesn't work for any external libraries used, such as [BerlinDB}(github.com/berlindb/core) or Background Processing. It would be better if Underpin could use the same compilation package as other WordPress-based composer packages use, Mozart.

In my brief time spent testing, I absolutely could not get it to work. Odds are pretty good this is because of the way that Underpin loads in its files, both in core and individual loaders.

I'd really like to not have to change how everything fundamentally loads if possible, but if that's necessary then I think it's a worthwhile endeavor.

alexstandiford avatar Jul 20 '21 18:07 alexstandiford

I have no clue myself, but I suggest you check Strauss instead of Mozart. Strauss is a fork of Mozart which is being actively developed, and its author is responsive, so you can possibly get help through him.

leoloso avatar Jul 24 '21 07:07 leoloso

I have no clue myself, but I suggest you check Strauss instead of Mozart. Strauss is a fork of Mozart which is being actively developed, and its author is responsive, so you can possibly get help through him.

I wouldn't mind if both were supported, really. I picked Mozart because some loaders extend other composer packages, and they all use Mozart. I'm sure that Strauss works too, though.

alexstandiford avatar Aug 03 '21 15:08 alexstandiford

This actually might work now that everything has been moved over to use PSR-4 inside of Underpin. Just needs someone to tinker and test it out.

alexstandiford avatar Nov 23 '21 17:11 alexstandiford