Liking cljdoc? Tell your friends :D

k16.kmono.core.deps


filter-package-aliasesclj

(filter-package-aliases globs packages)

Filter the given packages map by those that contain aliases described by at least one of the given given globs.

Returns a map with pkg-name as the key and the set of aliases from that package that matched the globs.

(filter-package-aliases {:package-a {}} [:*/test])
;; => {:package-a #{:test}}
Filter the given `packages` map by those that contain aliases described by at
least one of the given given `globs`.

Returns a map with pkg-name as the key and the set of aliases from that
package that matched the globs.

```clojure
(filter-package-aliases {:package-a {}} [:*/test])
;; => {:package-a #{:test}}
```
sourceraw docstring

generate-sdeps-aliasesclj

(generate-sdeps-aliases project-root packages)

Generate an -Sdeps compatible map containing aliases generated from various workspace sources.

This is the primary way of augmenting clojure with new classpath information.

Aliases are generated from:

  1. The set of packages in the workspace. These are added into an alias called :kmono/packages containing :extra-deps.
  2. All the aliases from all packages in the workspace are raised up and combined, scoping their alias names to the package name.
  3. The aliases from deps.local.edn in the project root.
Generate an `-Sdeps` compatible map containing aliases generated from various
workspace sources.

This is the primary way of augmenting clojure with new classpath information.

Aliases are generated from:

1) The set of packages in the workspace. These are added into an alias called
`:kmono/packages` containing `:extra-deps`.
2) All the aliases from all packages in the workspace are raised up and
combined, scoping their alias names to the package name.
3) The aliases from `deps.local.edn` in the project root.
sourceraw docstring

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

× close