nx-lifecycle 1.0.0 → 1.1.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.
Files changed (48) hide show
  1. package/README.md +42 -4
  2. package/WHY-NX-LIFECYCLE.md +1 -1
  3. package/dist/bin.d.ts +1 -605
  4. package/dist/bin.js +1 -15
  5. package/dist/cli.d.ts +1 -5
  6. package/dist/cli.js +9 -22
  7. package/dist/commands/explain-command.d.ts +12 -0
  8. package/dist/commands/explain-command.js +57 -0
  9. package/dist/commands/lib/types.d.ts +0 -3
  10. package/dist/commands/lifecycle-command.d.ts +1 -11
  11. package/dist/commands/lifecycle-command.js +13 -22
  12. package/dist/executors/lifecycle/index.d.ts +1 -4
  13. package/dist/executors/lifecycle/index.js +1 -4
  14. package/dist/executors/lifecycle/lifecycle.d.ts +8 -9
  15. package/dist/executors/lifecycle/lifecycle.js +13 -20
  16. package/dist/lifecycle/explain.d.ts +68 -0
  17. package/dist/lifecycle/explain.js +160 -0
  18. package/dist/lifecycle/lifecycle-internal.d.ts +4 -12
  19. package/dist/lifecycle/lifecycle-internal.js +92 -109
  20. package/dist/lifecycle/normalizer.d.ts +13 -7
  21. package/dist/lifecycle/normalizer.js +29 -36
  22. package/dist/lifecycle/processor.d.ts +1 -3
  23. package/dist/lifecycle/processor.js +0 -2
  24. package/dist/plugin/index.d.ts +1 -277
  25. package/dist/plugin/index.js +1 -3
  26. package/dist/plugin/lifecycle-plugin.d.ts +18 -15
  27. package/dist/plugin/lifecycle-plugin.js +76 -89
  28. package/dist/plugin/schema.d.ts +2 -279
  29. package/dist/plugin/schema.js +0 -2
  30. package/dist/schemas/nx-json.d.ts +2 -153
  31. package/dist/schemas/nx-json.js +0 -2
  32. package/dist/schemas/project-json.d.ts +2 -153
  33. package/dist/schemas/project-json.js +0 -2
  34. package/package.json +16 -13
  35. package/dist/commands/index.d.ts +0 -755
  36. package/dist/commands/index.js +0 -14
  37. package/dist/commands/lib/dependencies.d.ts +0 -10
  38. package/dist/commands/lib/dependencies.js +0 -12
  39. package/dist/executors/lifecycle/container.d.ts +0 -603
  40. package/dist/executors/lifecycle/container.js +0 -8
  41. package/dist/lifecycle/dependencies.d.ts +0 -16
  42. package/dist/lifecycle/dependencies.js +0 -14
  43. package/dist/lifecycle/index.d.ts +0 -756
  44. package/dist/lifecycle/index.js +0 -25
  45. package/dist/plugin/container.d.ts +0 -855
  46. package/dist/plugin/container.js +0 -13
  47. package/dist/plugin/dependencies.d.ts +0 -860
  48. package/dist/plugin/dependencies.js +0 -9
