This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-20
Channels
- # admin-announcements (1)
- # announcements (1)
- # beginners (115)
- # calva (31)
- # cider (25)
- # clj-kondo (47)
- # cljdoc (23)
- # cljs-dev (5)
- # clojars (1)
- # clojure (60)
- # clojure-australia (1)
- # clojure-europe (23)
- # clojure-nl (3)
- # clojure-norway (2)
- # clojure-spec (3)
- # clojure-uk (18)
- # clojurescript (49)
- # community-development (1)
- # cursive (4)
- # datahike (2)
- # datascript (3)
- # datomic (36)
- # deps-new (2)
- # emacs (2)
- # events (9)
- # fulcro (6)
- # graphql (2)
- # gratitude (13)
- # holy-lambda (1)
- # introduce-yourself (10)
- # macro (2)
- # malli (5)
- # meander (9)
- # news-and-articles (5)
- # nextjournal (1)
- # off-topic (32)
- # pathom (17)
- # pedestal (13)
- # polylith (4)
- # protojure (4)
- # reagent (4)
- # sci (27)
- # shadow-cljs (2)
- # show-and-tell (2)
- # specter (3)
- # tools-deps (7)
- # xtdb (16)
I noticed that when running shadow-cljs pom
, it doesn't populate paths based on deps.edn. Is something wrong with this config?
deps.edn:
{:paths
["src/main"]
:aliases
{:dev
{:extra-paths ["src/dev"]
:extra-deps {org.clojure/clojure {:mvn/version "1.10.3"}
org.clojure/clojurescript {:mvn/version "1.10.879"}
thheller/shadow-cljs {:mvn/version "2.15.4"}}}
:test
{:extra-paths ["src/test"]}}}
shadow-cljs.edn:
{:deps
{:aliases [:dev :test]}
:builds
{:script {:target :node-script
:main example.core/-main
:output-to "lib/script.js"}}}
The pom command populates paths to pom.xml only if I add :source-paths
to shadow-cljs.edn. Funny thing, because when I run watch command, there is a warning that these src paths are ignored, but for the generation of pom.xml it looks there is no other way but to duplicate these.@grzegorz.rynkowski pom
is a command that only works when :source-paths
and :dependencies
are managed by shadow-cljs.edn
ONLY. if you are using deps.edn
use clj -Spom
(with aliases if you need)