@powerlines/plugin-openapi 0.2.139 → 0.2.140

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.
@@ -84,6 +84,10 @@ interface ParseOptions extends ParserOptions {
84
84
  allowReturnOutsideFunction?: boolean;
85
85
  }
86
86
  interface EmitOptions extends WriteOptions {
87
+ /**
88
+ * The file extension to use when emitting the file
89
+ */
90
+ extension?: string;
87
91
  /**
88
92
  * If true, will emit the file using {@link UnpluginBuildContext.emitFile | the bundler's emit function}.
89
93
  */
@@ -84,6 +84,10 @@ interface ParseOptions extends ParserOptions {
84
84
  allowReturnOutsideFunction?: boolean;
85
85
  }
86
86
  interface EmitOptions extends WriteOptions {
87
+ /**
88
+ * The file extension to use when emitting the file
89
+ */
90
+ extension?: string;
87
91
  /**
88
92
  * If true, will emit the file using {@link UnpluginBuildContext.emitFile | the bundler's emit function}.
89
93
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-openapi",
3
- "version": "0.2.139",
3
+ "version": "0.2.140",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code from OpenAPI specifications.",
6
6
  "repository": {
@@ -129,12 +129,12 @@
129
129
  "defu": "^6.1.4",
130
130
  "jiti": "^2.6.1",
131
131
  "openapi-typescript": "^7.10.1",
132
- "powerlines": "^0.37.8"
132
+ "powerlines": "^0.37.9"
133
133
  },
134
134
  "devDependencies": {
135
- "@powerlines/plugin-plugin": "^0.12.86",
135
+ "@powerlines/plugin-plugin": "^0.12.87",
136
136
  "@types/node": "^24.10.4"
137
137
  },
138
138
  "publishConfig": { "access": "public" },
139
- "gitHead": "fcd7f0ca9ff916990197ad2307833339b3c4e530"
139
+ "gitHead": "c8f7d40e33243f2a610de2c53c050f3b2f2dcd31"
140
140
  }