@powerlines/plugin-openapi 0.2.96 → 0.2.97
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.
|
@@ -18,7 +18,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
|
18
18
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
19
19
|
*/
|
|
20
20
|
type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
|
|
21
|
-
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext
|
|
21
|
+
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
|
|
22
22
|
/**
|
|
23
23
|
* A configuration tuple for a Powerlines plugin.
|
|
24
24
|
*/
|
|
@@ -36,7 +36,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
36
36
|
/**
|
|
37
37
|
* A configuration tuple for a Powerlines plugin.
|
|
38
38
|
*/
|
|
39
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext
|
|
39
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
40
40
|
type ProjectType = "application" | "library";
|
|
41
41
|
interface DeployConfig {
|
|
42
42
|
/**
|
|
@@ -18,7 +18,7 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
|
18
18
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
19
19
|
*/
|
|
20
20
|
type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
|
|
21
|
-
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext
|
|
21
|
+
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext> | Plugin<TContext>[]>;
|
|
22
22
|
/**
|
|
23
23
|
* A configuration tuple for a Powerlines plugin.
|
|
24
24
|
*/
|
|
@@ -36,7 +36,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
36
36
|
/**
|
|
37
37
|
* A configuration tuple for a Powerlines plugin.
|
|
38
38
|
*/
|
|
39
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext
|
|
39
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Plugin<TContext>[] | Promise<Plugin<TContext> | Plugin<TContext>[]> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
40
40
|
type ProjectType = "application" | "library";
|
|
41
41
|
interface DeployConfig {
|
|
42
42
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-openapi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.97",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code from OpenAPI specifications.",
|
|
6
6
|
"repository": {
|
|
@@ -129,13 +129,13 @@
|
|
|
129
129
|
"defu": "^6.1.4",
|
|
130
130
|
"jiti": "^2.6.1",
|
|
131
131
|
"openapi-typescript": "^7.10.1",
|
|
132
|
-
"powerlines": "^0.35.
|
|
132
|
+
"powerlines": "^0.35.1"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
|
-
"@powerlines/nx": "^0.11.
|
|
136
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
135
|
+
"@powerlines/nx": "^0.11.24",
|
|
136
|
+
"@powerlines/plugin-plugin": "^0.12.45",
|
|
137
137
|
"@types/node": "^24.10.4"
|
|
138
138
|
},
|
|
139
139
|
"publishConfig": { "access": "public" },
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "02f049f03f9e12a6fd5263ea8cbee3cdb6f896a3"
|
|
141
141
|
}
|