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
package/dist/schemas/target.d.ts
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SchemaType } from 'juniper';
|
|
2
2
|
declare const targetSchema: import("juniper").ObjectSchema<{
|
|
3
3
|
executor: import("juniper").StringSchema<string, false>;
|
|
4
|
-
dependsOn: import("juniper").ArraySchema<
|
|
5
|
-
|
|
4
|
+
dependsOn: import("juniper").ArraySchema<string | (Partial<{
|
|
5
|
+
dependencies: boolean;
|
|
6
|
+
projects: never;
|
|
7
|
+
}> & Partial<{
|
|
8
|
+
target: string;
|
|
9
|
+
params: string;
|
|
6
10
|
}> & Required<Pick<{
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
target: string;
|
|
12
|
+
params: string;
|
|
13
|
+
}, "target">>) | (string & Partial<{
|
|
14
|
+
dependencies: boolean;
|
|
15
|
+
projects: never;
|
|
16
|
+
}> & Partial<{
|
|
9
17
|
target: string;
|
|
10
18
|
params: string;
|
|
11
19
|
}> & Required<Pick<{
|
|
@@ -13,15 +21,30 @@ declare const targetSchema: import("juniper").ObjectSchema<{
|
|
|
13
21
|
params: string;
|
|
14
22
|
}, "target">>) | (Partial<{
|
|
15
23
|
dependencies: boolean;
|
|
24
|
+
projects: never;
|
|
16
25
|
}> & Partial<{
|
|
17
26
|
target: string;
|
|
18
27
|
params: string;
|
|
19
28
|
}> & Required<Pick<{
|
|
20
29
|
target: string;
|
|
21
30
|
params: string;
|
|
22
|
-
}, "target">>
|
|
31
|
+
}, "target">> & string) | (Partial<{
|
|
32
|
+
dependencies: never;
|
|
33
|
+
projects: string | string[];
|
|
34
|
+
}> & Required<Pick<{
|
|
35
|
+
dependencies: never;
|
|
36
|
+
projects: string | string[];
|
|
37
|
+
}, "projects">> & Partial<{
|
|
38
|
+
target: string;
|
|
39
|
+
params: string;
|
|
40
|
+
}> & Required<Pick<{
|
|
41
|
+
target: string;
|
|
42
|
+
params: string;
|
|
43
|
+
}, "target">>) | (string & Partial<{
|
|
44
|
+
dependencies: never;
|
|
23
45
|
projects: string | string[];
|
|
24
46
|
}> & Required<Pick<{
|
|
47
|
+
dependencies: never;
|
|
25
48
|
projects: string | string[];
|
|
26
49
|
}, "projects">> & Partial<{
|
|
27
50
|
target: string;
|
|
@@ -30,30 +53,42 @@ declare const targetSchema: import("juniper").ObjectSchema<{
|
|
|
30
53
|
target: string;
|
|
31
54
|
params: string;
|
|
32
55
|
}, "target">>) | (Partial<{
|
|
33
|
-
dependencies:
|
|
34
|
-
|
|
56
|
+
dependencies: never;
|
|
57
|
+
projects: string | string[];
|
|
58
|
+
}> & Required<Pick<{
|
|
59
|
+
dependencies: never;
|
|
60
|
+
projects: string | string[];
|
|
61
|
+
}, "projects">> & Partial<{
|
|
35
62
|
target: string;
|
|
36
63
|
params: string;
|
|
37
64
|
}> & Required<Pick<{
|
|
38
65
|
target: string;
|
|
39
66
|
params: string;
|
|
40
|
-
}, "target">>
|
|
41
|
-
configurations: import("juniper").ObjectSchema<{}, never, boolean, import("juniper").EmptyIndex, (
|
|
42
|
-
__lifecycle: never;
|
|
43
|
-
}>) | (Partial<{
|
|
67
|
+
}, "target">> & string), [], never, unknown, false>;
|
|
68
|
+
configurations: import("juniper").ObjectSchema<{}, never, boolean, import("juniper").EmptyIndex, (Partial<{
|
|
44
69
|
__lifecycle: import("juniper").EmptyObject;
|
|
45
70
|
}> & Required<Pick<{
|
|
46
71
|
__lifecycle: import("juniper").EmptyObject;
|
|
47
|
-
}, "__lifecycle">>),
|
|
72
|
+
}, "__lifecycle">>) | (Record<string, unknown> & Partial<{
|
|
73
|
+
__lifecycle: never;
|
|
74
|
+
}>), boolean>;
|
|
48
75
|
}, never, boolean, import("juniper").EmptyIndex, unknown, false>;
|
|
49
76
|
export type Target = SchemaType<typeof targetSchema>;
|
|
50
77
|
export declare const allTargetsSchema: import("juniper").ObjectSchema<{}, never, import("juniper").ObjectSchema<{
|
|
51
78
|
executor: import("juniper").StringSchema<string, false>;
|
|
52
|
-
dependsOn: import("juniper").ArraySchema<
|
|
53
|
-
|
|
79
|
+
dependsOn: import("juniper").ArraySchema<string | (Partial<{
|
|
80
|
+
dependencies: boolean;
|
|
81
|
+
projects: never;
|
|
82
|
+
}> & Partial<{
|
|
83
|
+
target: string;
|
|
84
|
+
params: string;
|
|
54
85
|
}> & Required<Pick<{
|
|
55
|
-
|
|
56
|
-
|
|
86
|
+
target: string;
|
|
87
|
+
params: string;
|
|
88
|
+
}, "target">>) | (string & Partial<{
|
|
89
|
+
dependencies: boolean;
|
|
90
|
+
projects: never;
|
|
91
|
+
}> & Partial<{
|
|
57
92
|
target: string;
|
|
58
93
|
params: string;
|
|
59
94
|
}> & Required<Pick<{
|
|
@@ -61,15 +96,30 @@ export declare const allTargetsSchema: import("juniper").ObjectSchema<{}, never,
|
|
|
61
96
|
params: string;
|
|
62
97
|
}, "target">>) | (Partial<{
|
|
63
98
|
dependencies: boolean;
|
|
99
|
+
projects: never;
|
|
64
100
|
}> & Partial<{
|
|
65
101
|
target: string;
|
|
66
102
|
params: string;
|
|
67
103
|
}> & Required<Pick<{
|
|
68
104
|
target: string;
|
|
69
105
|
params: string;
|
|
70
|
-
}, "target">>
|
|
106
|
+
}, "target">> & string) | (Partial<{
|
|
107
|
+
dependencies: never;
|
|
108
|
+
projects: string | string[];
|
|
109
|
+
}> & Required<Pick<{
|
|
110
|
+
dependencies: never;
|
|
111
|
+
projects: string | string[];
|
|
112
|
+
}, "projects">> & Partial<{
|
|
113
|
+
target: string;
|
|
114
|
+
params: string;
|
|
115
|
+
}> & Required<Pick<{
|
|
116
|
+
target: string;
|
|
117
|
+
params: string;
|
|
118
|
+
}, "target">>) | (string & Partial<{
|
|
119
|
+
dependencies: never;
|
|
71
120
|
projects: string | string[];
|
|
72
121
|
}> & Required<Pick<{
|
|
122
|
+
dependencies: never;
|
|
73
123
|
projects: string | string[];
|
|
74
124
|
}, "projects">> & Partial<{
|
|
75
125
|
target: string;
|
|
@@ -78,21 +128,25 @@ export declare const allTargetsSchema: import("juniper").ObjectSchema<{}, never,
|
|
|
78
128
|
target: string;
|
|
79
129
|
params: string;
|
|
80
130
|
}, "target">>) | (Partial<{
|
|
81
|
-
dependencies:
|
|
82
|
-
|
|
131
|
+
dependencies: never;
|
|
132
|
+
projects: string | string[];
|
|
133
|
+
}> & Required<Pick<{
|
|
134
|
+
dependencies: never;
|
|
135
|
+
projects: string | string[];
|
|
136
|
+
}, "projects">> & Partial<{
|
|
83
137
|
target: string;
|
|
84
138
|
params: string;
|
|
85
139
|
}> & Required<Pick<{
|
|
86
140
|
target: string;
|
|
87
141
|
params: string;
|
|
88
|
-
}, "target">>
|
|
89
|
-
configurations: import("juniper").ObjectSchema<{}, never, boolean, import("juniper").EmptyIndex, (
|
|
90
|
-
__lifecycle: never;
|
|
91
|
-
}>) | (Partial<{
|
|
142
|
+
}, "target">> & string), [], never, unknown, false>;
|
|
143
|
+
configurations: import("juniper").ObjectSchema<{}, never, boolean, import("juniper").EmptyIndex, (Partial<{
|
|
92
144
|
__lifecycle: import("juniper").EmptyObject;
|
|
93
145
|
}> & Required<Pick<{
|
|
94
146
|
__lifecycle: import("juniper").EmptyObject;
|
|
95
|
-
}, "__lifecycle">>),
|
|
147
|
+
}, "__lifecycle">>) | (Record<string, unknown> & Partial<{
|
|
148
|
+
__lifecycle: never;
|
|
149
|
+
}>), boolean>;
|
|
96
150
|
}, never, boolean, import("juniper").EmptyIndex, unknown, false>, import("juniper").EmptyIndex, unknown, false>;
|
|
97
151
|
export type AllTargets = SchemaType<typeof allTargetsSchema>;
|
|
98
152
|
export {};
|
package/executors.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"executors": {
|
|
3
3
|
"lifecycle": {
|
|
4
|
-
"implementation": "./dist/executors/lifecycle/index.
|
|
5
|
-
"schema": "./
|
|
4
|
+
"implementation": "./dist/executors/lifecycle/index.js",
|
|
5
|
+
"schema": "./out/nx-executor/schema.json",
|
|
6
6
|
"description": "Keep nx lifecycle targets in sync."
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"outputCapture": "direct-nodejs",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"title": "lifecycle",
|
|
9
|
+
"description": "Inject Nx targets as high level workflows",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"properties": {
|
|
12
|
+
"$schema": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Path or URL to the JSON schema for this file",
|
|
15
|
+
"examples": [
|
|
16
|
+
"https://raw.githubusercontent.com/JacobLey/leyman/refs/heads/main/apps/nx-lifecycle/src/lifecycle/schema.json"
|
|
17
|
+
],
|
|
18
|
+
"format": "uri-reference"
|
|
19
|
+
},
|
|
20
|
+
"check": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Fails if references are not already updated, will not overwrite. Defaults to true during CI, false otherwise."
|
|
23
|
+
},
|
|
24
|
+
"dryRun": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Load files and content, but do not write anything."
|
|
27
|
+
},
|
|
28
|
+
"stages": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"description": "Lifecycle stages by name",
|
|
31
|
+
"additionalProperties": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"dependsOn": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"oneOf": [
|
|
38
|
+
{
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "object",
|
|
43
|
+
"oneOf": [
|
|
44
|
+
{
|
|
45
|
+
"properties": {
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"type": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"projects": {
|
|
50
|
+
"not": {}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"properties": {
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"not": {}
|
|
58
|
+
},
|
|
59
|
+
"projects": {
|
|
60
|
+
"oneOf": [
|
|
61
|
+
{
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"projects"
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"properties": {
|
|
79
|
+
"target": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"params": {
|
|
83
|
+
"enum": [
|
|
84
|
+
"forward",
|
|
85
|
+
"ignore"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": [
|
|
90
|
+
"target"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"hooks": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"bindings": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"description": "Bind targets to hooks",
|
|
108
|
+
"additionalProperties": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "Name of hook in `stage:hook` format"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": [
|
|
115
|
+
"stages",
|
|
116
|
+
"bindings"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "object",
|
|
121
|
+
"additionalProperties": false,
|
|
122
|
+
"properties": {
|
|
123
|
+
"$schema": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Path or URL to the JSON schema for this file",
|
|
126
|
+
"examples": [
|
|
127
|
+
"https://raw.githubusercontent.com/JacobLey/leyman/refs/heads/main/apps/nx-lifecycle/src/lifecycle/schema.json"
|
|
128
|
+
],
|
|
129
|
+
"format": "uri-reference"
|
|
130
|
+
},
|
|
131
|
+
"check": {
|
|
132
|
+
"type": "boolean",
|
|
133
|
+
"description": "Fails if references are not already updated, will not overwrite. Defaults to true during CI, false otherwise."
|
|
134
|
+
},
|
|
135
|
+
"dryRun": {
|
|
136
|
+
"type": "boolean",
|
|
137
|
+
"description": "Load files and content, but do not write anything."
|
|
138
|
+
},
|
|
139
|
+
"configFile": {
|
|
140
|
+
"type": "string"
|
|
141
|
+
},
|
|
142
|
+
"cwd": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}
|
package/out/schema.json
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"title": "lifecycle",
|
|
4
|
+
"description": "Inject Nx targets as high level workflows",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"properties": {
|
|
7
|
+
"$schema": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Path or URL to the JSON schema for this file",
|
|
10
|
+
"examples": [
|
|
11
|
+
"https://raw.githubusercontent.com/JacobLey/leyman/refs/heads/main/apps/nx-lifecycle/src/lifecycle/schema.json"
|
|
12
|
+
],
|
|
13
|
+
"format": "uri-reference"
|
|
14
|
+
},
|
|
15
|
+
"check": {
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"description": "Fails if references are not already updated, will not overwrite. Defaults to true during CI, false otherwise."
|
|
18
|
+
},
|
|
19
|
+
"dryRun": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"description": "Load files and content, but do not write anything."
|
|
22
|
+
},
|
|
23
|
+
"stages": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"description": "Lifecycle stages by name",
|
|
26
|
+
"additionalProperties": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"dependsOn": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"oneOf": [
|
|
33
|
+
{
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "object",
|
|
38
|
+
"oneOf": [
|
|
39
|
+
{
|
|
40
|
+
"properties": {
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"type": "boolean"
|
|
43
|
+
},
|
|
44
|
+
"projects": {
|
|
45
|
+
"not": {}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"properties": {
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"not": {}
|
|
53
|
+
},
|
|
54
|
+
"projects": {
|
|
55
|
+
"oneOf": [
|
|
56
|
+
{
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "string"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"projects"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"properties": {
|
|
74
|
+
"target": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"params": {
|
|
78
|
+
"enum": [
|
|
79
|
+
"forward",
|
|
80
|
+
"ignore"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": [
|
|
85
|
+
"target"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"hooks": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"bindings": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"description": "Bind targets to hooks",
|
|
103
|
+
"additionalProperties": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Name of hook in `stage:hook` format"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": [
|
|
110
|
+
"stages",
|
|
111
|
+
"bindings"
|
|
112
|
+
],
|
|
113
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema"
|
|
114
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nx-lifecycle",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Keep high level nx lifecycle targets in sync",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=
|
|
6
|
+
"node": ">=24"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
9
|
"author": "JacobLey",
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"repository":
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "JacobLey/leyman"
|
|
14
|
+
},
|
|
12
15
|
"homepage": "https://github.com/JacobLey/leyman/tree/main/apps/nx-lifecycle#readme",
|
|
13
16
|
"bugs": {
|
|
14
17
|
"url": "https://github.com/JacobLey/leyman/issues"
|
|
@@ -23,6 +26,7 @@
|
|
|
23
26
|
"sideEffects": false,
|
|
24
27
|
"executors": "./executors.json",
|
|
25
28
|
"exports": {
|
|
29
|
+
"./plugin": "./dist/plugin/index.js",
|
|
26
30
|
"./package.json": {
|
|
27
31
|
"default": "./package.json"
|
|
28
32
|
}
|
|
@@ -31,50 +35,45 @@
|
|
|
31
35
|
"#schemas": {
|
|
32
36
|
"types": "./src/schemas/index.ts",
|
|
33
37
|
"default": "./dist/schemas/index.js"
|
|
34
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"#internal/*": "./dist/*"
|
|
35
40
|
},
|
|
36
41
|
"bin": {
|
|
37
42
|
"lifecycle": "./bin.mjs"
|
|
38
43
|
},
|
|
39
44
|
"dependencies": {
|
|
40
|
-
"@nx/devkit": "^
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"fast-equals": "^
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"haywire": "^0.1.8",
|
|
53
|
-
"parse-cwd": "^1.1.2",
|
|
54
|
-
"juniper": "^1.2.5"
|
|
45
|
+
"@nx/devkit": "^23.2.1",
|
|
46
|
+
"ci-info": "^4.4.0",
|
|
47
|
+
"entry-script": "^4.0.0",
|
|
48
|
+
"fast-equals": "^6.0.4",
|
|
49
|
+
"format-file": "^1.0.0",
|
|
50
|
+
"haywire": "^1.0.0",
|
|
51
|
+
"haywire-launcher": "^1.0.0",
|
|
52
|
+
"juniper": "^2.0.0",
|
|
53
|
+
"juniper-validator": "^0.1.0",
|
|
54
|
+
"nx": "^23.2.1",
|
|
55
|
+
"parse-cwd": "^2.0.0",
|
|
56
|
+
"yargs": "^18.2.0"
|
|
55
57
|
},
|
|
56
58
|
"devDependencies": {
|
|
57
|
-
"@biomejs/biome": "^
|
|
58
|
-
"@swc/cli": "^0.6.0",
|
|
59
|
-
"@swc/core": "^1.10.15",
|
|
60
|
-
"@types/chai": "^5.0.1",
|
|
61
|
-
"@types/chai-as-promised": "^8.0.1",
|
|
62
|
-
"@types/mocha": "^10.0.10",
|
|
63
|
-
"@types/node": "^22.13.1",
|
|
64
|
-
"@types/sinon": "^17.0.3",
|
|
65
|
-
"@types/yargs": "^17.0.33",
|
|
66
|
-
"c8": "^10.1.3",
|
|
67
|
-
"chai": "^5.1.2",
|
|
68
|
-
"chai-as-promised": "^8.0.1",
|
|
69
|
-
"eslint": "^9.20.0",
|
|
70
|
-
"mocha": "^11.1.0",
|
|
71
|
-
"sinon": "^19.0.2",
|
|
72
|
-
"typescript": "^5.7.3",
|
|
59
|
+
"@biomejs/biome": "^2.5.14",
|
|
73
60
|
"@leyman/eslint-config": "^0.0.1",
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"mocha
|
|
78
|
-
"
|
|
61
|
+
"@leyman/expect": "^0.0.1",
|
|
62
|
+
"@swc/cli": "^0.8.1",
|
|
63
|
+
"@swc/core": "^1.16.2",
|
|
64
|
+
"@types/mocha": "^10.0.10",
|
|
65
|
+
"@types/node": "^24.19.0",
|
|
66
|
+
"@types/sinon": "^22.0.0",
|
|
67
|
+
"@types/yargs": "^17.0.35",
|
|
68
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
69
|
+
"c8": "^12.0.0",
|
|
70
|
+
"eslint": "^9.39.5",
|
|
71
|
+
"expect-type": "^1.4.0",
|
|
72
|
+
"load-populate-files": "^1.0.0",
|
|
73
|
+
"mocha": "^12.0.2",
|
|
74
|
+
"mocha-chain": "^1.0.0",
|
|
75
|
+
"sinon": "^22.1.0",
|
|
76
|
+
"sinon-typed-stub": "^1.0.0",
|
|
77
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
79
78
|
}
|
|
80
79
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return _default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _commonproxy = require("common-proxy");
|
|
12
|
-
const _nxpluginhandler = require("nx-plugin-handler");
|
|
13
|
-
const _default = (0, _nxpluginhandler.handler)((0, _commonproxy.commonProxy)(import('./index.js')));
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
declare const _default: import("nx-plugin-handler").RawHandler<(Partial<{
|
|
2
|
-
$schema: string;
|
|
3
|
-
check: boolean;
|
|
4
|
-
dryRun: boolean;
|
|
5
|
-
stages: Record<string, Partial<{
|
|
6
|
-
dependsOn: ((string | (Partial<{
|
|
7
|
-
projects: string | string[];
|
|
8
|
-
}> & Required<Pick<{
|
|
9
|
-
projects: string | string[];
|
|
10
|
-
}, "projects">> & Partial<{
|
|
11
|
-
target: string;
|
|
12
|
-
params: string;
|
|
13
|
-
}> & Required<Pick<{
|
|
14
|
-
target: string;
|
|
15
|
-
params: string;
|
|
16
|
-
}, "target">>) | (Partial<{
|
|
17
|
-
dependencies: boolean;
|
|
18
|
-
}> & Partial<{
|
|
19
|
-
target: string;
|
|
20
|
-
params: string;
|
|
21
|
-
}> & Required<Pick<{
|
|
22
|
-
target: string;
|
|
23
|
-
params: string;
|
|
24
|
-
}, "target">>)) & (string | (Partial<{
|
|
25
|
-
projects: string | string[];
|
|
26
|
-
}> & Required<Pick<{
|
|
27
|
-
projects: string | string[];
|
|
28
|
-
}, "projects">> & Partial<{
|
|
29
|
-
target: string;
|
|
30
|
-
params: string;
|
|
31
|
-
}> & Required<Pick<{
|
|
32
|
-
target: string;
|
|
33
|
-
params: string;
|
|
34
|
-
}, "target">>) | (Partial<{
|
|
35
|
-
dependencies: boolean;
|
|
36
|
-
}> & Partial<{
|
|
37
|
-
target: string;
|
|
38
|
-
params: string;
|
|
39
|
-
}> & Required<Pick<{
|
|
40
|
-
target: string;
|
|
41
|
-
params: string;
|
|
42
|
-
}, "target">>) | undefined))[];
|
|
43
|
-
hooks: string[];
|
|
44
|
-
}>>;
|
|
45
|
-
bindings: Record<string, string>;
|
|
46
|
-
}> & Required<Pick<{
|
|
47
|
-
$schema: string;
|
|
48
|
-
check: boolean;
|
|
49
|
-
dryRun: boolean;
|
|
50
|
-
stages: Record<string, Partial<{
|
|
51
|
-
dependsOn: ((string | (Partial<{
|
|
52
|
-
projects: string | string[];
|
|
53
|
-
}> & Required<Pick<{
|
|
54
|
-
projects: string | string[];
|
|
55
|
-
}, "projects">> & Partial<{
|
|
56
|
-
target: string;
|
|
57
|
-
params: string;
|
|
58
|
-
}> & Required<Pick<{
|
|
59
|
-
target: string;
|
|
60
|
-
params: string;
|
|
61
|
-
}, "target">>) | (Partial<{
|
|
62
|
-
dependencies: boolean;
|
|
63
|
-
}> & Partial<{
|
|
64
|
-
target: string;
|
|
65
|
-
params: string;
|
|
66
|
-
}> & Required<Pick<{
|
|
67
|
-
target: string;
|
|
68
|
-
params: string;
|
|
69
|
-
}, "target">>)) & (string | (Partial<{
|
|
70
|
-
projects: string | string[];
|
|
71
|
-
}> & Required<Pick<{
|
|
72
|
-
projects: string | string[];
|
|
73
|
-
}, "projects">> & Partial<{
|
|
74
|
-
target: string;
|
|
75
|
-
params: string;
|
|
76
|
-
}> & Required<Pick<{
|
|
77
|
-
target: string;
|
|
78
|
-
params: string;
|
|
79
|
-
}, "target">>) | (Partial<{
|
|
80
|
-
dependencies: boolean;
|
|
81
|
-
}> & Partial<{
|
|
82
|
-
target: string;
|
|
83
|
-
params: string;
|
|
84
|
-
}> & Required<Pick<{
|
|
85
|
-
target: string;
|
|
86
|
-
params: string;
|
|
87
|
-
}, "target">>) | undefined))[];
|
|
88
|
-
hooks: string[];
|
|
89
|
-
}>>;
|
|
90
|
-
bindings: Record<string, string>;
|
|
91
|
-
}, "stages" | "bindings">>) | Partial<{
|
|
92
|
-
$schema: string;
|
|
93
|
-
check: boolean;
|
|
94
|
-
dryRun: boolean;
|
|
95
|
-
configFile: string;
|
|
96
|
-
cwd: string;
|
|
97
|
-
}>>;
|
|
98
|
-
export default _default;
|
|
99
|
-
//# sourceMappingURL=index.d.cts.map
|