@jujulego/jill 2.2.0-alpha.2 → 2.2.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,18 +5,43 @@
5
5
  [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jujulego_jill&metric=alert_status)](https://sonarcloud.io/dashboard?id=jujulego_jill)
6
6
  [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=jujulego_jill&metric=coverage)](https://sonarcloud.io/dashboard?id=jujulego_jill)
7
7
 
8
- ## Description
9
8
  Zero-config monorepo cli
10
9
 
10
+ ## Description
11
11
  Jill uses the `workspaces` attribute of your root package.json manifest to build your workspaces dependency tree.
12
12
  That done it can offer you various utilities:
13
- - `jill info` prints data about the current workspace, including name, version and local dependency tree
14
13
  - `jill list` prints a list of all your workspaces, with many useful filters
15
14
  - `jill run` build all workspace's local dependencies before run a given script
16
- - `jill each` do the same as `run` but for a list of workspaces, optimizing builds. Supports the same filters as `list`.
15
+ - `jill each` do the same as `run` but for a list of workspaces, optimizing builds.<br />
16
+ Supports the same filters as `list`.
17
+ - `jill tree` prints current workspace's local dependency tree
17
18
 
18
19
  It supports both `npm` and `yarn`.
19
20
 
21
+ ### Experimental features
22
+ - `jill group` same as `run` but allows to run multiple scripts in sequence or in parallel using the task syntax
23
+
24
+ #### Task syntax _(only supported by `jill group` command yet)_
25
+ Allows to instruct multiple tasks with the given orchestration. The orchetraction is given by the following operators:
26
+ - `->` in sequence
27
+ - `//` in parallel
28
+
29
+ ##### Examples:
30
+ - This will run scripts **taskA**, **taskB** and **taskC** in order, one after another.
31
+ ```shell
32
+ jill group 'taskA -> taskB -> taskC'
33
+ ```
34
+
35
+ - This will run scripts **taskA**, **taskB** and **taskC** in parallel.
36
+ ```shell
37
+ jill group 'taskA // taskB // taskC'
38
+ ```
39
+
40
+ - And you can create more complex flows: this will run **taskA** and **taskB** in parallel, and then **taskC** when both tasks are ended
41
+ ```shell
42
+ jill group '(taskA // taskB) -> taskC'
43
+ ```
44
+
20
45
  ## Installation
21
46
  Just install jill as a dev dependency:
22
47
  ```shell