@powerlines/plugin-crypto 0.10.32 → 0.10.34

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.
Files changed (164) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +1 -0
  2. package/dist/{chunk-X42XA8SV.mjs → _virtual/rolldown_runtime.mjs} +1 -1
  3. package/dist/alloy/src/core/components/output.cjs +1 -0
  4. package/dist/alloy/src/core/components/output.mjs +1 -0
  5. package/dist/alloy/src/core/components/single-line-comment.cjs +1 -0
  6. package/dist/alloy/src/core/components/single-line-comment.mjs +1 -0
  7. package/dist/alloy/src/core/components/source-file.cjs +1 -0
  8. package/dist/alloy/src/core/components/source-file.mjs +1 -0
  9. package/dist/alloy/src/core/contexts/context.cjs +1 -0
  10. package/dist/alloy/src/core/contexts/context.mjs +1 -0
  11. package/dist/alloy/src/core/contexts/reflection.cjs +1 -0
  12. package/dist/alloy/src/core/contexts/reflection.mjs +1 -0
  13. package/dist/alloy/src/create-plugin.cjs +2 -0
  14. package/dist/alloy/src/create-plugin.mjs +2 -0
  15. package/dist/alloy/src/helpers/refkey.cjs +1 -0
  16. package/dist/alloy/src/helpers/refkey.mjs +1 -0
  17. package/dist/alloy/src/markdown/components/markdown-file.cjs +1 -0
  18. package/dist/alloy/src/markdown/components/markdown-file.mjs +1 -0
  19. package/dist/alloy/src/markdown/components/markdown-table.cjs +1 -0
  20. package/dist/alloy/src/markdown/components/markdown-table.mjs +1 -0
  21. package/dist/alloy/src/markdown/contexts/markdown-table.cjs +1 -0
  22. package/dist/alloy/src/markdown/contexts/markdown-table.mjs +1 -0
  23. package/dist/alloy/src/typescript/components/builtin-file.cjs +1 -0
  24. package/dist/alloy/src/typescript/components/builtin-file.mjs +1 -0
  25. package/dist/alloy/src/typescript/components/tsdoc-reflection.cjs +1 -0
  26. package/dist/alloy/src/typescript/components/tsdoc-reflection.mjs +1 -0
  27. package/dist/alloy/src/typescript/components/tsdoc.cjs +1 -0
  28. package/dist/alloy/src/typescript/components/tsdoc.mjs +1 -0
  29. package/dist/alloy/src/typescript/components/typescript-file.cjs +1 -0
  30. package/dist/alloy/src/typescript/components/typescript-file.mjs +1 -0
  31. package/dist/alloy/src/typescript/components/typescript-interface.cjs +1 -0
  32. package/dist/alloy/src/typescript/components/typescript-interface.mjs +1 -0
  33. package/dist/alloy/src/typescript/components/typescript-object.cjs +1 -0
  34. package/dist/alloy/src/typescript/components/typescript-object.mjs +1 -0
  35. package/dist/components/crypto.cjs +133 -0
  36. package/dist/components/crypto.d.cts +13 -0
  37. package/dist/components/crypto.d.mts +13 -0
  38. package/dist/components/crypto.mjs +133 -0
  39. package/dist/components/index.cjs +1 -0
  40. package/dist/components/index.d.mts +1 -0
  41. package/dist/components/index.mjs +1 -0
  42. package/dist/deepkit/schemas/reflection.cjs +1 -0
  43. package/dist/deepkit/schemas/reflection.d.cts +1560 -0
  44. package/dist/deepkit/schemas/reflection.d.mts +1560 -0
  45. package/dist/deepkit/schemas/reflection.mjs +1 -0
  46. package/dist/deepkit/schemas/reflection2.cjs +1 -0
  47. package/dist/deepkit/schemas/reflection2.mjs +1 -0
  48. package/dist/deepkit/src/capnp.cjs +1 -0
  49. package/dist/deepkit/src/capnp.mjs +1 -0
  50. package/dist/deepkit/src/reflect-type.cjs +1 -0
  51. package/dist/deepkit/src/reflect-type.mjs +1 -0
  52. package/dist/deepkit/src/resolve-reflections.cjs +1 -0
  53. package/dist/deepkit/src/resolve-reflections.mjs +1 -0
  54. package/dist/deepkit/src/types.d.cts +10 -0
  55. package/dist/deepkit/src/types.d.mts +10 -0
  56. package/dist/deepkit/src/utilities.cjs +1 -0
  57. package/dist/deepkit/src/utilities.mjs +1 -0
  58. package/dist/deepkit/src/vendor/type.cjs +1 -0
  59. package/dist/deepkit/src/vendor/type.d.cts +7 -0
  60. package/dist/deepkit/src/vendor/type.d.mts +7 -0
  61. package/dist/deepkit/src/vendor/type.mjs +1 -0
  62. package/dist/index.cjs +1 -208
  63. package/dist/index.d.cts +4 -12
  64. package/dist/index.d.mts +5 -12
  65. package/dist/index.mjs +1 -205
  66. package/dist/plugin-babel/src/helpers/ast-utils.cjs +1 -0
  67. package/dist/plugin-babel/src/helpers/ast-utils.mjs +1 -0
  68. package/dist/plugin-babel/src/helpers/create-plugin.cjs +1 -0
  69. package/dist/plugin-babel/src/helpers/create-plugin.mjs +1 -0
  70. package/dist/plugin-babel/src/helpers/filters.cjs +1 -0
  71. package/dist/plugin-babel/src/helpers/filters.mjs +1 -0
  72. package/dist/plugin-babel/src/helpers/index.cjs +1 -0
  73. package/dist/plugin-babel/src/helpers/index.mjs +1 -0
  74. package/dist/plugin-babel/src/helpers/module-helpers.cjs +1 -0
  75. package/dist/plugin-babel/src/helpers/module-helpers.mjs +1 -0
  76. package/dist/plugin-babel/src/helpers/options.cjs +1 -0
  77. package/dist/plugin-babel/src/helpers/options.mjs +1 -0
  78. package/dist/plugin-babel/src/index.cjs +1 -0
  79. package/dist/plugin-babel/src/index.mjs +1 -0
  80. package/dist/plugin-babel/src/types/index.d.mts +1 -0
  81. package/dist/plugin-babel/src/types/plugin.d.cts +15 -0
  82. package/dist/plugin-babel/src/types/plugin.d.mts +15 -0
  83. package/dist/plugin-env/src/babel/index.cjs +1 -0
  84. package/dist/plugin-env/src/babel/index.mjs +1 -0
  85. package/dist/plugin-env/src/babel/plugin.cjs +5 -0
  86. package/dist/plugin-env/src/babel/plugin.mjs +5 -0
  87. package/dist/plugin-env/src/components/docs.cjs +1 -0
  88. package/dist/plugin-env/src/components/docs.mjs +1 -0
  89. package/dist/plugin-env/src/components/env.cjs +34 -0
  90. package/dist/plugin-env/src/components/env.mjs +31 -0
  91. package/dist/plugin-env/src/components/index.cjs +1 -0
  92. package/dist/plugin-env/src/components/index.mjs +1 -0
  93. package/dist/plugin-env/src/helpers/create-reflection-resource.cjs +1 -0
  94. package/dist/plugin-env/src/helpers/create-reflection-resource.mjs +1 -0
  95. package/dist/plugin-env/src/helpers/index.cjs +1 -0
  96. package/dist/plugin-env/src/helpers/index.mjs +1 -0
  97. package/dist/plugin-env/src/helpers/load.cjs +1 -0
  98. package/dist/plugin-env/src/helpers/load.mjs +1 -0
  99. package/dist/plugin-env/src/helpers/persistence.cjs +1 -0
  100. package/dist/plugin-env/src/helpers/persistence.mjs +1 -0
  101. package/dist/plugin-env/src/helpers/reflect.cjs +1 -0
  102. package/dist/plugin-env/src/helpers/reflect.mjs +1 -0
  103. package/dist/plugin-env/src/helpers/source-file-env.cjs +1 -0
  104. package/dist/plugin-env/src/helpers/source-file-env.mjs +1 -0
  105. package/dist/plugin-env/src/helpers/template-helpers.cjs +1 -0
  106. package/dist/plugin-env/src/helpers/template-helpers.mjs +1 -0
  107. package/dist/plugin-env/src/index.cjs +16 -0
  108. package/dist/plugin-env/src/index.mjs +16 -0
  109. package/dist/plugin-env/src/types/plugin.d.cts +135 -0
  110. package/dist/plugin-env/src/types/plugin.d.mts +136 -0
  111. package/dist/plugin-env/src/types/runtime.d.cts +792 -0
  112. package/dist/plugin-env/src/types/runtime.d.mts +792 -0
  113. package/dist/powerlines/src/lib/build/esbuild.cjs +14 -0
  114. package/dist/powerlines/src/lib/build/esbuild.mjs +14 -0
  115. package/dist/powerlines/src/lib/entry.cjs +1 -0
  116. package/dist/powerlines/src/lib/entry.mjs +1 -0
  117. package/dist/powerlines/src/lib/logger.cjs +1 -0
  118. package/dist/powerlines/src/lib/logger.mjs +1 -0
  119. package/dist/powerlines/src/lib/utilities/bundle.cjs +1 -0
  120. package/dist/powerlines/src/lib/utilities/bundle.mjs +1 -0
  121. package/dist/powerlines/src/lib/utilities/file-header.cjs +10 -0
  122. package/dist/powerlines/src/lib/utilities/file-header.mjs +10 -0
  123. package/dist/powerlines/src/lib/utilities/resolve.cjs +1 -0
  124. package/dist/powerlines/src/lib/utilities/resolve.mjs +1 -0
  125. package/dist/powerlines/src/plugin-utils/helpers.cjs +1 -0
  126. package/dist/powerlines/src/plugin-utils/helpers.mjs +1 -0
  127. package/dist/powerlines/src/plugin-utils/paths.cjs +1 -0
  128. package/dist/powerlines/src/plugin-utils/paths.mjs +1 -0
  129. package/dist/powerlines/src/types/babel.d.cts +22 -0
  130. package/dist/powerlines/src/types/babel.d.mts +22 -0
  131. package/dist/powerlines/src/types/build.d.cts +139 -0
  132. package/dist/powerlines/src/types/build.d.mts +139 -0
  133. package/dist/powerlines/src/types/commands.d.cts +8 -0
  134. package/dist/powerlines/src/types/commands.d.mts +9 -0
  135. package/dist/powerlines/src/types/config.d.cts +356 -0
  136. package/dist/powerlines/src/types/config.d.mts +357 -0
  137. package/dist/powerlines/src/types/context.d.cts +358 -0
  138. package/dist/powerlines/src/types/context.d.mts +360 -0
  139. package/dist/powerlines/src/types/fs.d.cts +458 -0
  140. package/dist/powerlines/src/types/fs.d.mts +458 -0
  141. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  142. package/dist/powerlines/src/types/plugin.d.cts +232 -0
  143. package/dist/powerlines/src/types/plugin.d.mts +232 -0
  144. package/dist/powerlines/src/types/resolved.d.cts +82 -0
  145. package/dist/powerlines/src/types/resolved.d.mts +82 -0
  146. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  147. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  148. package/dist/types/index.cjs +0 -1
  149. package/dist/types/index.d.cts +1 -2
  150. package/dist/types/index.d.mts +1 -2
  151. package/dist/types/index.mjs +1 -1
  152. package/dist/types/plugin.cjs +0 -1
  153. package/dist/types/plugin.d.cts +41 -1
  154. package/dist/types/plugin.d.mts +41 -1
  155. package/dist/types/plugin.mjs +1 -1
  156. package/package.json +8 -8
  157. package/dist/index-CEgs-Dz2.d.cts +0 -1
  158. package/dist/index-D9zIjQH9.d.mts +0 -1
  159. package/dist/plugin-DHXHjv16.cjs +0 -0
  160. package/dist/plugin-DzeYlbKJ.mjs +0 -1
  161. package/dist/plugin-Eengqhgj.d.mts +0 -4207
  162. package/dist/plugin-QQeJHnEx.d.cts +0 -4208
  163. package/dist/types-BKeuN6sy.mjs +0 -1
  164. package/dist/types-DHkg7xmX.cjs +0 -0
