@jujulego/jill 2.4.0-alpha.3 → 2.4.0-alpha.5
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 +3 -3
- package/bin/jill.js +3 -0
- package/dist/commands/each.d.ts +1 -0
- package/dist/commands/list.d.ts +14 -5
- package/dist/core.plugin-ED-2XO_T.js +630 -0
- package/dist/core.plugin-ED-2XO_T.js.map +1 -0
- package/dist/index.js +34 -0
- package/dist/index.js.map +1 -0
- package/dist/ink-command-HSaTNbaX.js +1177 -0
- package/dist/ink-command-HSaTNbaX.js.map +1 -0
- package/dist/jill.application-nR6EmV7y.js +279 -0
- package/dist/jill.application-nR6EmV7y.js.map +1 -0
- package/dist/main.js +45 -0
- package/dist/main.js.map +1 -0
- package/dist/project/project.d.ts +2 -0
- package/dist/tasks/task-expr.service.d.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/workspace-tree-DEg4wm69.js +1161 -0
- package/dist/workspace-tree-DEg4wm69.js.map +1 -0
- package/package.json +25 -31
- package/bin/jill.mjs +0 -3
- package/dist/489.mjs +0 -2
- package/dist/489.mjs.map +0 -1
- package/dist/71.mjs +0 -2
- package/dist/71.mjs.map +0 -1
- package/dist/828.mjs +0 -2
- package/dist/828.mjs.map +0 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +0 -1
- package/dist/main.mjs +0 -2
- package/dist/main.mjs.map +0 -1
- package/dist/runtime.mjs +0 -2
- package/dist/runtime.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -29,14 +29,14 @@ This feature can be disabled using the `--no-hooks` option: `jill run --no-hooks
|
|
|
29
29
|
|
|
30
30
|
#### Task syntax _(only supported by `jill group` command yet)_
|
|
31
31
|
Allows to instruct multiple tasks with the given orchestration. The orchestration is given by the following operators:
|
|
32
|
-
-
|
|
32
|
+
- `&&` in sequence
|
|
33
33
|
- `||` fallbacks
|
|
34
34
|
- `//` in parallel
|
|
35
35
|
|
|
36
36
|
##### Examples:
|
|
37
37
|
- This will run scripts **taskA**, **taskB** and **taskC** in order, one after another.
|
|
38
38
|
```shell
|
|
39
|
-
jill group 'taskA
|
|
39
|
+
jill group 'taskA && taskB && taskC'
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
- This will run first **taskA**, if it fails it will run **taskB**, then **taskC** in order, until one succeed.
|
|
@@ -51,7 +51,7 @@ Allows to instruct multiple tasks with the given orchestration. The orchestratio
|
|
|
51
51
|
|
|
52
52
|
- And you can create more complex flows: this will run **taskA** and **taskB** in parallel, and then **taskC** when both tasks are ended
|
|
53
53
|
```shell
|
|
54
|
-
jill group '(taskA // taskB)
|
|
54
|
+
jill group '(taskA // taskB) && taskC'
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
## Installation
|
package/bin/jill.js
ADDED
package/dist/commands/each.d.ts
CHANGED
package/dist/commands/list.d.ts
CHANGED
|
@@ -1,21 +1,30 @@
|
|
|
1
|
+
import { Logger } from '@jujulego/logger';
|
|
1
2
|
import { type ArgumentsCamelCase, type Argv } from 'yargs';
|
|
2
3
|
import { InkCommand } from '@/src/modules/ink-command.tsx';
|
|
3
4
|
import { type Project } from '@/src/project/project.ts';
|
|
4
5
|
export type Attribute = 'name' | 'version' | 'root' | 'slug';
|
|
5
6
|
export type Data = Partial<Record<Attribute, string>>;
|
|
6
|
-
export
|
|
7
|
+
export type Order = 'asc' | 'desc';
|
|
8
|
+
export interface ListCommandArgs {
|
|
7
9
|
private?: boolean;
|
|
8
10
|
'with-script'?: string[];
|
|
9
11
|
affected: string;
|
|
10
12
|
'affected-rev-fallback': string;
|
|
11
13
|
'affected-rev-sort'?: string;
|
|
12
|
-
attrs
|
|
14
|
+
attrs?: Attribute[];
|
|
13
15
|
headers?: boolean;
|
|
14
16
|
long?: boolean;
|
|
15
17
|
json?: boolean;
|
|
18
|
+
'sort-by'?: Attribute[];
|
|
19
|
+
order: Order;
|
|
16
20
|
}
|
|
17
|
-
export declare class ListCommand extends InkCommand<
|
|
21
|
+
export declare class ListCommand extends InkCommand<ListCommandArgs> {
|
|
22
|
+
private readonly logger;
|
|
18
23
|
readonly project: Project;
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
constructor(logger: Logger);
|
|
25
|
+
builder(parser: Argv): Argv<ListCommandArgs>;
|
|
26
|
+
render(args: ArgumentsCamelCase<ListCommandArgs>): AsyncGenerator<import("react/jsx-runtime").JSX.Element, void, unknown>;
|
|
27
|
+
private _applyDefaults;
|
|
28
|
+
private _preparePipeline;
|
|
29
|
+
private _dataComparator;
|
|
21
30
|
}
|