This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-27
Channels
- # announcements (3)
- # babashka (16)
- # beginners (177)
- # calva (102)
- # cider (2)
- # clj-kondo (12)
- # clojars (10)
- # clojure (91)
- # clojure-argentina (3)
- # clojure-australia (5)
- # clojure-europe (16)
- # clojure-nl (1)
- # clojure-uk (10)
- # clojurescript (73)
- # community-development (8)
- # cursive (9)
- # depstar (7)
- # fulcro (5)
- # helix (1)
- # introduce-yourself (1)
- # jobs-discuss (18)
- # lsp (32)
- # luminus (1)
- # malli (2)
- # music (4)
- # off-topic (20)
- # pathom (19)
- # polylith (15)
- # re-frame (4)
- # reagent (6)
- # ring (13)
- # sci (36)
- # shadow-cljs (7)
- # spacemacs (4)
- # sql (3)
- # tools-deps (112)
- # vim (21)
Hello
I started a library that allow you to run npm install
without need a node
runtime or npm
installed.
It's a pure-clojure implementation of an interpreter" of package-lock.json
that downloads packages from npm registry and untar it into node_modules.
Easy as run (npm/install {:path "."})
, or with new -T
, clj -T:npm install :path '"."'
For me, the advantage of this project is allow me to create advanced compiled cljs without need a nodejs runtime inside my docker image.
I would like to know from other cljs developers if this is an interesting lib before continue to work on this project.
https://github.com/souenzzo/tools.npm
@souenzzo you should probably make that work based on either package.json
or some other kind of config (eg. deps.edn). how would you get a package-lock.json
without having npm or node installed in the first place? 😛
Well, the idea is that you will have a commited package-lock.json In your local/dev machine you will still use node/npm/etc it's just to simplify the deploy pipeline