Non esm/cjs builds for Rails?
I am attempting to upgrade the open source Ruby on Rails project Quepid that I steward from tether-shepherd to shepherd.js. One thing I've noticed is that my AI tooling keeps referencing older versions of Shepherd.js, either 8 or 10... I then dug into doing the upgrade by hand and installed the latest and ran into difficulities..
https://github.com/o19s/quepid/blob/main/package.json#L40 is the version of tether-shepherd that I am using.
I am expecting to load a shepherd.js type file, and in version 8 I see: node_modules/shepherd.js/dist/js/shepherd.min.js and my Rails app compiles and starts up.
It feels not good to be attempting to upgrade, and only get to versions 8 or 10, and not to the latest. Any suggestions?
Hi @epugh, thanks for reaching out. I think you would either want the ESM or CJS versions, depending on your build tooling. ESM is the most modern format, and most npm packages are slowly converting to ESM only, so I would try to use that one, if I were you, but if that one doesn't work, you can try the CJS one as well.