@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 +28 -3
- package/dist/322.js +9 -0
- package/dist/{719.js.LICENSE.txt → 322.js.LICENSE.txt} +0 -0
- package/dist/322.js.map +1 -0
- package/dist/57.js +2 -0
- package/dist/57.js.map +1 -0
- package/dist/commands/each.d.ts +4 -7
- package/dist/commands/group.d.ts +4 -7
- package/dist/commands/run.d.ts +4 -8
- package/dist/commons/spinner.service.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/modules/command.d.ts +1 -1
- package/dist/modules/ink-command.d.ts +2 -2
- package/dist/modules/task-command.d.ts +15 -0
- package/dist/project/project.d.ts +1 -1
- package/dist/project/workspace.d.ts +6 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/json.d.ts +2 -0
- package/package.json +17 -18
- package/dist/554.js +0 -2
- package/dist/554.js.map +0 -1
- package/dist/719.js +0 -9
- package/dist/719.js.map +0 -1
package/README.md
CHANGED
|
@@ -5,18 +5,43 @@
|
|
|
5
5
|
[](https://sonarcloud.io/dashboard?id=jujulego_jill)
|
|
6
6
|
[](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
|
|
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
|