@powerlines/nx 0.13.232 → 0.13.233
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/dist/src/base/base-executor.schema.d.ts +175 -164
- package/package.json +28 -18
- package/dist/src/_virtual/_rolldown/runtime.js +0 -28
- package/dist/src/base/base-executor.d.mts +0 -60
- package/dist/src/base/base-executor.d.mts.map +0 -1
- package/dist/src/base/base-executor.d.ts +0 -60
- package/dist/src/base/base-executor.d.ts.map +0 -1
- package/dist/src/base/base-executor.js +0 -118
- package/dist/src/base/base-executor.mjs +0 -116
- package/dist/src/base/base-executor.mjs.map +0 -1
- package/dist/src/base/base-executor.schema.d.js +0 -0
- package/dist/src/base/base-executor.schema.d.mts +0 -167
- package/dist/src/base/base-executor.schema.d.mts.map +0 -1
- package/dist/src/base/base-executor.schema.d.ts.map +0 -1
- package/dist/src/base/base-executor.untyped.d.mts +0 -5
- package/dist/src/base/base-executor.untyped.d.mts.map +0 -1
- package/dist/src/base/base-executor.untyped.d.ts +0 -4
- package/dist/src/base/base-executor.untyped.d.ts.map +0 -1
- package/dist/src/base/base-executor.untyped.js +0 -176
- package/dist/src/base/base-executor.untyped.mjs +0 -177
- package/dist/src/base/base-executor.untyped.mjs.map +0 -1
- package/dist/src/base/index.d.mts +0 -2
- package/dist/src/base/index.d.ts +0 -2
- package/dist/src/base/index.js +0 -5
- package/dist/src/base/index.mjs +0 -4
- package/dist/src/base-executor-BTwUZeOz.js +0 -122
- package/dist/src/base-executor-HCD7M10I.mjs +0 -116
- package/dist/src/base-executor-HCD7M10I.mjs.map +0 -1
- package/dist/src/base-executor.untyped-B9Vk-kJC.mjs +0 -177
- package/dist/src/base-executor.untyped-B9Vk-kJC.mjs.map +0 -1
- package/dist/src/base-executor.untyped-DZhWL1zT.js +0 -181
- package/dist/src/executors/build/executor.d.mts +0 -194
- package/dist/src/executors/build/executor.d.mts.map +0 -1
- package/dist/src/executors/build/executor.d.ts +0 -193
- package/dist/src/executors/build/executor.d.ts.map +0 -1
- package/dist/src/executors/build/executor.js +0 -11
- package/dist/src/executors/build/executor.mjs +0 -12
- package/dist/src/executors/build/executor.mjs.map +0 -1
- package/dist/src/executors/build/untyped.d.mts +0 -5
- package/dist/src/executors/build/untyped.d.mts.map +0 -1
- package/dist/src/executors/build/untyped.d.ts +0 -4
- package/dist/src/executors/build/untyped.d.ts.map +0 -1
- package/dist/src/executors/build/untyped.js +0 -24
- package/dist/src/executors/build/untyped.mjs +0 -25
- package/dist/src/executors/build/untyped.mjs.map +0 -1
- package/dist/src/executors/clean/executor.d.mts +0 -171
- package/dist/src/executors/clean/executor.d.mts.map +0 -1
- package/dist/src/executors/clean/executor.d.ts +0 -170
- package/dist/src/executors/clean/executor.d.ts.map +0 -1
- package/dist/src/executors/clean/executor.js +0 -11
- package/dist/src/executors/clean/executor.mjs +0 -12
- package/dist/src/executors/clean/executor.mjs.map +0 -1
- package/dist/src/executors/clean/untyped.d.mts +0 -5
- package/dist/src/executors/clean/untyped.d.mts.map +0 -1
- package/dist/src/executors/clean/untyped.d.ts +0 -4
- package/dist/src/executors/clean/untyped.d.ts.map +0 -1
- package/dist/src/executors/clean/untyped.js +0 -16
- package/dist/src/executors/clean/untyped.mjs +0 -17
- package/dist/src/executors/clean/untyped.mjs.map +0 -1
- package/dist/src/executors/docs/executor.d.mts +0 -185
- package/dist/src/executors/docs/executor.d.mts.map +0 -1
- package/dist/src/executors/docs/executor.d.ts +0 -184
- package/dist/src/executors/docs/executor.d.ts.map +0 -1
- package/dist/src/executors/docs/executor.js +0 -11
- package/dist/src/executors/docs/executor.mjs +0 -12
- package/dist/src/executors/docs/executor.mjs.map +0 -1
- package/dist/src/executors/docs/untyped.d.mts +0 -5
- package/dist/src/executors/docs/untyped.d.mts.map +0 -1
- package/dist/src/executors/docs/untyped.d.ts +0 -4
- package/dist/src/executors/docs/untyped.d.ts.map +0 -1
- package/dist/src/executors/docs/untyped.js +0 -16
- package/dist/src/executors/docs/untyped.mjs +0 -17
- package/dist/src/executors/docs/untyped.mjs.map +0 -1
- package/dist/src/executors/lint/executor.d.mts +0 -185
- package/dist/src/executors/lint/executor.d.mts.map +0 -1
- package/dist/src/executors/lint/executor.d.ts +0 -184
- package/dist/src/executors/lint/executor.d.ts.map +0 -1
- package/dist/src/executors/lint/executor.js +0 -11
- package/dist/src/executors/lint/executor.mjs +0 -12
- package/dist/src/executors/lint/executor.mjs.map +0 -1
- package/dist/src/executors/lint/untyped.d.mts +0 -5
- package/dist/src/executors/lint/untyped.d.mts.map +0 -1
- package/dist/src/executors/lint/untyped.d.ts +0 -4
- package/dist/src/executors/lint/untyped.d.ts.map +0 -1
- package/dist/src/executors/lint/untyped.js +0 -16
- package/dist/src/executors/lint/untyped.mjs +0 -17
- package/dist/src/executors/lint/untyped.mjs.map +0 -1
- package/dist/src/executors/prepare/executor.d.mts +0 -185
- package/dist/src/executors/prepare/executor.d.mts.map +0 -1
- package/dist/src/executors/prepare/executor.d.ts +0 -184
- package/dist/src/executors/prepare/executor.d.ts.map +0 -1
- package/dist/src/executors/prepare/executor.js +0 -11
- package/dist/src/executors/prepare/executor.mjs +0 -12
- package/dist/src/executors/prepare/executor.mjs.map +0 -1
- package/dist/src/executors/prepare/untyped.d.mts +0 -5
- package/dist/src/executors/prepare/untyped.d.mts.map +0 -1
- package/dist/src/executors/prepare/untyped.d.ts +0 -4
- package/dist/src/executors/prepare/untyped.d.ts.map +0 -1
- package/dist/src/executors/prepare/untyped.js +0 -26
- package/dist/src/executors/prepare/untyped.mjs +0 -27
- package/dist/src/executors/prepare/untyped.mjs.map +0 -1
- package/dist/src/generators/sync/generator.d.mts +0 -7
- package/dist/src/generators/sync/generator.d.mts.map +0 -1
- package/dist/src/generators/sync/generator.d.ts +0 -7
- package/dist/src/generators/sync/generator.d.ts.map +0 -1
- package/dist/src/generators/sync/generator.js +0 -11
- package/dist/src/generators/sync/generator.mjs +0 -10
- package/dist/src/generators/sync/generator.mjs.map +0 -1
- package/dist/src/generators/sync/untyped.d.mts +0 -5
- package/dist/src/generators/sync/untyped.d.mts.map +0 -1
- package/dist/src/generators/sync/untyped.d.ts +0 -4
- package/dist/src/generators/sync/untyped.d.ts.map +0 -1
- package/dist/src/generators/sync/untyped.js +0 -22
- package/dist/src/generators/sync/untyped.mjs +0 -23
- package/dist/src/generators/sync/untyped.mjs.map +0 -1
- package/dist/src/helpers/constants.d.mts +0 -8
- package/dist/src/helpers/constants.d.mts.map +0 -1
- package/dist/src/helpers/constants.d.ts +0 -8
- package/dist/src/helpers/constants.d.ts.map +0 -1
- package/dist/src/helpers/constants.js +0 -34
- package/dist/src/helpers/constants.mjs +0 -34
- package/dist/src/helpers/constants.mjs.map +0 -1
- package/dist/src/helpers/index.d.mts +0 -3
- package/dist/src/helpers/index.d.ts +0 -3
- package/dist/src/helpers/index.js +0 -8
- package/dist/src/helpers/index.mjs +0 -4
- package/dist/src/helpers/plugin-utilities.d.mts +0 -56
- package/dist/src/helpers/plugin-utilities.d.mts.map +0 -1
- package/dist/src/helpers/plugin-utilities.d.ts +0 -56
- package/dist/src/helpers/plugin-utilities.d.ts.map +0 -1
- package/dist/src/helpers/plugin-utilities.js +0 -255
- package/dist/src/helpers/plugin-utilities.mjs +0 -251
- package/dist/src/helpers/plugin-utilities.mjs.map +0 -1
- package/dist/src/index.d.mts +0 -7
- package/dist/src/index.d.ts +0 -7
- package/dist/src/index.js +0 -12
- package/dist/src/index.mjs +0 -7
- package/dist/src/plugin/index.d.mts +0 -291
- package/dist/src/plugin/index.d.mts.map +0 -1
- package/dist/src/plugin/index.d.ts +0 -291
- package/dist/src/plugin/index.d.ts.map +0 -1
- package/dist/src/plugin/index.js +0 -288
- package/dist/src/plugin/index.mjs +0 -286
- package/dist/src/plugin/index.mjs.map +0 -1
- package/dist/src/rolldown-runtime-C24Yb2bl.js +0 -33
- package/dist/src/types/index.d.mts +0 -2
- package/dist/src/types/index.d.ts +0 -2
- package/dist/src/types/index.js +0 -0
- package/dist/src/types/index.mjs +0 -1
- package/dist/src/types/plugin.d.mts +0 -288
- package/dist/src/types/plugin.d.mts.map +0 -1
- package/dist/src/types/plugin.d.ts +0 -288
- package/dist/src/types/plugin.d.ts.map +0 -1
- package/dist/src/types/plugin.js +0 -0
- package/dist/src/types/plugin.mjs +0 -1
|
@@ -1,167 +1,178 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
// Generated by @storm-software/untyped
|
|
3
3
|
// Do not edit this file directly
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
tsconfig
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
4
|
+
|
|
5
|
+
export interface BaseExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Powerlines Configuration File
|
|
8
|
+
*
|
|
9
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* @format path
|
|
13
|
+
*/
|
|
14
|
+
config?: string,
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Powerlines Configuration File
|
|
18
|
+
*
|
|
19
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
* @format path
|
|
23
|
+
*/
|
|
24
|
+
configFile?: string,
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Powerlines Configuration Index
|
|
28
|
+
*
|
|
29
|
+
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
30
|
+
*
|
|
31
|
+
* @default 0
|
|
32
|
+
*/
|
|
33
|
+
configIndex?: number,
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Input Entry File(s)
|
|
37
|
+
*
|
|
38
|
+
* The entry file(s) that serve as the input for the project
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
* @format path
|
|
42
|
+
*/
|
|
43
|
+
input?: Array<string>,
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* TSConfig Path
|
|
47
|
+
*
|
|
48
|
+
* The path to the tsconfig file
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
* @format path
|
|
52
|
+
*/
|
|
53
|
+
tsconfig?: string,
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Output Path
|
|
57
|
+
*
|
|
58
|
+
* The path to the output directory for the build artifacts
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @format path
|
|
62
|
+
*/
|
|
63
|
+
outputPath?: string,
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Copy Path
|
|
67
|
+
*
|
|
68
|
+
* A directory path to copy the build artifacts into
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @oneOf [object Object],[object Object]
|
|
72
|
+
*/
|
|
73
|
+
copyPath?: any,
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Sourcemap
|
|
77
|
+
*
|
|
78
|
+
* Generate a sourcemap
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
sourceMap?: boolean,
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Minify
|
|
85
|
+
*
|
|
86
|
+
* Minify the output
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
minify?: boolean,
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Format
|
|
93
|
+
*
|
|
94
|
+
* The format to build
|
|
95
|
+
*
|
|
96
|
+
* @default ["cjs","esm"]
|
|
97
|
+
*/
|
|
98
|
+
format?: Array<string>,
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Platform
|
|
102
|
+
*
|
|
103
|
+
* The platform to build
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @enum neutral,node,browser
|
|
107
|
+
*/
|
|
108
|
+
platform?: string,
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* External
|
|
112
|
+
*
|
|
113
|
+
* The external dependencies
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
external?: Array<any>,
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* No External
|
|
120
|
+
*
|
|
121
|
+
* The dependencies that should not be treated as external
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
noExternal?: Array<any>,
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Skip Node Modules Bundle
|
|
128
|
+
*
|
|
129
|
+
* Skip bundling node_modules during the build process (if required)
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
skipNodeModulesBundle?: boolean,
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Mode
|
|
136
|
+
*
|
|
137
|
+
* The build mode
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* @enum development,test,production
|
|
141
|
+
*/
|
|
142
|
+
mode?: string,
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Log Level
|
|
146
|
+
*
|
|
147
|
+
* The log level to use for the build process
|
|
148
|
+
*
|
|
149
|
+
*
|
|
150
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
151
|
+
*/
|
|
152
|
+
logLevel?: string,
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Define
|
|
156
|
+
*
|
|
157
|
+
* The `define` values
|
|
158
|
+
*
|
|
159
|
+
*/
|
|
160
|
+
define?: Record<string, string>,
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Assets
|
|
164
|
+
*
|
|
165
|
+
* The `assets` values
|
|
166
|
+
*
|
|
167
|
+
*/
|
|
168
|
+
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Additional Arguments
|
|
172
|
+
*
|
|
173
|
+
* The additional arguments provided during execution of the command
|
|
174
|
+
*
|
|
175
|
+
*/
|
|
176
|
+
additionalArgs?: Record<string, string>,
|
|
164
177
|
}
|
|
165
|
-
|
|
166
|
-
export { BaseExecutorSchema };
|
|
167
|
-
//# sourceMappingURL=base-executor.schema.d.ts.map
|
|
178
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/nx",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.233",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Nx plugin to support Powerlines development in Nx monorepos.",
|
|
6
6
|
"repository": {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"./generators.json": "./generators.json",
|
|
19
19
|
"./generators/*/schema.json": "./dist/src/generators/*/schema.json",
|
|
20
20
|
".": {
|
|
21
|
+
"types": "./src/index.ts",
|
|
21
22
|
"import": {
|
|
22
23
|
"types": "./dist/src/index.d.mts",
|
|
23
24
|
"default": "./dist/src/index.mjs"
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
"./index": {
|
|
36
|
+
"types": "./src/index.ts",
|
|
35
37
|
"import": {
|
|
36
38
|
"types": "./dist/src/index.d.mts",
|
|
37
39
|
"default": "./dist/src/index.mjs"
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
}
|
|
47
49
|
},
|
|
48
50
|
"./base/*": {
|
|
51
|
+
"types": "./src/base/*/index.ts",
|
|
49
52
|
"import": {
|
|
50
53
|
"types": "./dist/src/base/*.d.mts",
|
|
51
54
|
"default": "./dist/src/base/*.mjs"
|
|
@@ -60,6 +63,7 @@
|
|
|
60
63
|
}
|
|
61
64
|
},
|
|
62
65
|
"./types/*": {
|
|
66
|
+
"types": "./src/types/*/index.ts",
|
|
63
67
|
"import": {
|
|
64
68
|
"types": "./dist/src/types/*.d.mts",
|
|
65
69
|
"default": "./dist/src/types/*.mjs"
|
|
@@ -74,6 +78,7 @@
|
|
|
74
78
|
}
|
|
75
79
|
},
|
|
76
80
|
"./helpers/*": {
|
|
81
|
+
"types": "./src/helpers/*/index.ts",
|
|
77
82
|
"import": {
|
|
78
83
|
"types": "./dist/src/helpers/*.d.mts",
|
|
79
84
|
"default": "./dist/src/helpers/*.mjs"
|
|
@@ -88,6 +93,7 @@
|
|
|
88
93
|
}
|
|
89
94
|
},
|
|
90
95
|
"./plugin": {
|
|
96
|
+
"types": "./src/plugin/index.ts",
|
|
91
97
|
"import": {
|
|
92
98
|
"types": "./dist/src/plugin/index.d.mts",
|
|
93
99
|
"default": "./dist/src/plugin/index.mjs"
|
|
@@ -102,6 +108,7 @@
|
|
|
102
108
|
}
|
|
103
109
|
},
|
|
104
110
|
"./executors/*/untyped": {
|
|
111
|
+
"types": "./src/executors/*/untyped/index.ts",
|
|
105
112
|
"import": {
|
|
106
113
|
"types": "./dist/src/executors/*/untyped.d.mts",
|
|
107
114
|
"default": "./dist/src/executors/*/untyped.mjs"
|
|
@@ -116,6 +123,7 @@
|
|
|
116
123
|
}
|
|
117
124
|
},
|
|
118
125
|
"./generators/*/untyped": {
|
|
126
|
+
"types": "./src/generators/*/untyped/index.ts",
|
|
119
127
|
"import": {
|
|
120
128
|
"types": "./dist/src/generators/*/untyped.d.mts",
|
|
121
129
|
"default": "./dist/src/generators/*/untyped.mjs"
|
|
@@ -130,6 +138,7 @@
|
|
|
130
138
|
}
|
|
131
139
|
},
|
|
132
140
|
"./executors/*/executor": {
|
|
141
|
+
"types": "./src/executors/*/executor/index.ts",
|
|
133
142
|
"import": {
|
|
134
143
|
"types": "./dist/src/executors/*/executor.d.mts",
|
|
135
144
|
"default": "./dist/src/executors/*/executor.mjs"
|
|
@@ -144,6 +153,7 @@
|
|
|
144
153
|
}
|
|
145
154
|
},
|
|
146
155
|
"./generators/*/generator": {
|
|
156
|
+
"types": "./src/generators/*/generator/index.ts",
|
|
147
157
|
"import": {
|
|
148
158
|
"types": "./dist/src/generators/*/generator.d.mts",
|
|
149
159
|
"default": "./dist/src/generators/*/generator.mjs"
|
|
@@ -174,27 +184,27 @@
|
|
|
174
184
|
],
|
|
175
185
|
"dependencies": {
|
|
176
186
|
"@nx/devkit": "^23.1.1",
|
|
177
|
-
"@storm-software/build-tools": "^0.158.
|
|
178
|
-
"@storm-software/config": "^1.138.
|
|
179
|
-
"@storm-software/config-tools": "^1.190.
|
|
180
|
-
"@storm-software/workspace-tools": "^1.296.
|
|
181
|
-
"@stryke/env": "^0.20.
|
|
182
|
-
"@stryke/fs": "^0.33.
|
|
183
|
-
"@stryke/hash": "^0.13.
|
|
184
|
-
"@stryke/helpers": "^0.10.
|
|
185
|
-
"@stryke/path": "^0.29.
|
|
186
|
-
"@stryke/string-format": "^0.17.
|
|
187
|
-
"@stryke/type-checks": "^0.6.
|
|
187
|
+
"@storm-software/build-tools": "^0.158.290",
|
|
188
|
+
"@storm-software/config": "^1.138.66",
|
|
189
|
+
"@storm-software/config-tools": "^1.190.130",
|
|
190
|
+
"@storm-software/workspace-tools": "^1.296.115",
|
|
191
|
+
"@stryke/env": "^0.20.126",
|
|
192
|
+
"@stryke/fs": "^0.33.109",
|
|
193
|
+
"@stryke/hash": "^0.13.62",
|
|
194
|
+
"@stryke/helpers": "^0.10.47",
|
|
195
|
+
"@stryke/path": "^0.29.34",
|
|
196
|
+
"@stryke/string-format": "^0.17.49",
|
|
197
|
+
"@stryke/type-checks": "^0.6.40",
|
|
188
198
|
"defu": "^6.1.7",
|
|
189
199
|
"jiti": "^2.7.0",
|
|
190
|
-
"powerlines": "^0.47.
|
|
200
|
+
"powerlines": "^0.47.194"
|
|
191
201
|
},
|
|
192
202
|
"devDependencies": {
|
|
193
203
|
"@nx/workspace": "23.1.0",
|
|
194
|
-
"@storm-software/testing-tools": "^1.119.
|
|
195
|
-
"@storm-software/tsup": "^0.2.
|
|
196
|
-
"@storm-software/untyped": "^0.24.
|
|
197
|
-
"@stryke/types": "^0.12.
|
|
204
|
+
"@storm-software/testing-tools": "^1.119.282",
|
|
205
|
+
"@storm-software/tsup": "^0.2.288",
|
|
206
|
+
"@storm-software/untyped": "^0.24.272",
|
|
207
|
+
"@stryke/types": "^0.12.35",
|
|
198
208
|
"@types/node": "^25.9.5",
|
|
199
209
|
"eslint-flat-config-utils": "^2.1.4",
|
|
200
210
|
"jsonc-eslint-parser": "^2.4.2",
|
|
@@ -207,5 +217,5 @@
|
|
|
207
217
|
"publishConfig": { "access": "public" },
|
|
208
218
|
"executors": "./executors.json",
|
|
209
219
|
"generators": "./generators.json",
|
|
210
|
-
"gitHead": "
|
|
220
|
+
"gitHead": "ca37aa95827eddaaa3b5c8cb750249cc9045ac29"
|
|
211
221
|
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
exports.__toESM = __toESM;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { BaseExecutorSchema } from "./base-executor.schema.mjs";
|
|
2
|
-
import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
4
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
5
|
-
import { DeepPartial } from "@stryke/types/base";
|
|
6
|
-
import { ExecutionOptions, FrameworkOptions, InlineConfig } from "powerlines";
|
|
7
|
-
//#region src/base/base-executor.d.ts
|
|
8
|
-
type PowerlinesExecutorContext<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
|
|
9
|
-
projectName: string;
|
|
10
|
-
command: string;
|
|
11
|
-
options: TExecutorSchema;
|
|
12
|
-
inlineConfig: InlineConfig;
|
|
13
|
-
workspaceConfig: StormWorkspaceConfig;
|
|
14
|
-
};
|
|
15
|
-
type PowerlinesExecutorApi = (inlineConfig: InlineConfig) => Promise<void>;
|
|
16
|
-
interface WithExecutorOptions {
|
|
17
|
-
/**
|
|
18
|
-
* The import path for the executor API module, which is used to dynamically import the API function that will be called during execution. This value should be a string representing the module path, and it defaults to "powerlines/api" if not provided. The specified module should export a default function that matches the expected signature for the executor API, which will be invoked with the execution parameters when the executor is run.
|
|
19
|
-
*
|
|
20
|
-
* @defaultValue "powerlines/api"
|
|
21
|
-
*/
|
|
22
|
-
importPath?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Default options to be merged with the execution options, which can be used to provide default values for certain execution parameters or to override specific options for all executions of the executor. This value should be an object that matches the shape of the `ExecutionOptions` type, and it will be merged with the options provided during execution to create the final set of options that will be passed to the executor API function.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* This can be useful for setting default values for options that are commonly used across multiple executions, or for providing a consistent set of options for all executions of the executor without requiring the caller to specify them each time.
|
|
28
|
-
*/
|
|
29
|
-
defaultOptions?: DeepPartial<ExecutionOptions>;
|
|
30
|
-
/**
|
|
31
|
-
* Details about the framework being used in the current execution, which can be used by plugins and other parts of the system to customize behavior based on the framework.
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* This should only be used by framework plugins to ensure the correct framework name is applied
|
|
35
|
-
*
|
|
36
|
-
* @defaultValue
|
|
37
|
-
* ```ts
|
|
38
|
-
* {
|
|
39
|
-
* name: "powerlines",
|
|
40
|
-
* orgId: "storm-software"
|
|
41
|
-
* }
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
framework?: FrameworkOptions;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
* This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
|
|
51
|
-
*
|
|
52
|
-
* @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
|
|
53
|
-
* @param executorFn - The function that will be executed when the command is run.
|
|
54
|
-
* @param options - Additional options for configuring the executor, such as the import path for the API module and default execution options.
|
|
55
|
-
* @returns A Promise that resolves to the result of the executor function.
|
|
56
|
-
*/
|
|
57
|
-
declare function withExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined, options?: WithExecutorOptions): PromiseExecutor<TExecutorSchema>;
|
|
58
|
-
//#endregion
|
|
59
|
-
export { PowerlinesExecutorApi, PowerlinesExecutorContext, WithExecutorOptions, withExecutor };
|
|
60
|
-
//# sourceMappingURL=base-executor.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.d.mts","names":[],"sources":["../../../src/base/base-executor.ts"],"mappings":";;;;;;;KA4CY,0BACV,wBAAwB,qBAAqB,sBAC3C;EACF;EACA;EACA,SAAS;EACT,cAAc;EACd,iBAAiB;;KAGP,yBACV,cAAc,iBACX;UAEY;;;;;;EAMf;;;;;;;EAQA,iBAAiB,YAAY;;;;;;;;;;;;;;;EAgB7B,YAAY;;;;;;;;;;;;;iBAcE,aACd,wBAAwB,qBAAqB,oBAE7C,iBACA,aACE,SAAS,0BAA0B,kBACnC,KAAK,0BAEH,QAAQ,yCACR,uCAGJ,UAAS,sBACR,gBAAgB"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { BaseExecutorSchema } from "./base-executor.schema.js";
|
|
2
|
-
import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
4
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
5
|
-
import { DeepPartial } from "@stryke/types/base";
|
|
6
|
-
import { ExecutionOptions, FrameworkOptions, InlineConfig } from "powerlines";
|
|
7
|
-
//#region src/base/base-executor.d.ts
|
|
8
|
-
type PowerlinesExecutorContext<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
|
|
9
|
-
projectName: string;
|
|
10
|
-
command: string;
|
|
11
|
-
options: TExecutorSchema;
|
|
12
|
-
inlineConfig: InlineConfig;
|
|
13
|
-
workspaceConfig: StormWorkspaceConfig;
|
|
14
|
-
};
|
|
15
|
-
type PowerlinesExecutorApi = (inlineConfig: InlineConfig) => Promise<void>;
|
|
16
|
-
interface WithExecutorOptions {
|
|
17
|
-
/**
|
|
18
|
-
* The import path for the executor API module, which is used to dynamically import the API function that will be called during execution. This value should be a string representing the module path, and it defaults to "powerlines/api" if not provided. The specified module should export a default function that matches the expected signature for the executor API, which will be invoked with the execution parameters when the executor is run.
|
|
19
|
-
*
|
|
20
|
-
* @defaultValue "powerlines/api"
|
|
21
|
-
*/
|
|
22
|
-
importPath?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Default options to be merged with the execution options, which can be used to provide default values for certain execution parameters or to override specific options for all executions of the executor. This value should be an object that matches the shape of the `ExecutionOptions` type, and it will be merged with the options provided during execution to create the final set of options that will be passed to the executor API function.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* This can be useful for setting default values for options that are commonly used across multiple executions, or for providing a consistent set of options for all executions of the executor without requiring the caller to specify them each time.
|
|
28
|
-
*/
|
|
29
|
-
defaultOptions?: DeepPartial<ExecutionOptions>;
|
|
30
|
-
/**
|
|
31
|
-
* Details about the framework being used in the current execution, which can be used by plugins and other parts of the system to customize behavior based on the framework.
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* This should only be used by framework plugins to ensure the correct framework name is applied
|
|
35
|
-
*
|
|
36
|
-
* @defaultValue
|
|
37
|
-
* ```ts
|
|
38
|
-
* {
|
|
39
|
-
* name: "powerlines",
|
|
40
|
-
* orgId: "storm-software"
|
|
41
|
-
* }
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
framework?: FrameworkOptions;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
* This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
|
|
51
|
-
*
|
|
52
|
-
* @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
|
|
53
|
-
* @param executorFn - The function that will be executed when the command is run.
|
|
54
|
-
* @param options - Additional options for configuring the executor, such as the import path for the API module and default execution options.
|
|
55
|
-
* @returns A Promise that resolves to the result of the executor function.
|
|
56
|
-
*/
|
|
57
|
-
declare function withExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined, options?: WithExecutorOptions): PromiseExecutor<TExecutorSchema>;
|
|
58
|
-
//#endregion
|
|
59
|
-
export { PowerlinesExecutorApi, PowerlinesExecutorContext, WithExecutorOptions, withExecutor };
|
|
60
|
-
//# sourceMappingURL=base-executor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.d.ts","names":[],"sources":["../../../src/base/base-executor.ts"],"mappings":";;;;;;;KA4CY,0BACV,wBAAwB,qBAAqB,sBAC3C;EACF;EACA;EACA,SAAS;EACT,cAAc;EACd,iBAAiB;;KAGP,yBACV,cAAc,iBACX;UAEY;;;;;;EAMf;;;;;;;EAQA,iBAAiB,YAAY;;;;;;;;;;;;;;;EAgB7B,YAAY;;;;;;;;;;;;;iBAcE,aACd,wBAAwB,qBAAqB,oBAE7C,iBACA,aACE,SAAS,0BAA0B,kBACnC,KAAK,0BAEH,QAAQ,yCACR,uCAGJ,UAAS,sBACR,gBAAgB"}
|