(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
(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`
(update-dep! {:keys [name version path] :as _dep})
Update dep
Update `dep`
(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`
cljdoc builds & hosts documentation for Clojure/Script libraries
⌘+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
⌘+/ | Jump to the search field |