@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.
@@ -1,3 +1 @@
1
- const require_helpers_create_operation_id = require('./create-operation-id.cjs');
2
-
3
- exports.createOperationId = require_helpers_create_operation_id.createOperationId;
1
+ const require_create_operation_id = require('./create-operation-id.cjs');
@@ -1,3 +1,3 @@
1
1
  import { createOperationId } from "./create-operation-id.mjs";
2
2
 
3
- export { createOperationId };
3
+ export { };
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 require_helpers_create_operation_id = require('./helpers/create-operation-id.cjs');
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 = require_helpers_create_operation_id.createOperationId(operation.summary);
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 = require_helpers_create_operation_id.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 CLI processes skip installing missing packages?
300
+ * Should the Powerlines processes automatically install missing package dependencies?
301
301
  *
302
302
  * @remarks
303
- * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
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
- skipInstalls?: boolean;
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 CLI processes skip installing missing packages?
300
+ * Should the Powerlines processes automatically install missing package dependencies?
301
301
  *
302
302
  * @remarks
303
- * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
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
- skipInstalls?: boolean;
307
+ autoInstall?: boolean;
308
308
  /**
309
309
  * Should the compiler processes skip any improvements that make use of cache?
310
310
  *
@@ -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.114",
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.34"
155
+ "powerlines": "^0.37.36"
156
156
  },
157
157
  "devDependencies": {
158
- "@powerlines/plugin-plugin": "^0.12.112",
158
+ "@powerlines/plugin-plugin": "^0.12.114",
159
159
  "@types/node": "^24.10.8"
160
160
  },
161
161
  "publishConfig": { "access": "public" },
162
- "gitHead": "2b048de9f7fe2c6d953dd8452da1503422358581"
162
+ "gitHead": "4fb917f0b80e237b9175bb0783f3e06d2c1ea30f"
163
163
  }
@@ -1,2 +0,0 @@
1
- import { createOperationId } from "./create-operation-id.cjs";
2
- export { createOperationId };
@@ -1,2 +0,0 @@
1
- import { createOperationId } from "./create-operation-id.mjs";
2
- export { createOperationId };
File without changes
@@ -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 };
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1 +0,0 @@
1
- export { };