@powerlines/plugin-babel 0.12.206 → 0.12.208
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/helpers/create-plugin.cjs +1 -1
- package/dist/helpers/create-plugin.mjs +1 -1
- package/dist/helpers/options.cjs +1 -2
- package/dist/helpers/options.mjs +1 -2
- package/dist/index.cjs +2 -3
- package/dist/index.mjs +2 -3
- package/dist/powerlines/src/types/config.d.cts +4 -12
- package/dist/powerlines/src/types/config.d.mts +4 -12
- package/dist/powerlines/src/types/context.d.cts +7 -0
- package/dist/powerlines/src/types/context.d.mts +7 -0
- package/dist/powerlines/src/types/index.d.mts +1 -1
- package/dist/powerlines/src/types/resolved.d.cts +2 -2
- package/dist/powerlines/src/types/resolved.d.mts +2 -2
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
3
2
|
let chalk = require("chalk");
|
|
4
3
|
chalk = require_rolldown_runtime.__toESM(chalk);
|
|
5
4
|
let __babel_helper_plugin_utils = require("@babel/helper-plugin-utils");
|
|
5
|
+
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
6
6
|
let powerlines_lib_logger = require("powerlines/lib/logger");
|
|
7
7
|
|
|
8
8
|
//#region src/helpers/create-plugin.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
2
1
|
import chalk from "chalk";
|
|
3
2
|
import { declare } from "@babel/helper-plugin-utils";
|
|
3
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
4
4
|
import { extendLog } from "powerlines/lib/logger";
|
|
5
5
|
|
|
6
6
|
//#region src/helpers/create-plugin.ts
|
package/dist/helpers/options.cjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_helpers_filters = require('./filters.cjs');
|
|
3
|
-
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
4
3
|
let __stryke_type_checks_is_function = require("@stryke/type-checks/is-function");
|
|
5
4
|
let chalk = require("chalk");
|
|
6
5
|
chalk = require_rolldown_runtime.__toESM(chalk);
|
|
@@ -25,7 +24,7 @@ function resolvePluginFunction(context, plugin) {
|
|
|
25
24
|
function resolveBabelPlugin(context, code, id, plugin) {
|
|
26
25
|
if (Array.isArray(plugin) && plugin.length > 0 && plugin[0]) {
|
|
27
26
|
if (plugin.length > 2 && plugin[2] && (0, __stryke_type_checks_is_function.isFunction)(plugin[2]) && !plugin[2](code, id)) {
|
|
28
|
-
context.
|
|
27
|
+
context.trace(`Skipping filtered Babel plugin ${chalk.default.bold.cyanBright(require_helpers_filters.getPluginName(plugin) || "unnamed")} for ${id}`);
|
|
29
28
|
return;
|
|
30
29
|
}
|
|
31
30
|
return plugin.length > 2 ? [
|
package/dist/helpers/options.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { getPluginName } from "./filters.mjs";
|
|
2
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
3
2
|
import { isFunction } from "@stryke/type-checks/is-function";
|
|
4
3
|
import chalk from "chalk";
|
|
5
4
|
|
|
@@ -23,7 +22,7 @@ function resolvePluginFunction(context, plugin) {
|
|
|
23
22
|
function resolveBabelPlugin(context, code, id, plugin) {
|
|
24
23
|
if (Array.isArray(plugin) && plugin.length > 0 && plugin[0]) {
|
|
25
24
|
if (plugin.length > 2 && plugin[2] && isFunction(plugin[2]) && !plugin[2](code, id)) {
|
|
26
|
-
context.
|
|
25
|
+
context.trace(`Skipping filtered Babel plugin ${chalk.bold.cyanBright(getPluginName(plugin) || "unnamed")} for ${id}`);
|
|
27
26
|
return;
|
|
28
27
|
}
|
|
29
28
|
return plugin.length > 2 ? [
|
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,6 @@ const require_helpers_create_plugin = require('./helpers/create-plugin.cjs');
|
|
|
7
7
|
const require_helpers_module_helpers = require('./helpers/module-helpers.cjs');
|
|
8
8
|
require('./helpers/index.cjs');
|
|
9
9
|
let __babel_core = require("@babel/core");
|
|
10
|
-
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
11
10
|
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
12
11
|
let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
|
|
13
12
|
let __stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
@@ -40,13 +39,13 @@ const plugin = (options = {}) => {
|
|
|
40
39
|
},
|
|
41
40
|
async transform(code, id) {
|
|
42
41
|
if ((0, __stryke_path_is_parent_path.isParentPath)(id, this.powerlinesPath) || code.includes("/* @storm-ignore */") || code.includes("/* @storm-disable */")) {
|
|
43
|
-
this.
|
|
42
|
+
this.trace(`Skipping Babel transformation for: ${id}`);
|
|
44
43
|
return {
|
|
45
44
|
code,
|
|
46
45
|
id
|
|
47
46
|
};
|
|
48
47
|
}
|
|
49
|
-
this.
|
|
48
|
+
this.debug(`Babel transforming file: ${id}`);
|
|
50
49
|
const plugins = this.config.transform.babel.plugins.map((plugin$1) => require_helpers_options.resolveBabelPlugin(this, code, id, plugin$1)).filter((plugin$1, _, arr) => plugin$1 && !require_helpers_filters.isDuplicatePlugin(arr, plugin$1));
|
|
51
50
|
const presets = this.config.transform.babel.presets.map((preset) => require_helpers_options.resolveBabelPlugin(this, code, id, preset)).filter((preset, _, arr) => preset && !require_helpers_filters.isDuplicatePlugin(arr, preset));
|
|
52
51
|
if (Array.isArray(plugins) && plugins.length === 0 && Array.isArray(presets) && presets.length === 0) return {
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,6 @@ import { createBabelPlugin } from "./helpers/create-plugin.mjs";
|
|
|
5
5
|
import { addImport, addImportsToProgram, findExport, getImport, isImportCall, listExports, listImports } from "./helpers/module-helpers.mjs";
|
|
6
6
|
import "./helpers/index.mjs";
|
|
7
7
|
import { transformAsync } from "@babel/core";
|
|
8
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
9
8
|
import { findFileExtension, findFileExtensionSafe } from "@stryke/path/file-path-fns";
|
|
10
9
|
import { isParentPath } from "@stryke/path/is-parent-path";
|
|
11
10
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
@@ -37,13 +36,13 @@ const plugin = (options = {}) => {
|
|
|
37
36
|
},
|
|
38
37
|
async transform(code, id) {
|
|
39
38
|
if (isParentPath(id, this.powerlinesPath) || code.includes("/* @storm-ignore */") || code.includes("/* @storm-disable */")) {
|
|
40
|
-
this.
|
|
39
|
+
this.trace(`Skipping Babel transformation for: ${id}`);
|
|
41
40
|
return {
|
|
42
41
|
code,
|
|
43
42
|
id
|
|
44
43
|
};
|
|
45
44
|
}
|
|
46
|
-
this.
|
|
45
|
+
this.debug(`Babel transforming file: ${id}`);
|
|
47
46
|
const plugins = this.config.transform.babel.plugins.map((plugin$1) => resolveBabelPlugin(this, code, id, plugin$1)).filter((plugin$1, _, arr) => plugin$1 && !isDuplicatePlugin(arr, plugin$1));
|
|
48
47
|
const presets = this.config.transform.babel.presets.map((preset) => resolveBabelPlugin(this, code, id, preset)).filter((preset, _, arr) => preset && !isDuplicatePlugin(arr, preset));
|
|
49
48
|
if (Array.isArray(plugins) && plugins.length === 0 && Array.isArray(presets) && presets.length === 0) return {
|
|
@@ -15,6 +15,7 @@ import { DateString } from "compatx";
|
|
|
15
15
|
import { PreviewOptions } from "vite";
|
|
16
16
|
|
|
17
17
|
//#region ../powerlines/src/types/config.d.ts
|
|
18
|
+
type LogLevel = "error" | "warn" | "info" | "debug" | "trace";
|
|
18
19
|
type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
19
20
|
/**
|
|
20
21
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
@@ -102,15 +103,6 @@ interface OutputConfig {
|
|
|
102
103
|
* @defaultValue "\{projectRoot\}/powerlines.d.ts"
|
|
103
104
|
*/
|
|
104
105
|
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
106
|
/**
|
|
115
107
|
* The module format of the output files
|
|
116
108
|
*
|
|
@@ -273,7 +265,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
273
265
|
*
|
|
274
266
|
* @defaultValue "info"
|
|
275
267
|
*/
|
|
276
|
-
logLevel?:
|
|
268
|
+
logLevel?: LogLevel | null;
|
|
277
269
|
/**
|
|
278
270
|
* A custom logger function to use for logging messages
|
|
279
271
|
*/
|
|
@@ -346,7 +338,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
346
338
|
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
347
339
|
*
|
|
348
340
|
* @remarks
|
|
349
|
-
* If no values are provided for {@link OutputConfig.dts | output.dts}
|
|
341
|
+
* If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
|
|
350
342
|
*
|
|
351
343
|
* @defaultValue "powerlines"
|
|
352
344
|
*/
|
|
@@ -440,4 +432,4 @@ type DeployInlineConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Inlin
|
|
|
440
432
|
command: "deploy";
|
|
441
433
|
};
|
|
442
434
|
//#endregion
|
|
443
|
-
export { BabelUserConfig, BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LintInlineConfig, LogFn, NewInlineConfig, OutputConfig, PluginConfig, PrepareInlineConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig$1 as UserConfig, ViteUserConfig, WebpackUserConfig, WorkspaceConfig };
|
|
435
|
+
export { BabelUserConfig, BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, NewInlineConfig, OutputConfig, PluginConfig, PrepareInlineConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig$1 as UserConfig, ViteUserConfig, WebpackUserConfig, WorkspaceConfig };
|
|
@@ -15,6 +15,7 @@ import { DateString } from "compatx";
|
|
|
15
15
|
import { PreviewOptions } from "vite";
|
|
16
16
|
|
|
17
17
|
//#region ../powerlines/src/types/config.d.ts
|
|
18
|
+
type LogLevel = "error" | "warn" | "info" | "debug" | "trace";
|
|
18
19
|
type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
19
20
|
/**
|
|
20
21
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
@@ -102,15 +103,6 @@ interface OutputConfig {
|
|
|
102
103
|
* @defaultValue "\{projectRoot\}/powerlines.d.ts"
|
|
103
104
|
*/
|
|
104
105
|
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
106
|
/**
|
|
115
107
|
* The module format of the output files
|
|
116
108
|
*
|
|
@@ -273,7 +265,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
273
265
|
*
|
|
274
266
|
* @defaultValue "info"
|
|
275
267
|
*/
|
|
276
|
-
logLevel?:
|
|
268
|
+
logLevel?: LogLevel | null;
|
|
277
269
|
/**
|
|
278
270
|
* A custom logger function to use for logging messages
|
|
279
271
|
*/
|
|
@@ -346,7 +338,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
346
338
|
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
347
339
|
*
|
|
348
340
|
* @remarks
|
|
349
|
-
* If no values are provided for {@link OutputConfig.dts | output.dts}
|
|
341
|
+
* If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
|
|
350
342
|
*
|
|
351
343
|
* @defaultValue "powerlines"
|
|
352
344
|
*/
|
|
@@ -440,4 +432,4 @@ type DeployInlineConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Inlin
|
|
|
440
432
|
command: "deploy";
|
|
441
433
|
};
|
|
442
434
|
//#endregion
|
|
443
|
-
export { BabelUserConfig, BaseConfig, BuildInlineConfig, CleanInlineConfig, CommonUserConfig, DeployConfig, DeployInlineConfig, DocsInlineConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LintInlineConfig, LogFn, NewInlineConfig, OutputConfig, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig$1 as UserConfig, ViteUserConfig, WebpackUserConfig, WorkspaceConfig };
|
|
435
|
+
export { BabelUserConfig, BaseConfig, BuildInlineConfig, CleanInlineConfig, CommonUserConfig, DeployConfig, DeployInlineConfig, DocsInlineConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, NewInlineConfig, OutputConfig, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig$1 as UserConfig, ViteUserConfig, WebpackUserConfig, WorkspaceConfig };
|
|
@@ -226,6 +226,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
226
226
|
* The builtin module id that exist in the Powerlines virtual file system
|
|
227
227
|
*/
|
|
228
228
|
builtins: string[];
|
|
229
|
+
/**
|
|
230
|
+
* The alias mappings for the project used during module resolution
|
|
231
|
+
*
|
|
232
|
+
* @remarks
|
|
233
|
+
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
234
|
+
*/
|
|
235
|
+
alias: Record<string, string>;
|
|
229
236
|
/**
|
|
230
237
|
* The {@link Project} instance used for type reflection and module manipulation
|
|
231
238
|
*
|
|
@@ -226,6 +226,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
226
226
|
* The builtin module id that exist in the Powerlines virtual file system
|
|
227
227
|
*/
|
|
228
228
|
builtins: string[];
|
|
229
|
+
/**
|
|
230
|
+
* The alias mappings for the project used during module resolution
|
|
231
|
+
*
|
|
232
|
+
* @remarks
|
|
233
|
+
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
234
|
+
*/
|
|
235
|
+
alias: Record<string, string>;
|
|
229
236
|
/**
|
|
230
237
|
* The {@link Project} instance used for type reflection and module manipulation
|
|
231
238
|
*
|
|
@@ -8,5 +8,5 @@ import { Plugin, PluginHook, PluginHookFields, PluginHookFunctions, PluginHookOb
|
|
|
8
8
|
import { HookFields, HookListOrders, HooksList, InferHookFunction, InferHookParameters, InferHookReturnType, InferHooksListItem, PluginHooksList, PluginHooksListItem, UnpluginHookFunctions, UnpluginHookList, UnpluginHookVariant, UnpluginHookVariantField, UnpluginHooksListItem } from "./hooks.mjs";
|
|
9
9
|
import { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig } from "./tsconfig.mjs";
|
|
10
10
|
import { APIContext, BuildPluginContext, Context, EmitEntryOptions, EmitOptions, EnvironmentContext, EnvironmentContextPlugin, FetchOptions, InitContextOptions, MetaInfo, ParseOptions, PluginContext, Resolver, SelectHookResult, SelectHookResultItem, SelectHooksOptions, TransformResult, UnresolvedContext, WithUnpluginBuildContext } from "./context.mjs";
|
|
11
|
-
import { BabelUserConfig, BaseConfig, BuildInlineConfig, CleanInlineConfig, CommonUserConfig, DeployConfig, DeployInlineConfig, DocsInlineConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LintInlineConfig, LogFn, NewInlineConfig, OutputConfig, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig, ViteUserConfig, WebpackUserConfig, WorkspaceConfig } from "./config.mjs";
|
|
11
|
+
import { BabelUserConfig, BaseConfig, BuildInlineConfig, CleanInlineConfig, CommonUserConfig, DeployConfig, DeployInlineConfig, DocsInlineConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, NewInlineConfig, OutputConfig, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig, ViteUserConfig, WebpackUserConfig, WorkspaceConfig } from "./config.mjs";
|
|
12
12
|
import { BabelPluginPass, BabelTransformPlugin, BabelTransformPluginBuilder, BabelTransformPluginBuilderParams, BabelTransformPluginFilter, BabelTransformPluginOptions, DeclareBabelTransformPluginReturn, ImportSpecifier, ResolvedBabelTransformPluginOptions } from "./babel.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.cjs";
|
|
2
|
-
import { BabelUserConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.cjs";
|
|
2
|
+
import { BabelUserConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LogLevel, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.cjs";
|
|
3
3
|
import { NonUndefined } from "@stryke/types/base";
|
|
4
4
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
5
5
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -77,7 +77,7 @@ type ResolvedConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Omit<TUse
|
|
|
77
77
|
*
|
|
78
78
|
* @defaultValue "info"
|
|
79
79
|
*/
|
|
80
|
-
logLevel:
|
|
80
|
+
logLevel: LogLevel | null;
|
|
81
81
|
};
|
|
82
82
|
type ViteResolvedConfig = ResolvedConfig<ViteUserConfig>;
|
|
83
83
|
type WebpackResolvedConfig = ResolvedConfig<WebpackUserConfig>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.mjs";
|
|
2
|
-
import { BabelUserConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.mjs";
|
|
2
|
+
import { BabelUserConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LogLevel, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.mjs";
|
|
3
3
|
import { NonUndefined } from "@stryke/types/base";
|
|
4
4
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
5
5
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -77,7 +77,7 @@ type ResolvedConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Omit<TUse
|
|
|
77
77
|
*
|
|
78
78
|
* @defaultValue "info"
|
|
79
79
|
*/
|
|
80
|
-
logLevel:
|
|
80
|
+
logLevel: LogLevel | null;
|
|
81
81
|
};
|
|
82
82
|
type ViteResolvedConfig = ResolvedConfig<ViteUserConfig>;
|
|
83
83
|
type WebpackResolvedConfig = ResolvedConfig<WebpackUserConfig>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-babel",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.208",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -163,12 +163,12 @@
|
|
|
163
163
|
"chalk": "5.6.2",
|
|
164
164
|
"defu": "^6.1.4",
|
|
165
165
|
"jiti": "^2.6.1",
|
|
166
|
-
"powerlines": "^0.37.
|
|
166
|
+
"powerlines": "^0.37.73"
|
|
167
167
|
},
|
|
168
168
|
"devDependencies": {
|
|
169
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
169
|
+
"@powerlines/plugin-plugin": "^0.12.151",
|
|
170
170
|
"@types/node": "^24.10.9"
|
|
171
171
|
},
|
|
172
172
|
"publishConfig": { "access": "public" },
|
|
173
|
-
"gitHead": "
|
|
173
|
+
"gitHead": "df743ef7ebac849eb4ce90899884df4758b61172"
|
|
174
174
|
}
|