@jujulego/jill 2.1.0 → 2.1.2

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
@@ -10,13 +10,38 @@ Zero-config monorepo cli
10
10
 
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
15
  - `jill each` do the same as `run` but for a list of workspaces, optimizing builds. Supports the same filters as `list`.
16
+ - `jill tree` prints current workspace's local dependency tree
17
17
 
18
18
  It supports both `npm` and `yarn`.
19
19
 
20
+ ### Experimental features
21
+ - `jill group` same as `run` but allows to run multiple scripts in sequence or in parallel using the task syntax
22
+
23
+ #### Task syntax _(only supported by `jill group` command yet)_
24
+ Allows to instruct multiple tasks with the given orchestration. The orchetraction is given by the following operators:
25
+ - `->` in sequence
26
+ - `//` in parallel
27
+
28
+ ##### Examples:
29
+ The following will run scripts **taskA**, **taskB** and **taskC** in order, one after another.
30
+ ```shell
31
+ jill group 'taskA -> taskB -> taskC'
32
+ ```
33
+
34
+ The following will run scripts **taskA**, **taskB** and **taskC** in parallel.
35
+ ```shell
36
+ jill group 'taskA // taskB // taskC'
37
+ ```
38
+
39
+ And you can create more complex flows:
40
+ ```shell
41
+ jill group '(taskA // taskB) -> taskC'
42
+ ```
43
+ This will run **taskA** and **taskB** in parallel, and then **taskC** when both tasks are ended
44
+
20
45
  ## Installation
21
46
  Just install jill as a dev dependency:
22
47
  ```shell