Liking cljdoc? Tell your friends :D

automaton-build.project.impl.npm-deps


npm-dep->dependencyclj

(npm-dep->dependency dir [lib-name values])

Turns npm outdated result string line to a dependency conforming to dependency-schema Example line node_modules/sentry:@sentry/browser@7.119.0:@sentry/browser@8.26.0:@sentry/browser@8.26.0:clojure Which follows pattern path:current-package:wanted-version:latest-version:depended-by

Turns npm outdated result string line to a dependency conforming to `dependency-schema`
 Example line
node_modules/sentry:@sentry/browser@7.119.0:@sentry/browser@8.26.0:@sentry/browser@8.26.0:clojure
Which follows pattern path:current-package:wanted-version:latest-version:depended-by
raw docstring

outdated-npm-depsclj

(outdated-npm-deps dir)

Returns map with :deps and list of dependencies. In case of an error returns map with :err

Returns map with `:deps` and list of dependencies. In case of an error returns map with `:err`
raw docstring

update-dep!clj

(update-dep! {:keys [name version path] :as _dep})

Update dep

Update `dep`
raw docstring

update-npm-deps!clj

(update-npm-deps! dir deps)
(update-npm-deps! dir target-dir deps)

Update all deps in dir. Returns nil when successful otherwise a map with :error

Update all `deps` in `dir`. Returns nil when successful otherwise a map with `:error`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close