Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Looking for a way to configure, build & release a CLJS library that depends on another NPM library so that the user of the CLJS library doesn't have to specify NPM dependencies in package.json but rather would get them automatically
Original question asked in Clojurians Slack https://clojurians.slack.com/archives/C03S1L9DN/p1654078943735149
This branch (pull request) has made the following changes:
deps.edn
withdeps.cljs
Currently the build
npx shadow-cljs compile test-node
fails withWhich can be gotten around by adding
shadow-cljs
to eitherpackage.json
ordeps.edn
But then the
deps.cljs
never seems to be interpreted and as there is notest_trans_dep
NPM library (node_modules
stays empty), the following error is thrown after compilation when runingnode out/node-tests.js