@powerlines/plugin-graphql 0.1.677 → 0.1.679

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0rolldown/runtime.js
2
+ // \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -25,8 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  enumerable: true
26
26
  }) : target, mod));
27
27
 
28
- //#endregion
29
- require('./types/index.cjs');
28
+ require("./types/index.cjs");
30
29
  let _power_plant_graphql_codegen = require("@power-plant/graphql-codegen");
31
30
  _power_plant_graphql_codegen = __toESM(_power_plant_graphql_codegen, 1);
32
31
  let _power_plant_graphql_schema_codegen = require("@power-plant/graphql-schema/codegen");
@@ -38,7 +37,7 @@ defu = __toESM(defu, 1);
38
37
  let graphql = require("graphql");
39
38
  let powerlines_plugin_utils = require("powerlines/plugin-utils");
40
39
 
41
- //#region src/index.ts
40
+ // src/index.ts
42
41
  /**
43
42
  * A Powerlines plugin to integrate GraphQL Codegen via Power Plant.
44
43
  *
@@ -100,5 +99,4 @@ const plugin = (options = {}) => {
100
99
  }];
101
100
  };
102
101
 
103
- //#endregion
104
102
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, PowerPlantGraphQLCodegenOptions } from "./types/plugin.cjs";
2
2
  import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  graphql?: GraphQLPluginOptions;
@@ -17,6 +16,5 @@ declare module "powerlines" {
17
16
  * @returns Powerlines plugin instances.
18
17
  */
19
18
  declare const plugin: <TContext extends GraphQLPluginContext = GraphQLPluginContext>(options?: GraphQLPluginOptions) => Plugin<TContext>[];
20
- //#endregion
21
19
  export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions, plugin };
22
20
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAsCY;IACR,UAAU;;;;;;;;;;;;cAaD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAsCY;IACR,UAAU;;;;;;;;;;;;cAaD,SACX,iBAAiB,uBAAuB,sBAExC,UAAS,yBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, PowerPlantGraphQLCodegenOptions } from "./types/plugin.mjs";
2
2
  import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  graphql?: GraphQLPluginOptions;
@@ -17,6 +16,5 @@ declare module "powerlines" {
17
16
  * @returns Powerlines plugin instances.
18
17
  */
19
18
  declare const plugin: <TContext extends GraphQLPluginContext = GraphQLPluginContext>(options?: GraphQLPluginOptions) => Plugin<TContext>[];
20
- //#endregion
21
19
  export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions, plugin };
22
20
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import defu from "defu";
8
8
  import { buildSchema, isSchema } from "graphql";
9
9
  import { replacePathTokens } from "powerlines/plugin-utils";
10
10
 
11
- //#region src/index.ts
11
+ // src/index.ts
12
12
  /**
13
13
  * A Powerlines plugin to integrate GraphQL Codegen via Power Plant.
14
14
  *
@@ -70,6 +70,5 @@ const plugin = (options = {}) => {
70
70
  }];
71
71
  };
72
72
 
73
- //#endregion
74
73
  export { plugin };
75
74
  //# sourceMappingURL=index.mjs.map
@@ -2,7 +2,6 @@ import { ResolvedConfig, UserConfig } from "powerlines";
2
2
  import { Options, Options as PowerPlantGraphQLCodegenOptions } from "@power-plant/graphql-codegen";
3
3
  import { PowerPlantPluginContext, PowerPlantPluginResolvedConfig } from "@powerlines/plugin-power-plant/types/plugin";
4
4
  import { GraphQLSchema } from "graphql";
5
- //#region src/types/plugin.d.ts
6
5
  /**
7
6
  * Options for the GraphQL Powerlines plugin.
8
7
  */
@@ -29,6 +28,5 @@ type GraphQLPluginResolvedConfig = ResolvedConfig & PowerPlantPluginResolvedConf
29
28
  };
30
29
  };
31
30
  type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig = GraphQLPluginResolvedConfig> = PowerPlantPluginContext<GraphQLSchema, Options, TResolvedConfig>;
32
- //#endregion
33
31
  export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions };
