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