Liking cljdoc? Tell your friends :D

automaton-build.project.dependencies

Managing project dependencies versions

Managing project dependencies versions
raw docstring

dependency-schemaclj

(dependency-schema)

Defines 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
Defines 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
raw docstring

exclude-depsclj

(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.
raw docstring

find-outdated-clj-depsclj

(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`
raw docstring

find-outdated-npm-depsclj

(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
raw docstring

hephaistox-pre-release?clj

(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
raw docstring

type-schemaclj

(type-schema)

Type of dependency registry

Type of dependency registry
raw docstring

update-dep!clj

(update-dep! dep)

Update single dep conforming to dependency-schema

Update single `dep` conforming to `dependency-schema`
raw docstring

update-deps!clj

(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.
raw docstring

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

× close