34
32
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":["PowerPlantGraphQLCodegenOptions"],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;;KA+BY,uBAAuB,QACjC,KAAKA;;;;;;;;;;EAWL,kBAAkB,MAAM;;KAGd,0BAA0B;EACpC,UAAU;;KAGA,8BAA8B,iBACxC,+BACE,eACAA;EAEA,SAAS,KAAK;IACZ,iBAAiB,MAAM;IACvB;IACA,UAAU;;;KAIJ,qBACV,wBAAwB,8BACtB,+BACA,wBACF,eACAA,SACA"}
1
+ {"version":3,"file":"plugin.d.cts","names":["PowerPlantGraphQLCodegenOptions"],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;KA+BY,uBAAuB,QACjC,KAAKA;;;;;;;;;;EAWL,kBAAkB,MAAM;;KAGd,0BAA0B;EACpC,UAAU;;KAGA,8BAA8B,iBACxC,+BACE,eACAA;EAEA,SAAS,KAAK;IACZ,iBAAiB,MAAM;IACvB;IACA,UAAU;;;KAIJ,qBACV,wBAAwB,8BACtB,+BACA,wBACF,eACAA,SACA"}
@@ -2,7 +2,6 @@ import { Options, Options as PowerPlantGraphQLCodegenOptions } from "@power-plan
2
2
  import { GraphQLSchema } from "graphql";
3
3
  import { ResolvedConfig, UserConfig } from "powerlines";
4
4
  import { PowerPlantPluginContext, PowerPlantPluginResolvedConfig } from "@powerlines/plugin-power-plant/types/plugin";
5
- //#region src/types/plugin.d.ts
6
5
  /**
7
6
  * Options for the GraphQL Powerlines plugin.
8
7
  */
@@ -29,6 +28,5 @@ type GraphQLPluginResolvedConfig = ResolvedConfig & PowerPlantPluginResolvedConf
29
28
  };
30
29
  };
31
30
  type GraphQLPluginContext<TResolvedConfig extends GraphQLPluginResolvedConfig = GraphQLPluginResolvedConfig> = PowerPlantPluginContext<GraphQLSchema, Options, TResolvedConfig>;
32
- //#endregion
33
31
  export { GraphQLPluginContext, GraphQLPluginOptions, GraphQLPluginResolvedConfig, GraphQLPluginUserConfig, type PowerPlantGraphQLCodegenOptions };
34
32
  //# sourceMappingURL=plugin.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-graphql",
3
- "version": "0.1.677",
3
+ "version": "0.1.679",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to generate project code from GraphQL schemas.",
6
6
  "keywords": ["graphql", "powerlines", "storm-software", "powerlines-plugin"],
@@ -90,20 +90,20 @@
90
90
  "typings": "dist/index.d.mts",
91
91
  "files": ["dist/**/*"],
92
92
  "dependencies": {
93
- "@power-plant/core": "^0.0.93",
94
- "@power-plant/graphql-codegen": "^0.0.89",
93
+ "@power-plant/core": "^0.0.98",
94
+ "@power-plant/graphql-codegen": "^0.0.94",
95
95
  "@power-plant/graphql-schema": "^0.0.1",
96
- "@powerlines/plugin-power-plant": "^0.1.71",
96
+ "@powerlines/plugin-power-plant": "^0.1.73",
97
97
  "@stryke/fs": "^0.33.118",
98
98
  "@stryke/path": "^0.29.43",
99
99
  "defu": "^6.1.7",
100
100
  "graphql": "^17.0.2",
101
- "powerlines": "^0.47.214"
101
+ "powerlines": "^0.47.216"
102
102
  },
103
103
  "devDependencies": {
104
- "@powerlines/plugin-plugin": "^0.12.627",
104
+ "@powerlines/plugin-plugin": "^0.12.629",
105
105
  "@types/node": "^25.9.9"
106
106
  },
107
107
  "publishConfig": { "access": "public" },
108
- "gitHead": "11405039d1373508718de6817cecb7b8f8e46104"
108
+ "gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
109
109
  }