@powerlines/plugin-webpack 0.5.131 → 0.5.133

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 (130) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/helpers/index.cjs +2 -3
  3. package/dist/helpers/index.d.cts +1 -3
  4. package/dist/helpers/index.d.mts +1 -3
  5. package/dist/helpers/index.mjs +1 -2
  6. package/dist/helpers/unplugin.cjs +11 -2
  7. package/dist/helpers/unplugin.d.cts +6 -2
  8. package/dist/helpers/unplugin.d.mts +6 -2
  9. package/dist/helpers/unplugin.mjs +9 -1
  10. package/dist/index.cjs +8 -50
  11. package/dist/index.d.cts +3 -4
  12. package/dist/index.d.mts +5 -5
  13. package/dist/index.mjs +3 -46
  14. package/dist/powerlines/schemas/fs.cjs +226 -0
  15. package/dist/powerlines/schemas/fs.mjs +224 -0
  16. package/dist/powerlines/src/api.cjs +580 -0
  17. package/dist/powerlines/src/api.mjs +578 -0
  18. package/dist/powerlines/src/internal/babel/module-resolver-plugin.cjs +86 -0
  19. package/dist/powerlines/src/internal/babel/module-resolver-plugin.mjs +84 -0
  20. package/dist/powerlines/src/internal/helpers/environment.cjs +52 -0
  21. package/dist/powerlines/src/internal/helpers/environment.mjs +48 -0
  22. package/dist/powerlines/src/internal/helpers/generate-types.cjs +51 -0
  23. package/dist/powerlines/src/internal/helpers/generate-types.mjs +49 -0
  24. package/dist/powerlines/src/internal/helpers/hooks.cjs +63 -0
  25. package/dist/powerlines/src/internal/helpers/hooks.mjs +61 -0
  26. package/dist/powerlines/src/internal/helpers/install-dependencies.cjs +25 -0
  27. package/dist/powerlines/src/internal/helpers/install-dependencies.mjs +24 -0
  28. package/dist/powerlines/src/internal/helpers/install.cjs +37 -0
  29. package/dist/powerlines/src/internal/helpers/install.mjs +36 -0
  30. package/dist/powerlines/src/internal/helpers/resolve-tsconfig.cjs +98 -0
  31. package/dist/powerlines/src/internal/helpers/resolve-tsconfig.mjs +94 -0
  32. package/dist/powerlines/src/internal/helpers/resolver.cjs +43 -0
  33. package/dist/powerlines/src/internal/helpers/resolver.mjs +41 -0
  34. package/dist/powerlines/src/lib/build/webpack.cjs +47 -0
  35. package/dist/powerlines/src/lib/build/webpack.mjs +45 -0
  36. package/dist/powerlines/src/lib/config-file.cjs +79 -0
  37. package/dist/powerlines/src/lib/config-file.mjs +76 -0
  38. package/dist/powerlines/src/lib/contexts/api-context.cjs +184 -0
  39. package/dist/powerlines/src/lib/contexts/api-context.mjs +182 -0
  40. package/dist/powerlines/src/lib/contexts/context.cjs +933 -0
  41. package/dist/powerlines/src/lib/contexts/context.mjs +931 -0
  42. package/dist/powerlines/src/lib/contexts/environment-context.cjs +160 -0
  43. package/dist/powerlines/src/lib/contexts/environment-context.mjs +159 -0
  44. package/dist/powerlines/src/lib/contexts/plugin-context.cjs +75 -0
  45. package/dist/powerlines/src/lib/contexts/plugin-context.mjs +74 -0
  46. package/dist/powerlines/src/lib/entry.cjs +69 -0
  47. package/dist/powerlines/src/lib/entry.mjs +67 -0
  48. package/dist/powerlines/src/lib/fs/helpers.cjs +85 -0
  49. package/dist/powerlines/src/lib/fs/helpers.mjs +81 -0
  50. package/dist/powerlines/src/lib/fs/storage/base.cjs +196 -0
  51. package/dist/powerlines/src/lib/fs/storage/base.mjs +195 -0
  52. package/dist/powerlines/src/lib/fs/storage/file-system.cjs +170 -0
  53. package/dist/powerlines/src/lib/fs/storage/file-system.mjs +169 -0
  54. package/dist/powerlines/src/lib/fs/storage/virtual.cjs +88 -0
  55. package/dist/powerlines/src/lib/fs/storage/virtual.mjs +87 -0
  56. package/dist/powerlines/src/lib/fs/vfs.cjs +830 -0
  57. package/dist/powerlines/src/lib/fs/vfs.mjs +828 -0
  58. package/dist/powerlines/src/lib/logger.cjs +58 -0
  59. package/dist/powerlines/src/lib/logger.mjs +55 -0
  60. package/dist/powerlines/src/lib/typescript/ts-morph.cjs +104 -0
  61. package/dist/powerlines/src/lib/typescript/ts-morph.mjs +102 -0
  62. package/dist/powerlines/src/lib/typescript/tsconfig.cjs +149 -0
  63. package/dist/powerlines/src/lib/typescript/tsconfig.mjs +144 -0
  64. package/dist/powerlines/src/lib/unplugin/factory.cjs +6 -0
  65. package/dist/powerlines/src/lib/unplugin/factory.mjs +8 -0
  66. package/dist/powerlines/src/lib/unplugin/helpers.cjs +17 -0
  67. package/dist/powerlines/src/lib/unplugin/helpers.mjs +16 -0
  68. package/dist/powerlines/src/lib/unplugin/index.cjs +3 -0
  69. package/dist/powerlines/src/lib/unplugin/index.mjs +5 -0
  70. package/dist/powerlines/src/lib/unplugin/plugin.cjs +128 -0
  71. package/dist/powerlines/src/lib/unplugin/plugin.mjs +127 -0
  72. package/dist/powerlines/src/lib/utilities/file-header.cjs +22 -0
  73. package/dist/powerlines/src/lib/utilities/file-header.mjs +21 -0
  74. package/dist/powerlines/src/lib/utilities/meta.cjs +45 -0
  75. package/dist/powerlines/src/lib/utilities/meta.mjs +41 -0
  76. package/dist/powerlines/src/lib/utilities/source-file.cjs +22 -0
  77. package/dist/powerlines/src/lib/utilities/source-file.mjs +21 -0
  78. package/dist/powerlines/src/plugin-utils/helpers.cjs +148 -0
  79. package/dist/powerlines/src/plugin-utils/helpers.mjs +138 -0
  80. package/dist/powerlines/src/plugin-utils/paths.cjs +36 -0
  81. package/dist/powerlines/src/plugin-utils/paths.mjs +35 -0
  82. package/dist/powerlines/src/types/babel.d.mts +4 -0
  83. package/dist/powerlines/src/types/build.cjs +15 -0
  84. package/dist/powerlines/src/types/build.d.cts +149 -0
  85. package/dist/powerlines/src/types/build.d.mts +149 -0
  86. package/dist/powerlines/src/types/build.mjs +14 -0
  87. package/dist/powerlines/src/types/commands.cjs +16 -0
  88. package/dist/powerlines/src/types/commands.d.cts +8 -0
  89. package/dist/powerlines/src/types/commands.d.mts +9 -0
  90. package/dist/powerlines/src/types/commands.mjs +15 -0
  91. package/dist/powerlines/src/types/config.d.cts +377 -0
  92. package/dist/powerlines/src/types/config.d.mts +378 -0
  93. package/dist/powerlines/src/types/context.d.cts +403 -0
  94. package/dist/powerlines/src/types/context.d.mts +405 -0
  95. package/dist/powerlines/src/types/fs.d.cts +486 -0
  96. package/dist/powerlines/src/types/fs.d.mts +486 -0
  97. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  98. package/dist/powerlines/src/types/plugin.cjs +32 -0
  99. package/dist/powerlines/src/types/plugin.d.cts +231 -0
  100. package/dist/powerlines/src/types/plugin.d.mts +231 -0
  101. package/dist/powerlines/src/types/plugin.mjs +31 -0
  102. package/dist/powerlines/src/types/resolved.d.cts +82 -0
  103. package/dist/powerlines/src/types/resolved.d.mts +83 -0
  104. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  105. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  106. package/dist/types/index.cjs +0 -2
  107. package/dist/types/index.d.cts +1 -2
  108. package/dist/types/index.d.mts +1 -2
  109. package/dist/types/index.mjs +0 -3
  110. package/dist/types/plugin.cjs +0 -1
  111. package/dist/types/plugin.d.cts +12 -1
  112. package/dist/types/plugin.d.mts +12 -1
  113. package/dist/types/plugin.mjs +0 -2
  114. package/package.json +5 -5
  115. package/dist/helpers-B15z10jN.mjs +0 -1
  116. package/dist/helpers-LF26RHol.cjs +0 -0
  117. package/dist/index-9iG2qHLe.d.mts +0 -1
  118. package/dist/index-D4ELpJXS.d.cts +0 -1
  119. package/dist/index-D6CnpA_r.d.cts +0 -1
  120. package/dist/index-DL0uimUT.d.mts +0 -1
  121. package/dist/plugin-CsQFPhIt.d.cts +0 -1762
  122. package/dist/plugin-ifZVa20V.mjs +0 -1
  123. package/dist/plugin-pBKbb5K9.cjs +0 -0
  124. package/dist/plugin-wiaZGMv0.d.mts +0 -1764
  125. package/dist/types-U3zd8PTP.mjs +0 -1
  126. package/dist/types-o3zWarRp.cjs +0 -0
  127. package/dist/unplugin-BVSyqmCe.d.cts +0 -7
  128. package/dist/unplugin-CVrlqRhX.mjs +0 -4615
  129. package/dist/unplugin-Cemsz8kP.cjs +0 -4659
  130. package/dist/unplugin-vRGq3odL.d.mts +0 -7
