@shell-shock/nx 0.0.95 → 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/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/lint/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 LintExecutorSchema {
|
|
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 { LintExecutorSchema };
|
|
180
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","names":[],"sources":["../../../src/executors/lint/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": {}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
const require_base_executor = require('../../base/base-executor.cjs');
|
|
2
|
+
let defu = require("defu");
|
|
3
3
|
|
|
4
4
|
//#region src/executors/prepare/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
6
|
-
await api(defu({
|
|
6
|
+
await api((0, defu.defu)({
|
|
7
7
|
skipCache: context.options.skipCache,
|
|
8
8
|
autoInstall: context.options.autoInstall
|
|
9
9
|
}, context.inlineConfig));
|
|
10
10
|
return { success: true };
|
|
11
11
|
}
|
|
12
|
-
const executor = withExecutor("prepare", executorFn);
|
|
12
|
+
const executor = require_base_executor.withExecutor("prepare", executorFn);
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=executor.mjs.map
|
|
15
|
+
module.exports = executor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PrepareExecutorSchema } from "./schema.cjs";
|
|
2
|
+
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
+
//#region src/executors/prepare/executor.d.ts
|
|
4
|
+
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
5
|
+
export = executor;
|
|
6
|
+
//# sourceMappingURL=executor.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.d.cts","names":[],"sources":["../../../src/executors/prepare/executor.ts"],"mappings":";;;cAgDM,UAAU,gBAAgB"}
|
|
@@ -1,185 +1,7 @@
|
|
|
1
|
+
import { PrepareExecutorSchema } from "./schema.js";
|
|
1
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
2
|
-
|
|
3
|
-
//#region src/executors/prepare/schema.d.ts
|
|
4
|
-
// Generated by powerlines
|
|
5
|
-
// Do not edit this file directly
|
|
6
|
-
interface PrepareExecutorSchema {
|
|
7
|
-
/**
|
|
8
|
-
* Powerlines Configuration File
|
|
9
|
-
*
|
|
10
|
-
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @format path
|
|
14
|
-
*/
|
|
15
|
-
config?: string;
|
|
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
|
-
* Powerlines Configuration Index
|
|
27
|
-
*
|
|
28
|
-
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
29
|
-
*
|
|
30
|
-
* @default 0
|
|
31
|
-
*/
|
|
32
|
-
configIndex?: number;
|
|
33
|
-
/**
|
|
34
|
-
* Input Entry File(s)
|
|
35
|
-
*
|
|
36
|
-
* The entry file(s) that serve as the input for the project
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* @format path
|
|
40
|
-
*/
|
|
41
|
-
input?: Array<string>;
|
|
42
|
-
/**
|
|
43
|
-
* TSConfig Path
|
|
44
|
-
*
|
|
45
|
-
* The path to the tsconfig file
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* @format path
|
|
49
|
-
*/
|
|
50
|
-
tsconfig?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Output Path
|
|
53
|
-
*
|
|
54
|
-
* The path to the output directory for the build artifacts
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* @format path
|
|
58
|
-
*/
|
|
59
|
-
outputPath?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Copy Path
|
|
62
|
-
*
|
|
63
|
-
* A directory path to copy the build artifacts into
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @oneOf [object Object],[object Object]
|
|
67
|
-
*/
|
|
68
|
-
copyPath?: any;
|
|
69
|
-
/**
|
|
70
|
-
* Sourcemap
|
|
71
|
-
*
|
|
72
|
-
* Generate a sourcemap
|
|
73
|
-
*
|
|
74
|
-
*/
|
|
75
|
-
sourceMap?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Minify
|
|
78
|
-
*
|
|
79
|
-
* Minify the output
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
minify?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Format
|
|
85
|
-
*
|
|
86
|
-
* The format to build
|
|
87
|
-
*
|
|
88
|
-
* @default ["cjs","esm"]
|
|
89
|
-
*/
|
|
90
|
-
format?: Array<string>;
|
|
91
|
-
/**
|
|
92
|
-
* Platform
|
|
93
|
-
*
|
|
94
|
-
* The platform to build
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* @enum neutral,node,browser
|
|
98
|
-
*/
|
|
99
|
-
platform?: string;
|
|
100
|
-
/**
|
|
101
|
-
* External
|
|
102
|
-
*
|
|
103
|
-
* The external dependencies
|
|
104
|
-
*
|
|
105
|
-
*/
|
|
106
|
-
external?: Array<any>;
|
|
107
|
-
/**
|
|
108
|
-
* No External
|
|
109
|
-
*
|
|
110
|
-
* The dependencies that should not be treated as external
|
|
111
|
-
*
|
|
112
|
-
*/
|
|
113
|
-
noExternal?: Array<any>;
|
|
114
|
-
/**
|
|
115
|
-
* Skip Node Modules Bundle
|
|
116
|
-
*
|
|
117
|
-
* Skip bundling node_modules during the build process (if required)
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
skipNodeModulesBundle?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Mode
|
|
123
|
-
*
|
|
124
|
-
* The build mode
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* @enum development,test,production
|
|
128
|
-
*/
|
|
129
|
-
mode?: string;
|
|
130
|
-
/**
|
|
131
|
-
* Log Level
|
|
132
|
-
*
|
|
133
|
-
* The log level to use for the build process
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
137
|
-
*/
|
|
138
|
-
logLevel?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Define
|
|
141
|
-
*
|
|
142
|
-
* The `define` values
|
|
143
|
-
*
|
|
144
|
-
*/
|
|
145
|
-
define?: Record<string, string>;
|
|
146
|
-
/**
|
|
147
|
-
* Assets
|
|
148
|
-
*
|
|
149
|
-
* The `assets` values
|
|
150
|
-
*
|
|
151
|
-
*/
|
|
152
|
-
assets?: Array<{
|
|
153
|
-
input?: string;
|
|
154
|
-
output?: string;
|
|
155
|
-
glob: string;
|
|
156
|
-
ignore?: string[];
|
|
157
|
-
dot?: boolean;
|
|
158
|
-
}>;
|
|
159
|
-
/**
|
|
160
|
-
* Additional Arguments
|
|
161
|
-
*
|
|
162
|
-
* The additional arguments provided during execution of the command
|
|
163
|
-
*
|
|
164
|
-
*/
|
|
165
|
-
additionalArgs?: Record<string, string>;
|
|
166
|
-
/**
|
|
167
|
-
* Auto Install
|
|
168
|
-
*
|
|
169
|
-
* Automatically install dependencies during prepare stage
|
|
170
|
-
*
|
|
171
|
-
*/
|
|
172
|
-
autoInstall?: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* Skip Cache
|
|
175
|
-
*
|
|
176
|
-
* Skip the caching mechanism during the build process (if required)
|
|
177
|
-
*
|
|
178
|
-
*/
|
|
179
|
-
skipCache?: boolean;
|
|
180
|
-
}
|
|
181
|
-
//#endregion
|
|
182
3
|
//#region src/executors/prepare/executor.d.ts
|
|
183
4
|
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
184
|
-
|
|
5
|
+
//#endregion
|
|
6
|
+
export { executor as default };
|
|
185
7
|
//# sourceMappingURL=executor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":[
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":[],"sources":["../../../src/executors/prepare/executor.ts"],"mappings":""}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
let defu = require("defu");
|
|
4
|
-
defu = require_rolldown_runtime.__toESM(defu);
|
|
1
|
+
import { withExecutor } from "../../base/base-executor.js";
|
|
2
|
+
import { defu } from "defu";
|
|
5
3
|
|
|
6
4
|
//#region src/executors/prepare/executor.ts
|
|
7
5
|
async function executorFn(context, api) {
|
|
8
|
-
await api(
|
|
6
|
+
await api(defu({
|
|
9
7
|
skipCache: context.options.skipCache,
|
|
10
8
|
autoInstall: context.options.autoInstall
|
|
11
9
|
}, context.inlineConfig));
|
|
12
10
|
return { success: true };
|
|
13
11
|
}
|
|
14
|
-
const executor =
|
|
12
|
+
const executor = withExecutor("prepare", executorFn);
|
|
15
13
|
|
|
16
14
|
//#endregion
|
|
17
|
-
|
|
15
|
+
export { executor as default };
|
|
16
|
+
//# sourceMappingURL=executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.js","names":[],"sources":[],"mappings":""}
|