@@ -1,14 +0,0 @@
1
- import { bind, identifier } from 'haywire';
2
- import { lifecycleInternalId, lifecycleInternalModule } from '../lifecycle/index.js';
3
- import { dependenciesModule, projectGraphId, workspaceRootId } from './lib/dependencies.js';
4
- import { LifecycleCommand } from './lifecycle-command.js';
5
- export const commandsId = identifier();
6
- export const commandsModule = dependenciesModule.mergeModule(lifecycleInternalModule).addBinding(bind(commandsId).withDependencies([
7
- LifecycleCommand
8
- ]).withProvider((...commands)=>commands)).addBinding(bind(LifecycleCommand).withDependencies([
9
- projectGraphId.supplier('async'),
10
- workspaceRootId,
11
- lifecycleInternalId
12
- ]).withConstructorProvider());
13
-
14
- //# sourceMappingURL=index.js.map
@@ -1,10 +0,0 @@
1
- import type { ProjectGraph } from '@nx/devkit';
2
- export type ConsoleLog = (log: unknown) => void;
3
- export declare const consoleLogId: import("haywire").HaywireId<ConsoleLog, null, "log", false, false, false, false, false>;
4
- export declare const consoleErrorId: import("haywire").HaywireId<ConsoleLog, null, "error", false, false, false, false, false>;
5
- export type ExitCode = (code: number) => void;
6
- export declare const exitCodeId: import("haywire").HaywireId<ExitCode, null, null, false, false, false, false, false>;
7
- export declare const projectGraphId: import("haywire").HaywireId<ProjectGraph, null, null, false, false, false, false, false>;
8
- export declare const workspaceRootId: import("haywire").HaywireId<string, null, "workspace-root", false, false, false, false, false>;
9
- export declare const dependenciesModule: import("haywire").Module<[import("haywire").NonExtendable<string, null, "workspace-root", false, false, false>] | [import("haywire").NonExtendable<string, null, "workspace-root", false, false, true>] | [import("haywire").NonExtendable<string, null, "workspace-root", false, true, false>] | [import("haywire").NonExtendable<string, null, "workspace-root", false, true, true>] | [import("haywire").NonExtendable<ConsoleLog, null, "error", false, false, false>] | [import("haywire").NonExtendable<ConsoleLog, null, "error", false, false, true>] | [import("haywire").NonExtendable<ConsoleLog, null, "error", false, true, false>] | [import("haywire").NonExtendable<ConsoleLog, null, "error", false, true, true>] | [import("haywire").NonExtendable<ConsoleLog, null, "log", false, false, false>] | [import("haywire").NonExtendable<ConsoleLog, null, "log", false, false, true>] | [import("haywire").NonExtendable<ConsoleLog, null, "log", false, true, false>] | [import("haywire").NonExtendable<ConsoleLog, null, "log", false, true, true>] | [import("haywire").NonExtendable<ExitCode, null, null, false, false, false>] | [import("haywire").NonExtendable<ExitCode, null, null, false, false, true>] | [import("haywire").NonExtendable<ExitCode, null, null, false, true, false>] | [import("haywire").NonExtendable<ExitCode, null, null, false, true, true>] | [import("haywire").NonExtendable<ProjectGraph, null, null, false, false, false>] | [import("haywire").NonExtendable<ProjectGraph, null, null, false, false, true>] | [import("haywire").NonExtendable<ProjectGraph, null, null, false, true, false>] | [import("haywire").NonExtendable<ProjectGraph, null, null, false, true, true>], never, never, true>;
10
- //# sourceMappingURL=dependencies.d.ts.map
@@ -1,12 +0,0 @@
1
- import { createProjectGraphAsync, workspaceRoot } from '@nx/devkit';
2
- import { bind, createModule, identifier, singletonScope } from 'haywire';
3
- export const consoleLogId = identifier().named('log');
4
- export const consoleErrorId = identifier().named('error');
5
- export const exitCodeId = identifier();
6
- export const projectGraphId = identifier();
7
- export const workspaceRootId = identifier().named('workspace-root');
8
- export const dependenciesModule = createModule(bind(consoleLogId).withInstance(console.log)).addBinding(bind(consoleErrorId).withInstance(console.error)).addBinding(bind(exitCodeId).withInstance((code)=>{
9
- process.exitCode = code;
10
- })).addBinding(bind(projectGraphId).withAsyncFactory(createProjectGraphAsync).scoped(singletonScope)).addBinding(bind(workspaceRootId).withInstance(workspaceRoot));
11
-
12
- //# sourceMappingURL=dependencies.js.map
@@ -1,603 +0,0 @@
1
- import { Lifecycle } from './lifecycle.js';
2
- export declare const lifecycleContainer: import("haywire").SyncContainer<[import("haywire").NonExtendable<import("format-file").FilesFormatter, null, null, false, false, false>] | [import("haywire").NonExtendable<import("format-file").FilesFormatter, null, null, false, false, true>] | [import("haywire").NonExtendable<import("format-file").FilesFormatter, null, null, false, true, false>] | [import("haywire").NonExtendable<import("format-file").FilesFormatter, null, null, false, true, true>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").ILifecycleInternal, null, null, false, false, false>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").ILifecycleInternal, null, null, false, false, true>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").ILifecycleInternal, null, null, false, true, false>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").ILifecycleInternal, null, null, false, true, true>] | [import("haywire").NonExtendable<Lifecycle, typeof Lifecycle, null, false, false, false>] | [import("haywire").NonExtendable<Lifecycle, typeof Lifecycle, null, false, false, true>] | [import("haywire").NonExtendable<Lifecycle, typeof Lifecycle, null, false, true, false>] | [import("haywire").NonExtendable<Lifecycle, typeof Lifecycle, null, false, true, true>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, typeof import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, null, false, false, false>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, typeof import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, null, false, false, true>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, typeof import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, null, false, true, false>] | [import("haywire").NonExtendable<import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, typeof import("../../lifecycle/lifecycle-internal.js").LifecycleInternal, null, false, true, true>] | [import("haywire").NonExtendable<import("../../lifecycle/dependencies.js").Logger, null, null, false, false, false>] | [import("haywire").NonExtendable<import("../../lifecycle/dependencies.js").Logger, null, null, false, false, true>] | [import("haywire").NonExtendable<import("../../lifecycle/dependencies.js").Logger, null, null, false, true, false>] | [import("haywire").NonExtendable<import("../../lifecycle/dependencies.js").Logger, null, null, false, true, true>] | [import("haywire").NonExtendable<import("../../lifecycle/normalizer.js").Normalizer, typeof import("../../lifecycle/normalizer.js").Normalizer, null, false, false, false>] | [import("haywire").NonExtendable<import("../../lifecycle/normalizer.js").Normalizer, typeof import("../../lifecycle/normalizer.js").Normalizer, null, false, false, true>] | [import("haywire").NonExtendable<import("../../lifecycle/normalizer.js").Normalizer, typeof import("../../lifecycle/normalizer.js").Normalizer, null, false, true, false>] | [import("haywire").NonExtendable<import("../../lifecycle/normalizer.js").Normalizer, typeof import("../../lifecycle/normalizer.js").Normalizer, null, false, true, true>] | [import("haywire").NonExtendable<import("../../lifecycle/processor.js").NxAndProjectJsonProcessor, null, null, false, false, false>] | [import("haywire").NonExtendable<import("../../lifecycle/processor.js").NxAndProjectJsonProcessor, null, null, false, false, true>] | [import("haywire").NonExtendable<import("../../lifecycle/processor.js").NxAndProjectJsonProcessor, null, null, false, true, false>] | [import("haywire").NonExtendable<import("../../lifecycle/processor.js").NxAndProjectJsonProcessor, null, null, false, true, true>] | [import("haywire").NonExtendable<import("parse-cwd").ParseCwd, null, null, false, false, false>] | [import("haywire").NonExtendable<import("parse-cwd").ParseCwd, null, null, false, false, true>] | [import("haywire").NonExtendable<import("parse-cwd").ParseCwd, null, null, false, true, false>] | [import("haywire").NonExtendable<import("parse-cwd").ParseCwd, null, null, false, true, true>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
3
- targets: Record<string, Partial<{
4
- executor: string;
5
- dependsOn: (string | (Partial<{
6
- dependencies: boolean;
7
- projects: never;
8
- }> & Partial<{
9
- target: string;
10
- params: string;
11
- }> & Required<Pick<{
12
- target: string;
13
- params: string;
14
- }, "target">>) | (string & Partial<{
15
- dependencies: boolean;
16
- projects: never;
17
- }> & Partial<{
18
- target: string;
19
- params: string;
20
- }> & Required<Pick<{
21
- target: string;
22
- params: string;
23
- }, "target">>) | (Partial<{
24
- dependencies: boolean;
25
- projects: never;
26
- }> & Partial<{
27
- target: string;
28
- params: string;
29
- }> & Required<Pick<{
30
- target: string;
31
- params: string;
32
- }, "target">> & string) | (Partial<{
33
- dependencies: never;
34
- projects: string | string[];
35
- }> & Required<Pick<{
36
- dependencies: never;
37
- projects: string | string[];
38
- }, "projects">> & Partial<{
39
- target: string;
40
- params: string;
41
- }> & Required<Pick<{
42
- target: string;
43
- params: string;
44
- }, "target">>) | (string & Partial<{
45
- dependencies: never;
46
- projects: string | string[];
47
- }> & Required<Pick<{
48
- dependencies: never;
49
- projects: string | string[];
50
- }, "projects">> & Partial<{
51
- target: string;
52
- params: string;
53
- }> & Required<Pick<{
54
- target: string;
55
- params: string;
56
- }, "target">>) | (Partial<{
57
- dependencies: never;
58
- projects: string | string[];
59
- }> & Required<Pick<{
60
- dependencies: never;
61
- projects: string | string[];
62
- }, "projects">> & Partial<{
63
- target: string;
64
- params: string;
65
- }> & Required<Pick<{
66
- target: string;
67
- params: string;
68
- }, "target">> & string))[];
69
- configurations: (Partial<{
70
- __lifecycle: import("juniper").EmptyObject;
71
- }> & Required<Pick<{
72
- __lifecycle: import("juniper").EmptyObject;
73
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
74
- __lifecycle: never;
75
- }>);
76
- }>>;
77
- }>, null, "projectJson", false, false, false>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
78
- targets: Record<string, Partial<{
79
- executor: string;
80
- dependsOn: (string | (Partial<{
81
- dependencies: boolean;
82
- projects: never;
83
- }> & Partial<{
84
- target: string;
85
- params: string;
86
- }> & Required<Pick<{
87
- target: string;
88
- params: string;
89
- }, "target">>) | (string & Partial<{
90
- dependencies: boolean;
91
- projects: never;
92
- }> & Partial<{
93
- target: string;
94
- params: string;
95
- }> & Required<Pick<{
96
- target: string;
97
- params: string;
98
- }, "target">>) | (Partial<{
99
- dependencies: boolean;
100
- projects: never;
101
- }> & Partial<{
102
- target: string;
103
- params: string;
104
- }> & Required<Pick<{
105
- target: string;
106
- params: string;
107
- }, "target">> & string) | (Partial<{
108
- dependencies: never;
109
- projects: string | string[];
110
- }> & Required<Pick<{
111
- dependencies: never;
112
- projects: string | string[];
113
- }, "projects">> & Partial<{
114
- target: string;
115
- params: string;
116
- }> & Required<Pick<{
117
- target: string;
118
- params: string;
119
- }, "target">>) | (string & Partial<{
120
- dependencies: never;
121
- projects: string | string[];
122
- }> & Required<Pick<{
123
- dependencies: never;
124
- projects: string | string[];
125
- }, "projects">> & Partial<{
126
- target: string;
127
- params: string;
128
- }> & Required<Pick<{
129
- target: string;
130
- params: string;
131
- }, "target">>) | (Partial<{
132
- dependencies: never;
133
- projects: string | string[];
134
- }> & Required<Pick<{
135
- dependencies: never;
136
- projects: string | string[];
137
- }, "projects">> & Partial<{
138
- target: string;
139
- params: string;
140
- }> & Required<Pick<{
141
- target: string;
142
- params: string;
143
- }, "target">> & string))[];
144
- configurations: (Partial<{
145
- __lifecycle: import("juniper").EmptyObject;
146
- }> & Required<Pick<{
147
- __lifecycle: import("juniper").EmptyObject;
148
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
149
- __lifecycle: never;
150
- }>);
151
- }>>;
152
- }>, null, "projectJson", false, false, true>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
153
- targets: Record<string, Partial<{
154
- executor: string;
155
- dependsOn: (string | (Partial<{
156
- dependencies: boolean;
157
- projects: never;
158
- }> & Partial<{
159
- target: string;
160
- params: string;
161
- }> & Required<Pick<{
162
- target: string;
163
- params: string;
164
- }, "target">>) | (string & Partial<{
165
- dependencies: boolean;
166
- projects: never;
167
- }> & Partial<{
168
- target: string;
169
- params: string;
170
- }> & Required<Pick<{
171
- target: string;
172
- params: string;
173
- }, "target">>) | (Partial<{
174
- dependencies: boolean;
175
- projects: never;
176
- }> & Partial<{
177
- target: string;
178
- params: string;
179
- }> & Required<Pick<{
180
- target: string;
181
- params: string;
182
- }, "target">> & string) | (Partial<{
183
- dependencies: never;
184
- projects: string | string[];
185
- }> & Required<Pick<{
186
- dependencies: never;
187
- projects: string | string[];
188
- }, "projects">> & Partial<{
189
- target: string;
190
- params: string;
191
- }> & Required<Pick<{
192
- target: string;
193
- params: string;
194
- }, "target">>) | (string & Partial<{
195
- dependencies: never;
196
- projects: string | string[];
197
- }> & Required<Pick<{
198
- dependencies: never;
199
- projects: string | string[];
200
- }, "projects">> & Partial<{
201
- target: string;
202
- params: string;
203
- }> & Required<Pick<{
204
- target: string;
205
- params: string;
206
- }, "target">>) | (Partial<{
207
- dependencies: never;
208
- projects: string | string[];
209
- }> & Required<Pick<{
210
- dependencies: never;
211
- projects: string | string[];
212
- }, "projects">> & Partial<{
213
- target: string;
214
- params: string;
215
- }> & Required<Pick<{
216
- target: string;
217
- params: string;
218
- }, "target">> & string))[];
219
- configurations: (Partial<{
220
- __lifecycle: import("juniper").EmptyObject;
221
- }> & Required<Pick<{
222
- __lifecycle: import("juniper").EmptyObject;
223
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
224
- __lifecycle: never;
225
- }>);
226
- }>>;
227
- }>, null, "projectJson", false, true, false>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
228
- targets: Record<string, Partial<{
229
- executor: string;
230
- dependsOn: (string | (Partial<{
231
- dependencies: boolean;
232
- projects: never;
233
- }> & Partial<{
234
- target: string;
235
- params: string;
236
- }> & Required<Pick<{
237
- target: string;
238
- params: string;
239
- }, "target">>) | (string & Partial<{
240
- dependencies: boolean;
241
- projects: never;
242
- }> & Partial<{
243
- target: string;
244
- params: string;
245
- }> & Required<Pick<{
246
- target: string;
247
- params: string;
248
- }, "target">>) | (Partial<{
249
- dependencies: boolean;
250
- projects: never;
251
- }> & Partial<{
252
- target: string;
253
- params: string;
254
- }> & Required<Pick<{
255
- target: string;
256
- params: string;
257
- }, "target">> & string) | (Partial<{
258
- dependencies: never;
259
- projects: string | string[];
260
- }> & Required<Pick<{
261
- dependencies: never;
262
- projects: string | string[];
263
- }, "projects">> & Partial<{
264
- target: string;
265
- params: string;
266
- }> & Required<Pick<{
267
- target: string;
268
- params: string;
269
- }, "target">>) | (string & Partial<{
270
- dependencies: never;
271
- projects: string | string[];
272
- }> & Required<Pick<{
273
- dependencies: never;
274
- projects: string | string[];
275
- }, "projects">> & Partial<{
276
- target: string;
277
- params: string;
278
- }> & Required<Pick<{
279
- target: string;
280
- params: string;
281
- }, "target">>) | (Partial<{
282
- dependencies: never;
283
- projects: string | string[];
284
- }> & Required<Pick<{
285
- dependencies: never;
286
- projects: string | string[];
287
- }, "projects">> & Partial<{
288
- target: string;
289
- params: string;
290
- }> & Required<Pick<{
291
- target: string;
292
- params: string;
293
- }, "target">> & string))[];
294
- configurations: (Partial<{
295
- __lifecycle: import("juniper").EmptyObject;
296
- }> & Required<Pick<{
297
- __lifecycle: import("juniper").EmptyObject;
298
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
299
- __lifecycle: never;
300
- }>);
301
- }>>;
302
- }>, null, "projectJson", false, true, true>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
303
- targetDefaults: Record<string, Partial<{
304
- executor: string;
305
- dependsOn: (string | (Partial<{
306
- dependencies: boolean;
307
- projects: never;
308
- }> & Partial<{
309
- target: string;
310
- params: string;
311
- }> & Required<Pick<{
312
- target: string;
313
- params: string;
314
- }, "target">>) | (string & Partial<{
315
- dependencies: boolean;
316
- projects: never;
317
- }> & Partial<{
318
- target: string;
319
- params: string;
320
- }> & Required<Pick<{
321
- target: string;
322
- params: string;
323
- }, "target">>) | (Partial<{
324
- dependencies: boolean;
325
- projects: never;
326
- }> & Partial<{
327
- target: string;
328
- params: string;
329
- }> & Required<Pick<{
330
- target: string;
331
- params: string;
332
- }, "target">> & string) | (Partial<{
333
- dependencies: never;
334
- projects: string | string[];
335
- }> & Required<Pick<{
336
- dependencies: never;
337
- projects: string | string[];
338
- }, "projects">> & Partial<{
339
- target: string;
340
- params: string;
341
- }> & Required<Pick<{
342
- target: string;
343
- params: string;
344
- }, "target">>) | (string & Partial<{
345
- dependencies: never;
346
- projects: string | string[];
347
- }> & Required<Pick<{
348
- dependencies: never;
349
- projects: string | string[];
350
- }, "projects">> & Partial<{
351
- target: string;
352
- params: string;
353
- }> & Required<Pick<{
354
- target: string;
355
- params: string;
356
- }, "target">>) | (Partial<{
357
- dependencies: never;
358
- projects: string | string[];
359
- }> & Required<Pick<{
360
- dependencies: never;
361
- projects: string | string[];
362
- }, "projects">> & Partial<{
363
- target: string;
364
- params: string;
365
- }> & Required<Pick<{
366
- target: string;
367
- params: string;
368
- }, "target">> & string))[];
369
- configurations: (Partial<{
370
- __lifecycle: import("juniper").EmptyObject;
371
- }> & Required<Pick<{
372
- __lifecycle: import("juniper").EmptyObject;
373
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
374
- __lifecycle: never;
375
- }>);
376
- }>>;
377
- }>, null, "nxJson", false, false, false>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
378
- targetDefaults: Record<string, Partial<{
379
- executor: string;
380
- dependsOn: (string | (Partial<{
381
- dependencies: boolean;
382
- projects: never;
383
- }> & Partial<{
384
- target: string;
385
- params: string;
386
- }> & Required<Pick<{
387
- target: string;
388
- params: string;
389
- }, "target">>) | (string & Partial<{
390
- dependencies: boolean;
391
- projects: never;
392
- }> & Partial<{
393
- target: string;
394
- params: string;
395
- }> & Required<Pick<{
396
- target: string;
397
- params: string;
398
- }, "target">>) | (Partial<{
399
- dependencies: boolean;
400
- projects: never;
401
- }> & Partial<{
402
- target: string;
403
- params: string;
404
- }> & Required<Pick<{
405
- target: string;
406
- params: string;
407
- }, "target">> & string) | (Partial<{
408
- dependencies: never;
409
- projects: string | string[];
410
- }> & Required<Pick<{
411
- dependencies: never;
412
- projects: string | string[];
413
- }, "projects">> & Partial<{
414
- target: string;
415
- params: string;
416
- }> & Required<Pick<{
417
- target: string;
418
- params: string;
419
- }, "target">>) | (string & Partial<{
420
- dependencies: never;
421
- projects: string | string[];
422
- }> & Required<Pick<{
423
- dependencies: never;
424
- projects: string | string[];
425
- }, "projects">> & Partial<{
426
- target: string;
427
- params: string;
428
- }> & Required<Pick<{
429
- target: string;
430
- params: string;
431
- }, "target">>) | (Partial<{
432
- dependencies: never;
433
- projects: string | string[];
434
- }> & Required<Pick<{
435
- dependencies: never;
436
- projects: string | string[];
437
- }, "projects">> & Partial<{
438
- target: string;
439
- params: string;
440
- }> & Required<Pick<{
441
- target: string;
442
- params: string;
443
- }, "target">> & string))[];
444
- configurations: (Partial<{
445
- __lifecycle: import("juniper").EmptyObject;
446
- }> & Required<Pick<{
447
- __lifecycle: import("juniper").EmptyObject;
448
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
449
- __lifecycle: never;
450
- }>);
451
- }>>;
452
- }>, null, "nxJson", false, false, true>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
453
- targetDefaults: Record<string, Partial<{
454
- executor: string;
455
- dependsOn: (string | (Partial<{
456
- dependencies: boolean;
457
- projects: never;
458
- }> & Partial<{
459
- target: string;
460
- params: string;
461
- }> & Required<Pick<{
462
- target: string;
463
- params: string;
464
- }, "target">>) | (string & Partial<{
465
- dependencies: boolean;
466
- projects: never;
467
- }> & Partial<{
468
- target: string;
469
- params: string;
470
- }> & Required<Pick<{
471
- target: string;
472
- params: string;
473
- }, "target">>) | (Partial<{
474
- dependencies: boolean;
475
- projects: never;
476
- }> & Partial<{
477
- target: string;
478
- params: string;
479
- }> & Required<Pick<{
480
- target: string;
481
- params: string;
482
- }, "target">> & string) | (Partial<{
483
- dependencies: never;
484
- projects: string | string[];
485
- }> & Required<Pick<{
486
- dependencies: never;
487
- projects: string | string[];
488
- }, "projects">> & Partial<{
489
- target: string;
490
- params: string;
491
- }> & Required<Pick<{
492
- target: string;
493
- params: string;
494
- }, "target">>) | (string & Partial<{
495
- dependencies: never;
496
- projects: string | string[];
497
- }> & Required<Pick<{
498
- dependencies: never;
499
- projects: string | string[];
500
- }, "projects">> & Partial<{
501
- target: string;
502
- params: string;
503
- }> & Required<Pick<{
504
- target: string;
505
- params: string;
506
- }, "target">>) | (Partial<{
507
- dependencies: never;
508
- projects: string | string[];
509
- }> & Required<Pick<{
510
- dependencies: never;
511
- projects: string | string[];
512
- }, "projects">> & Partial<{
513
- target: string;
514
- params: string;
515
- }> & Required<Pick<{
516
- target: string;
517
- params: string;
518
- }, "target">> & string))[];
519
- configurations: (Partial<{
520
- __lifecycle: import("juniper").EmptyObject;
521
- }> & Required<Pick<{
522
- __lifecycle: import("juniper").EmptyObject;
523
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
524
- __lifecycle: never;
525
- }>);
526
- }>>;
527
- }>, null, "nxJson", false, true, false>] | [import("haywire").NonExtendable<(x: unknown) => asserts x is Record<string, unknown> & Partial<{
528
- targetDefaults: Record<string, Partial<{
529
- executor: string;
530
- dependsOn: (string | (Partial<{
531
- dependencies: boolean;
532
- projects: never;
533
- }> & Partial<{
534
- target: string;
535
- params: string;
536
- }> & Required<Pick<{
537
- target: string;
538
- params: string;
539
- }, "target">>) | (string & Partial<{
540
- dependencies: boolean;
541
- projects: never;
542
- }> & Partial<{
543
- target: string;
544
- params: string;
545
- }> & Required<Pick<{
546
- target: string;
547
- params: string;
548
- }, "target">>) | (Partial<{
549
- dependencies: boolean;
550
- projects: never;
551
- }> & Partial<{
552
- target: string;
553
- params: string;
554
- }> & Required<Pick<{
555
- target: string;
556
- params: string;
557
- }, "target">> & string) | (Partial<{
558
- dependencies: never;
559
- projects: string | string[];
560
- }> & Required<Pick<{
561
- dependencies: never;
562
- projects: string | string[];
563
- }, "projects">> & Partial<{
564
- target: string;
565
- params: string;
566
- }> & Required<Pick<{
567
- target: string;
568
- params: string;
569
- }, "target">>) | (string & 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">>) | (Partial<{
582
- dependencies: never;
583
- projects: string | string[];
584
- }> & Required<Pick<{
585
- dependencies: never;
586
- projects: string | string[];
587
- }, "projects">> & Partial<{
588
- target: string;
589
- params: string;
590
- }> & Required<Pick<{
591
- target: string;
592
- params: string;
593
- }, "target">> & string))[];
594
- configurations: (Partial<{
595
- __lifecycle: import("juniper").EmptyObject;
596
- }> & Required<Pick<{
597
- __lifecycle: import("juniper").EmptyObject;
598
- }, "__lifecycle">>) | (Record<string, unknown> & Partial<{
599
- __lifecycle: never;
600
- }>);
601
- }>>;
602
- }>, null, "nxJson", false, true, true>] | [import("haywire").NonExtendable<typeof import("fs/promises").writeFile, null, null, false, false, false>] | [import("haywire").NonExtendable<typeof import("fs/promises").writeFile, null, null, false, false, true>] | [import("haywire").NonExtendable<typeof import("fs/promises").writeFile, null, null, false, true, false>] | [import("haywire").NonExtendable<typeof import("fs/promises").writeFile, null, null, false, true, true>] | [import("haywire").NonExtendable<typeof import("fs/promises").readFile, null, null, false, false, false>] | [import("haywire").NonExtendable<typeof import("fs/promises").readFile, null, null, false, false, true>] | [import("haywire").NonExtendable<typeof import("fs/promises").readFile, null, null, false, true, false>] | [import("haywire").NonExtendable<typeof import("fs/promises").readFile, null, null, false, true, true>] | [import("haywire").NonExtendable<boolean, null, "isCI", false, false, false>] | [import("haywire").NonExtendable<boolean, null, "isCI", false, false, true>] | [import("haywire").NonExtendable<boolean, null, "isCI", false, true, false>] | [import("haywire").NonExtendable<boolean, null, "isCI", false, true, true>]>;
603
- //# sourceMappingURL=container.d.ts.map
@@ -1,8 +0,0 @@
1
- import { bind, createContainer } from 'haywire';
2
- import { lifecycleInternalId, lifecycleInternalModule } from '../../lifecycle/index.js';
3
- import { Lifecycle } from './lifecycle.js';
4
- export const lifecycleContainer = createContainer(lifecycleInternalModule.addBinding(bind(Lifecycle).withDependencies([
5
- lifecycleInternalId
6
- ]).withConstructorProvider()));
7
-
8
- //# sourceMappingURL=container.js.map