@@ -0,0 +1,378 @@
1
+ import { BuildConfig, BuildResolvedConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from "./build.mjs";
2
+ import "./babel.mjs";
3
+ import { StoragePort, StoragePreset } from "./fs.mjs";
4
+ import { Plugin } from "./plugin.mjs";
5
+ import { TSConfig } from "./tsconfig.mjs";
6
+ import { PluginContext } from "./context.mjs";
7
+ import { LogLevelLabel } from "@storm-software/config-tools/types";
8
+ import { transformAsync } from "@babel/core";
9
+ import { PreviewOptions } from "vite";
10
+ import { MaybePromise } from "@stryke/types/base";
11
+ import { Format } from "@storm-software/build-tools/types";
12
+ import { StormWorkspaceConfig } from "@storm-software/config/types";
13
+ import { TypeDefinitionParameter } from "@stryke/types/configuration";
14
+ import { AssetGlob } from "@stryke/types/file";
15
+ import { DateString } from "compatx";
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> | 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> | PluginConfigTuple<TContext> | PluginConfigObject<TContext> | Promise<PluginConfig<TContext>> | PluginConfig<TContext>[];
42
+ type ProjectType = "application" | "library";
43
+ interface DeployConfig {
44
+ /**
45
+ * The deployment variant being used by the Powerlines engine.
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * export default defineConfig({
50
+ * deploy: {
51
+ * variant: "cloudflare"
52
+ * }
53
+ * });
54
+ *
55
+ * ```
56
+ */
57
+ variant?: string;
58
+ }
59
+ interface OutputConfig {
60
+ /**
61
+ * The path to output the final compiled files to
62
+ *
63
+ * @remarks
64
+ * If a value is not provided, Powerlines will attempt to:
65
+ * 1. Use the `outDir` value in the `tsconfig.json` file.
66
+ * 2. Use the `dist` directory in the project root directory.
67
+ *
68
+ * @defaultValue "dist/\{projectRoot\}"
69
+ */
70
+ outputPath?: string;
71
+ /**
72
+ * The output directory path for the project build.
73
+ *
74
+ * @remarks
75
+ * 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.
76
+ *
77
+ * @defaultValue "\{projectRoot\}/dist"
78
+ */
79
+ buildPath?: string;
80
+ /**
81
+ * The folder where the generated runtime artifacts will be located
82
+ *
83
+ * @remarks
84
+ * This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
85
+ *
86
+ * @defaultValue "\{projectRoot\}/.powerlines"
87
+ */
88
+ artifactsPath?: string;
89
+ /**
90
+ * The path of the generated runtime declaration file relative to the workspace root.
91
+ *
92
+ * @defaultValue "\{projectRoot\}/powerlines.d.ts"
93
+ */
94
+ dts?: string | false;
95
+ /**
96
+ * A prefix to use for identifying builtin modules
97
+ *
98
+ * @remarks
99
+ * 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"`.
100
+ *
101
+ * @defaultValue "powerlines"
102
+ */
103
+ builtinPrefix?: string;
104
+ /**
105
+ * The module format of the output files
106
+ *
107
+ * @remarks
108
+ * 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.
109
+ *
110
+ * @defaultValue "esm"
111
+ */
112
+ format?: Format | Format[];
113
+ /**
114
+ * A list of assets to copy to the output directory
115
+ *
116
+ * @remarks
117
+ * 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.
118
+ */
119
+ assets?: Array<string | AssetGlob>;
120
+ /**
121
+ * A string preset or a custom {@link StoragePort} to provide fine-grained control over generated/output file storage.
122
+ *
123
+ * @remarks
124
+ * If a string preset is provided, it must be one of the following values:
125
+ * - `"virtual"`: Uses the local file system for storage.
126
+ * - `"fs"`: Uses an in-memory virtual file system for storage.
127
+ *
128
+ * If a custom {@link StoragePort} is provided, it will be used for all file storage operations during the build process.
129
+ *
130
+ * @defaultValue "virtual"
131
+ */
132
+ storage?: StoragePort | StoragePreset;
133
+ }
134
+ interface BaseConfig {
135
+ /**
136
+ * The entry point(s) for the application
137
+ */
138
+ entry?: TypeDefinitionParameter | TypeDefinitionParameter[];
139
+ /**
140
+ * Configuration for the output of the build process
141
+ */
142
+ output?: OutputConfig;
143
+ /**
144
+ * Configuration for cleaning the build artifacts
145
+ *
146
+ * @remarks
147
+ * If set to `false`, the cleaning process will be disabled.
148
+ */
149
+ clean?: Record<string, any> | false;
150
+ /**
151
+ * Configuration for linting the source code
152
+ *
153
+ * @remarks
154
+ * If set to `false`, linting will be disabled.
155
+ */
156
+ lint?: Record<string, any> | false;
157
+ /**
158
+ * Configuration for testing the source code
159
+ *
160
+ * @remarks
161
+ * If set to `false`, testing will be disabled.
162
+ */
163
+ test?: Record<string, any> | false;
164
+ /**
165
+ * Configuration for the transformation of the source code
166
+ */
167
+ transform?: Record<string, any>;
168
+ /**
169
+ * Configuration provided to build processes
170
+ *
171
+ * @remarks
172
+ * This configuration can be used by plugins during the `build` command. It will generally contain options specific to the selected {@link BuildVariant | build variant}.
173
+ */
174
+ build?: BuildConfig;
175
+ /**
176
+ * Configuration for documentation generation
177
+ *
178
+ * @remarks
179
+ * This configuration will be used by the documentation generation plugins during the `docs` command.
180
+ */
181
+ docs?: Record<string, any>;
182
+ /**
183
+ * Configuration for deploying the source code
184
+ *
185
+ * @remarks
186
+ * If set to `false`, the deployment will be disabled.
187
+ */
188
+ deploy?: DeployConfig | false;
189
+ /**
190
+ * The path to the tsconfig file to be used by the compiler
191
+ *
192
+ * @remarks
193
+ * 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).
194
+ *
195
+ * @defaultValue "\{projectRoot\}/tsconfig.json"
196
+ */
197
+ tsconfig?: string;
198
+ /**
199
+ * The raw {@link TSConfig} object to be used by the compiler. This object will be merged with the `tsconfig.json` file.
200
+ *
201
+ * @see https://www.typescriptlang.org/tsconfig
202
+ *
203
+ * @remarks
204
+ * If populated, this option takes higher priority than `tsconfig`
205
+ */
206
+ tsconfigRaw?: TSConfig;
207
+ }
208
+ interface EnvironmentConfig extends BaseConfig {
209
+ /**
210
+ * Configuration options for the preview server
211
+ */
212
+ preview?: PreviewOptions;
213
+ /**
214
+ * A flag indicating whether the build is for a Server-Side Rendering environment.
215
+ */
216
+ ssr?: boolean;
217
+ /**
218
+ * Define if this environment is used for Server-Side Rendering
219
+ *
220
+ * @defaultValue "server" (if it isn't the client environment)
221
+ */
222
+ consumer?: "client" | "server";
223
+ }
224
+ interface CommonUserConfig extends BaseConfig {
225
+ /**
226
+ * The name of the project
227
+ */
228
+ name?: string;
229
+ /**
230
+ * The project display title
231
+ *
232
+ * @remarks
233
+ * This option is used in documentation generation and other places where a human-readable title is needed.
234
+ */
235
+ title?: string;
236
+ /**
237
+ * A description of the project
238
+ *
239
+ * @remarks
240
+ * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
241
+ */
242
+ description?: string;
243
+ /**
244
+ * The organization or author of the project
245
+ *
246
+ * @remarks
247
+ * If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
248
+ */
249
+ organization?: string;
250
+ /**
251
+ * The date to use for compatibility checks
252
+ *
253
+ * @remarks
254
+ * This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs.
255
+ *
256
+ * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
257
+ * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
258
+ * @see https://github.com/unjs/compatx
259
+ */
260
+ compatibilityDate?: DateString;
261
+ /**
262
+ * The log level to use for the Powerlines processes.
263
+ *
264
+ * @defaultValue "info"
265
+ */
266
+ logLevel?: LogLevelLabel | null;
267
+ /**
268
+ * A custom logger function to use for logging messages
269
+ */
270
+ customLogger?: LogFn;
271
+ /**
272
+ * 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.
273
+ *
274
+ * @defaultValue "production"
275
+ */
276
+ mode?: "development" | "test" | "production";
277
+ /**
278
+ * The type of project being built
279
+ *
280
+ * @defaultValue "application"
281
+ */
282
+ type?: ProjectType;
283
+ /**
284
+ * The root directory of the project
285
+ */
286
+ root: string;
287
+ /**
288
+ * The root directory of the project's source code
289
+ *
290
+ * @defaultValue "\{root\}/src"
291
+ */
292
+ sourceRoot?: string;
293
+ /**
294
+ * A path to a custom configuration file to be used instead of the default `storm.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
295
+ *
296
+ * @remarks
297
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
298
+ */
299
+ configFile?: string;
300
+ /**
301
+ * Should the Powerlines CLI processes skip installing missing packages?
302
+ *
303
+ * @remarks
304
+ * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
305
+ *
306
+ * @defaultValue false
307
+ */
308
+ skipInstalls?: boolean;
309
+ /**
310
+ * Should the compiler processes skip any improvements that make use of cache?
311
+ *
312
+ * @defaultValue false
313
+ */
314
+ skipCache?: boolean;
315
+ /**
316
+ * A list of resolvable paths to plugins used during the build process
317
+ */
318
+ plugins?: PluginConfig<any>[];
319
+ /**
320
+ * Environment-specific configurations
321
+ */
322
+ environments?: Record<string, EnvironmentConfig>;
323
+ /**
324
+ * Should a single `build` process be ran for each environment?
325
+ *
326
+ * @remarks
327
+ * This option determines how environments are managed during the `build` process. The available options are:
328
+ *
329
+ * - `false`: A separate build is ran for each environment.
330
+ * - `true`: A single build is ran for all environments.
331
+ *
332
+ * @defaultValue false
333
+ */
334
+ singleBuild?: boolean;
335
+ /**
336
+ * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
337
+ *
338
+ * @remarks
339
+ * 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.
340
+ *
341
+ * @defaultValue "powerlines"
342
+ */
343
+ framework?: string;
344
+ }
345
+ interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
346
+ /**
347
+ * Configuration provided to build processes
348
+ *
349
+ * @remarks
350
+ * This configuration can be used by plugins during the `build` command. It will generally contain options specific to the selected {@link BuildVariant | build variant}.
351
+ */
352
+ build: Omit<TBuildConfig, "override"> & {
353
+ /**
354
+ * The build variant being used by the Powerlines engine.
355
+ */
356
+ variant?: TBuildVariant;
357
+ /**
358
+ * An optional set of override options to apply to the selected build variant.
359
+ *
360
+ * @remarks
361
+ * 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.
362
+ */
363
+ override?: Partial<TBuildResolvedConfig>;
364
+ };
365
+ }
366
+ type WebpackUserConfig = UserConfig<WebpackBuildConfig, WebpackResolvedBuildConfig, "webpack">;
367
+ type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
368
+ /**
369
+ * The configuration provided while executing Powerlines commands.
370
+ */
371
+ type InlineConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserConfig> & {
372
+ /**
373
+ * A string identifier for the Powerlines command being executed
374
+ */
375
+ command: PowerlinesCommand;
376
+ };
377
+ //#endregion
378
+ export { EnvironmentConfig, InlineConfig, LogFn, OutputConfig, PluginConfig, UserConfig, WebpackUserConfig, WorkspaceConfig };