@powerlines/plugin-react 0.1.220 → 0.1.221
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-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.221",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a React application.",
|
|
6
6
|
"repository": {
|
|
@@ -141,9 +141,9 @@
|
|
|
141
141
|
"@alloy-js/markdown": "^0.22.0",
|
|
142
142
|
"@alloy-js/typescript": "^0.22.0",
|
|
143
143
|
"@babel/core": "^7.28.6",
|
|
144
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
145
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
146
|
-
"@powerlines/plugin-env": "^0.15.
|
|
144
|
+
"@powerlines/plugin-alloy": "^0.18.88",
|
|
145
|
+
"@powerlines/plugin-babel": "^0.12.208",
|
|
146
|
+
"@powerlines/plugin-env": "^0.15.92",
|
|
147
147
|
"@storm-software/config-tools": "^1.188.80",
|
|
148
148
|
"@stryke/cli": "^0.13.8",
|
|
149
149
|
"@stryke/convert": "^0.6.35",
|
|
@@ -152,14 +152,14 @@
|
|
|
152
152
|
"@vitejs/plugin-react": "^5.1.2",
|
|
153
153
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
154
154
|
"defu": "^6.1.4",
|
|
155
|
-
"powerlines": "^0.37.
|
|
155
|
+
"powerlines": "^0.37.73"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
158
|
+
"@powerlines/plugin-plugin": "^0.12.151",
|
|
159
159
|
"@types/node": "^24.10.9",
|
|
160
160
|
"@types/react": "^19.2.9",
|
|
161
161
|
"@types/react-dom": "^19.2.3"
|
|
162
162
|
},
|
|
163
163
|
"publishConfig": { "access": "public" },
|
|
164
|
-
"gitHead": "
|
|
164
|
+
"gitHead": "df743ef7ebac849eb4ce90899884df4758b61172"
|
|
165
165
|
}
|