-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the requirement for
:kmono/package
It's currently required for all packages that want to participate in the workspace to contain a `:kmono/package` key with at minimum an empty map. This is a lot of additional unnecessary boilerplate. This commit makes the key optional and therefore all packages found will be automatically participating. To exclude a package from the workspace you can use the new `:excluded` key: ```clojure {:kmono/package {:excluded true}} ```
- Loading branch information
1 parent
da78997
commit 295ec1d
Showing
19 changed files
with
49 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{:kmono/package {} | ||
|
||
:aliases {:test {:extra-paths ["test"] | ||
{:aliases {:test {:extra-paths ["test"] | ||
:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} | ||
:main-opts ["-m" "kaocha.runner" "-c" "../../tests.edn"]}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{:kmono/package {} | ||
|
||
:kmono/description "Terminal logging API's used by kmono" | ||
{:kmono/description "Terminal logging API's used by kmono" | ||
|
||
:deps {jansi-clj/jansi-clj {:mvn/version "1.0.3"}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{:paths ["src" "resources"] | ||
{:kmono/private true | ||
|
||
:paths ["src" "resources"] | ||
|
||
:deps {babashka/fs {:mvn/version "0.5.22"} | ||
babashka/process {:mvn/version "0.5.22"}}} |
4 changes: 1 addition & 3 deletions
4
packages/kmono-test/resources/kmono/templates/monorepo/packages/a/deps.edn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
{:kmono/package {} | ||
|
||
:aliases {:test {:extra-paths ["test"] | ||
{:aliases {:test {:extra-paths ["test"] | ||
:extra-deps {local/excluded {:local/root "../excluded"}}}}} |
4 changes: 1 addition & 3 deletions
4
packages/kmono-test/resources/kmono/templates/monorepo/packages/b/deps.edn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{:kmono/package {} | ||
|
||
:deps {org.clojure/clojure {:mvn/version "1.12.0"} | ||
{:deps {org.clojure/clojure {:mvn/version "1.12.0"} | ||
local/excluded {:local/root "../excluded"} | ||
com.kepler16/a {:local/root "../a"}}} |
2 changes: 1 addition & 1 deletion
2
packages/kmono-test/resources/kmono/templates/monorepo/packages/excluded/deps.edn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{} | ||
{:kmono/package {:excluded true}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters