Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With the current project configuration clojurescript is pulled in as a dependency by default into pure clojure projects #15

Open
imrekoszo opened this issue Nov 20, 2019 · 0 comments

Comments

@imrekoszo
Copy link

Take the following minimal deps.edn:

{:deps {org.clojure/clojure {:mvn/version "1.8.0"}
        traversy/traversy   {:mvn/version "0.5.0"}}}

Clojurescript will show up as a hard dependency despite it not even being referenced in any production code paths in traversy itself:

> clojure -Stree
org.clojure/clojure 1.8.0
traversy/traversy 0.5.0
  org.clojure/clojurescript 0.0-3308
    org.clojure/data.json 0.2.6
    org.clojure/google-closure-library 0.0-20150505-021ed5b3
      org.clojure/google-closure-library-third-party 0.0-20150505-021ed5b3
    org.mozilla/rhino 1.7R5
    com.google.javascript/closure-compiler v20150505
      com.google.javascript/closure-compiler-externs v20150505
      com.google.guava/guava 18.0
      args4j/args4j 2.0.26
      com.google.protobuf/protobuf-java 2.5.0
      com.google.code.findbugs/jsr305 1.3.9
      com.google.code.gson/gson 2.2.4
    org.clojure/tools.reader 0.9.2

It is possible I'm missing something here, nevertheless I am going to submit a pull request to try and address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant