@powerlines/plugin-openapi 0.2.20 → 0.2.24

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.
@@ -220,8 +220,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
220
220
  tsconfigFilePath: string;
221
221
  };
222
222
 
223
- declare const __VFS_PATCH__: unique symbol;
224
- declare const __VFS_REVERT__: unique symbol;
223
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
224
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
225
225
  type OutputModeType = "fs" | "virtual";
226
226
  interface VirtualFile {
227
227
  /**
@@ -630,6 +630,15 @@ interface OutputConfig {
630
630
  * @defaultValue "dist/\{projectRoot\}"
631
631
  */
632
632
  outputPath?: string;
633
+ /**
634
+ * The output directory path for the project build.
635
+ *
636
+ * @remarks
637
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
638
+ *
639
+ * @defaultValue "\{projectRoot\}/dist"
640
+ */
641
+ distPath?: string;
633
642
  /**
634
643
  * The format of the output files
635
644
  *
@@ -1441,5 +1450,9 @@ type OpenAPIPluginResolvedConfig = ResolvedConfig & {
1441
1450
  openapi: Omit<OpenAPIPluginOptions, "schema"> & Required<Pick<OpenAPIPluginOptions, "schema">> & Pick<OpenAPITSOptions, "cwd">;
1442
1451
  };
1443
1452
  type OpenAPIPluginContext<TResolvedConfig extends OpenAPIPluginResolvedConfig = OpenAPIPluginResolvedConfig> = PluginContext<TResolvedConfig>;
1453
+ declare type __ΩOpenAPIPluginOptions = any[];
1454
+ declare type __ΩOpenAPIPluginUserConfig = any[];
1455
+ declare type __ΩOpenAPIPluginResolvedConfig = any[];
1456
+ declare type __ΩOpenAPIPluginContext = any[];
1444
1457
 
1445
- export type { OpenAPIPluginContext as O, Plugin as P, OpenAPIPluginOptions as a, OpenAPIPluginUserConfig as b, OpenAPIPluginResolvedConfig as c };
1458
+ export type { OpenAPIPluginContext as O, Plugin as P, __ΩOpenAPIPluginOptions as _, OpenAPIPluginOptions as a, OpenAPIPluginUserConfig as b, OpenAPIPluginResolvedConfig as c, __ΩOpenAPIPluginUserConfig as d, __ΩOpenAPIPluginResolvedConfig as e, __ΩOpenAPIPluginContext as f };
@@ -220,8 +220,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
220
220
  tsconfigFilePath: string;
221
221
  };
222
222
 
223
- declare const __VFS_PATCH__: unique symbol;
224
- declare const __VFS_REVERT__: unique symbol;
223
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
224
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
225
225
  type OutputModeType = "fs" | "virtual";
226
226
  interface VirtualFile {
227
227
  /**
@@ -630,6 +630,15 @@ interface OutputConfig {
630
630
  * @defaultValue "dist/\{projectRoot\}"
631
631
  */
632
632
  outputPath?: string;
633
+ /**
634
+ * The output directory path for the project build.
635
+ *
636
+ * @remarks
637
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
638
+ *
639
+ * @defaultValue "\{projectRoot\}/dist"
640
+ */
641
+ distPath?: string;
633
642
  /**
634
643
  * The format of the output files
635
644
  *
@@ -1441,5 +1450,9 @@ type OpenAPIPluginResolvedConfig = ResolvedConfig & {
1441
1450
  openapi: Omit<OpenAPIPluginOptions, "schema"> & Required<Pick<OpenAPIPluginOptions, "schema">> & Pick<OpenAPITSOptions, "cwd">;
1442
1451
  };
1443
1452
  type OpenAPIPluginContext<TResolvedConfig extends OpenAPIPluginResolvedConfig = OpenAPIPluginResolvedConfig> = PluginContext<TResolvedConfig>;
1453
+ declare type __ΩOpenAPIPluginOptions = any[];
1454
+ declare type __ΩOpenAPIPluginUserConfig = any[];
1455
+ declare type __ΩOpenAPIPluginResolvedConfig = any[];
1456
+ declare type __ΩOpenAPIPluginContext = any[];
1444
1457
 
1445
- export type { OpenAPIPluginContext as O, Plugin as P, OpenAPIPluginOptions as a, OpenAPIPluginUserConfig as b, OpenAPIPluginResolvedConfig as c };
1458
+ export type { OpenAPIPluginContext as O, Plugin as P, __ΩOpenAPIPluginOptions as _, OpenAPIPluginOptions as a, OpenAPIPluginUserConfig as b, OpenAPIPluginResolvedConfig as c, __ΩOpenAPIPluginUserConfig as d, __ΩOpenAPIPluginResolvedConfig as e, __ΩOpenAPIPluginContext as f };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from './index-0Zlieqle.cjs';
2
- export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from './index-0Zlieqle.cjs';
1
+ import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from './index-C10h99Rj.cjs';
2
+ export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig, f as __ΩOpenAPIPluginContext, _ as __ΩOpenAPIPluginOptions, e as __ΩOpenAPIPluginResolvedConfig, d as __ΩOpenAPIPluginUserConfig } from './index-C10h99Rj.cjs';
3
3
  import 'node:buffer';
4
4
  import 'node:stream';
5
5
  import 'openapi-typescript';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from './index-0Zlieqle.js';
2
- export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from './index-0Zlieqle.js';
1
+ import { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, P as Plugin } from './index-C10h99Rj.js';
2
+ export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig, f as __ΩOpenAPIPluginContext, _ as __ΩOpenAPIPluginOptions, e as __ΩOpenAPIPluginResolvedConfig, d as __ΩOpenAPIPluginUserConfig } from './index-C10h99Rj.js';
3
3
  import 'node:buffer';
4
4
  import 'node:stream';
5
5
  import 'openapi-typescript';
@@ -1,4 +1,4 @@
1
- export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-0Zlieqle.cjs';
1
+ export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig, f as __ΩOpenAPIPluginContext, _ as __ΩOpenAPIPluginOptions, e as __ΩOpenAPIPluginResolvedConfig, d as __ΩOpenAPIPluginUserConfig } from '../index-C10h99Rj.cjs';
2
2
  import 'node:buffer';
3
3
  import 'node:stream';
4
4
  import 'openapi-typescript';
@@ -1,4 +1,4 @@
1
- export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-0Zlieqle.js';
1
+ export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig, f as __ΩOpenAPIPluginContext, _ as __ΩOpenAPIPluginOptions, e as __ΩOpenAPIPluginResolvedConfig, d as __ΩOpenAPIPluginUserConfig } from '../index-C10h99Rj.js';
2
2
  import 'node:buffer';
3
3
  import 'node:stream';
4
4
  import 'openapi-typescript';
@@ -1,7 +1,7 @@
1
1
  import 'node:buffer';
2
2
  import 'node:stream';
3
3
  import 'openapi-typescript';
4
- export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-0Zlieqle.cjs';
4
+ export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig, f as __ΩOpenAPIPluginContext, _ as __ΩOpenAPIPluginOptions, e as __ΩOpenAPIPluginResolvedConfig, d as __ΩOpenAPIPluginUserConfig } from '../index-C10h99Rj.cjs';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
7
7
  import '@storm-software/config/types';
@@ -1,7 +1,7 @@
1
1
  import 'node:buffer';
2
2
  import 'node:stream';
3
3
  import 'openapi-typescript';
4
- export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from '../index-0Zlieqle.js';
4
+ export { O as OpenAPIPluginContext, a as OpenAPIPluginOptions, c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig, f as __ΩOpenAPIPluginContext, _ as __ΩOpenAPIPluginOptions, e as __ΩOpenAPIPluginResolvedConfig, d as __ΩOpenAPIPluginUserConfig } from '../index-C10h99Rj.js';
5
5
  import '@storm-software/build-tools/types';
6
6
  import '@storm-software/config-tools/types';
7
7
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-openapi",
3
- "version": "0.2.20",
3
+ "version": "0.2.24",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code from OpenAPI specifications.",
6
6
  "repository": {
@@ -111,13 +111,13 @@
111
111
  "defu": "^6.1.4",
112
112
  "jiti": "^2.6.1",
113
113
  "openapi-typescript": "^7.10.1",
114
- "powerlines": "^0.22.1"
114
+ "powerlines": "^0.23.3"
115
115
  },
116
116
  "devDependencies": {
117
- "@powerlines/nx": "^0.10.16",
118
- "@powerlines/plugin-plugin": "^0.11.24",
119
- "@types/node": "^22.19.1"
117
+ "@powerlines/nx": "^0.10.20",
118
+ "@powerlines/plugin-plugin": "^0.11.28",
119
+ "@types/node": "^24.10.1"
120
120
  },
121
121
  "publishConfig": { "access": "public" },
122
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
122
+ "gitHead": "6e43200541ace2946694195c092642e7ac2f3098"
123
123
  }