game3 / client / deps.edn
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{;; Exact pins — the Closure compiler version rides on these two (the same
 ;; known-good pair as the kits); half of the deterministic-build story.
 ;;
 ;; Relative paths only — never :local/root, never an absolute path: the idpat
 ;; publish gate scans every decompressed git object for local path fragments.
 ;;
 ;; OUR OWN KITS ARE CLOJURESCRIPT LIBRARIES AND ARE CONSUMED AS SOURCE: their
 ;; src/ goes on this classpath and is compiled into this build, one copy,
 ;; DCE'd against what the game actually calls. Foreign JS/native packages —
 ;; the libp2p family, @noble/curves — stay string requires: that is ordinary
 ;; interop, not the hybrid. The npm sha pins in package.json remain the ONE
 ;; cross-repo dependency mechanism (dev/docs/CLJS.md); these paths only change
 ;; how the pinned tree is READ — as sources rather than as a compiled dist.
 ;;
 ;; BOTH kits must convert together, and that is not a preference. social-kit's
 ;; dist COMPILES id-kit IN as of 49afeb8, so a build that source-consumes
 ;; id-kit while still importing social-kit's dist carries id-kit twice — its
 ;; own compiled copy plus the one baked into that dist. One path each gives
 ;; exactly one.
 ;;
 ;; social-kit's src also requires ardegazu.id.* directly, so id-kit's path is
 ;; load-bearing even where this app touches id-kit itself: classpath
 ;; consumption is TRANSITIVE.
 ;;
 ;; The requires bind DEFINING namespaces — ardegazu.id.{bridge-client,
 ;; identity,profile}, ardegazu.social.{app-boot,gamelb,join} — never
 ;; `ardegazu.id.index` or `ardegazu.social.index`, which are re-export shims
 ;; for the ESM surface and have no business on a classpath consumer's
 ;; requires.
 ;;
 ;; The lazy :social module boundary survives this unchanged: ardegazu.social's
 ;; libp2p-bearing namespace is `net`, nothing else in the kit requires it, and
 ;; this app never does — so no libp2p arrives by way of the kit. `join`
 ;; requires only `text`, which is why the first-paint chips stay lean.
 :paths ["src"
         "node_modules/ardegazu-id-kit/src"
         "node_modules/ardegazu-social-kit/src"]
 :deps {org.clojure/clojurescript {:mvn/version "1.12.134"}
        thheller/shadow-cljs {:mvn/version "3.3.6"}}
 :aliases
 {:dev {:extra-deps {cider/cider-nrepl {:mvn/version "0.59.0"}}}}}

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/game3.git