automaton-build.project.dependencies
Managing project dependencies versions
dependency-schema
(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
exclude-deps
(exclude-deps deps excluded-deps)
Returns deps
without those that name is in excluded-libs-names
and hephaistox deps pre-release versions.
find-outdated-clj-deps
(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
find-outdated-npm-deps
(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
hephaistox-pre-release?
(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
type-schema
(type-schema)
Type of dependency registry
update-dep!
(update-dep! dep)
Update single dep
conforming to dependency-schema
update-deps!
(update-deps! dir target-dir deps)
(update-deps! 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.