cljsjs

Drew Verlee 2022-06-21T15:00:52.495489Z

How do i view which version of the npm package the cljsjs version is using? I had thought cljsjs libraries would try to use the same version number but that doesn't seem to be the case.

Drew Verlee 2022-06-21T15:03:09.366379Z

For instance my version of cljsjs/clipboard is 1.5.9-0 and now sense were migrating to shadow-cljs i want to use the equivalent original package version that this cljsjs wrapper referenced. I'm looking at the github repo for the cljsjs package and it's not easy to search because all cljsjs packages are bundled together.

Drew Verlee 2022-06-21T15:16:35.540439Z

yea, it seems you just have to search the git history for the build.boot file to see how versions matched.

Drew Verlee 2022-06-21T15:34:15.121019Z

it seems there was a convention around appending a suffix to the npm package versions like "-<N>" to make the cljsjs eqv version, where N was some number. no idea why.