Managing project dependencies versions
Managing project dependencies versions
(dependency-schema)
Defines required keys for dependency update. Requires:
type
defined in type-schemafile
path to a file to updatename
a name of the dependency to updateversion
a new version to setcurrent-version
current versionDefines required keys for dependency update. Requires: * `type` defined in type-schema * `file` path to a file to update * `name` a name of the dependency to update * `version` a new version to set * `current-version` current version
(exclude-deps deps excluded-deps)
Returns deps
without those that name is in excluded-libs-names
and hephaistox deps pre-release versions.
Returns `deps` without those that name is in `excluded-libs-names` and hephaistox deps pre-release versions.
(find-outdated-clj-deps app-dir)
Return map with :deps
key and a list of outdated maven dependencies in app-dir
that are outdated.
In case of an error returns map with :err
and :msg
Return map with `:deps` key and a list of outdated maven dependencies in `app-dir` that are outdated. In case of an error returns map with `:err` and `:msg`
(find-outdated-npm-deps app-dir)
Returns a map with :deps
key and a list of outdated npm dependencies. In case of an error returns map with :err
Using npm for versioning. Npm versioning cheatsheet https://gist.github.com/jonlabelle/706b28d50ba75bf81d40782aa3c84b3e
Returns a map with `:deps` key and a list of outdated npm dependencies. In case of an error returns map with `:err` Using npm for versioning. Npm versioning cheatsheet https://gist.github.com/jonlabelle/706b28d50ba75bf81d40782aa3c84b3e
(hephaistox-pre-release? dep)
Hardcoded check for hephaistox dependency. In future this could be replaced with a regex check defined based on project.edn excluded dependency
Hardcoded check for hephaistox dependency. In future this could be replaced with a regex check defined based on project.edn excluded dependency
(update-dep! dep)
Update single dep
conforming to dependency-schema
Update single `dep` conforming to `dependency-schema`
(update-deps! dir deps)
(update-deps! dir target-dir deps)
Update all deps
in dir
(deps
should conform to dependency-schema
).
Similar to update-dep!
fn, but more performant in case of multiple deps to update.
Update all `deps` in `dir` (`deps` should conform to `dependency-schema`). Similar to `update-dep!` fn, but more performant in case of multiple deps to update.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close