Thinking out loud. I lack some way to use Clojure dependencies with Joyride. I started to think that if we add .joyride/node_modules to the class path, than people could package Clojure dependencies in npm modules and we could rely on npm for downloading. Is that a really bad idea, or just slightly bad?
it's not unreasonable I think. I've done a similar thing for squint
Can you describe what you did for squint?
https://www.npmjs.com/package/@squint-cljs/macros?activeTab=readme
you add this project to npm and then in squint.edn you add :paths ["node_modules/..."]
kind of a hack
I kinda like it.
This project uses it: https://github.com/nextjournal/clojure-mode It compiles both with CLJS and squint
squint compilation is used to distribute the project on npm for JS users