@powerlines/plugin-hey-api 0.1.625 → 0.1.626
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/index.cjs +2 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Object.
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -32,7 +32,6 @@ require('./types/index.cjs');
|
|
|
32
32
|
let _power_plant_hey_api = require("@power-plant/hey-api");
|
|
33
33
|
_power_plant_hey_api = __toESM(_power_plant_hey_api, 1);
|
|
34
34
|
let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
|
|
35
|
-
_powerlines_plugin_power_plant = __toESM(_powerlines_plugin_power_plant, 1);
|
|
36
35
|
let _stryke_path_join_paths = require("@stryke/path/join-paths");
|
|
37
36
|
let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
38
37
|
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
@@ -54,7 +53,7 @@ function isLoadedDocument(value) {
|
|
|
54
53
|
*/
|
|
55
54
|
const plugin = (options = {}) => {
|
|
56
55
|
const generatorConfig = { ..._power_plant_hey_api.default };
|
|
57
|
-
return [(0, _powerlines_plugin_power_plant.
|
|
56
|
+
return [(0, _powerlines_plugin_power_plant.plugin)(generatorConfig), {
|
|
58
57
|
name: "hey-api",
|
|
59
58
|
config() {
|
|
60
59
|
return { heyApi: {
|
|
@@ -125,5 +124,4 @@ const plugin = (options = {}) => {
|
|
|
125
124
|
|
|
126
125
|
//#endregion
|
|
127
126
|
exports.createOperationId = require_helpers_create_operation_id.createOperationId;
|
|
128
|
-
exports.default = plugin;
|
|
129
127
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -18,5 +18,5 @@ declare module "powerlines" {
|
|
|
18
18
|
*/
|
|
19
19
|
declare const plugin: <TContext extends HeyAPIPluginContext = HeyAPIPluginContext>(options?: HeyAPIPluginOptions) => Plugin<TContext>[];
|
|
20
20
|
//#endregion
|
|
21
|
-
export { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, PowerPlantHeyAPIOptions, createOperationId, plugin
|
|
21
|
+
export { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, PowerPlantHeyAPIOptions, createOperationId, plugin };
|
|
22
22
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -18,5 +18,5 @@ declare module "powerlines" {
|
|
|
18
18
|
*/
|
|
19
19
|
declare const plugin: <TContext extends HeyAPIPluginContext = HeyAPIPluginContext>(options?: HeyAPIPluginOptions) => Plugin<TContext>[];
|
|
20
20
|
//#endregion
|
|
21
|
-
export { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, PowerPlantHeyAPIOptions, createOperationId, plugin
|
|
21
|
+
export { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig, PowerPlantHeyAPIOptions, createOperationId, plugin };
|
|
22
22
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createOperationId } from "./helpers/create-operation-id.mjs";
|
|
|
2
2
|
import "./helpers/index.mjs";
|
|
3
3
|
import "./types/index.mjs";
|
|
4
4
|
import heyApiGenerator from "@power-plant/hey-api";
|
|
5
|
-
import
|
|
5
|
+
import { plugin as plugin$1 } from "@powerlines/plugin-power-plant";
|
|
6
6
|
import { joinPaths } from "@stryke/path/join-paths";
|
|
7
7
|
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
8
8
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
@@ -23,7 +23,7 @@ function isLoadedDocument(value) {
|
|
|
23
23
|
*/
|
|
24
24
|
const plugin = (options = {}) => {
|
|
25
25
|
const generatorConfig = { ...heyApiGenerator };
|
|
26
|
-
return [
|
|
26
|
+
return [plugin$1(generatorConfig), {
|
|
27
27
|
name: "hey-api",
|
|
28
28
|
config() {
|
|
29
29
|
return { heyApi: {
|
|
@@ -93,5 +93,5 @@ const plugin = (options = {}) => {
|
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
//#endregion
|
|
96
|
-
export { createOperationId, plugin
|
|
96
|
+
export { createOperationId, plugin };
|
|
97
97
|
//# sourceMappingURL=index.mjs.map
|
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.626",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code using Hey API.",
|
|
6
6
|
"repository": {
|
|
@@ -120,20 +120,20 @@
|
|
|
120
120
|
"@hey-api/openapi-ts": "^0.88.2",
|
|
121
121
|
"@power-plant/core": "^0.0.89",
|
|
122
122
|
"@power-plant/hey-api": "^0.0.85",
|
|
123
|
-
"@powerlines/plugin-power-plant": "^0.1.
|
|
123
|
+
"@powerlines/plugin-power-plant": "^0.1.67",
|
|
124
124
|
"@stryke/path": "^0.29.35",
|
|
125
125
|
"@stryke/string-format": "^0.17.50",
|
|
126
126
|
"@stryke/type-checks": "^0.6.41",
|
|
127
127
|
"@stryke/types": "^0.12.36",
|
|
128
128
|
"defu": "^6.1.7",
|
|
129
129
|
"jiti": "^2.7.0",
|
|
130
|
-
"powerlines": "^0.47.
|
|
130
|
+
"powerlines": "^0.47.210"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
133
|
+
"@powerlines/plugin-plugin": "^0.12.623",
|
|
134
134
|
"@types/node": "^25.9.5"
|
|
135
135
|
},
|
|
136
136
|
"publishConfig": { "access": "public" },
|
|
137
137
|
"types": "./dist/index.d.cts",
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "4ee69b33975e2fa912d2c73700dc7e949f25b2d4"
|
|
139
139
|
}
|