@@ -0,0 +1,357 @@
1
+ import { BuildConfig, BuildResolvedConfig } from "./build.mjs";
2
+ import { BabelTransformPluginOptions } from "./babel.mjs";
3
+ import { StoragePort, StoragePreset } from "./fs.mjs";
4
+ import { TSConfig } from "./tsconfig.mjs";
5
+ import { PluginContext } from "./context.mjs";
6
+ import { Plugin } from "./plugin.mjs";
7
+ import { LogLevelLabel } from "@storm-software/config-tools/types";
8
+ import { transformAsync } from "@babel/core";
9
+ import "c12";
10
+ import { MaybePromise } from "@stryke/types/base";
11
+ import { PreviewOptions } from "vite";
12
+ import { Format } from "@storm-software/build-tools/types";
13
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
14
+ import { TypeDefinitionParameter } from "@stryke/types/configuration";
15
+ import { AssetGlob } from "@stryke/types/file";
16
+
17
+ //#region ../powerlines/src/types/config.d.ts
18
+ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
19
+ /**
20
+ * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
21
+ */
22
+ type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
23
+ type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext>>;
24
+ /**
25
+ * A configuration tuple for a Powerlines plugin.
26
+ */
27
+ type PluginConfigTuple<TContext extends PluginContext = PluginContext, TOptions = any> = [string | PluginFactory<TContext, TOptions>, TOptions] | [Plugin<TContext>];
28
+ /**
29
+ * A configuration object for a Powerlines plugin.
30
+ */
31
+ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions = any> = {
32
+ plugin: string | PluginFactory<TContext, TOptions>;
33
+ options: TOptions;
34
+ } | {
35
+ plugin: Plugin<TContext>;
36
+ options?: never;
37
+ };
38
+ /**
39
+ * A configuration tuple for a Powerlines plugin.
40
+ */
41
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
42
+ type ProjectType = "application" | "library";
43
+ type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
44
+ /**
45
+ * The Babel plugins to be used during the build process
46
+ */
47
+ plugins?: BabelTransformPluginOptions[];
48
+ /**
49
+ * The Babel presets to be used during the build process
50
+ */
51
+ presets?: BabelTransformPluginOptions[];
52
+ };
53
+ interface DeployConfig {
54
+ /**
55
+ * The deployment variant being used by the Powerlines engine.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * export default defineConfig({
60
+ * deploy: {
61
+ * variant: "cloudflare"
62
+ * }
63
+ * });
64
+ *
65
+ * ```
66
+ */
67
+ variant?: string;
68
+ }
69
+ interface OutputConfig {
70
+ /**
71
+ * The path to output the final compiled files to
72
+ *
73
+ * @remarks
74
+ * If a value is not provided, Powerlines will attempt to:
75
+ * 1. Use the `outDir` value in the `tsconfig.json` file.
76
+ * 2. Use the `dist` directory in the project root directory.
77
+ *
78
+ * @defaultValue "dist/\{projectRoot\}"
79
+ */
80
+ outputPath?: string;
81
+ /**
82
+ * The output directory path for the project build.
83
+ *
84
+ * @remarks
85
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
86
+ *
87
+ * @defaultValue "\{projectRoot\}/dist"
88
+ */
89
+ buildPath?: string;
90
+ /**
91
+ * The folder where the generated runtime artifacts will be located
92
+ *
93
+ * @remarks
94
+ * This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
95
+ *
96
+ * @defaultValue "\{projectRoot\}/.powerlines"
97
+ */
98
+ artifactsPath?: string;
99
+ /**
100
+ * The path of the generated runtime declaration file relative to the workspace root.
101
+ *
102
+ * @defaultValue "\{projectRoot\}/powerlines.d.ts"
103
+ */
104
+ dts?: string | false;
105
+ /**
106
+ * A prefix to use for identifying builtin modules
107
+ *
108
+ * @remarks
109
+ * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
110
+ *
111
+ * @defaultValue "powerlines"
112
+ */
113
+ builtinPrefix?: string;
114
+ /**
115
+ * The module format of the output files
116
+ *
117
+ * @remarks
118
+ * This option can be a single format or an array of formats. If an array is provided, multiple builds will be generated for each format.
119
+ *
120
+ * @defaultValue "esm"
121
+ */
122
+ format?: Format | Format[];
123
+ /**
124
+ * A list of assets to copy to the output directory
125
+ *
126
+ * @remarks
127
+ * The assets can be specified as a string (path to the asset) or as an object with a `glob` property (to match multiple files). The paths are relative to the project root directory.
128
+ */
129
+ assets?: Array<string | AssetGlob>;
130
+ /**
131
+ * A string preset or a custom {@link StoragePort} to provide fine-grained control over generated/output file storage.
132
+ *
133
+ * @remarks
134
+ * If a string preset is provided, it must be one of the following values:
135
+ * - `"virtual"`: Uses the local file system for storage.
136
+ * - `"fs"`: Uses an in-memory virtual file system for storage.
137
+ *
138
+ * If a custom {@link StoragePort} is provided, it will be used for all file storage operations during the build process.
139
+ *
140
+ * @defaultValue "virtual"
141
+ */
142
+ storage?: StoragePort | StoragePreset;
143
+ }
144
+ interface BaseConfig {
145
+ /**
146
+ * The entry point(s) for the application
147
+ */
148
+ entry?: TypeDefinitionParameter | TypeDefinitionParameter[];
149
+ /**
150
+ * Configuration for the output of the build process
151
+ */
152
+ output?: OutputConfig;
153
+ /**
154
+ * Configuration for cleaning the build artifacts
155
+ *
156
+ * @remarks
157
+ * If set to `false`, the cleaning process will be disabled.
158
+ */
159
+ clean?: Record<string, any> | false;
160
+ /**
161
+ * Configuration for linting the source code
162
+ *
163
+ * @remarks
164
+ * If set to `false`, linting will be disabled.
165
+ */
166
+ lint?: Record<string, any> | false;
167
+ /**
168
+ * Configuration for testing the source code
169
+ *
170
+ * @remarks
171
+ * If set to `false`, testing will be disabled.
172
+ */
173
+ test?: Record<string, any> | false;
174
+ /**
175
+ * Configuration for the transformation of the source code
176
+ */
177
+ transform?: Record<string, any>;
178
+ /**
179
+ * Configuration provided to build processes
180
+ *
181
+ * @remarks
182
+ * This configuration can be used by plugins during the `build` command. It will generally contain options specific to the selected {@link BuildVariant | build variant}.
183
+ */
184
+ build?: BuildConfig;
185
+ /**
186
+ * Configuration for documentation generation
187
+ *
188
+ * @remarks
189
+ * This configuration will be used by the documentation generation plugins during the `docs` command.
190
+ */
191
+ docs?: Record<string, any>;
192
+ /**
193
+ * Configuration for deploying the source code
194
+ *
195
+ * @remarks
196
+ * If set to `false`, the deployment will be disabled.
197
+ */
198
+ deploy?: DeployConfig | false;
199
+ /**
200
+ * The path to the tsconfig file to be used by the compiler
201
+ *
202
+ * @remarks
203
+ * If a value is not provided, the plugin will attempt to find the `tsconfig.json` file in the project root directory. The parsed tsconfig compiler options will be merged with the {@link Options.tsconfigRaw} value (if provided).
204
+ *
205
+ * @defaultValue "\{projectRoot\}/tsconfig.json"
206
+ */
207
+ tsconfig?: string;
208
+ /**
209
+ * The raw {@link TSConfig} object to be used by the compiler. This object will be merged with the `tsconfig.json` file.
210
+ *
211
+ * @see https://www.typescriptlang.org/tsconfig
212
+ *
213
+ * @remarks
214
+ * If populated, this option takes higher priority than `tsconfig`
215
+ */
216
+ tsconfigRaw?: TSConfig;
217
+ }
218
+ interface EnvironmentConfig extends BaseConfig {
219
+ /**
220
+ * Configuration options for the preview server
221
+ */
222
+ preview?: PreviewOptions;
223
+ /**
224
+ * A flag indicating whether the build is for a Server-Side Rendering environment.
225
+ */
226
+ ssr?: boolean;
227
+ /**
228
+ * Define if this environment is used for Server-Side Rendering
229
+ *
230
+ * @defaultValue "server" (if it isn't the client environment)
231
+ */
232
+ consumer?: "client" | "server";
233
+ }
234
+ interface CommonUserConfig extends BaseConfig {
235
+ /**
236
+ * The name of the project
237
+ */
238
+ name?: string;
239
+ /**
240
+ * The project display title
241
+ *
242
+ * @remarks
243
+ * This option is used in documentation generation and other places where a human-readable title is needed.
244
+ */
245
+ title?: string;
246
+ /**
247
+ * A description of the project
248
+ *
249
+ * @remarks
250
+ * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
251
+ */
252
+ description?: string;
253
+ /**
254
+ * The log level to use for the Powerlines processes.
255
+ *
256
+ * @defaultValue "info"
257
+ */
258
+ logLevel?: LogLevelLabel | null;
259
+ /**
260
+ * A custom logger function to use for logging messages
261
+ */
262
+ customLogger?: LogFn;
263
+ /**
264
+ * Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
265
+ *
266
+ * @defaultValue "production"
267
+ */
268
+ mode?: "development" | "test" | "production";
269
+ /**
270
+ * The type of project being built
271
+ *
272
+ * @defaultValue "application"
273
+ */
274
+ type?: ProjectType;
275
+ /**
276
+ * The root directory of the project
277
+ */
278
+ root: string;
279
+ /**
280
+ * The root directory of the project's source code
281
+ *
282
+ * @defaultValue "\{root\}/src"
283
+ */
284
+ sourceRoot?: string;
285
+ /**
286
+ * A path to a custom configuration file to be used instead of the default `storm.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
287
+ *
288
+ * @remarks
289
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
290
+ */
291
+ configFile?: string;
292
+ /**
293
+ * Should the Powerlines CLI processes skip installing missing packages?
294
+ *
295
+ * @remarks
296
+ * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
297
+ *
298
+ * @defaultValue false
299
+ */
300
+ skipInstalls?: boolean;
301
+ /**
302
+ * Should the compiler processes skip any improvements that make use of cache?
303
+ *
304
+ * @defaultValue false
305
+ */
306
+ skipCache?: boolean;
307
+ /**
308
+ * A list of resolvable paths to plugins used during the build process
309
+ */
310
+ plugins?: PluginConfig<PluginContext<any>>[];
311
+ /**
312
+ * Environment-specific configurations
313
+ */
314
+ environments?: Record<string, EnvironmentConfig>;
315
+ /**
316
+ * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
317
+ *
318
+ * @remarks
319
+ * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
320
+ *
321
+ * @defaultValue "powerlines"
322
+ */
323
+ framework?: string;
324
+ }
325
+ interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
326
+ /**
327
+ * Configuration provided to build processes
328
+ *
329
+ * @remarks
330
+ * This configuration can be used by plugins during the `build` command. It will generally contain options specific to the selected {@link BuildVariant | build variant}.
331
+ */
332
+ build: Omit<TBuildConfig, "override"> & {
333
+ /**
334
+ * The build variant being used by the Powerlines engine.
335
+ */
336
+ variant?: TBuildVariant;
337
+ /**
338
+ * An optional set of override options to apply to the selected build variant.
339
+ *
340
+ * @remarks
341
+ * This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
342
+ */
343
+ override?: Partial<TBuildResolvedConfig>;
344
+ };
345
+ }
346
+ type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
347
+ /**
348
+ * The configuration provided while executing Powerlines commands.
349
+ */
350
+ type InlineConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserConfig> & {
351
+ /**
352
+ * A string identifier for the Powerlines command being executed
353
+ */
354
+ command: PowerlinesCommand;
355
+ };
356
+ //#endregion
357
+ export { BabelUserConfig, EnvironmentConfig, InlineConfig, LogFn, OutputConfig, PluginConfig, UserConfig, WorkspaceConfig };