@powerlines/plugin-react 0.1.94 → 0.1.96
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.
|
@@ -19,7 +19,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
|
19
19
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
20
20
|
*/
|
|
21
21
|
type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
|
|
22
|
-
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext
|
|
22
|
+
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
|
|
23
23
|
/**
|
|
24
24
|
* A configuration tuple for a Powerlines plugin.
|
|
25
25
|
*/
|
|
@@ -37,7 +37,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
37
37
|
/**
|
|
38
38
|
* A configuration tuple for a Powerlines plugin.
|
|
39
39
|
*/
|
|
40
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext
|
|
40
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
41
41
|
type ProjectType = "application" | "library";
|
|
42
42
|
type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
|
|
43
43
|
/**
|
|
@@ -20,7 +20,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
|
20
20
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
21
21
|
*/
|
|
22
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
|
|
23
|
+
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
|
|
24
24
|
/**
|
|
25
25
|
* A configuration tuple for a Powerlines plugin.
|
|
26
26
|
*/
|
|
@@ -38,7 +38,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
38
38
|
/**
|
|
39
39
|
* A configuration tuple for a Powerlines plugin.
|
|
40
40
|
*/
|
|
41
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext
|
|
41
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
42
42
|
type ProjectType = "application" | "library";
|
|
43
43
|
type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
|
|
44
44
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.96",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a React application.",
|
|
6
6
|
"repository": {
|
|
@@ -142,18 +142,18 @@
|
|
|
142
142
|
"@stryke/fs": "^0.33.26",
|
|
143
143
|
"@stryke/path": "^0.24.0",
|
|
144
144
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
145
|
-
"@powerlines/alloy": "^0.11.
|
|
146
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
147
|
-
"@powerlines/plugin-env": "^0.13.
|
|
148
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
145
|
+
"@powerlines/alloy": "^0.11.105",
|
|
146
|
+
"@powerlines/plugin-babel": "^0.12.103",
|
|
147
|
+
"@powerlines/plugin-env": "^0.13.102",
|
|
148
|
+
"@powerlines/plugin-plugin": "^0.12.46",
|
|
149
149
|
"@vitejs/plugin-react": "^5.1.2",
|
|
150
150
|
"defu": "^6.1.4",
|
|
151
|
-
"powerlines": "^0.35.
|
|
151
|
+
"powerlines": "^0.35.2"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@powerlines/nx": "^0.11.
|
|
154
|
+
"@powerlines/nx": "^0.11.25",
|
|
155
155
|
"@types/node": "^24.10.4"
|
|
156
156
|
},
|
|
157
157
|
"publishConfig": { "access": "public" },
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "8d5595f73e85e6d3171f73c91dff3e967080c80b"
|
|
159
159
|
}
|