nx-lifecycle 0.2.1 → 1.0.0
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/.npmignore +20 -0
- package/README.md +203 -119
- package/WHY-NX-LIFECYCLE.md +64 -0
- package/dist/bin.d.ts +603 -0
- package/dist/bin.js +3 -2
- package/dist/cli.d.ts +1 -1
- package/dist/commands/index.d.ts +752 -2
- package/dist/commands/lib/dependencies.d.ts +7 -7
- package/dist/commands/lib/dependencies.js +1 -1
- package/dist/commands/lifecycle-command.d.ts +1 -1
- package/dist/executors/lifecycle/container.d.ts +603 -0
- package/dist/executors/lifecycle/container.js +8 -0
- package/dist/executors/lifecycle/index.js +2 -6
- package/dist/lifecycle/dependencies.d.ts +16 -0
- package/dist/lifecycle/{depedencies.js → dependencies.js} +1 -1
- package/dist/lifecycle/index.d.ts +754 -3
- package/dist/lifecycle/index.js +5 -5
- package/dist/lifecycle/lifecycle-internal.d.ts +3 -3
- package/dist/lifecycle/lifecycle-internal.js +26 -9
- package/dist/lifecycle/normalizer.d.ts +1 -1
- package/dist/lifecycle/processor.d.ts +41 -3
- package/dist/lifecycle/processor.js +36 -33
- package/dist/lifecycle/schema.d.ts +468 -66
- package/dist/lifecycle/schema.js +30 -21
- package/dist/plugin/container.d.ts +855 -0
- package/dist/plugin/container.js +13 -0
- package/dist/plugin/dependencies.d.ts +860 -0
- package/dist/plugin/dependencies.js +9 -0
- package/dist/plugin/index.d.ts +283 -0
- package/dist/plugin/index.js +6 -0
- package/dist/plugin/lifecycle-plugin.d.ts +21 -0
- package/dist/plugin/lifecycle-plugin.js +158 -0
- package/dist/plugin/schema.d.ts +353 -0
- package/dist/plugin/schema.js +21 -0
- package/dist/schemas/configurations.d.ts +5 -5
- package/dist/schemas/depend-on.d.ts +39 -9
- package/dist/schemas/depend-on.js +4 -2
- package/dist/schemas/empty.d.ts +2 -2
- package/dist/schemas/empty.js +2 -2
- package/dist/schemas/nx-json.d.ts +191 -18
- package/dist/schemas/nx-json.js +3 -3
- package/dist/schemas/project-json.d.ts +191 -18
- package/dist/schemas/project-json.js +3 -3
- package/dist/schemas/target.d.ts +79 -25
- package/executors.json +2 -2
- package/out/nx-executor/schema.json +148 -0
- package/out/schema.json +114 -0
- package/package.json +39 -40
- package/dist/executors/lifecycle/index.cjs +0 -15
- package/dist/executors/lifecycle/index.d.cts +0 -99
- package/dist/lifecycle/depedencies.d.ts +0 -15
- package/dist/schemas/lib/ajv.d.ts +0 -3
- package/dist/schemas/lib/ajv.js +0 -9
|
@@ -1,15 +1,91 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SchemaType } from 'juniper';
|
|
2
|
+
export declare const stagesSchema: import("juniper").ObjectSchema<{}, never, import("juniper").ObjectSchema<{
|
|
3
|
+
dependsOn: import("juniper").ArraySchema<string | (Partial<{
|
|
4
|
+
dependencies: boolean;
|
|
5
|
+
projects: never;
|
|
6
|
+
}> & Partial<{
|
|
7
|
+
target: string;
|
|
8
|
+
params: string;
|
|
9
|
+
}> & Required<Pick<{
|
|
10
|
+
target: string;
|
|
11
|
+
params: string;
|
|
12
|
+
}, "target">>) | (string & Partial<{
|
|
13
|
+
dependencies: boolean;
|
|
14
|
+
projects: never;
|
|
15
|
+
}> & Partial<{
|
|
16
|
+
target: string;
|
|
17
|
+
params: string;
|
|
18
|
+
}> & Required<Pick<{
|
|
19
|
+
target: string;
|
|
20
|
+
params: string;
|
|
21
|
+
}, "target">>) | (Partial<{
|
|
22
|
+
dependencies: boolean;
|
|
23
|
+
projects: never;
|
|
24
|
+
}> & Partial<{
|
|
25
|
+
target: string;
|
|
26
|
+
params: string;
|
|
27
|
+
}> & Required<Pick<{
|
|
28
|
+
target: string;
|
|
29
|
+
params: string;
|
|
30
|
+
}, "target">> & string) | (Partial<{
|
|
31
|
+
dependencies: never;
|
|
32
|
+
projects: string | string[];
|
|
33
|
+
}> & Required<Pick<{
|
|
34
|
+
dependencies: never;
|
|
35
|
+
projects: string | string[];
|
|
36
|
+
}, "projects">> & Partial<{
|
|
37
|
+
target: string;
|
|
38
|
+
params: string;
|
|
39
|
+
}> & Required<Pick<{
|
|
40
|
+
target: string;
|
|
41
|
+
params: string;
|
|
42
|
+
}, "target">>) | (string & Partial<{
|
|
43
|
+
dependencies: never;
|
|
44
|
+
projects: string | string[];
|
|
45
|
+
}> & Required<Pick<{
|
|
46
|
+
dependencies: never;
|
|
47
|
+
projects: string | string[];
|
|
48
|
+
}, "projects">> & Partial<{
|
|
49
|
+
target: string;
|
|
50
|
+
params: string;
|
|
51
|
+
}> & Required<Pick<{
|
|
52
|
+
target: string;
|
|
53
|
+
params: string;
|
|
54
|
+
}, "target">>) | (Partial<{
|
|
55
|
+
dependencies: never;
|
|
56
|
+
projects: string | string[];
|
|
57
|
+
}> & Required<Pick<{
|
|
58
|
+
dependencies: never;
|
|
59
|
+
projects: string | string[];
|
|
60
|
+
}, "projects">> & Partial<{
|
|
61
|
+
target: string;
|
|
62
|
+
params: string;
|
|
63
|
+
}> & Required<Pick<{
|
|
64
|
+
target: string;
|
|
65
|
+
params: string;
|
|
66
|
+
}, "target">> & string), [], never, unknown, false>;
|
|
67
|
+
hooks: import("juniper").ArraySchema<string, [], never, unknown, false>;
|
|
68
|
+
}, never, boolean, import("juniper").EmptyIndex, unknown, false>, import("juniper").EmptyIndex, unknown, false>;
|
|
69
|
+
export declare const bindingsSchema: import("juniper").ObjectSchema<{}, never, import("juniper").StringSchema<string, false>, import("juniper").EmptyIndex, unknown, false>;
|
|
2
70
|
declare const lifecycleOptionsSchema: import("juniper").ObjectSchema<{
|
|
3
71
|
$schema: import("juniper").StringSchema<string, false>;
|
|
4
72
|
check: import("juniper").BooleanSchema<false>;
|
|
5
73
|
dryRun: import("juniper").BooleanSchema<false>;
|
|
6
74
|
} & {
|
|
7
75
|
stages: import("juniper").ObjectSchema<{}, never, import("juniper").ObjectSchema<{
|
|
8
|
-
dependsOn: import("juniper").ArraySchema<
|
|
9
|
-
|
|
76
|
+
dependsOn: import("juniper").ArraySchema<string | (Partial<{
|
|
77
|
+
dependencies: boolean;
|
|
78
|
+
projects: never;
|
|
79
|
+
}> & Partial<{
|
|
80
|
+
target: string;
|
|
81
|
+
params: string;
|
|
10
82
|
}> & Required<Pick<{
|
|
11
|
-
|
|
12
|
-
|
|
83
|
+
target: string;
|
|
84
|
+
params: string;
|
|
85
|
+
}, "target">>) | (string & Partial<{
|
|
86
|
+
dependencies: boolean;
|
|
87
|
+
projects: never;
|
|
88
|
+
}> & Partial<{
|
|
13
89
|
target: string;
|
|
14
90
|
params: string;
|
|
15
91
|
}> & Required<Pick<{
|
|
@@ -17,15 +93,30 @@ declare const lifecycleOptionsSchema: import("juniper").ObjectSchema<{
|
|
|
17
93
|
params: string;
|
|
18
94
|
}, "target">>) | (Partial<{
|
|
19
95
|
dependencies: boolean;
|
|
96
|
+
projects: never;
|
|
20
97
|
}> & Partial<{
|
|
21
98
|
target: string;
|
|
22
99
|
params: string;
|
|
23
100
|
}> & Required<Pick<{
|
|
24
101
|
target: string;
|
|
25
102
|
params: string;
|
|
26
|
-
}, "target">>
|
|
103
|
+
}, "target">> & string) | (Partial<{
|
|
104
|
+
dependencies: never;
|
|
27
105
|
projects: string | string[];
|
|
28
106
|
}> & Required<Pick<{
|
|
107
|
+
dependencies: never;
|
|
108
|
+
projects: string | string[];
|
|
109
|
+
}, "projects">> & Partial<{
|
|
110
|
+
target: string;
|
|
111
|
+
params: string;
|
|
112
|
+
}> & Required<Pick<{
|
|
113
|
+
target: string;
|
|
114
|
+
params: string;
|
|
115
|
+
}, "target">>) | (string & Partial<{
|
|
116
|
+
dependencies: never;
|
|
117
|
+
projects: string | string[];
|
|
118
|
+
}> & Required<Pick<{
|
|
119
|
+
dependencies: never;
|
|
29
120
|
projects: string | string[];
|
|
30
121
|
}, "projects">> & Partial<{
|
|
31
122
|
target: string;
|
|
@@ -34,29 +125,41 @@ declare const lifecycleOptionsSchema: import("juniper").ObjectSchema<{
|
|
|
34
125
|
target: string;
|
|
35
126
|
params: string;
|
|
36
127
|
}, "target">>) | (Partial<{
|
|
37
|
-
dependencies:
|
|
38
|
-
|
|
128
|
+
dependencies: never;
|
|
129
|
+
projects: string | string[];
|
|
130
|
+
}> & Required<Pick<{
|
|
131
|
+
dependencies: never;
|
|
132
|
+
projects: string | string[];
|
|
133
|
+
}, "projects">> & Partial<{
|
|
39
134
|
target: string;
|
|
40
135
|
params: string;
|
|
41
136
|
}> & Required<Pick<{
|
|
42
137
|
target: string;
|
|
43
138
|
params: string;
|
|
44
|
-
}, "target">>
|
|
139
|
+
}, "target">> & string), [], never, unknown, false>;
|
|
45
140
|
hooks: import("juniper").ArraySchema<string, [], never, unknown, false>;
|
|
46
141
|
}, never, boolean, import("juniper").EmptyIndex, unknown, false>, import("juniper").EmptyIndex, unknown, false>;
|
|
47
142
|
bindings: import("juniper").ObjectSchema<{}, never, import("juniper").StringSchema<string, false>, import("juniper").EmptyIndex, unknown, false>;
|
|
48
|
-
}, "
|
|
143
|
+
}, "bindings" | "stages", false, import("juniper").EmptyIndex, unknown, false>;
|
|
49
144
|
export type LifecycleOptions = SchemaType<typeof lifecycleOptionsSchema>;
|
|
50
|
-
export declare const
|
|
145
|
+
export declare const lifecycleOptions: import("juniper").JsonSchema<Partial<{
|
|
51
146
|
$schema: string;
|
|
52
147
|
check: boolean;
|
|
53
148
|
dryRun: boolean;
|
|
54
149
|
stages: Record<string, Partial<{
|
|
55
|
-
dependsOn: (
|
|
56
|
-
|
|
150
|
+
dependsOn: (string | (Partial<{
|
|
151
|
+
dependencies: boolean;
|
|
152
|
+
projects: never;
|
|
153
|
+
}> & Partial<{
|
|
154
|
+
target: string;
|
|
155
|
+
params: string;
|
|
57
156
|
}> & Required<Pick<{
|
|
58
|
-
|
|
59
|
-
|
|
157
|
+
target: string;
|
|
158
|
+
params: string;
|
|
159
|
+
}, "target">>) | (string & Partial<{
|
|
160
|
+
dependencies: boolean;
|
|
161
|
+
projects: never;
|
|
162
|
+
}> & Partial<{
|
|
60
163
|
target: string;
|
|
61
164
|
params: string;
|
|
62
165
|
}> & Required<Pick<{
|
|
@@ -64,15 +167,30 @@ export declare const isLifecycleOptions: import("ajv").ValidateFunction<Partial<
|
|
|
64
167
|
params: string;
|
|
65
168
|
}, "target">>) | (Partial<{
|
|
66
169
|
dependencies: boolean;
|
|
170
|
+
projects: never;
|
|
67
171
|
}> & Partial<{
|
|
68
172
|
target: string;
|
|
69
173
|
params: string;
|
|
70
174
|
}> & Required<Pick<{
|
|
71
175
|
target: string;
|
|
72
176
|
params: string;
|
|
73
|
-
}, "target">>
|
|
177
|
+
}, "target">> & string) | (Partial<{
|
|
178
|
+
dependencies: never;
|
|
74
179
|
projects: string | string[];
|
|
75
180
|
}> & Required<Pick<{
|
|
181
|
+
dependencies: never;
|
|
182
|
+
projects: string | string[];
|
|
183
|
+
}, "projects">> & Partial<{
|
|
184
|
+
target: string;
|
|
185
|
+
params: string;
|
|
186
|
+
}> & Required<Pick<{
|
|
187
|
+
target: string;
|
|
188
|
+
params: string;
|
|
189
|
+
}, "target">>) | (string & Partial<{
|
|
190
|
+
dependencies: never;
|
|
191
|
+
projects: string | string[];
|
|
192
|
+
}> & Required<Pick<{
|
|
193
|
+
dependencies: never;
|
|
76
194
|
projects: string | string[];
|
|
77
195
|
}, "projects">> & Partial<{
|
|
78
196
|
target: string;
|
|
@@ -81,14 +199,18 @@ export declare const isLifecycleOptions: import("ajv").ValidateFunction<Partial<
|
|
|
81
199
|
target: string;
|
|
82
200
|
params: string;
|
|
83
201
|
}, "target">>) | (Partial<{
|
|
84
|
-
dependencies:
|
|
85
|
-
|
|
202
|
+
dependencies: never;
|
|
203
|
+
projects: string | string[];
|
|
204
|
+
}> & Required<Pick<{
|
|
205
|
+
dependencies: never;
|
|
206
|
+
projects: string | string[];
|
|
207
|
+
}, "projects">> & Partial<{
|
|
86
208
|
target: string;
|
|
87
209
|
params: string;
|
|
88
210
|
}> & Required<Pick<{
|
|
89
211
|
target: string;
|
|
90
212
|
params: string;
|
|
91
|
-
}, "target">>
|
|
213
|
+
}, "target">> & string))[];
|
|
92
214
|
hooks: string[];
|
|
93
215
|
}>>;
|
|
94
216
|
bindings: Record<string, string>;
|
|
@@ -97,11 +219,19 @@ export declare const isLifecycleOptions: import("ajv").ValidateFunction<Partial<
|
|
|
97
219
|
check: boolean;
|
|
98
220
|
dryRun: boolean;
|
|
99
221
|
stages: Record<string, Partial<{
|
|
100
|
-
dependsOn: (
|
|
101
|
-
|
|
222
|
+
dependsOn: (string | (Partial<{
|
|
223
|
+
dependencies: boolean;
|
|
224
|
+
projects: never;
|
|
225
|
+
}> & Partial<{
|
|
226
|
+
target: string;
|
|
227
|
+
params: string;
|
|
102
228
|
}> & Required<Pick<{
|
|
103
|
-
|
|
104
|
-
|
|
229
|
+
target: string;
|
|
230
|
+
params: string;
|
|
231
|
+
}, "target">>) | (string & Partial<{
|
|
232
|
+
dependencies: boolean;
|
|
233
|
+
projects: never;
|
|
234
|
+
}> & Partial<{
|
|
105
235
|
target: string;
|
|
106
236
|
params: string;
|
|
107
237
|
}> & Required<Pick<{
|
|
@@ -109,15 +239,30 @@ export declare const isLifecycleOptions: import("ajv").ValidateFunction<Partial<
|
|
|
109
239
|
params: string;
|
|
110
240
|
}, "target">>) | (Partial<{
|
|
111
241
|
dependencies: boolean;
|
|
242
|
+
projects: never;
|
|
112
243
|
}> & Partial<{
|
|
113
244
|
target: string;
|
|
114
245
|
params: string;
|
|
115
246
|
}> & Required<Pick<{
|
|
116
247
|
target: string;
|
|
117
248
|
params: string;
|
|
118
|
-
}, "target">>
|
|
249
|
+
}, "target">> & string) | (Partial<{
|
|
250
|
+
dependencies: never;
|
|
251
|
+
projects: string | string[];
|
|
252
|
+
}> & Required<Pick<{
|
|
253
|
+
dependencies: never;
|
|
254
|
+
projects: string | string[];
|
|
255
|
+
}, "projects">> & Partial<{
|
|
256
|
+
target: string;
|
|
257
|
+
params: string;
|
|
258
|
+
}> & Required<Pick<{
|
|
259
|
+
target: string;
|
|
260
|
+
params: string;
|
|
261
|
+
}, "target">>) | (string & Partial<{
|
|
262
|
+
dependencies: never;
|
|
119
263
|
projects: string | string[];
|
|
120
264
|
}> & Required<Pick<{
|
|
265
|
+
dependencies: never;
|
|
121
266
|
projects: string | string[];
|
|
122
267
|
}, "projects">> & Partial<{
|
|
123
268
|
target: string;
|
|
@@ -126,28 +271,40 @@ export declare const isLifecycleOptions: import("ajv").ValidateFunction<Partial<
|
|
|
126
271
|
target: string;
|
|
127
272
|
params: string;
|
|
128
273
|
}, "target">>) | (Partial<{
|
|
129
|
-
dependencies:
|
|
130
|
-
|
|
274
|
+
dependencies: never;
|
|
275
|
+
projects: string | string[];
|
|
276
|
+
}> & Required<Pick<{
|
|
277
|
+
dependencies: never;
|
|
278
|
+
projects: string | string[];
|
|
279
|
+
}, "projects">> & Partial<{
|
|
131
280
|
target: string;
|
|
132
281
|
params: string;
|
|
133
282
|
}> & Required<Pick<{
|
|
134
283
|
target: string;
|
|
135
284
|
params: string;
|
|
136
|
-
}, "target">>
|
|
285
|
+
}, "target">> & string))[];
|
|
137
286
|
hooks: string[];
|
|
138
287
|
}>>;
|
|
139
288
|
bindings: Record<string, string>;
|
|
140
|
-
}, "
|
|
141
|
-
declare const
|
|
289
|
+
}, "bindings" | "stages">>>;
|
|
290
|
+
export declare const isLifecycleOptions: (x: unknown) => x is Partial<{
|
|
142
291
|
$schema: string;
|
|
143
292
|
check: boolean;
|
|
144
293
|
dryRun: boolean;
|
|
145
294
|
stages: Record<string, Partial<{
|
|
146
|
-
dependsOn: (
|
|
147
|
-
|
|
295
|
+
dependsOn: (string | (Partial<{
|
|
296
|
+
dependencies: boolean;
|
|
297
|
+
projects: never;
|
|
298
|
+
}> & Partial<{
|
|
299
|
+
target: string;
|
|
300
|
+
params: string;
|
|
148
301
|
}> & Required<Pick<{
|
|
149
|
-
|
|
150
|
-
|
|
302
|
+
target: string;
|
|
303
|
+
params: string;
|
|
304
|
+
}, "target">>) | (string & Partial<{
|
|
305
|
+
dependencies: boolean;
|
|
306
|
+
projects: never;
|
|
307
|
+
}> & Partial<{
|
|
151
308
|
target: string;
|
|
152
309
|
params: string;
|
|
153
310
|
}> & Required<Pick<{
|
|
@@ -155,15 +312,30 @@ declare const lifecycleOptionsOrConfigSchema: import("juniper").MergeSchema<(Par
|
|
|
155
312
|
params: string;
|
|
156
313
|
}, "target">>) | (Partial<{
|
|
157
314
|
dependencies: boolean;
|
|
315
|
+
projects: never;
|
|
158
316
|
}> & Partial<{
|
|
159
317
|
target: string;
|
|
160
318
|
params: string;
|
|
161
319
|
}> & Required<Pick<{
|
|
162
320
|
target: string;
|
|
163
321
|
params: string;
|
|
164
|
-
}, "target">>
|
|
322
|
+
}, "target">> & string) | (Partial<{
|
|
323
|
+
dependencies: never;
|
|
165
324
|
projects: string | string[];
|
|
166
325
|
}> & Required<Pick<{
|
|
326
|
+
dependencies: never;
|
|
327
|
+
projects: string | string[];
|
|
328
|
+
}, "projects">> & Partial<{
|
|
329
|
+
target: string;
|
|
330
|
+
params: string;
|
|
331
|
+
}> & Required<Pick<{
|
|
332
|
+
target: string;
|
|
333
|
+
params: string;
|
|
334
|
+
}, "target">>) | (string & Partial<{
|
|
335
|
+
dependencies: never;
|
|
336
|
+
projects: string | string[];
|
|
337
|
+
}> & Required<Pick<{
|
|
338
|
+
dependencies: never;
|
|
167
339
|
projects: string | string[];
|
|
168
340
|
}, "projects">> & Partial<{
|
|
169
341
|
target: string;
|
|
@@ -172,14 +344,18 @@ declare const lifecycleOptionsOrConfigSchema: import("juniper").MergeSchema<(Par
|
|
|
172
344
|
target: string;
|
|
173
345
|
params: string;
|
|
174
346
|
}, "target">>) | (Partial<{
|
|
175
|
-
dependencies:
|
|
176
|
-
|
|
347
|
+
dependencies: never;
|
|
348
|
+
projects: string | string[];
|
|
349
|
+
}> & Required<Pick<{
|
|
350
|
+
dependencies: never;
|
|
351
|
+
projects: string | string[];
|
|
352
|
+
}, "projects">> & Partial<{
|
|
177
353
|
target: string;
|
|
178
354
|
params: string;
|
|
179
355
|
}> & Required<Pick<{
|
|
180
356
|
target: string;
|
|
181
357
|
params: string;
|
|
182
|
-
}, "target">>
|
|
358
|
+
}, "target">> & string))[];
|
|
183
359
|
hooks: string[];
|
|
184
360
|
}>>;
|
|
185
361
|
bindings: Record<string, string>;
|
|
@@ -188,11 +364,19 @@ declare const lifecycleOptionsOrConfigSchema: import("juniper").MergeSchema<(Par
|
|
|
188
364
|
check: boolean;
|
|
189
365
|
dryRun: boolean;
|
|
190
366
|
stages: Record<string, Partial<{
|
|
191
|
-
dependsOn: (
|
|
192
|
-
|
|
367
|
+
dependsOn: (string | (Partial<{
|
|
368
|
+
dependencies: boolean;
|
|
369
|
+
projects: never;
|
|
370
|
+
}> & Partial<{
|
|
371
|
+
target: string;
|
|
372
|
+
params: string;
|
|
193
373
|
}> & Required<Pick<{
|
|
194
|
-
|
|
195
|
-
|
|
374
|
+
target: string;
|
|
375
|
+
params: string;
|
|
376
|
+
}, "target">>) | (string & Partial<{
|
|
377
|
+
dependencies: boolean;
|
|
378
|
+
projects: never;
|
|
379
|
+
}> & Partial<{
|
|
196
380
|
target: string;
|
|
197
381
|
params: string;
|
|
198
382
|
}> & Required<Pick<{
|
|
@@ -200,15 +384,30 @@ declare const lifecycleOptionsOrConfigSchema: import("juniper").MergeSchema<(Par
|
|
|
200
384
|
params: string;
|
|
201
385
|
}, "target">>) | (Partial<{
|
|
202
386
|
dependencies: boolean;
|
|
387
|
+
projects: never;
|
|
203
388
|
}> & Partial<{
|
|
204
389
|
target: string;
|
|
205
390
|
params: string;
|
|
206
391
|
}> & Required<Pick<{
|
|
207
392
|
target: string;
|
|
208
393
|
params: string;
|
|
209
|
-
}, "target">>
|
|
394
|
+
}, "target">> & string) | (Partial<{
|
|
395
|
+
dependencies: never;
|
|
210
396
|
projects: string | string[];
|
|
211
397
|
}> & Required<Pick<{
|
|
398
|
+
dependencies: never;
|
|
399
|
+
projects: string | string[];
|
|
400
|
+
}, "projects">> & Partial<{
|
|
401
|
+
target: string;
|
|
402
|
+
params: string;
|
|
403
|
+
}> & Required<Pick<{
|
|
404
|
+
target: string;
|
|
405
|
+
params: string;
|
|
406
|
+
}, "target">>) | (string & Partial<{
|
|
407
|
+
dependencies: never;
|
|
408
|
+
projects: string | string[];
|
|
409
|
+
}> & Required<Pick<{
|
|
410
|
+
dependencies: never;
|
|
212
411
|
projects: string | string[];
|
|
213
412
|
}, "projects">> & Partial<{
|
|
214
413
|
target: string;
|
|
@@ -217,34 +416,46 @@ declare const lifecycleOptionsOrConfigSchema: import("juniper").MergeSchema<(Par
|
|
|
217
416
|
target: string;
|
|
218
417
|
params: string;
|
|
219
418
|
}, "target">>) | (Partial<{
|
|
220
|
-
dependencies:
|
|
221
|
-
|
|
419
|
+
dependencies: never;
|
|
420
|
+
projects: string | string[];
|
|
421
|
+
}> & Required<Pick<{
|
|
422
|
+
dependencies: never;
|
|
423
|
+
projects: string | string[];
|
|
424
|
+
}, "projects">> & Partial<{
|
|
222
425
|
target: string;
|
|
223
426
|
params: string;
|
|
224
427
|
}> & Required<Pick<{
|
|
225
428
|
target: string;
|
|
226
429
|
params: string;
|
|
227
|
-
}, "target">>
|
|
430
|
+
}, "target">> & string))[];
|
|
228
431
|
hooks: string[];
|
|
229
432
|
}>>;
|
|
230
433
|
bindings: Record<string, string>;
|
|
231
|
-
}, "
|
|
434
|
+
}, "bindings" | "stages">>;
|
|
435
|
+
declare const lifecycleOptionsOrConfigSchema: import("juniper").MergeSchema<Partial<{
|
|
232
436
|
$schema: string;
|
|
233
437
|
check: boolean;
|
|
234
438
|
dryRun: boolean;
|
|
235
439
|
configFile: string;
|
|
236
440
|
cwd: string;
|
|
237
|
-
}
|
|
238
|
-
declare const _default: import("juniper").JsonSchema<(Partial<{
|
|
441
|
+
}> | (Partial<{
|
|
239
442
|
$schema: string;
|
|
240
443
|
check: boolean;
|
|
241
444
|
dryRun: boolean;
|
|
242
445
|
stages: Record<string, Partial<{
|
|
243
|
-
dependsOn: (
|
|
244
|
-
|
|
446
|
+
dependsOn: (string | (Partial<{
|
|
447
|
+
dependencies: boolean;
|
|
448
|
+
projects: never;
|
|
449
|
+
}> & Partial<{
|
|
450
|
+
target: string;
|
|
451
|
+
params: string;
|
|
245
452
|
}> & Required<Pick<{
|
|
246
|
-
|
|
247
|
-
|
|
453
|
+
target: string;
|
|
454
|
+
params: string;
|
|
455
|
+
}, "target">>) | (string & Partial<{
|
|
456
|
+
dependencies: boolean;
|
|
457
|
+
projects: never;
|
|
458
|
+
}> & Partial<{
|
|
248
459
|
target: string;
|
|
249
460
|
params: string;
|
|
250
461
|
}> & Required<Pick<{
|
|
@@ -252,15 +463,30 @@ declare const _default: import("juniper").JsonSchema<(Partial<{
|
|
|
252
463
|
params: string;
|
|
253
464
|
}, "target">>) | (Partial<{
|
|
254
465
|
dependencies: boolean;
|
|
466
|
+
projects: never;
|
|
255
467
|
}> & Partial<{
|
|
256
468
|
target: string;
|
|
257
469
|
params: string;
|
|
258
470
|
}> & Required<Pick<{
|
|
259
471
|
target: string;
|
|
260
472
|
params: string;
|
|
261
|
-
}, "target">>
|
|
473
|
+
}, "target">> & string) | (Partial<{
|
|
474
|
+
dependencies: never;
|
|
262
475
|
projects: string | string[];
|
|
263
476
|
}> & Required<Pick<{
|
|
477
|
+
dependencies: never;
|
|
478
|
+
projects: string | string[];
|
|
479
|
+
}, "projects">> & Partial<{
|
|
480
|
+
target: string;
|
|
481
|
+
params: string;
|
|
482
|
+
}> & Required<Pick<{
|
|
483
|
+
target: string;
|
|
484
|
+
params: string;
|
|
485
|
+
}, "target">>) | (string & Partial<{
|
|
486
|
+
dependencies: never;
|
|
487
|
+
projects: string | string[];
|
|
488
|
+
}> & Required<Pick<{
|
|
489
|
+
dependencies: never;
|
|
264
490
|
projects: string | string[];
|
|
265
491
|
}, "projects">> & Partial<{
|
|
266
492
|
target: string;
|
|
@@ -269,14 +495,18 @@ declare const _default: import("juniper").JsonSchema<(Partial<{
|
|
|
269
495
|
target: string;
|
|
270
496
|
params: string;
|
|
271
497
|
}, "target">>) | (Partial<{
|
|
272
|
-
dependencies:
|
|
273
|
-
|
|
498
|
+
dependencies: never;
|
|
499
|
+
projects: string | string[];
|
|
500
|
+
}> & Required<Pick<{
|
|
501
|
+
dependencies: never;
|
|
502
|
+
projects: string | string[];
|
|
503
|
+
}, "projects">> & Partial<{
|
|
274
504
|
target: string;
|
|
275
505
|
params: string;
|
|
276
506
|
}> & Required<Pick<{
|
|
277
507
|
target: string;
|
|
278
508
|
params: string;
|
|
279
|
-
}, "target">>
|
|
509
|
+
}, "target">> & string))[];
|
|
280
510
|
hooks: string[];
|
|
281
511
|
}>>;
|
|
282
512
|
bindings: Record<string, string>;
|
|
@@ -285,9 +515,50 @@ declare const _default: import("juniper").JsonSchema<(Partial<{
|
|
|
285
515
|
check: boolean;
|
|
286
516
|
dryRun: boolean;
|
|
287
517
|
stages: Record<string, Partial<{
|
|
288
|
-
dependsOn: (
|
|
518
|
+
dependsOn: (string | (Partial<{
|
|
519
|
+
dependencies: boolean;
|
|
520
|
+
projects: never;
|
|
521
|
+
}> & Partial<{
|
|
522
|
+
target: string;
|
|
523
|
+
params: string;
|
|
524
|
+
}> & Required<Pick<{
|
|
525
|
+
target: string;
|
|
526
|
+
params: string;
|
|
527
|
+
}, "target">>) | (string & Partial<{
|
|
528
|
+
dependencies: boolean;
|
|
529
|
+
projects: never;
|
|
530
|
+
}> & Partial<{
|
|
531
|
+
target: string;
|
|
532
|
+
params: string;
|
|
533
|
+
}> & Required<Pick<{
|
|
534
|
+
target: string;
|
|
535
|
+
params: string;
|
|
536
|
+
}, "target">>) | (Partial<{
|
|
537
|
+
dependencies: boolean;
|
|
538
|
+
projects: never;
|
|
539
|
+
}> & Partial<{
|
|
540
|
+
target: string;
|
|
541
|
+
params: string;
|
|
542
|
+
}> & Required<Pick<{
|
|
543
|
+
target: string;
|
|
544
|
+
params: string;
|
|
545
|
+
}, "target">> & string) | (Partial<{
|
|
546
|
+
dependencies: never;
|
|
547
|
+
projects: string | string[];
|
|
548
|
+
}> & Required<Pick<{
|
|
549
|
+
dependencies: never;
|
|
550
|
+
projects: string | string[];
|
|
551
|
+
}, "projects">> & Partial<{
|
|
552
|
+
target: string;
|
|
553
|
+
params: string;
|
|
554
|
+
}> & Required<Pick<{
|
|
555
|
+
target: string;
|
|
556
|
+
params: string;
|
|
557
|
+
}, "target">>) | (string & Partial<{
|
|
558
|
+
dependencies: never;
|
|
289
559
|
projects: string | string[];
|
|
290
560
|
}> & Required<Pick<{
|
|
561
|
+
dependencies: never;
|
|
291
562
|
projects: string | string[];
|
|
292
563
|
}, "projects">> & Partial<{
|
|
293
564
|
target: string;
|
|
@@ -296,16 +567,77 @@ declare const _default: import("juniper").JsonSchema<(Partial<{
|
|
|
296
567
|
target: string;
|
|
297
568
|
params: string;
|
|
298
569
|
}, "target">>) | (Partial<{
|
|
570
|
+
dependencies: never;
|
|
571
|
+
projects: string | string[];
|
|
572
|
+
}> & Required<Pick<{
|
|
573
|
+
dependencies: never;
|
|
574
|
+
projects: string | string[];
|
|
575
|
+
}, "projects">> & Partial<{
|
|
576
|
+
target: string;
|
|
577
|
+
params: string;
|
|
578
|
+
}> & Required<Pick<{
|
|
579
|
+
target: string;
|
|
580
|
+
params: string;
|
|
581
|
+
}, "target">> & string))[];
|
|
582
|
+
hooks: string[];
|
|
583
|
+
}>>;
|
|
584
|
+
bindings: Record<string, string>;
|
|
585
|
+
}, "bindings" | "stages">>)>;
|
|
586
|
+
export declare const lifecycleOptionsOrConfig: import("juniper").JsonSchema<Partial<{
|
|
587
|
+
$schema: string;
|
|
588
|
+
check: boolean;
|
|
589
|
+
dryRun: boolean;
|
|
590
|
+
configFile: string;
|
|
591
|
+
cwd: string;
|
|
592
|
+
}> | (Partial<{
|
|
593
|
+
$schema: string;
|
|
594
|
+
check: boolean;
|
|
595
|
+
dryRun: boolean;
|
|
596
|
+
stages: Record<string, Partial<{
|
|
597
|
+
dependsOn: (string | (Partial<{
|
|
598
|
+
dependencies: boolean;
|
|
599
|
+
projects: never;
|
|
600
|
+
}> & Partial<{
|
|
601
|
+
target: string;
|
|
602
|
+
params: string;
|
|
603
|
+
}> & Required<Pick<{
|
|
604
|
+
target: string;
|
|
605
|
+
params: string;
|
|
606
|
+
}, "target">>) | (string & Partial<{
|
|
299
607
|
dependencies: boolean;
|
|
608
|
+
projects: never;
|
|
300
609
|
}> & Partial<{
|
|
301
610
|
target: string;
|
|
302
611
|
params: string;
|
|
303
612
|
}> & Required<Pick<{
|
|
304
613
|
target: string;
|
|
305
614
|
params: string;
|
|
306
|
-
}, "target">>)
|
|
615
|
+
}, "target">>) | (Partial<{
|
|
616
|
+
dependencies: boolean;
|
|
617
|
+
projects: never;
|
|
618
|
+
}> & Partial<{
|
|
619
|
+
target: string;
|
|
620
|
+
params: string;
|
|
621
|
+
}> & Required<Pick<{
|
|
622
|
+
target: string;
|
|
623
|
+
params: string;
|
|
624
|
+
}, "target">> & string) | (Partial<{
|
|
625
|
+
dependencies: never;
|
|
626
|
+
projects: string | string[];
|
|
627
|
+
}> & Required<Pick<{
|
|
628
|
+
dependencies: never;
|
|
629
|
+
projects: string | string[];
|
|
630
|
+
}, "projects">> & Partial<{
|
|
631
|
+
target: string;
|
|
632
|
+
params: string;
|
|
633
|
+
}> & Required<Pick<{
|
|
634
|
+
target: string;
|
|
635
|
+
params: string;
|
|
636
|
+
}, "target">>) | (string & Partial<{
|
|
637
|
+
dependencies: never;
|
|
307
638
|
projects: string | string[];
|
|
308
639
|
}> & Required<Pick<{
|
|
640
|
+
dependencies: never;
|
|
309
641
|
projects: string | string[];
|
|
310
642
|
}, "projects">> & Partial<{
|
|
311
643
|
target: string;
|
|
@@ -314,24 +646,94 @@ declare const _default: import("juniper").JsonSchema<(Partial<{
|
|
|
314
646
|
target: string;
|
|
315
647
|
params: string;
|
|
316
648
|
}, "target">>) | (Partial<{
|
|
317
|
-
dependencies:
|
|
318
|
-
|
|
649
|
+
dependencies: never;
|
|
650
|
+
projects: string | string[];
|
|
651
|
+
}> & Required<Pick<{
|
|
652
|
+
dependencies: never;
|
|
653
|
+
projects: string | string[];
|
|
654
|
+
}, "projects">> & Partial<{
|
|
319
655
|
target: string;
|
|
320
656
|
params: string;
|
|
321
657
|
}> & Required<Pick<{
|
|
322
658
|
target: string;
|
|
323
659
|
params: string;
|
|
324
|
-
}, "target">>
|
|
660
|
+
}, "target">> & string))[];
|
|
325
661
|
hooks: string[];
|
|
326
662
|
}>>;
|
|
327
663
|
bindings: Record<string, string>;
|
|
328
|
-
}
|
|
664
|
+
}> & Required<Pick<{
|
|
329
665
|
$schema: string;
|
|
330
666
|
check: boolean;
|
|
331
667
|
dryRun: boolean;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
668
|
+
stages: Record<string, Partial<{
|
|
669
|
+
dependsOn: (string | (Partial<{
|
|
670
|
+
dependencies: boolean;
|
|
671
|
+
projects: never;
|
|
672
|
+
}> & Partial<{
|
|
673
|
+
target: string;
|
|
674
|
+
params: string;
|
|
675
|
+
}> & Required<Pick<{
|
|
676
|
+
target: string;
|
|
677
|
+
params: string;
|
|
678
|
+
}, "target">>) | (string & Partial<{
|
|
679
|
+
dependencies: boolean;
|
|
680
|
+
projects: never;
|
|
681
|
+
}> & Partial<{
|
|
682
|
+
target: string;
|
|
683
|
+
params: string;
|
|
684
|
+
}> & Required<Pick<{
|
|
685
|
+
target: string;
|
|
686
|
+
params: string;
|
|
687
|
+
}, "target">>) | (Partial<{
|
|
688
|
+
dependencies: boolean;
|
|
689
|
+
projects: never;
|
|
690
|
+
}> & Partial<{
|
|
691
|
+
target: string;
|
|
692
|
+
params: string;
|
|
693
|
+
}> & Required<Pick<{
|
|
694
|
+
target: string;
|
|
695
|
+
params: string;
|
|
696
|
+
}, "target">> & string) | (Partial<{
|
|
697
|
+
dependencies: never;
|
|
698
|
+
projects: string | string[];
|
|
699
|
+
}> & Required<Pick<{
|
|
700
|
+
dependencies: never;
|
|
701
|
+
projects: string | string[];
|
|
702
|
+
}, "projects">> & Partial<{
|
|
703
|
+
target: string;
|
|
704
|
+
params: string;
|
|
705
|
+
}> & Required<Pick<{
|
|
706
|
+
target: string;
|
|
707
|
+
params: string;
|
|
708
|
+
}, "target">>) | (string & Partial<{
|
|
709
|
+
dependencies: never;
|
|
710
|
+
projects: string | string[];
|
|
711
|
+
}> & Required<Pick<{
|
|
712
|
+
dependencies: never;
|
|
713
|
+
projects: string | string[];
|
|
714
|
+
}, "projects">> & Partial<{
|
|
715
|
+
target: string;
|
|
716
|
+
params: string;
|
|
717
|
+
}> & Required<Pick<{
|
|
718
|
+
target: string;
|
|
719
|
+
params: string;
|
|
720
|
+
}, "target">>) | (Partial<{
|
|
721
|
+
dependencies: never;
|
|
722
|
+
projects: string | string[];
|
|
723
|
+
}> & Required<Pick<{
|
|
724
|
+
dependencies: never;
|
|
725
|
+
projects: string | string[];
|
|
726
|
+
}, "projects">> & Partial<{
|
|
727
|
+
target: string;
|
|
728
|
+
params: string;
|
|
729
|
+
}> & Required<Pick<{
|
|
730
|
+
target: string;
|
|
731
|
+
params: string;
|
|
732
|
+
}, "target">> & string))[];
|
|
733
|
+
hooks: string[];
|
|
734
|
+
}>>;
|
|
735
|
+
bindings: Record<string, string>;
|
|
736
|
+
}, "bindings" | "stages">>)>;
|
|
336
737
|
export type LifecycleOptionsOrConfig = SchemaType<typeof lifecycleOptionsOrConfigSchema>;
|
|
738
|
+
export {};
|
|
337
739
|
//# sourceMappingURL=schema.d.ts.map
|