@shell-shock/nx 0.0.94 → 0.0.96
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/CHANGELOG.md +11 -1
- package/README.md +16 -7
- package/dist/{rolldown-runtime-C_NdSu1c.js → _virtual/_rolldown/runtime.cjs} +2 -8
- package/dist/{base-executor-B48XZipC.js → base/base-executor.cjs} +1 -6
- package/dist/base/base-executor.d.cts +16 -0
- package/dist/base/base-executor.d.cts.map +1 -0
- package/dist/base/base-executor.d.ts +16 -0
- package/dist/base/base-executor.d.ts.map +1 -0
- package/dist/{base-executor-ChtjGl_i.mjs → base/base-executor.js} +2 -2
- package/dist/base/base-executor.js.map +1 -0
- package/dist/base/base-executor.schema.d.cts +166 -0
- package/dist/base/base-executor.schema.d.cts.map +1 -0
- package/dist/base/base-executor.schema.d.ts +2 -3
- package/dist/base/base-executor.schema.d.ts.map +1 -0
- package/dist/base/base-executor.schema.json +7 -19
- package/dist/base/base-executor.untyped.cjs +17 -0
- package/dist/{index.mjs → base/base-executor.untyped.js} +2 -3
- package/dist/base/base-executor.untyped.js.map +1 -0
- package/dist/base/index.cjs +4 -0
- package/dist/base/index.d.cts +2 -0
- package/dist/base/index.d.ts +2 -0
- package/dist/base/index.js +4 -0
- package/dist/executors/build/{executor.mjs → executor.cjs} +5 -6
- package/dist/executors/build/executor.d.cts +6 -0
- package/dist/executors/build/executor.d.cts.map +1 -0
- package/dist/executors/build/executor.d.ts +3 -181
- package/dist/executors/build/executor.d.ts.map +1 -1
- package/dist/executors/build/executor.js +6 -7
- package/dist/executors/build/executor.js.map +1 -0
- package/dist/executors/build/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/build/schema.d.cts.map +1 -0
- package/dist/executors/build/schema.d.ts +177 -191
- package/dist/executors/build/schema.d.ts.map +1 -0
- package/dist/executors/build/schema.json +7 -19
- package/dist/executors/clean/executor.cjs +11 -0
- package/dist/executors/clean/executor.d.cts +6 -0
- package/dist/executors/clean/executor.d.cts.map +1 -0
- package/dist/executors/clean/executor.d.ts +3 -181
- package/dist/executors/clean/executor.d.ts.map +1 -1
- package/dist/executors/clean/executor.js +4 -3
- package/dist/executors/clean/executor.js.map +1 -0
- package/dist/executors/clean/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/clean/schema.d.cts.map +1 -0
- package/dist/executors/clean/schema.d.ts +177 -191
- package/dist/executors/clean/schema.d.ts.map +1 -0
- package/dist/executors/clean/schema.json +7 -19
- package/dist/executors/docs/executor.cjs +11 -0
- package/dist/executors/docs/executor.d.cts +6 -0
- package/dist/executors/docs/executor.d.cts.map +1 -0
- package/dist/executors/docs/executor.d.ts +3 -181
- package/dist/executors/docs/executor.d.ts.map +1 -1
- package/dist/executors/docs/executor.js +4 -3
- package/dist/executors/docs/executor.js.map +1 -0
- package/dist/executors/docs/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/docs/schema.d.cts.map +1 -0
- package/dist/executors/docs/schema.d.ts +177 -191
- package/dist/executors/docs/schema.d.ts.map +1 -0
- package/dist/executors/docs/schema.json +7 -19
- package/dist/executors/lint/executor.cjs +11 -0
- package/dist/executors/lint/executor.d.cts +6 -0
- package/dist/executors/lint/executor.d.cts.map +1 -0
- package/dist/executors/lint/executor.d.ts +3 -181
- package/dist/executors/lint/executor.d.ts.map +1 -1
- package/dist/executors/lint/executor.js +4 -3
- package/dist/executors/lint/executor.js.map +1 -0
- package/dist/executors/lint/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/lint/schema.d.cts.map +1 -0
- package/dist/executors/lint/schema.d.ts +177 -191
- package/dist/executors/lint/schema.d.ts.map +1 -0
- package/dist/executors/lint/schema.json +7 -19
- package/dist/executors/prepare/{executor.mjs → executor.cjs} +5 -6
- package/dist/executors/prepare/executor.d.cts +6 -0
- package/dist/executors/prepare/executor.d.cts.map +1 -0
- package/dist/executors/prepare/executor.d.ts +3 -181
- package/dist/executors/prepare/executor.d.ts.map +1 -1
- package/dist/executors/prepare/executor.js +6 -7
- package/dist/executors/prepare/executor.js.map +1 -0
- package/dist/executors/prepare/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/prepare/schema.d.cts.map +1 -0
- package/dist/executors/prepare/schema.d.ts +177 -191
- package/dist/executors/prepare/schema.d.ts.map +1 -0
- package/dist/executors/prepare/schema.json +7 -19
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -181
- package/dist/index.js +3 -19
- package/dist/plugin/{index.mjs → index.cjs} +115 -83
- package/dist/plugin/index.d.cts +7 -0
- package/dist/plugin/index.d.cts.map +1 -0
- package/dist/plugin/index.d.ts +2 -3
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +85 -113
- package/dist/plugin/index.js.map +1 -0
- package/docs/api/{base-executor.schema.md → base/base-executor.schema.md} +3 -3
- package/docs/api/{build → executors/build}/schema.md +3 -3
- package/docs/api/{clean → executors/clean}/schema.md +3 -3
- package/docs/api/{docs → executors/docs}/schema.md +3 -3
- package/docs/api/{lint → executors/lint}/schema.md +3 -3
- package/docs/api/{prepare → executors/prepare}/schema.md +3 -3
- package/package.json +18 -18
- package/dist/base-executor-ChtjGl_i.mjs.map +0 -1
- package/dist/executors/build/executor.d.mts.map +0 -1
- package/dist/executors/build/executor.mjs.map +0 -1
- package/dist/executors/clean/executor.d.mts.map +0 -1
- package/dist/executors/clean/executor.mjs +0 -12
- package/dist/executors/clean/executor.mjs.map +0 -1
- package/dist/executors/docs/executor.d.mts.map +0 -1
- package/dist/executors/docs/executor.mjs +0 -12
- package/dist/executors/docs/executor.mjs.map +0 -1
- package/dist/executors/lint/executor.d.mts.map +0 -1
- package/dist/executors/lint/executor.mjs +0 -12
- package/dist/executors/lint/executor.mjs.map +0 -1
- package/dist/executors/prepare/executor.d.mts.map +0 -1
- package/dist/executors/prepare/executor.mjs.map +0 -1
- package/dist/index.d.mts +0 -181
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/plugin/index.d.mts +0 -8
- package/dist/plugin/index.d.mts.map +0 -1
- package/dist/plugin/index.mjs.map +0 -1
|
@@ -1,194 +1,180 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/executors/prepare/schema.d.ts
|
|
2
2
|
// Generated by powerlines
|
|
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
|
-
|
|
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
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* Auto Install
|
|
180
|
-
*
|
|
181
|
-
* Automatically install dependencies during prepare stage
|
|
182
|
-
*
|
|
183
|
-
*/
|
|
184
|
-
autoInstall?: boolean,
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* Skip Cache
|
|
188
|
-
*
|
|
189
|
-
* Skip the caching mechanism during the build process (if required)
|
|
190
|
-
*
|
|
191
|
-
*/
|
|
192
|
-
skipCache?: boolean,
|
|
4
|
+
interface PrepareExecutorSchema {
|
|
5
|
+
/**
|
|
6
|
+
* Powerlines Configuration File
|
|
7
|
+
*
|
|
8
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* @format path
|
|
12
|
+
*/
|
|
13
|
+
config?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Powerlines Configuration File
|
|
16
|
+
*
|
|
17
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
* @format path
|
|
21
|
+
*/
|
|
22
|
+
configFile?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Powerlines Configuration Index
|
|
25
|
+
*
|
|
26
|
+
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
27
|
+
*
|
|
28
|
+
* @default 0
|
|
29
|
+
*/
|
|
30
|
+
configIndex?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Input Entry File(s)
|
|
33
|
+
*
|
|
34
|
+
* The entry file(s) that serve as the input for the project
|
|
35
|
+
*
|
|
36
|
+
*
|
|
37
|
+
* @format path
|
|
38
|
+
*/
|
|
39
|
+
input?: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
* TSConfig Path
|
|
42
|
+
*
|
|
43
|
+
* The path to the tsconfig file
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
* @format path
|
|
47
|
+
*/
|
|
48
|
+
tsconfig?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Output Path
|
|
51
|
+
*
|
|
52
|
+
* The path to the output directory for the build artifacts
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* @format path
|
|
56
|
+
*/
|
|
57
|
+
outputPath?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Copy Path
|
|
60
|
+
*
|
|
61
|
+
* A directory path to copy the build artifacts into
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @oneOf [object Object],[object Object]
|
|
65
|
+
*/
|
|
66
|
+
copyPath?: any;
|
|
67
|
+
/**
|
|
68
|
+
* Sourcemap
|
|
69
|
+
*
|
|
70
|
+
* Generate a sourcemap
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
sourceMap?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Minify
|
|
76
|
+
*
|
|
77
|
+
* Minify the output
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
minify?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Format
|
|
83
|
+
*
|
|
84
|
+
* The format to build
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
format?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Platform
|
|
90
|
+
*
|
|
91
|
+
* The platform to build
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @enum neutral,node,browser
|
|
95
|
+
*/
|
|
96
|
+
platform?: string;
|
|
97
|
+
/**
|
|
98
|
+
* External
|
|
99
|
+
*
|
|
100
|
+
* The external dependencies
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
external?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* No External
|
|
106
|
+
*
|
|
107
|
+
* The dependencies that should not be treated as external
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
noExternal?: Array<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Skip Node Modules Bundle
|
|
113
|
+
*
|
|
114
|
+
* Skip bundling node_modules during the build process (if required)
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
skipNodeModulesBundle?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Mode
|
|
120
|
+
*
|
|
121
|
+
* The build mode
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
* @enum development,test,production
|
|
125
|
+
*/
|
|
126
|
+
mode?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Log Level
|
|
129
|
+
*
|
|
130
|
+
* The log level to use for the build process
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
134
|
+
*/
|
|
135
|
+
logLevel?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Define
|
|
138
|
+
*
|
|
139
|
+
* The `define` values
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
define?: Record<string, string>;
|
|
143
|
+
/**
|
|
144
|
+
* Assets
|
|
145
|
+
*
|
|
146
|
+
* The `assets` values
|
|
147
|
+
*
|
|
148
|
+
*/
|
|
149
|
+
assets?: Array<{
|
|
150
|
+
input?: string;
|
|
151
|
+
output?: string;
|
|
152
|
+
glob: string;
|
|
153
|
+
ignore?: string[];
|
|
154
|
+
dot?: boolean;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* Additional Arguments
|
|
158
|
+
*
|
|
159
|
+
* The additional arguments provided during execution of the command
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
additionalArgs?: Record<string, string>;
|
|
163
|
+
/**
|
|
164
|
+
* Auto Install
|
|
165
|
+
*
|
|
166
|
+
* Automatically install dependencies during prepare stage
|
|
167
|
+
*
|
|
168
|
+
*/
|
|
169
|
+
autoInstall?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Skip Cache
|
|
172
|
+
*
|
|
173
|
+
* Skip the caching mechanism during the build process (if required)
|
|
174
|
+
*
|
|
175
|
+
*/
|
|
176
|
+
skipCache?: boolean;
|
|
193
177
|
}
|
|
194
|
-
|
|
178
|
+
//#endregion
|
|
179
|
+
export { PrepareExecutorSchema };
|
|
180
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","names":[],"sources":["../../../src/executors/prepare/schema.d.ts"],"mappings":""}
|
|
@@ -92,11 +92,7 @@
|
|
|
92
92
|
"iife"
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
|
-
"id": "#format"
|
|
96
|
-
"default": [
|
|
97
|
-
"cjs",
|
|
98
|
-
"esm"
|
|
99
|
-
]
|
|
95
|
+
"id": "#format"
|
|
100
96
|
},
|
|
101
97
|
"platform": {
|
|
102
98
|
"title": "Platform",
|
|
@@ -113,21 +109,19 @@
|
|
|
113
109
|
"title": "External",
|
|
114
110
|
"type": "array",
|
|
115
111
|
"description": "The external dependencies",
|
|
116
|
-
"id": "#external",
|
|
117
|
-
"default": [],
|
|
118
112
|
"items": {
|
|
119
|
-
"type": "
|
|
120
|
-
}
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"id": "#external"
|
|
121
116
|
},
|
|
122
117
|
"noExternal": {
|
|
123
118
|
"title": "No External",
|
|
124
119
|
"type": "array",
|
|
125
120
|
"description": "The dependencies that should not be treated as external",
|
|
126
|
-
"id": "#noExternal",
|
|
127
|
-
"default": [],
|
|
128
121
|
"items": {
|
|
129
|
-
"type": "
|
|
130
|
-
}
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"id": "#noExternal"
|
|
131
125
|
},
|
|
132
126
|
"skipNodeModulesBundle": {
|
|
133
127
|
"title": "Skip Node Modules Bundle",
|
|
@@ -203,12 +197,6 @@
|
|
|
203
197
|
"default": {
|
|
204
198
|
"configIndex": 0,
|
|
205
199
|
"copyPath": {},
|
|
206
|
-
"format": [
|
|
207
|
-
"cjs",
|
|
208
|
-
"esm"
|
|
209
|
-
],
|
|
210
|
-
"external": [],
|
|
211
|
-
"noExternal": [],
|
|
212
200
|
"define": {},
|
|
213
201
|
"assets": {},
|
|
214
202
|
"additionalArgs": {}
|
package/dist/index.cjs
ADDED
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,181 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
//#region src/base/base-executor.schema.d.ts
|
|
6
|
-
// Generated by powerlines
|
|
7
|
-
// Do not edit this file directly
|
|
8
|
-
interface BaseExecutorSchema {
|
|
9
|
-
/**
|
|
10
|
-
* Powerlines Configuration File
|
|
11
|
-
*
|
|
12
|
-
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @format path
|
|
16
|
-
*/
|
|
17
|
-
config?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Powerlines Configuration File
|
|
20
|
-
*
|
|
21
|
-
* The path to the Powerlines configuration file. Alias for `config`.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* @format path
|
|
25
|
-
*/
|
|
26
|
-
configFile?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Powerlines Configuration Index
|
|
29
|
-
*
|
|
30
|
-
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
31
|
-
*
|
|
32
|
-
* @default 0
|
|
33
|
-
*/
|
|
34
|
-
configIndex?: number;
|
|
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
|
-
* TSConfig Path
|
|
46
|
-
*
|
|
47
|
-
* The path to the tsconfig file
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* @format path
|
|
51
|
-
*/
|
|
52
|
-
tsconfig?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Output Path
|
|
55
|
-
*
|
|
56
|
-
* The path to the output directory for the build artifacts
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* @format path
|
|
60
|
-
*/
|
|
61
|
-
outputPath?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Copy Path
|
|
64
|
-
*
|
|
65
|
-
* A directory path to copy the build artifacts into
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* @oneOf [object Object],[object Object]
|
|
69
|
-
*/
|
|
70
|
-
copyPath?: any;
|
|
71
|
-
/**
|
|
72
|
-
* Sourcemap
|
|
73
|
-
*
|
|
74
|
-
* Generate a sourcemap
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
sourceMap?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Minify
|
|
80
|
-
*
|
|
81
|
-
* Minify the output
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
|
-
minify?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Format
|
|
87
|
-
*
|
|
88
|
-
* The format to build
|
|
89
|
-
*
|
|
90
|
-
* @default ["cjs","esm"]
|
|
91
|
-
*/
|
|
92
|
-
format?: Array<string>;
|
|
93
|
-
/**
|
|
94
|
-
* Platform
|
|
95
|
-
*
|
|
96
|
-
* The platform to build
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @enum neutral,node,browser
|
|
100
|
-
*/
|
|
101
|
-
platform?: string;
|
|
102
|
-
/**
|
|
103
|
-
* External
|
|
104
|
-
*
|
|
105
|
-
* The external dependencies
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
external?: Array<any>;
|
|
109
|
-
/**
|
|
110
|
-
* No External
|
|
111
|
-
*
|
|
112
|
-
* The dependencies that should not be treated as external
|
|
113
|
-
*
|
|
114
|
-
*/
|
|
115
|
-
noExternal?: Array<any>;
|
|
116
|
-
/**
|
|
117
|
-
* Skip Node Modules Bundle
|
|
118
|
-
*
|
|
119
|
-
* Skip bundling node_modules during the build process (if required)
|
|
120
|
-
*
|
|
121
|
-
*/
|
|
122
|
-
skipNodeModulesBundle?: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Mode
|
|
125
|
-
*
|
|
126
|
-
* The build mode
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* @enum development,test,production
|
|
130
|
-
*/
|
|
131
|
-
mode?: string;
|
|
132
|
-
/**
|
|
133
|
-
* Log Level
|
|
134
|
-
*
|
|
135
|
-
* The log level to use for the build process
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
139
|
-
*/
|
|
140
|
-
logLevel?: string;
|
|
141
|
-
/**
|
|
142
|
-
* Define
|
|
143
|
-
*
|
|
144
|
-
* The `define` values
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
define?: Record<string, string>;
|
|
148
|
-
/**
|
|
149
|
-
* Assets
|
|
150
|
-
*
|
|
151
|
-
* The `assets` values
|
|
152
|
-
*
|
|
153
|
-
*/
|
|
154
|
-
assets?: Array<{
|
|
155
|
-
input?: string;
|
|
156
|
-
output?: string;
|
|
157
|
-
glob: string;
|
|
158
|
-
ignore?: string[];
|
|
159
|
-
dot?: boolean;
|
|
160
|
-
}>;
|
|
161
|
-
/**
|
|
162
|
-
* Additional Arguments
|
|
163
|
-
*
|
|
164
|
-
* The additional arguments provided during execution of the command
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
additionalArgs?: Record<string, string>;
|
|
168
|
-
}
|
|
169
|
-
//#endregion
|
|
170
|
-
//#region src/base/base-executor.d.ts
|
|
171
|
-
/**
|
|
172
|
-
* A higher-order function that wraps a Powerlines executor function, providing a consistent interface for Nx executors in the Shell Shock project. This function abstracts away the integration details with Powerlines, allowing developers to focus on implementing the core logic of their executors.
|
|
173
|
-
*
|
|
174
|
-
* @param command - The name of the command that this executor will handle (e.g., "build", "lint").
|
|
175
|
-
* @param executorFn - The actual executor function that contains the logic to be executed. It receives a PowerlinesExecutorContext and PowerlinesExecutorApi as parameters.
|
|
176
|
-
* @returns A PromiseExecutor function that can be used as an Nx executor.
|
|
177
|
-
*/
|
|
178
|
-
declare function withExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
|
|
179
|
-
//#endregion
|
|
180
|
-
export { withExecutor };
|
|
181
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
import { withExecutor } from "./base/base-executor.js";
|
|
2
|
+
import "./base/index.js";
|
|
3
|
+
export { withExecutor };
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const require_base_executor = require('./base-executor-B48XZipC.js');
|
|
4
|
-
let _powerlines_nx_base_base_executor_untyped = require("@powerlines/nx/base/base-executor.untyped");
|
|
5
|
-
_powerlines_nx_base_base_executor_untyped = require_rolldown_runtime.__toESM(_powerlines_nx_base_base_executor_untyped);
|
|
6
|
-
let untyped = require("untyped");
|
|
1
|
+
import { withExecutor } from "./base/base-executor.js";
|
|
2
|
+
import "./base/index.js";
|
|
7
3
|
|
|
8
|
-
|
|
9
|
-
var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
10
|
-
..._powerlines_nx_base_base_executor_untyped.default,
|
|
11
|
-
$schema: {
|
|
12
|
-
id: "BaseExecutorSchema",
|
|
13
|
-
title: "Base Executor",
|
|
14
|
-
description: "A shared/base schema type definition for Shell Shock executors",
|
|
15
|
-
required: []
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
exports.withExecutor = require_base_executor.withExecutor;
|
|
4
|
+
export { withExecutor };
|