@powerlines/plugin-nodejs 0.1.86 → 0.1.88
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.
|
@@ -15,6 +15,7 @@ import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
|
15
15
|
import { DateString } from "compatx";
|
|
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
|
|
@@ -264,7 +265,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
264
265
|
*
|
|
265
266
|
* @defaultValue "info"
|
|
266
267
|
*/
|
|
267
|
-
logLevel?:
|
|
268
|
+
logLevel?: LogLevel | null;
|
|
268
269
|
/**
|
|
269
270
|
* A custom logger function to use for logging messages
|
|
270
271
|
*/
|
|
@@ -431,4 +432,4 @@ type DeployInlineConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Inlin
|
|
|
431
432
|
command: "deploy";
|
|
432
433
|
};
|
|
433
434
|
//#endregion
|
|
434
|
-
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 { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
|
15
15
|
import { DateString } from "compatx";
|
|
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
|
|
@@ -264,7 +265,7 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
264
265
|
*
|
|
265
266
|
* @defaultValue "info"
|
|
266
267
|
*/
|
|
267
|
-
logLevel?:
|
|
268
|
+
logLevel?: LogLevel | null;
|
|
268
269
|
/**
|
|
269
270
|
* A custom logger function to use for logging messages
|
|
270
271
|
*/
|
|
@@ -431,4 +432,4 @@ type DeployInlineConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Inlin
|
|
|
431
432
|
command: "deploy";
|
|
432
433
|
};
|
|
433
434
|
//#endregion
|
|
434
|
-
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 };
|
|
@@ -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 { AssetGlob } from "@stryke/types/file";
|
|
5
5
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
@@ -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 { AssetGlob } from "@stryke/types/file";
|
|
5
5
|
import { TypeDefinition } from "@stryke/types/configuration";
|
|
@@ -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-nodejs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.88",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a Node.js application.",
|
|
6
6
|
"repository": {
|
|
@@ -133,19 +133,19 @@
|
|
|
133
133
|
"dependencies": {
|
|
134
134
|
"@alloy-js/core": "^0.22.0",
|
|
135
135
|
"@alloy-js/typescript": "^0.22.0",
|
|
136
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
137
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
138
|
-
"@powerlines/plugin-env": "^0.15.
|
|
136
|
+
"@powerlines/plugin-alloy": "^0.18.89",
|
|
137
|
+
"@powerlines/plugin-babel": "^0.12.208",
|
|
138
|
+
"@powerlines/plugin-env": "^0.15.93",
|
|
139
139
|
"@storm-software/config-tools": "^1.188.80",
|
|
140
140
|
"@stryke/string-format": "^0.13.4",
|
|
141
141
|
"defu": "^6.1.4",
|
|
142
|
-
"powerlines": "^0.37.
|
|
142
|
+
"powerlines": "^0.37.73"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
145
|
"@babel/core": "^7.28.6",
|
|
146
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
146
|
+
"@powerlines/plugin-plugin": "^0.12.151",
|
|
147
147
|
"@types/node": "^24.10.9"
|
|
148
148
|
},
|
|
149
149
|
"publishConfig": { "access": "public" },
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "07df17214a141836c6cc1740071e30acf8e6029c"
|
|
151
151
|
}
|