@powerlines/plugin-hey-api 0.1.0
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/LICENSE +201 -0
- package/README.md +294 -0
- package/dist/chunk-FBBMZ4NC.cjs +7 -0
- package/dist/chunk-UCUR73HG.js +7 -0
- package/dist/helpers/create-operation-id.cjs +7 -0
- package/dist/helpers/create-operation-id.d.cts +9 -0
- package/dist/helpers/create-operation-id.d.ts +9 -0
- package/dist/helpers/create-operation-id.js +7 -0
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/index.d.cts +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.js +1 -0
- package/dist/index-D07O8wGD.d.cts +1594 -0
- package/dist/index-D07O8wGD.d.ts +1594 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.cts +37 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +7 -0
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +23 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/index.js +1 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +23 -0
- package/dist/types/plugin.d.ts +23 -0
- package/dist/types/plugin.js +0 -0
- package/package.json +146 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('./chunk-FBBMZ4NC.cjs'),openapiTs=require('@hey-api/openapi-ts'),joinPaths=require('@stryke/path/join-paths'),isSetObject=require('@stryke/type-checks/is-set-object'),isSetString=require('@stryke/type-checks/is-set-string'),c=require('defu'),paths=require('powerlines/plugin-utils/paths'),createOperationId=require('./helpers/create-operation-id'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var c__default=/*#__PURE__*/_interopDefault(c);/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const u=chunkFBBMZ4NC_cjs.a((s={})=>({name:"hey-api",config(){return {heyApi:{plugins:[{name:"@hey-api/typescript",exportFromIndex:false},{name:"@hey-api/sdk",instance:"PrismaClient",exportFromIndex:false,auth:false},{name:"@hey-api/client-fetch",throwOnError:true}],...c__default.default(s,{schema:joinPaths.joinPaths(this.workspaceConfig.workspaceRoot,this.config.projectRoot,"schema.yaml"),output:{path:joinPaths.joinPaths("{builtinPath}","api")},logs:this.envPaths.log})}}},async configResolved(){if(this.config.heyApi.output??={},this.config.heyApi.output.path=paths.replacePathTokens(this,this.config.heyApi.output.path),!this.config.heyApi.schema)throw new Error("The `schema` option is required by the Hey API plugin.");if(isSetString.isSetString(this.config.heyApi.schema)){const t=await this.fetch(this.config.heyApi.schema);this.config.heyApi.schema=await t.json();}if(isSetObject.isSetObject(this.config.heyApi.schema)&&this.config.heyApi.schema.paths){const t=this.config.heyApi.schema;for(const e of Object.values(t.paths))if(!(!e||"$ref"in e))for(const a of ["get","put","post","delete","options","head","patch","trace"]){const i=e[a];isSetString.isSetString(i?.summary)&&(i.operationId=createOperationId.createOperationId(i.summary));}}},async prepare(){await openapiTs.createClient({...this.config.heyApi,input:this.config.heyApi.schema});}}),"plugin");var T=u;exports.default=T;exports.plugin=u;Object.keys(helpers).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return helpers[k]}})});Object.keys(types).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return types[k]}})});
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { H as HeyAPIPluginContext, a as HeyAPIPluginOptions, P as Plugin } from './index-D07O8wGD.cjs';
|
|
2
|
+
export { b as HeyAPIPluginOutputOptions, d as HeyAPIPluginResolvedConfig, c as HeyAPIPluginUserConfig, h as __ΩHeyAPIPluginContext, e as __ΩHeyAPIPluginOptions, _ as __ΩHeyAPIPluginOutputOptions, g as __ΩHeyAPIPluginResolvedConfig, f as __ΩHeyAPIPluginUserConfig } from './index-D07O8wGD.cjs';
|
|
3
|
+
export { createOperationId } from './helpers/create-operation-id.cjs';
|
|
4
|
+
import '@hey-api/openapi-ts';
|
|
5
|
+
import '@storm-software/build-tools/types';
|
|
6
|
+
import '@storm-software/config-tools/types';
|
|
7
|
+
import '@storm-software/config/types';
|
|
8
|
+
import '@stryke/types/base';
|
|
9
|
+
import '@stryke/types/configuration';
|
|
10
|
+
import '@stryke/types/file';
|
|
11
|
+
import 'vite';
|
|
12
|
+
import '@stryke/env/get-env-paths';
|
|
13
|
+
import '@stryke/http/fetch';
|
|
14
|
+
import '@stryke/types/package-json';
|
|
15
|
+
import 'jiti';
|
|
16
|
+
import 'magic-string';
|
|
17
|
+
import 'oxc-parser';
|
|
18
|
+
import 'semver';
|
|
19
|
+
import 'ts-morph';
|
|
20
|
+
import 'undici';
|
|
21
|
+
import 'unplugin';
|
|
22
|
+
import '@stryke/fs/resolve';
|
|
23
|
+
import '@stryke/types/tsconfig';
|
|
24
|
+
import 'typescript';
|
|
25
|
+
import '@stryke/types/array';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A Powerlines plugin to integrate Hey API for code generation.
|
|
29
|
+
*
|
|
30
|
+
* @see https://heyapi.dev/
|
|
31
|
+
*
|
|
32
|
+
* @param options - The plugin options.
|
|
33
|
+
* @returns A Powerlines plugin instance.
|
|
34
|
+
*/
|
|
35
|
+
declare const plugin: <TContext extends HeyAPIPluginContext = HeyAPIPluginContext>(options?: HeyAPIPluginOptions) => Plugin<TContext>;
|
|
36
|
+
|
|
37
|
+
export { HeyAPIPluginContext, HeyAPIPluginOptions, plugin as default, plugin };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { H as HeyAPIPluginContext, a as HeyAPIPluginOptions, P as Plugin } from './index-D07O8wGD.js';
|
|
2
|
+
export { b as HeyAPIPluginOutputOptions, d as HeyAPIPluginResolvedConfig, c as HeyAPIPluginUserConfig, h as __ΩHeyAPIPluginContext, e as __ΩHeyAPIPluginOptions, _ as __ΩHeyAPIPluginOutputOptions, g as __ΩHeyAPIPluginResolvedConfig, f as __ΩHeyAPIPluginUserConfig } from './index-D07O8wGD.js';
|
|
3
|
+
export { createOperationId } from './helpers/create-operation-id.js';
|
|
4
|
+
import '@hey-api/openapi-ts';
|
|
5
|
+
import '@storm-software/build-tools/types';
|
|
6
|
+
import '@storm-software/config-tools/types';
|
|
7
|
+
import '@storm-software/config/types';
|
|
8
|
+
import '@stryke/types/base';
|
|
9
|
+
import '@stryke/types/configuration';
|
|
10
|
+
import '@stryke/types/file';
|
|
11
|
+
import 'vite';
|
|
12
|
+
import '@stryke/env/get-env-paths';
|
|
13
|
+
import '@stryke/http/fetch';
|
|
14
|
+
import '@stryke/types/package-json';
|
|
15
|
+
import 'jiti';
|
|
16
|
+
import 'magic-string';
|
|
17
|
+
import 'oxc-parser';
|
|
18
|
+
import 'semver';
|
|
19
|
+
import 'ts-morph';
|
|
20
|
+
import 'undici';
|
|
21
|
+
import 'unplugin';
|
|
22
|
+
import '@stryke/fs/resolve';
|
|
23
|
+
import '@stryke/types/tsconfig';
|
|
24
|
+
import 'typescript';
|
|
25
|
+
import '@stryke/types/array';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A Powerlines plugin to integrate Hey API for code generation.
|
|
29
|
+
*
|
|
30
|
+
* @see https://heyapi.dev/
|
|
31
|
+
*
|
|
32
|
+
* @param options - The plugin options.
|
|
33
|
+
* @returns A Powerlines plugin instance.
|
|
34
|
+
*/
|
|
35
|
+
declare const plugin: <TContext extends HeyAPIPluginContext = HeyAPIPluginContext>(options?: HeyAPIPluginOptions) => Plugin<TContext>;
|
|
36
|
+
|
|
37
|
+
export { HeyAPIPluginContext, HeyAPIPluginOptions, plugin as default, plugin };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {a}from'./chunk-UCUR73HG.js';import {createClient}from'@hey-api/openapi-ts';import {joinPaths}from'@stryke/path/join-paths';import {isSetObject}from'@stryke/type-checks/is-set-object';import {isSetString}from'@stryke/type-checks/is-set-string';import c from'defu';import {replacePathTokens}from'powerlines/plugin-utils/paths';import {createOperationId}from'./helpers/create-operation-id';export*from'./helpers';export*from'./types';/*****************************************
|
|
2
|
+
*
|
|
3
|
+
* ⚡ Built by Storm Software
|
|
4
|
+
*
|
|
5
|
+
*****************************************/
|
|
6
|
+
|
|
7
|
+
const u=a((s={})=>({name:"hey-api",config(){return {heyApi:{plugins:[{name:"@hey-api/typescript",exportFromIndex:false},{name:"@hey-api/sdk",instance:"PrismaClient",exportFromIndex:false,auth:false},{name:"@hey-api/client-fetch",throwOnError:true}],...c(s,{schema:joinPaths(this.workspaceConfig.workspaceRoot,this.config.projectRoot,"schema.yaml"),output:{path:joinPaths("{builtinPath}","api")},logs:this.envPaths.log})}}},async configResolved(){if(this.config.heyApi.output??={},this.config.heyApi.output.path=replacePathTokens(this,this.config.heyApi.output.path),!this.config.heyApi.schema)throw new Error("The `schema` option is required by the Hey API plugin.");if(isSetString(this.config.heyApi.schema)){const t=await this.fetch(this.config.heyApi.schema);this.config.heyApi.schema=await t.json();}if(isSetObject(this.config.heyApi.schema)&&this.config.heyApi.schema.paths){const t=this.config.heyApi.schema;for(const e of Object.values(t.paths))if(!(!e||"$ref"in e))for(const a of ["get","put","post","delete","options","head","patch","trace"]){const i=e[a];isSetString(i?.summary)&&(i.operationId=createOperationId(i.summary));}}},async prepare(){await createClient({...this.config.heyApi,input:this.config.heyApi.schema});}}),"plugin");var U=u;export{U as default,u as plugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var plugin=require('./plugin');Object.keys(plugin).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return plugin[k]}})});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { H as HeyAPIPluginContext, a as HeyAPIPluginOptions, b as HeyAPIPluginOutputOptions, d as HeyAPIPluginResolvedConfig, c as HeyAPIPluginUserConfig, h as __ΩHeyAPIPluginContext, e as __ΩHeyAPIPluginOptions, _ as __ΩHeyAPIPluginOutputOptions, g as __ΩHeyAPIPluginResolvedConfig, f as __ΩHeyAPIPluginUserConfig } from '../index-D07O8wGD.cjs';
|
|
2
|
+
import '@hey-api/openapi-ts';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/http/fetch';
|
|
12
|
+
import '@stryke/types/package-json';
|
|
13
|
+
import 'jiti';
|
|
14
|
+
import 'magic-string';
|
|
15
|
+
import 'oxc-parser';
|
|
16
|
+
import 'semver';
|
|
17
|
+
import 'ts-morph';
|
|
18
|
+
import 'undici';
|
|
19
|
+
import 'unplugin';
|
|
20
|
+
import '@stryke/fs/resolve';
|
|
21
|
+
import '@stryke/types/tsconfig';
|
|
22
|
+
import 'typescript';
|
|
23
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { H as HeyAPIPluginContext, a as HeyAPIPluginOptions, b as HeyAPIPluginOutputOptions, d as HeyAPIPluginResolvedConfig, c as HeyAPIPluginUserConfig, h as __ΩHeyAPIPluginContext, e as __ΩHeyAPIPluginOptions, _ as __ΩHeyAPIPluginOutputOptions, g as __ΩHeyAPIPluginResolvedConfig, f as __ΩHeyAPIPluginUserConfig } from '../index-D07O8wGD.js';
|
|
2
|
+
import '@hey-api/openapi-ts';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/http/fetch';
|
|
12
|
+
import '@stryke/types/package-json';
|
|
13
|
+
import 'jiti';
|
|
14
|
+
import 'magic-string';
|
|
15
|
+
import 'oxc-parser';
|
|
16
|
+
import 'semver';
|
|
17
|
+
import 'ts-morph';
|
|
18
|
+
import 'undici';
|
|
19
|
+
import 'unplugin';
|
|
20
|
+
import '@stryke/fs/resolve';
|
|
21
|
+
import '@stryke/types/tsconfig';
|
|
22
|
+
import 'typescript';
|
|
23
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from'./plugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import '@hey-api/openapi-ts';
|
|
2
|
+
export { H as HeyAPIPluginContext, a as HeyAPIPluginOptions, b as HeyAPIPluginOutputOptions, d as HeyAPIPluginResolvedConfig, c as HeyAPIPluginUserConfig, h as __ΩHeyAPIPluginContext, e as __ΩHeyAPIPluginOptions, _ as __ΩHeyAPIPluginOutputOptions, g as __ΩHeyAPIPluginResolvedConfig, f as __ΩHeyAPIPluginUserConfig } from '../index-D07O8wGD.cjs';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/http/fetch';
|
|
12
|
+
import '@stryke/types/package-json';
|
|
13
|
+
import 'jiti';
|
|
14
|
+
import 'magic-string';
|
|
15
|
+
import 'oxc-parser';
|
|
16
|
+
import 'semver';
|
|
17
|
+
import 'ts-morph';
|
|
18
|
+
import 'undici';
|
|
19
|
+
import 'unplugin';
|
|
20
|
+
import '@stryke/fs/resolve';
|
|
21
|
+
import '@stryke/types/tsconfig';
|
|
22
|
+
import 'typescript';
|
|
23
|
+
import '@stryke/types/array';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import '@hey-api/openapi-ts';
|
|
2
|
+
export { H as HeyAPIPluginContext, a as HeyAPIPluginOptions, b as HeyAPIPluginOutputOptions, d as HeyAPIPluginResolvedConfig, c as HeyAPIPluginUserConfig, h as __ΩHeyAPIPluginContext, e as __ΩHeyAPIPluginOptions, _ as __ΩHeyAPIPluginOutputOptions, g as __ΩHeyAPIPluginResolvedConfig, f as __ΩHeyAPIPluginUserConfig } from '../index-D07O8wGD.js';
|
|
3
|
+
import '@storm-software/build-tools/types';
|
|
4
|
+
import '@storm-software/config-tools/types';
|
|
5
|
+
import '@storm-software/config/types';
|
|
6
|
+
import '@stryke/types/base';
|
|
7
|
+
import '@stryke/types/configuration';
|
|
8
|
+
import '@stryke/types/file';
|
|
9
|
+
import 'vite';
|
|
10
|
+
import '@stryke/env/get-env-paths';
|
|
11
|
+
import '@stryke/http/fetch';
|
|
12
|
+
import '@stryke/types/package-json';
|
|
13
|
+
import 'jiti';
|
|
14
|
+
import 'magic-string';
|
|
15
|
+
import 'oxc-parser';
|
|
16
|
+
import 'semver';
|
|
17
|
+
import 'ts-morph';
|
|
18
|
+
import 'undici';
|
|
19
|
+
import 'unplugin';
|
|
20
|
+
import '@stryke/fs/resolve';
|
|
21
|
+
import '@stryke/types/tsconfig';
|
|
22
|
+
import 'typescript';
|
|
23
|
+
import '@stryke/types/array';
|
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@powerlines/plugin-hey-api",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A Powerlines plugin to generate project code using Hey API.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "github",
|
|
8
|
+
"url": "https://github.com/storm-software/powerlines.git",
|
|
9
|
+
"directory": "packages/plugin-hey-api"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://stormsoftware.com",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://stormsoftware.com/support",
|
|
14
|
+
"email": "support@stormsoftware.com"
|
|
15
|
+
},
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Storm Software",
|
|
18
|
+
"email": "contact@stormsoftware.com",
|
|
19
|
+
"url": "https://stormsoftware.com"
|
|
20
|
+
},
|
|
21
|
+
"maintainers": [
|
|
22
|
+
{
|
|
23
|
+
"name": "Storm Software",
|
|
24
|
+
"email": "contact@stormsoftware.com",
|
|
25
|
+
"url": "https://stormsoftware.com"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"contributors": [
|
|
29
|
+
{
|
|
30
|
+
"name": "Storm Software",
|
|
31
|
+
"email": "contact@stormsoftware.com",
|
|
32
|
+
"url": "https://stormsoftware.com"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"funding": {
|
|
36
|
+
"type": "github",
|
|
37
|
+
"url": "https://github.com/sponsors/storm-software"
|
|
38
|
+
},
|
|
39
|
+
"license": "Apache-2.0",
|
|
40
|
+
"private": false,
|
|
41
|
+
"main": "dist/index.cjs",
|
|
42
|
+
"module": "dist/index.js",
|
|
43
|
+
"exports": {
|
|
44
|
+
"./package.json": "./package.json",
|
|
45
|
+
".": {
|
|
46
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
47
|
+
"require": {
|
|
48
|
+
"types": "./dist/index.d.cts",
|
|
49
|
+
"default": "./dist/index.cjs"
|
|
50
|
+
},
|
|
51
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
52
|
+
},
|
|
53
|
+
"./index": {
|
|
54
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
55
|
+
"require": {
|
|
56
|
+
"types": "./dist/index.d.cts",
|
|
57
|
+
"default": "./dist/index.cjs"
|
|
58
|
+
},
|
|
59
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
60
|
+
},
|
|
61
|
+
"./plugin": {
|
|
62
|
+
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
63
|
+
"require": {
|
|
64
|
+
"types": "./dist/index.d.cts",
|
|
65
|
+
"default": "./dist/index.cjs"
|
|
66
|
+
},
|
|
67
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
68
|
+
},
|
|
69
|
+
"./types": {
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./dist/types/index.d.ts",
|
|
72
|
+
"default": "./dist/types/index.js"
|
|
73
|
+
},
|
|
74
|
+
"require": {
|
|
75
|
+
"types": "./dist/types/index.d.cts",
|
|
76
|
+
"default": "./dist/types/index.cjs"
|
|
77
|
+
},
|
|
78
|
+
"default": {
|
|
79
|
+
"types": "./dist/types/index.d.ts",
|
|
80
|
+
"default": "./dist/types/index.js"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"./types/*": {
|
|
84
|
+
"import": {
|
|
85
|
+
"types": "./dist/types/*.d.ts",
|
|
86
|
+
"default": "./dist/types/*.js"
|
|
87
|
+
},
|
|
88
|
+
"require": {
|
|
89
|
+
"types": "./dist/types/*.d.cts",
|
|
90
|
+
"default": "./dist/types/*.cjs"
|
|
91
|
+
},
|
|
92
|
+
"default": {
|
|
93
|
+
"types": "./dist/types/*.d.ts",
|
|
94
|
+
"default": "./dist/types/*.js"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"./helpers": {
|
|
98
|
+
"import": {
|
|
99
|
+
"types": "./dist/helpers/index.d.ts",
|
|
100
|
+
"default": "./dist/helpers/index.js"
|
|
101
|
+
},
|
|
102
|
+
"require": {
|
|
103
|
+
"types": "./dist/helpers/index.d.cts",
|
|
104
|
+
"default": "./dist/helpers/index.cjs"
|
|
105
|
+
},
|
|
106
|
+
"default": {
|
|
107
|
+
"types": "./dist/helpers/index.d.ts",
|
|
108
|
+
"default": "./dist/helpers/index.js"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"./helpers/*": {
|
|
112
|
+
"import": {
|
|
113
|
+
"types": "./dist/helpers/*.d.ts",
|
|
114
|
+
"default": "./dist/helpers/*.js"
|
|
115
|
+
},
|
|
116
|
+
"require": {
|
|
117
|
+
"types": "./dist/helpers/*.d.cts",
|
|
118
|
+
"default": "./dist/helpers/*.cjs"
|
|
119
|
+
},
|
|
120
|
+
"default": {
|
|
121
|
+
"types": "./dist/helpers/*.d.ts",
|
|
122
|
+
"default": "./dist/helpers/*.js"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"typings": "dist/index.d.ts",
|
|
127
|
+
"files": ["dist/**/*"],
|
|
128
|
+
"keywords": ["hey-api", "powerlines", "storm-software", "powerlines-plugin"],
|
|
129
|
+
"dependencies": {
|
|
130
|
+
"@hey-api/openapi-ts": "^0.88.0",
|
|
131
|
+
"@stryke/path": "^0.21.6",
|
|
132
|
+
"@stryke/string-format": "^0.12.12",
|
|
133
|
+
"@stryke/type-checks": "^0.4.3",
|
|
134
|
+
"@stryke/types": "^0.10.12",
|
|
135
|
+
"defu": "^6.1.4",
|
|
136
|
+
"jiti": "^2.6.1",
|
|
137
|
+
"powerlines": "^0.28.0"
|
|
138
|
+
},
|
|
139
|
+
"devDependencies": {
|
|
140
|
+
"@powerlines/nx": "^0.10.47",
|
|
141
|
+
"@powerlines/plugin-plugin": "^0.11.55",
|
|
142
|
+
"@types/node": "^24.10.1"
|
|
143
|
+
},
|
|
144
|
+
"publishConfig": { "access": "public" },
|
|
145
|
+
"gitHead": "3feaa815e117c46d827eee84c3521e54670abb9b"
|
|
146
|
+
}
|