@powerlines/plugin-hey-api 0.1.114 → 0.1.116
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.
- package/dist/helpers/index.cjs +1 -3
- package/dist/helpers/index.mjs +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/powerlines/src/types/config.d.cts +3 -3
- package/dist/powerlines/src/types/config.d.mts +3 -3
- package/dist/types/index.d.mts +1 -2
- package/package.json +4 -4
- package/dist/helpers/index.d.cts +0 -2
- package/dist/helpers/index.d.mts +0 -2
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +0 -2
- package/dist/types/index.mjs +0 -1
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.mjs +0 -1
package/dist/helpers/index.cjs
CHANGED
package/dist/helpers/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
-
const
|
|
3
|
+
const require_create_operation_id = require('./helpers/create-operation-id.cjs');
|
|
4
4
|
require('./helpers/index.cjs');
|
|
5
5
|
let __hey_api_openapi_ts = require("@hey-api/openapi-ts");
|
|
6
6
|
let __stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
@@ -71,7 +71,7 @@ const plugin = (options = {}) => {
|
|
|
71
71
|
]) {
|
|
72
72
|
const operation = pathItem[method];
|
|
73
73
|
if (!(0, __stryke_type_checks_is_set_string.isSetString)(operation?.summary)) continue;
|
|
74
|
-
operation.operationId =
|
|
74
|
+
operation.operationId = require_create_operation_id.createOperationId(operation.summary);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,6 +87,6 @@ const plugin = (options = {}) => {
|
|
|
87
87
|
var src_default = plugin;
|
|
88
88
|
|
|
89
89
|
//#endregion
|
|
90
|
-
exports.createOperationId =
|
|
90
|
+
exports.createOperationId = require_create_operation_id.createOperationId;
|
|
91
91
|
exports.default = src_default;
|
|
92
92
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createOperationId } from "./helpers/create-operation-id.cjs";
|
|
2
1
|
import { Plugin } from "./powerlines/src/types/plugin.cjs";
|
|
3
2
|
import { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, __ΩHeyAPIPluginContext, __ΩHeyAPIPluginOptions, __ΩHeyAPIPluginOutputOptions, __ΩHeyAPIPluginResolvedConfig, __ΩHeyAPIPluginUserConfig } from "./types/plugin.cjs";
|
|
3
|
+
import { createOperationId } from "./helpers/create-operation-id.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
6
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createOperationId } from "./helpers/create-operation-id.mjs";
|
|
2
1
|
import { Plugin } from "./powerlines/src/types/plugin.mjs";
|
|
3
2
|
import { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, __ΩHeyAPIPluginContext, __ΩHeyAPIPluginOptions, __ΩHeyAPIPluginOutputOptions, __ΩHeyAPIPluginResolvedConfig, __ΩHeyAPIPluginUserConfig } from "./types/plugin.mjs";
|
|
3
|
+
import { createOperationId } from "./helpers/create-operation-id.mjs";
|
|
4
4
|
import "./types/index.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/index.d.ts
|
|
@@ -297,14 +297,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
297
297
|
*/
|
|
298
298
|
configFile?: string;
|
|
299
299
|
/**
|
|
300
|
-
* Should the Powerlines
|
|
300
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
301
301
|
*
|
|
302
302
|
* @remarks
|
|
303
|
-
* This
|
|
303
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
304
304
|
*
|
|
305
305
|
* @defaultValue false
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
autoInstall?: boolean;
|
|
308
308
|
/**
|
|
309
309
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
310
310
|
*
|
|
@@ -297,14 +297,14 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
297
297
|
*/
|
|
298
298
|
configFile?: string;
|
|
299
299
|
/**
|
|
300
|
-
* Should the Powerlines
|
|
300
|
+
* Should the Powerlines processes automatically install missing package dependencies?
|
|
301
301
|
*
|
|
302
302
|
* @remarks
|
|
303
|
-
* This
|
|
303
|
+
* When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
|
|
304
304
|
*
|
|
305
305
|
* @defaultValue false
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
autoInstall?: boolean;
|
|
308
308
|
/**
|
|
309
309
|
* Should the compiler processes skip any improvements that make use of cache?
|
|
310
310
|
*
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, __ΩHeyAPIPluginContext, __ΩHeyAPIPluginOptions, __ΩHeyAPIPluginOutputOptions, __ΩHeyAPIPluginResolvedConfig, __ΩHeyAPIPluginUserConfig } from "./plugin.mjs";
|
|
2
|
-
export { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, __ΩHeyAPIPluginContext, __ΩHeyAPIPluginOptions, __ΩHeyAPIPluginOutputOptions, __ΩHeyAPIPluginResolvedConfig, __ΩHeyAPIPluginUserConfig };
|
|
1
|
+
import { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, __ΩHeyAPIPluginContext, __ΩHeyAPIPluginOptions, __ΩHeyAPIPluginOutputOptions, __ΩHeyAPIPluginResolvedConfig, __ΩHeyAPIPluginUserConfig } from "./plugin.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-hey-api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.116",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code using Hey API.",
|
|
6
6
|
"repository": {
|
|
@@ -152,12 +152,12 @@
|
|
|
152
152
|
"@stryke/types": "^0.10.31",
|
|
153
153
|
"defu": "^6.1.4",
|
|
154
154
|
"jiti": "^2.6.1",
|
|
155
|
-
"powerlines": "^0.37.
|
|
155
|
+
"powerlines": "^0.37.36"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
158
|
+
"@powerlines/plugin-plugin": "^0.12.114",
|
|
159
159
|
"@types/node": "^24.10.8"
|
|
160
160
|
},
|
|
161
161
|
"publishConfig": { "access": "public" },
|
|
162
|
-
"gitHead": "
|
|
162
|
+
"gitHead": "4fb917f0b80e237b9175bb0783f3e06d2c1ea30f"
|
|
163
163
|
}
|
package/dist/helpers/index.d.cts
DELETED
package/dist/helpers/index.d.mts
DELETED
package/dist/types/index.cjs
DELETED
|
File without changes
|
package/dist/types/index.d.cts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, __ΩHeyAPIPluginContext, __ΩHeyAPIPluginOptions, __ΩHeyAPIPluginOutputOptions, __ΩHeyAPIPluginResolvedConfig, __ΩHeyAPIPluginUserConfig } from "./plugin.cjs";
|
|
2
|
-
export { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, __ΩHeyAPIPluginContext, __ΩHeyAPIPluginOptions, __ΩHeyAPIPluginOutputOptions, __ΩHeyAPIPluginResolvedConfig, __ΩHeyAPIPluginUserConfig };
|
package/dist/types/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types/plugin.cjs
DELETED
|
File without changes
|
package/dist/types/plugin.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|