@powerlines/plugin-graphql 0.1.458 → 0.1.459

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 +1,29 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__toESM=s;
1
+ //#region \0rolldown/runtime.js
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+
29
+ exports.__toESM = __toESM;
package/dist/index.cjs CHANGED
@@ -1 +1,67 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./_virtual/_rolldown/runtime.cjs`);let t=require(`@graphql-codegen/cli`),n=require(`@storm-software/config-tools/types`),r=require(`@stryke/path/file-path-fns`),i=require(`@stryke/path/is-parent-path`),a=require(`@stryke/path/join-paths`),o=require(`@stryke/path/replace`),s=require(`defu`);s=e.__toESM(s,1);let c=require(`powerlines/plugin-utils`);const l=(e={})=>({name:`graphql`,config(){let t=e.configFile;if(!t&&(t=(0,c.getConfigPath)(this,`codegen`),!t&&(t=(0,c.getConfigPath)(this,`graphql-codegen`),!t)))throw Error("No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's `configFile` options.");return{graphql:(0,s.default)(e,{configFile:t,silent:this.config.logLevel===null,verbose:this.config.logLevel===n.LogLevelLabel.DEBUG||this.config.logLevel===n.LogLevelLabel.TRACE,debug:this.config.mode===`development`,outputPath:(0,a.joinPaths)(`{builtinPath}`,`graphql`)})}},async configResolved(){this.dependencies.graphql=`latest`,this.config.graphql.outputPath=(0,c.replacePathTokens)(this,this.config.graphql.outputPath),this.graphql??={},this.graphql.codegen=await(0,t.loadContext)(this.config.graphql.configFile),(0,t.updateContextWithCliFlags)(this.graphql.codegen,{require:[],overwrite:!0,project:this.config.root,...this.config.graphql,config:this.config.graphql.configFile,watch:!1})},async prepare(){let e=await(0,t.generate)({...this.graphql.codegen,cwd:(0,a.joinPaths)(this.config.cwd,this.config.root)},!1);(0,i.isParentPath)(this.config.graphql.outputPath,this.builtinsPath)?await Promise.all(e.map(async e=>this.emitBuiltin(e.content,(0,r.findFileName)((0,a.joinPaths)((0,o.replacePath)(this.config.graphql.outputPath,this.builtinsPath),e.filename),{withExtension:!1})))):await Promise.all(e.map(async e=>this.fs.write((0,a.joinPaths)(this.config.graphql.outputPath,e.filename),e.content)))}});exports.default=l,exports.plugin=l;
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
+ let _graphql_codegen_cli = require("@graphql-codegen/cli");
4
+ let _storm_software_config_tools_types = require("@storm-software/config-tools/types");
5
+ let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
6
+ let _stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
7
+ let _stryke_path_join_paths = require("@stryke/path/join-paths");
8
+ let _stryke_path_replace = require("@stryke/path/replace");
9
+ let defu = require("defu");
10
+ defu = require_runtime.__toESM(defu, 1);
11
+ let powerlines_plugin_utils = require("powerlines/plugin-utils");
12
+
13
+ //#region src/index.ts
14
+ /**
15
+ * A Powerlines plugin to integrate GraphQL for code generation.
16
+ *
17
+ * @param options - The plugin options.
18
+ * @returns A Powerlines plugin instance.
19
+ */
20
+ const plugin = (options = {}) => {
21
+ return {
22
+ name: "graphql",
23
+ config() {
24
+ let configFile = options.configFile;
25
+ if (!configFile) {
26
+ configFile = (0, powerlines_plugin_utils.getConfigPath)(this, "codegen");
27
+ if (!configFile) {
28
+ configFile = (0, powerlines_plugin_utils.getConfigPath)(this, "graphql-codegen");
29
+ if (!configFile) throw new Error(`No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's \`configFile\` options.`);
30
+ }
31
+ }
32
+ return { graphql: (0, defu.default)(options, {
33
+ configFile,
34
+ silent: this.config.logLevel === null,
35
+ verbose: this.config.logLevel === _storm_software_config_tools_types.LogLevelLabel.DEBUG || this.config.logLevel === _storm_software_config_tools_types.LogLevelLabel.TRACE,
36
+ debug: this.config.mode === "development",
37
+ outputPath: (0, _stryke_path_join_paths.joinPaths)("{builtinPath}", "graphql")
38
+ }) };
39
+ },
40
+ async configResolved() {
41
+ this.dependencies.graphql = "latest";
42
+ this.config.graphql.outputPath = (0, powerlines_plugin_utils.replacePathTokens)(this, this.config.graphql.outputPath);
43
+ this.graphql ??= {};
44
+ this.graphql.codegen = await (0, _graphql_codegen_cli.loadContext)(this.config.graphql.configFile);
45
+ (0, _graphql_codegen_cli.updateContextWithCliFlags)(this.graphql.codegen, {
46
+ require: [],
47
+ overwrite: true,
48
+ project: this.config.root,
49
+ ...this.config.graphql,
50
+ config: this.config.graphql.configFile,
51
+ watch: false
52
+ });
53
+ },
54
+ async prepare() {
55
+ const result = await (0, _graphql_codegen_cli.generate)({
56
+ ...this.graphql.codegen,
57
+ cwd: (0, _stryke_path_join_paths.joinPaths)(this.config.cwd, this.config.root)
58
+ }, false);
59
+ if ((0, _stryke_path_is_parent_path.isParentPath)(this.config.graphql.outputPath, this.builtinsPath)) await Promise.all(result.map(async (output) => this.emitBuiltin(output.content, (0, _stryke_path_file_path_fns.findFileName)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_replace.replacePath)(this.config.graphql.outputPath, this.builtinsPath), output.filename), { withExtension: false }))));
60
+ else await Promise.all(result.map(async (output) => this.fs.write((0, _stryke_path_join_paths.joinPaths)(this.config.graphql.outputPath, output.filename), output.content)));
61
+ }
62
+ };
63
+ };
64
+
65
+ //#endregion
66
+ exports.default = plugin;
67
+ exports.plugin = plugin;
package/dist/index.mjs CHANGED
@@ -1,2 +1,64 @@
1
- import{generate as e,loadContext as t,updateContextWithCliFlags as n}from"@graphql-codegen/cli";import{LogLevelLabel as r}from"@storm-software/config-tools/types";import{findFileName as i}from"@stryke/path/file-path-fns";import{isParentPath as a}from"@stryke/path/is-parent-path";import{joinPaths as o}from"@stryke/path/join-paths";import{replacePath as s}from"@stryke/path/replace";import c from"defu";import{getConfigPath as l,replacePathTokens as u}from"powerlines/plugin-utils";const d=(d={})=>({name:`graphql`,config(){let e=d.configFile;if(!e&&(e=l(this,`codegen`),!e&&(e=l(this,`graphql-codegen`),!e)))throw Error("No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's `configFile` options.");return{graphql:c(d,{configFile:e,silent:this.config.logLevel===null,verbose:this.config.logLevel===r.DEBUG||this.config.logLevel===r.TRACE,debug:this.config.mode===`development`,outputPath:o(`{builtinPath}`,`graphql`)})}},async configResolved(){this.dependencies.graphql=`latest`,this.config.graphql.outputPath=u(this,this.config.graphql.outputPath),this.graphql??={},this.graphql.codegen=await t(this.config.graphql.configFile),n(this.graphql.codegen,{require:[],overwrite:!0,project:this.config.root,...this.config.graphql,config:this.config.graphql.configFile,watch:!1})},async prepare(){let t=await e({...this.graphql.codegen,cwd:o(this.config.cwd,this.config.root)},!1);a(this.config.graphql.outputPath,this.builtinsPath)?await Promise.all(t.map(async e=>this.emitBuiltin(e.content,i(o(s(this.config.graphql.outputPath,this.builtinsPath),e.filename),{withExtension:!1})))):await Promise.all(t.map(async e=>this.fs.write(o(this.config.graphql.outputPath,e.filename),e.content)))}});export{d as default,d as plugin};
1
+ import { generate, loadContext, updateContextWithCliFlags } from "@graphql-codegen/cli";
2
+ import { LogLevelLabel } from "@storm-software/config-tools/types";
3
+ import { findFileName } from "@stryke/path/file-path-fns";
4
+ import { isParentPath } from "@stryke/path/is-parent-path";
5
+ import { joinPaths } from "@stryke/path/join-paths";
6
+ import { replacePath } from "@stryke/path/replace";
7
+ import defu from "defu";
8
+ import { getConfigPath, replacePathTokens } from "powerlines/plugin-utils";
9
+
10
+ //#region src/index.ts
11
+ /**
12
+ * A Powerlines plugin to integrate GraphQL for code generation.
13
+ *
14
+ * @param options - The plugin options.
15
+ * @returns A Powerlines plugin instance.
16
+ */
17
+ const plugin = (options = {}) => {
18
+ return {
19
+ name: "graphql",
20
+ config() {
21
+ let configFile = options.configFile;
22
+ if (!configFile) {
23
+ configFile = getConfigPath(this, "codegen");
24
+ if (!configFile) {
25
+ configFile = getConfigPath(this, "graphql-codegen");
26
+ if (!configFile) throw new Error(`No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's \`configFile\` options.`);
27
+ }
28
+ }
29
+ return { graphql: defu(options, {
30
+ configFile,
31
+ silent: this.config.logLevel === null,
32
+ verbose: this.config.logLevel === LogLevelLabel.DEBUG || this.config.logLevel === LogLevelLabel.TRACE,
33
+ debug: this.config.mode === "development",
34
+ outputPath: joinPaths("{builtinPath}", "graphql")
35
+ }) };
36
+ },
37
+ async configResolved() {
38
+ this.dependencies.graphql = "latest";
39
+ this.config.graphql.outputPath = replacePathTokens(this, this.config.graphql.outputPath);
40
+ this.graphql ??= {};
41
+ this.graphql.codegen = await loadContext(this.config.graphql.configFile);
42
+ updateContextWithCliFlags(this.graphql.codegen, {
43
+ require: [],
44
+ overwrite: true,
45
+ project: this.config.root,
46
+ ...this.config.graphql,
47
+ config: this.config.graphql.configFile,
48
+ watch: false
49
+ });
50
+ },
51
+ async prepare() {
52
+ const result = await generate({
53
+ ...this.graphql.codegen,
54
+ cwd: joinPaths(this.config.cwd, this.config.root)
55
+ }, false);
56
+ if (isParentPath(this.config.graphql.outputPath, this.builtinsPath)) await Promise.all(result.map(async (output) => this.emitBuiltin(output.content, findFileName(joinPaths(replacePath(this.config.graphql.outputPath, this.builtinsPath), output.filename), { withExtension: false }))));
57
+ else await Promise.all(result.map(async (output) => this.fs.write(joinPaths(this.config.graphql.outputPath, output.filename), output.content)));
58
+ }
59
+ };
60
+ };
61
+
62
+ //#endregion
63
+ export { plugin as default, plugin };
2
64
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n generate,\n loadContext,\n updateContextWithCliFlags\n} from \"@graphql-codegen/cli\";\nimport { LogLevelLabel } from \"@storm-software/config-tools/types\";\nimport { findFileName } from \"@stryke/path/file-path-fns\";\nimport { isParentPath } from \"@stryke/path/is-parent-path\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport { Plugin } from \"powerlines\";\nimport { getConfigPath, replacePathTokens } from \"powerlines/plugin-utils\";\nimport { GraphQLPluginContext, GraphQLPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n graphql?: GraphQLPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate GraphQL for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends GraphQLPluginContext = GraphQLPluginContext\n>(\n options: GraphQLPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"graphql\",\n config() {\n let configFile = options.configFile;\n if (!configFile) {\n configFile = getConfigPath(this, \"codegen\");\n if (!configFile) {\n configFile = getConfigPath(this, \"graphql-codegen\");\n if (!configFile) {\n throw new Error(\n `No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's \\`configFile\\` options.`\n );\n }\n }\n }\n\n return {\n graphql: defu(options, {\n configFile,\n silent: this.config.logLevel === null,\n verbose:\n this.config.logLevel === LogLevelLabel.DEBUG ||\n this.config.logLevel === LogLevelLabel.TRACE,\n debug: this.config.mode === \"development\",\n outputPath: joinPaths(\"{builtinPath}\", \"graphql\")\n })\n };\n },\n async configResolved() {\n this.dependencies.graphql = \"latest\";\n\n this.config.graphql.outputPath = replacePathTokens(\n this,\n this.config.graphql.outputPath\n );\n\n this.graphql ??= {} as GraphQLPluginContext[\"graphql\"];\n\n this.graphql.codegen = await loadContext(this.config.graphql.configFile);\n updateContextWithCliFlags(this.graphql.codegen, {\n require: [],\n overwrite: true,\n project: this.config.root,\n ...this.config.graphql,\n config: this.config.graphql.configFile,\n watch: false\n });\n },\n async prepare() {\n const result = await generate(\n {\n ...this.graphql.codegen,\n cwd: joinPaths(this.config.cwd, this.config.root)\n } as Parameters<typeof generate>[0],\n false\n );\n\n if (isParentPath(this.config.graphql.outputPath, this.builtinsPath)) {\n await Promise.all(\n result.map(async output =>\n this.emitBuiltin(\n output.content,\n findFileName(\n joinPaths(\n replacePath(\n this.config.graphql.outputPath,\n this.builtinsPath\n ),\n output.filename\n ),\n { withExtension: false }\n )\n )\n )\n );\n } else {\n await Promise.all(\n result.map(async output =>\n this.fs.write(\n joinPaths(this.config.graphql.outputPath, output.filename),\n output.content\n )\n )\n );\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":"keA+CA,MAAa,GAGX,EAAgC,EAAE,IAE3B,CACL,KAAM,UACN,QAAS,CACP,IAAI,EAAa,EAAQ,WACzB,GAAI,CAAC,IACH,EAAa,EAAc,KAAM,UAAU,CACvC,CAAC,IACH,EAAa,EAAc,KAAM,kBAAkB,CAC/C,CAAC,IACH,MAAU,MACR,mIACD,CAKP,MAAO,CACL,QAAS,EAAK,EAAS,CACrB,aACA,OAAQ,KAAK,OAAO,WAAa,KACjC,QACE,KAAK,OAAO,WAAa,EAAc,OACvC,KAAK,OAAO,WAAa,EAAc,MACzC,MAAO,KAAK,OAAO,OAAS,cAC5B,WAAY,EAAU,gBAAiB,UAAU,CAClD,CAAC,CACH,EAEH,MAAM,gBAAiB,CACrB,KAAK,aAAa,QAAU,SAE5B,KAAK,OAAO,QAAQ,WAAa,EAC/B,KACA,KAAK,OAAO,QAAQ,WACrB,CAED,KAAK,UAAY,EAAE,CAEnB,KAAK,QAAQ,QAAU,MAAM,EAAY,KAAK,OAAO,QAAQ,WAAW,CACxE,EAA0B,KAAK,QAAQ,QAAS,CAC9C,QAAS,EAAE,CACX,UAAW,GACX,QAAS,KAAK,OAAO,KACrB,GAAG,KAAK,OAAO,QACf,OAAQ,KAAK,OAAO,QAAQ,WAC5B,MAAO,GACR,CAAC,EAEJ,MAAM,SAAU,CACd,IAAM,EAAS,MAAM,EACnB,CACE,GAAG,KAAK,QAAQ,QAChB,IAAK,EAAU,KAAK,OAAO,IAAK,KAAK,OAAO,KAAK,CAClD,CACD,GACD,CAEG,EAAa,KAAK,OAAO,QAAQ,WAAY,KAAK,aAAa,CACjE,MAAM,QAAQ,IACZ,EAAO,IAAI,KAAM,IACf,KAAK,YACH,EAAO,QACP,EACE,EACE,EACE,KAAK,OAAO,QAAQ,WACpB,KAAK,aACN,CACD,EAAO,SACR,CACD,CAAE,cAAe,GAAO,CACzB,CACF,CACF,CACF,CAED,MAAM,QAAQ,IACZ,EAAO,IAAI,KAAM,IACf,KAAK,GAAG,MACN,EAAU,KAAK,OAAO,QAAQ,WAAY,EAAO,SAAS,CAC1D,EAAO,QACR,CACF,CACF,EAGN"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n generate,\n loadContext,\n updateContextWithCliFlags\n} from \"@graphql-codegen/cli\";\nimport { LogLevelLabel } from \"@storm-software/config-tools/types\";\nimport { findFileName } from \"@stryke/path/file-path-fns\";\nimport { isParentPath } from \"@stryke/path/is-parent-path\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport { Plugin } from \"powerlines\";\nimport { getConfigPath, replacePathTokens } from \"powerlines/plugin-utils\";\nimport { GraphQLPluginContext, GraphQLPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n graphql?: GraphQLPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate GraphQL for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends GraphQLPluginContext = GraphQLPluginContext\n>(\n options: GraphQLPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"graphql\",\n config() {\n let configFile = options.configFile;\n if (!configFile) {\n configFile = getConfigPath(this, \"codegen\");\n if (!configFile) {\n configFile = getConfigPath(this, \"graphql-codegen\");\n if (!configFile) {\n throw new Error(\n `No GraphQL Codegen configuration file found. Please specify a valid config file path in the Biome plugin's \\`configFile\\` options.`\n );\n }\n }\n }\n\n return {\n graphql: defu(options, {\n configFile,\n silent: this.config.logLevel === null,\n verbose:\n this.config.logLevel === LogLevelLabel.DEBUG ||\n this.config.logLevel === LogLevelLabel.TRACE,\n debug: this.config.mode === \"development\",\n outputPath: joinPaths(\"{builtinPath}\", \"graphql\")\n })\n };\n },\n async configResolved() {\n this.dependencies.graphql = \"latest\";\n\n this.config.graphql.outputPath = replacePathTokens(\n this,\n this.config.graphql.outputPath\n );\n\n this.graphql ??= {} as GraphQLPluginContext[\"graphql\"];\n\n this.graphql.codegen = await loadContext(this.config.graphql.configFile);\n updateContextWithCliFlags(this.graphql.codegen, {\n require: [],\n overwrite: true,\n project: this.config.root,\n ...this.config.graphql,\n config: this.config.graphql.configFile,\n watch: false\n });\n },\n async prepare() {\n const result = await generate(\n {\n ...this.graphql.codegen,\n cwd: joinPaths(this.config.cwd, this.config.root)\n } as Parameters<typeof generate>[0],\n false\n );\n\n if (isParentPath(this.config.graphql.outputPath, this.builtinsPath)) {\n await Promise.all(\n result.map(async output =>\n this.emitBuiltin(\n output.content,\n findFileName(\n joinPaths(\n replacePath(\n this.config.graphql.outputPath,\n this.builtinsPath\n ),\n output.filename\n ),\n { withExtension: false }\n )\n )\n )\n );\n } else {\n await Promise.all(\n result.map(async output =>\n this.fs.write(\n joinPaths(this.config.graphql.outputPath, output.filename),\n output.content\n )\n )\n );\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;AA+CA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;GACP,IAAI,aAAa,QAAQ;AACzB,OAAI,CAAC,YAAY;AACf,iBAAa,cAAc,MAAM,UAAU;AAC3C,QAAI,CAAC,YAAY;AACf,kBAAa,cAAc,MAAM,kBAAkB;AACnD,SAAI,CAAC,WACH,OAAM,IAAI,MACR,qIACD;;;AAKP,UAAO,EACL,SAAS,KAAK,SAAS;IACrB;IACA,QAAQ,KAAK,OAAO,aAAa;IACjC,SACE,KAAK,OAAO,aAAa,cAAc,SACvC,KAAK,OAAO,aAAa,cAAc;IACzC,OAAO,KAAK,OAAO,SAAS;IAC5B,YAAY,UAAU,iBAAiB,UAAU;IAClD,CAAC,EACH;;EAEH,MAAM,iBAAiB;AACrB,QAAK,aAAa,UAAU;AAE5B,QAAK,OAAO,QAAQ,aAAa,kBAC/B,MACA,KAAK,OAAO,QAAQ,WACrB;AAED,QAAK,YAAY,EAAE;AAEnB,QAAK,QAAQ,UAAU,MAAM,YAAY,KAAK,OAAO,QAAQ,WAAW;AACxE,6BAA0B,KAAK,QAAQ,SAAS;IAC9C,SAAS,EAAE;IACX,WAAW;IACX,SAAS,KAAK,OAAO;IACrB,GAAG,KAAK,OAAO;IACf,QAAQ,KAAK,OAAO,QAAQ;IAC5B,OAAO;IACR,CAAC;;EAEJ,MAAM,UAAU;GACd,MAAM,SAAS,MAAM,SACnB;IACE,GAAG,KAAK,QAAQ;IAChB,KAAK,UAAU,KAAK,OAAO,KAAK,KAAK,OAAO,KAAK;IAClD,EACD,MACD;AAED,OAAI,aAAa,KAAK,OAAO,QAAQ,YAAY,KAAK,aAAa,CACjE,OAAM,QAAQ,IACZ,OAAO,IAAI,OAAM,WACf,KAAK,YACH,OAAO,SACP,aACE,UACE,YACE,KAAK,OAAO,QAAQ,YACpB,KAAK,aACN,EACD,OAAO,SACR,EACD,EAAE,eAAe,OAAO,CACzB,CACF,CACF,CACF;OAED,OAAM,QAAQ,IACZ,OAAO,IAAI,OAAM,WACf,KAAK,GAAG,MACN,UAAU,KAAK,OAAO,QAAQ,YAAY,OAAO,SAAS,EAC1D,OAAO,QACR,CACF,CACF;;EAGN"}
@@ -1 +1 @@
1
- export{};
1
+ export { };
@@ -1 +1 @@
1
- export{};
1
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-graphql",
3
- "version": "0.1.458",
3
+ "version": "0.1.459",
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"],
@@ -97,13 +97,13 @@
97
97
  "@stryke/types": "^0.12.0",
98
98
  "defu": "^6.1.7",
99
99
  "jiti": "^2.6.1",
100
- "powerlines": "^0.46.4"
100
+ "powerlines": "^0.46.5"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@graphql-codegen/plugin-helpers": "^6.3.0",
104
- "@powerlines/plugin-plugin": "^0.12.408",
104
+ "@powerlines/plugin-plugin": "^0.12.409",
105
105
  "@types/node": "^25.6.0"
106
106
  },
107
107
  "publishConfig": { "access": "public" },
108
- "gitHead": "2e5eff0d36cb4a1a54242017a16c5af5d9ce2cc3"
108
+ "gitHead": "9af888c54e58a82744cc334a6b80da52429fa0ac"
109
109
  }