@powerlines/plugin-openapi 0.2.19 → 0.2.23

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
  *
@@ -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
  *
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-BxRdB_rW.cjs';
2
+ export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from './index-BxRdB_rW.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-BxRdB_rW.js';
2
+ export { c as OpenAPIPluginResolvedConfig, b as OpenAPIPluginUserConfig } from './index-BxRdB_rW.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 } from '../index-BxRdB_rW.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 } from '../index-BxRdB_rW.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 } from '../index-BxRdB_rW.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 } from '../index-BxRdB_rW.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.19",
3
+ "version": "0.2.23",
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.2"
115
115
  },
116
116
  "devDependencies": {
117
- "@powerlines/nx": "^0.10.15",
118
- "@powerlines/plugin-plugin": "^0.11.23",
117
+ "@powerlines/nx": "^0.10.19",
118
+ "@powerlines/plugin-plugin": "^0.11.27",
119
119
  "@types/node": "^22.19.1"
120
120
  },
121
121
  "publishConfig": { "access": "public" },
122
- "gitHead": "79514f9dda337550c9e4064a7a6e3938bd9aca08"
122
+ "gitHead": "628334bf5e96fa739c6a2b0a325f133ea928b530"
123
123
  }