@powerlines/nx 0.13.233 → 0.13.235
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/_virtual/_rolldown/runtime.js +28 -0
- package/dist/src/base/base-executor.d.mts +60 -0
- package/dist/src/base/base-executor.d.mts.map +1 -0
- package/dist/src/base/base-executor.d.ts +60 -0
- package/dist/src/base/base-executor.d.ts.map +1 -0
- package/dist/src/base/base-executor.js +118 -0
- package/dist/src/base/base-executor.mjs +116 -0
- package/dist/src/base/base-executor.mjs.map +1 -0
- package/dist/src/base/base-executor.schema.d.js +0 -0
- package/dist/src/base/base-executor.schema.d.mts +167 -0
- package/dist/src/base/base-executor.schema.d.mts.map +1 -0
- package/dist/src/base/base-executor.schema.d.ts +164 -175
- package/dist/src/base/base-executor.schema.d.ts.map +1 -0
- package/dist/src/base/base-executor.untyped.d.mts +5 -0
- package/dist/src/base/base-executor.untyped.d.mts.map +1 -0
- package/dist/src/base/base-executor.untyped.d.ts +4 -0
- package/dist/src/base/base-executor.untyped.d.ts.map +1 -0
- package/dist/src/base/base-executor.untyped.js +176 -0
- package/dist/src/base/base-executor.untyped.mjs +177 -0
- package/dist/src/base/base-executor.untyped.mjs.map +1 -0
- package/dist/src/base/index.d.mts +2 -0
- package/dist/src/base/index.d.ts +2 -0
- package/dist/src/base/index.js +5 -0
- package/dist/src/base/index.mjs +4 -0
- package/dist/src/base-executor-BTwUZeOz.js +122 -0
- package/dist/src/base-executor-HCD7M10I.mjs +116 -0
- package/dist/src/base-executor-HCD7M10I.mjs.map +1 -0
- package/dist/src/base-executor.untyped-B9Vk-kJC.mjs +177 -0
- package/dist/src/base-executor.untyped-B9Vk-kJC.mjs.map +1 -0
- package/dist/src/base-executor.untyped-DZhWL1zT.js +181 -0
- package/dist/src/executors/build/executor.d.mts +194 -0
- package/dist/src/executors/build/executor.d.mts.map +1 -0
- package/dist/src/executors/build/executor.d.ts +193 -0
- package/dist/src/executors/build/executor.d.ts.map +1 -0
- package/dist/src/executors/build/executor.js +11 -0
- package/dist/src/executors/build/executor.mjs +12 -0
- package/dist/src/executors/build/executor.mjs.map +1 -0
- package/dist/src/executors/build/untyped.d.mts +5 -0
- package/dist/src/executors/build/untyped.d.mts.map +1 -0
- package/dist/src/executors/build/untyped.d.ts +4 -0
- package/dist/src/executors/build/untyped.d.ts.map +1 -0
- package/dist/src/executors/build/untyped.js +24 -0
- package/dist/src/executors/build/untyped.mjs +25 -0
- package/dist/src/executors/build/untyped.mjs.map +1 -0
- package/dist/src/executors/clean/executor.d.mts +171 -0
- package/dist/src/executors/clean/executor.d.mts.map +1 -0
- package/dist/src/executors/clean/executor.d.ts +170 -0
- package/dist/src/executors/clean/executor.d.ts.map +1 -0
- package/dist/src/executors/clean/executor.js +11 -0
- package/dist/src/executors/clean/executor.mjs +12 -0
- package/dist/src/executors/clean/executor.mjs.map +1 -0
- package/dist/src/executors/clean/untyped.d.mts +5 -0
- package/dist/src/executors/clean/untyped.d.mts.map +1 -0
- package/dist/src/executors/clean/untyped.d.ts +4 -0
- package/dist/src/executors/clean/untyped.d.ts.map +1 -0
- package/dist/src/executors/clean/untyped.js +16 -0
- package/dist/src/executors/clean/untyped.mjs +17 -0
- package/dist/src/executors/clean/untyped.mjs.map +1 -0
- package/dist/src/executors/docs/executor.d.mts +185 -0
- package/dist/src/executors/docs/executor.d.mts.map +1 -0
- package/dist/src/executors/docs/executor.d.ts +184 -0
- package/dist/src/executors/docs/executor.d.ts.map +1 -0
- package/dist/src/executors/docs/executor.js +11 -0
- package/dist/src/executors/docs/executor.mjs +12 -0
- package/dist/src/executors/docs/executor.mjs.map +1 -0
- package/dist/src/executors/docs/untyped.d.mts +5 -0
- package/dist/src/executors/docs/untyped.d.mts.map +1 -0
- package/dist/src/executors/docs/untyped.d.ts +4 -0
- package/dist/src/executors/docs/untyped.d.ts.map +1 -0
- package/dist/src/executors/docs/untyped.js +16 -0
- package/dist/src/executors/docs/untyped.mjs +17 -0
- package/dist/src/executors/docs/untyped.mjs.map +1 -0
- package/dist/src/executors/lint/executor.d.mts +185 -0
- package/dist/src/executors/lint/executor.d.mts.map +1 -0
- package/dist/src/executors/lint/executor.d.ts +184 -0
- package/dist/src/executors/lint/executor.d.ts.map +1 -0
- package/dist/src/executors/lint/executor.js +11 -0
- package/dist/src/executors/lint/executor.mjs +12 -0
- package/dist/src/executors/lint/executor.mjs.map +1 -0
- package/dist/src/executors/lint/untyped.d.mts +5 -0
- package/dist/src/executors/lint/untyped.d.mts.map +1 -0
- package/dist/src/executors/lint/untyped.d.ts +4 -0
- package/dist/src/executors/lint/untyped.d.ts.map +1 -0
- package/dist/src/executors/lint/untyped.js +16 -0
- package/dist/src/executors/lint/untyped.mjs +17 -0
- package/dist/src/executors/lint/untyped.mjs.map +1 -0
- package/dist/src/executors/prepare/executor.d.mts +185 -0
- package/dist/src/executors/prepare/executor.d.mts.map +1 -0
- package/dist/src/executors/prepare/executor.d.ts +184 -0
- package/dist/src/executors/prepare/executor.d.ts.map +1 -0
- package/dist/src/executors/prepare/executor.js +11 -0
- package/dist/src/executors/prepare/executor.mjs +12 -0
- package/dist/src/executors/prepare/executor.mjs.map +1 -0
- package/dist/src/executors/prepare/untyped.d.mts +5 -0
- package/dist/src/executors/prepare/untyped.d.mts.map +1 -0
- package/dist/src/executors/prepare/untyped.d.ts +4 -0
- package/dist/src/executors/prepare/untyped.d.ts.map +1 -0
- package/dist/src/executors/prepare/untyped.js +26 -0
- package/dist/src/executors/prepare/untyped.mjs +27 -0
- package/dist/src/executors/prepare/untyped.mjs.map +1 -0
- package/dist/src/generators/sync/generator.d.mts +7 -0
- package/dist/src/generators/sync/generator.d.mts.map +1 -0
- package/dist/src/generators/sync/generator.d.ts +7 -0
- package/dist/src/generators/sync/generator.d.ts.map +1 -0
- package/dist/src/generators/sync/generator.js +11 -0
- package/dist/src/generators/sync/generator.mjs +10 -0
- package/dist/src/generators/sync/generator.mjs.map +1 -0
- package/dist/src/generators/sync/untyped.d.mts +5 -0
- package/dist/src/generators/sync/untyped.d.mts.map +1 -0
- package/dist/src/generators/sync/untyped.d.ts +4 -0
- package/dist/src/generators/sync/untyped.d.ts.map +1 -0
- package/dist/src/generators/sync/untyped.js +22 -0
- package/dist/src/generators/sync/untyped.mjs +23 -0
- package/dist/src/generators/sync/untyped.mjs.map +1 -0
- package/dist/src/helpers/constants.d.mts +8 -0
- package/dist/src/helpers/constants.d.mts.map +1 -0
- package/dist/src/helpers/constants.d.ts +8 -0
- package/dist/src/helpers/constants.d.ts.map +1 -0
- package/dist/src/helpers/constants.js +34 -0
- package/dist/src/helpers/constants.mjs +34 -0
- package/dist/src/helpers/constants.mjs.map +1 -0
- package/dist/src/helpers/index.d.mts +3 -0
- package/dist/src/helpers/index.d.ts +3 -0
- package/dist/src/helpers/index.js +8 -0
- package/dist/src/helpers/index.mjs +4 -0
- package/dist/src/helpers/plugin-utilities.d.mts +56 -0
- package/dist/src/helpers/plugin-utilities.d.mts.map +1 -0
- package/dist/src/helpers/plugin-utilities.d.ts +56 -0
- package/dist/src/helpers/plugin-utilities.d.ts.map +1 -0
- package/dist/src/helpers/plugin-utilities.js +255 -0
- package/dist/src/helpers/plugin-utilities.mjs +251 -0
- package/dist/src/helpers/plugin-utilities.mjs.map +1 -0
- package/dist/src/index.d.mts +7 -0
- package/dist/src/index.d.ts +7 -0
- package/dist/src/index.js +12 -0
- package/dist/src/index.mjs +7 -0
- package/dist/src/plugin/index.d.mts +291 -0
- package/dist/src/plugin/index.d.mts.map +1 -0
- package/dist/src/plugin/index.d.ts +291 -0
- package/dist/src/plugin/index.d.ts.map +1 -0
- package/dist/src/plugin/index.js +288 -0
- package/dist/src/plugin/index.mjs +286 -0
- package/dist/src/plugin/index.mjs.map +1 -0
- package/dist/src/rolldown-runtime-C24Yb2bl.js +33 -0
- package/dist/src/types/index.d.mts +2 -0
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/index.js +0 -0
- package/dist/src/types/index.mjs +1 -0
- package/dist/src/types/plugin.d.mts +288 -0
- package/dist/src/types/plugin.d.mts.map +1 -0
- package/dist/src/types/plugin.d.ts +288 -0
- package/dist/src/types/plugin.d.ts.map +1 -0
- package/dist/src/types/plugin.js +0 -0
- package/dist/src/types/plugin.mjs +1 -0
- package/package.json +3 -4
|
@@ -1,178 +1,167 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/base/base-executor.schema.d.ts
|
|
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
|
-
|
|
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
|
-
* 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>,
|
|
4
|
+
interface BaseExecutorSchema {
|
|
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
|
+
* @default ["cjs","esm"]
|
|
87
|
+
*/
|
|
88
|
+
format?: Array<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Platform
|
|
91
|
+
*
|
|
92
|
+
* The platform to build
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @enum neutral,node,browser
|
|
96
|
+
*/
|
|
97
|
+
platform?: string;
|
|
98
|
+
/**
|
|
99
|
+
* External
|
|
100
|
+
*
|
|
101
|
+
* The external dependencies
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
external?: Array<any>;
|
|
105
|
+
/**
|
|
106
|
+
* No External
|
|
107
|
+
*
|
|
108
|
+
* The dependencies that should not be treated as external
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
noExternal?: Array<any>;
|
|
112
|
+
/**
|
|
113
|
+
* Skip Node Modules Bundle
|
|
114
|
+
*
|
|
115
|
+
* Skip bundling node_modules during the build process (if required)
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
|
+
skipNodeModulesBundle?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Mode
|
|
121
|
+
*
|
|
122
|
+
* The build mode
|
|
123
|
+
*
|
|
124
|
+
*
|
|
125
|
+
* @enum development,test,production
|
|
126
|
+
*/
|
|
127
|
+
mode?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Log Level
|
|
130
|
+
*
|
|
131
|
+
* The log level to use for the build process
|
|
132
|
+
*
|
|
133
|
+
*
|
|
134
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
135
|
+
*/
|
|
136
|
+
logLevel?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Define
|
|
139
|
+
*
|
|
140
|
+
* The `define` values
|
|
141
|
+
*
|
|
142
|
+
*/
|
|
143
|
+
define?: Record<string, string>;
|
|
144
|
+
/**
|
|
145
|
+
* Assets
|
|
146
|
+
*
|
|
147
|
+
* The `assets` values
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
assets?: Array<{
|
|
151
|
+
input?: string;
|
|
152
|
+
output?: string;
|
|
153
|
+
glob: string;
|
|
154
|
+
ignore?: string[];
|
|
155
|
+
dot?: boolean;
|
|
156
|
+
}>;
|
|
157
|
+
/**
|
|
158
|
+
* Additional Arguments
|
|
159
|
+
*
|
|
160
|
+
* The additional arguments provided during execution of the command
|
|
161
|
+
*
|
|
162
|
+
*/
|
|
163
|
+
additionalArgs?: Record<string, string>;
|
|
177
164
|
}
|
|
178
|
-
|
|
165
|
+
//#endregion
|
|
166
|
+
export { BaseExecutorSchema };
|
|
167
|
+
//# sourceMappingURL=base-executor.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.schema.d.ts","names":[],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiB;;;;;;;;;EAShB;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;;;;EAUA,QAAQ;;;;;;;;;EAUR;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;EASA,SAAS;;;;;;;;;EAUT;;;;;;;EAQA,WAAW;;;;;;;EAQX,aAAa;;;;;;;EAQb;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA,SAAS;;;;;;;EAQT,SAAS;IAAQ;IAAgB;IAAiB;IAAc;IAAmB;;;;;;;;EAQnF,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped.d.mts","names":[],"sources":["../../../src/base/base-executor.untyped.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped.d.ts","names":[],"sources":["../../../src/base/base-executor.untyped.ts"],"mappings":""}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
let untyped = require("untyped");
|
|
2
|
+
|
|
3
|
+
//#region src/base/base-executor.untyped.ts
|
|
4
|
+
var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
5
|
+
$schema: {
|
|
6
|
+
id: "BaseExecutorSchema",
|
|
7
|
+
title: "Base Executor",
|
|
8
|
+
description: "A shared/base schema type definition for Powerlines executors",
|
|
9
|
+
required: []
|
|
10
|
+
},
|
|
11
|
+
config: { $schema: {
|
|
12
|
+
title: "Powerlines Configuration File",
|
|
13
|
+
type: "string",
|
|
14
|
+
format: "path",
|
|
15
|
+
description: "The path to the Powerlines configuration file. Alias for `configFile`."
|
|
16
|
+
} },
|
|
17
|
+
configFile: { $schema: {
|
|
18
|
+
title: "Powerlines Configuration File",
|
|
19
|
+
type: "string",
|
|
20
|
+
format: "path",
|
|
21
|
+
description: "The path to the Powerlines configuration file. Alias for `config`."
|
|
22
|
+
} },
|
|
23
|
+
configIndex: {
|
|
24
|
+
$schema: {
|
|
25
|
+
title: "Powerlines Configuration Index",
|
|
26
|
+
type: "number",
|
|
27
|
+
description: "The index in the Powerlines configuration file to use (if an array of configurations are provided)."
|
|
28
|
+
},
|
|
29
|
+
$default: 0
|
|
30
|
+
},
|
|
31
|
+
input: { $schema: {
|
|
32
|
+
title: "Input Entry File(s)",
|
|
33
|
+
format: "path",
|
|
34
|
+
type: "array",
|
|
35
|
+
description: "The entry file(s) that serve as the input for the project",
|
|
36
|
+
items: { type: "string" }
|
|
37
|
+
} },
|
|
38
|
+
tsconfig: { $schema: {
|
|
39
|
+
title: "TSConfig Path",
|
|
40
|
+
type: "string",
|
|
41
|
+
format: "path",
|
|
42
|
+
description: "The path to the tsconfig file"
|
|
43
|
+
} },
|
|
44
|
+
outputPath: { $schema: {
|
|
45
|
+
title: "Output Path",
|
|
46
|
+
type: "string",
|
|
47
|
+
format: "path",
|
|
48
|
+
description: "The path to the output directory for the build artifacts"
|
|
49
|
+
} },
|
|
50
|
+
copyPath: { $schema: {
|
|
51
|
+
title: "Copy Path",
|
|
52
|
+
description: "A directory path to copy the build artifacts into",
|
|
53
|
+
oneOf: [{
|
|
54
|
+
type: "string",
|
|
55
|
+
format: "path"
|
|
56
|
+
}, {
|
|
57
|
+
type: "boolean",
|
|
58
|
+
enum: [false]
|
|
59
|
+
}]
|
|
60
|
+
} },
|
|
61
|
+
sourceMap: { $schema: {
|
|
62
|
+
title: "Sourcemap",
|
|
63
|
+
type: "boolean",
|
|
64
|
+
description: "Generate a sourcemap"
|
|
65
|
+
} },
|
|
66
|
+
minify: { $schema: {
|
|
67
|
+
title: "Minify",
|
|
68
|
+
type: "boolean",
|
|
69
|
+
description: "Minify the output"
|
|
70
|
+
} },
|
|
71
|
+
format: {
|
|
72
|
+
$schema: {
|
|
73
|
+
title: "Format",
|
|
74
|
+
type: "array",
|
|
75
|
+
description: "The format to build",
|
|
76
|
+
items: {
|
|
77
|
+
type: "string",
|
|
78
|
+
enum: [
|
|
79
|
+
"cjs",
|
|
80
|
+
"esm",
|
|
81
|
+
"iife"
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
$resolve: (val = ["cjs", "esm"]) => val.filter((format) => [
|
|
86
|
+
"cjs",
|
|
87
|
+
"esm",
|
|
88
|
+
"iife"
|
|
89
|
+
].includes(format))
|
|
90
|
+
},
|
|
91
|
+
platform: { $schema: {
|
|
92
|
+
title: "Platform",
|
|
93
|
+
type: "string",
|
|
94
|
+
description: "The platform to build",
|
|
95
|
+
enum: [
|
|
96
|
+
"neutral",
|
|
97
|
+
"node",
|
|
98
|
+
"browser"
|
|
99
|
+
]
|
|
100
|
+
} },
|
|
101
|
+
external: {
|
|
102
|
+
$schema: {
|
|
103
|
+
title: "External",
|
|
104
|
+
type: "array",
|
|
105
|
+
description: "The external dependencies"
|
|
106
|
+
},
|
|
107
|
+
$resolve: (val = []) => [].concat(val)
|
|
108
|
+
},
|
|
109
|
+
noExternal: {
|
|
110
|
+
$schema: {
|
|
111
|
+
title: "No External",
|
|
112
|
+
type: "array",
|
|
113
|
+
description: "The dependencies that should not be treated as external"
|
|
114
|
+
},
|
|
115
|
+
$resolve: (val = []) => [].concat(val)
|
|
116
|
+
},
|
|
117
|
+
skipNodeModulesBundle: { $schema: {
|
|
118
|
+
title: "Skip Node Modules Bundle",
|
|
119
|
+
type: "boolean",
|
|
120
|
+
description: "Skip bundling node_modules during the build process (if required)"
|
|
121
|
+
} },
|
|
122
|
+
mode: { $schema: {
|
|
123
|
+
title: "Mode",
|
|
124
|
+
type: "string",
|
|
125
|
+
description: "The build mode",
|
|
126
|
+
enum: [
|
|
127
|
+
"development",
|
|
128
|
+
"test",
|
|
129
|
+
"production"
|
|
130
|
+
]
|
|
131
|
+
} },
|
|
132
|
+
logLevel: { $schema: {
|
|
133
|
+
title: "Log Level",
|
|
134
|
+
type: "string",
|
|
135
|
+
description: "The log level to use for the build process",
|
|
136
|
+
enum: [
|
|
137
|
+
"fatal",
|
|
138
|
+
"error",
|
|
139
|
+
"warn",
|
|
140
|
+
"success",
|
|
141
|
+
"info",
|
|
142
|
+
"debug",
|
|
143
|
+
"trace",
|
|
144
|
+
"silent"
|
|
145
|
+
]
|
|
146
|
+
} },
|
|
147
|
+
define: {
|
|
148
|
+
$schema: {
|
|
149
|
+
title: "Define",
|
|
150
|
+
type: "object",
|
|
151
|
+
tsType: "Record<string, string>",
|
|
152
|
+
description: "The `define` values"
|
|
153
|
+
},
|
|
154
|
+
$resolve: (val = {}) => val,
|
|
155
|
+
$default: {}
|
|
156
|
+
},
|
|
157
|
+
assets: { $schema: {
|
|
158
|
+
title: "Assets",
|
|
159
|
+
type: "any",
|
|
160
|
+
tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
161
|
+
description: "The `assets` values"
|
|
162
|
+
} },
|
|
163
|
+
additionalArgs: {
|
|
164
|
+
$schema: {
|
|
165
|
+
title: "Additional Arguments",
|
|
166
|
+
type: "object",
|
|
167
|
+
tsType: "Record<string, string>",
|
|
168
|
+
description: "The additional arguments provided during execution of the command"
|
|
169
|
+
},
|
|
170
|
+
$resolve: (val = {}) => val,
|
|
171
|
+
$default: {}
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
//#endregion
|
|
176
|
+
module.exports = base_executor_untyped_default;
|