nitro-graphql 1.5.11 → 1.6.1

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.
Files changed (39) hide show
  1. package/dist/ecosystem/{nuxt.js → nuxt.mjs} +1 -1
  2. package/dist/{index.d.ts → index.d.mts} +2 -2
  3. package/dist/{index.js → index.mjs} +7 -6
  4. package/dist/{rollup.js → rollup.mjs} +2 -2
  5. package/dist/routes/{graphql-yoga.d.ts → apollo-server.d.mts} +2 -2
  6. package/dist/routes/graphql-yoga.d.mts +6 -0
  7. package/dist/routes/{health.d.ts → health.d.mts} +2 -2
  8. package/dist/types/{index.d.ts → index.d.mts} +1 -1
  9. package/dist/types/{standard-schema.d.ts → standard-schema.d.mts} +2 -2
  10. package/dist/utils/{client-codegen.d.ts → client-codegen.d.mts} +1 -1
  11. package/dist/utils/{define.d.ts → define.d.mts} +5 -1
  12. package/dist/utils/{define.js → define.mjs} +7 -1
  13. package/dist/utils/{index.d.ts → index.d.mts} +2 -2
  14. package/dist/utils/{index.js → index.mjs} +10 -4
  15. package/dist/utils/{path-resolver.d.ts → path-resolver.d.mts} +1 -1
  16. package/dist/utils/{server-codegen.d.ts → server-codegen.d.mts} +1 -1
  17. package/dist/utils/{type-generation.js → type-generation.mjs} +4 -4
  18. package/package.json +53 -49
  19. package/dist/routes/apollo-server.d.ts +0 -6
  20. /package/dist/ecosystem/{nuxt.d.ts → nuxt.d.mts} +0 -0
  21. /package/dist/graphql/{index.d.ts → index.d.mts} +0 -0
  22. /package/dist/graphql/{index.js → index.mjs} +0 -0
  23. /package/dist/graphql/{server.d.ts → server.d.mts} +0 -0
  24. /package/dist/graphql/{server.js → server.mjs} +0 -0
  25. /package/dist/routes/{apollo-server.js → apollo-server.mjs} +0 -0
  26. /package/dist/routes/{debug.d.ts → debug.d.mts} +0 -0
  27. /package/dist/routes/{debug.js → debug.mjs} +0 -0
  28. /package/dist/routes/{graphql-yoga.js → graphql-yoga.mjs} +0 -0
  29. /package/dist/routes/{health.js → health.mjs} +0 -0
  30. /package/dist/utils/{apollo.d.ts → apollo.d.mts} +0 -0
  31. /package/dist/utils/{apollo.js → apollo.mjs} +0 -0
  32. /package/dist/utils/{client-codegen.js → client-codegen.mjs} +0 -0
  33. /package/dist/utils/{directive-parser.d.ts → directive-parser.d.mts} +0 -0
  34. /package/dist/utils/{directive-parser.js → directive-parser.mjs} +0 -0
  35. /package/dist/utils/{file-generator.d.ts → file-generator.d.mts} +0 -0
  36. /package/dist/utils/{file-generator.js → file-generator.mjs} +0 -0
  37. /package/dist/utils/{path-resolver.js → path-resolver.mjs} +0 -0
  38. /package/dist/utils/{server-codegen.js → server-codegen.mjs} +0 -0
  39. /package/dist/utils/{type-generation.d.ts → type-generation.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import { getDefaultPaths, getTypesConfig, resolveFilePath } from "../utils/path-resolver.js";
1
+ import { getDefaultPaths, getTypesConfig, resolveFilePath } from "../utils/path-resolver.mjs";
2
2
  import { existsSync, mkdirSync, writeFileSync } from "node:fs";
3
3
  import { dirname, join, relative, resolve } from "pathe";
4
4
  import { defineNuxtModule, getLayerDirectories } from "@nuxt/kit";
@@ -1,5 +1,5 @@
1
- import { StandardSchemaV1 } from "./types/standard-schema.js";
2
- import { ClientUtilsConfig, CodegenClientConfig, CodegenServerConfig, ExternalGraphQLService, ExternalServicePaths, FederationConfig, FileGenerationConfig, GenImport, GenericSdkConfig, NitroGraphQLOptions, PathsConfig, ScaffoldConfig, SdkConfig, TypesConfig } from "./types/index.js";
1
+ import { StandardSchemaV1 } from "./types/standard-schema.mjs";
2
+ import { ClientUtilsConfig, CodegenClientConfig, CodegenServerConfig, ExternalGraphQLService, ExternalServicePaths, FederationConfig, FileGenerationConfig, GenImport, GenericSdkConfig, NitroGraphQLOptions, PathsConfig, ScaffoldConfig, SdkConfig, TypesConfig } from "./types/index.mjs";
3
3
  import * as nitropack0 from "nitropack";
4
4
 
5
5
  //#region src/index.d.ts
@@ -1,9 +1,9 @@
1
- import { generateDirectiveSchemas } from "./utils/directive-parser.js";
2
- import { generateLayerIgnorePatterns, getLayerAppDirectories, getLayerServerDirectories, relativeWithDot, scanDirectives, scanDocs, scanResolvers, scanSchemas, validateExternalServices } from "./utils/index.js";
3
- import { writeFileIfNotExists } from "./utils/file-generator.js";
4
- import { getDefaultPaths, getScaffoldConfig, getTypesConfig, resolveFilePath, shouldGenerateScaffold } from "./utils/path-resolver.js";
5
- import { clientTypeGeneration, serverTypeGeneration } from "./utils/type-generation.js";
6
- import { rollupConfig } from "./rollup.js";
1
+ import { generateDirectiveSchemas } from "./utils/directive-parser.mjs";
2
+ import { generateLayerIgnorePatterns, getLayerAppDirectories, getLayerServerDirectories, relativeWithDot, scanDirectives, scanDocs, scanResolvers, scanSchemas, validateExternalServices } from "./utils/index.mjs";
3
+ import { writeFileIfNotExists } from "./utils/file-generator.mjs";
4
+ import { getDefaultPaths, getScaffoldConfig, getTypesConfig, resolveFilePath, shouldGenerateScaffold } from "./utils/path-resolver.mjs";
5
+ import { clientTypeGeneration, serverTypeGeneration } from "./utils/type-generation.mjs";
6
+ import { rollupConfig } from "./rollup.mjs";
7
7
  import { existsSync, mkdirSync } from "node:fs";
8
8
  import { fileURLToPath } from "node:url";
9
9
  import { watch } from "chokidar";
@@ -200,6 +200,7 @@ var src_default = defineNitroModule({
200
200
  "defineQuery",
201
201
  "defineSubscription",
202
202
  "defineType",
203
+ "defineField",
203
204
  "defineGraphQLConfig",
204
205
  "defineSchema",
205
206
  "defineDirective"
@@ -1,5 +1,5 @@
1
- import { getImportId, scanGraphql } from "./utils/index.js";
2
- import { clientTypeGeneration, serverTypeGeneration } from "./utils/type-generation.js";
1
+ import { getImportId, scanGraphql } from "./utils/index.mjs";
2
+ import { clientTypeGeneration, serverTypeGeneration } from "./utils/type-generation.mjs";
3
3
  import { resolve } from "pathe";
4
4
  import { readFile } from "node:fs/promises";
5
5
  import { parse } from "graphql";
@@ -1,6 +1,6 @@
1
1
  import * as h30 from "h3";
2
2
 
3
- //#region src/routes/graphql-yoga.d.ts
4
- declare const _default: h30.EventHandler<h30.EventHandlerRequest, Promise<Response>>;
3
+ //#region src/routes/apollo-server.d.ts
4
+ declare const _default: h30.EventHandler<h30.EventHandlerRequest, Promise<any>>;
5
5
  //#endregion
6
6
  export { _default as default };
@@ -0,0 +1,6 @@
1
+ import * as h33 from "h3";
2
+
3
+ //#region src/routes/graphql-yoga.d.ts
4
+ declare const _default: h33.EventHandler<h33.EventHandlerRequest, Promise<Response>>;
5
+ //#endregion
6
+ export { _default as default };
@@ -1,7 +1,7 @@
1
- import * as h33 from "h3";
1
+ import * as h35 from "h3";
2
2
 
3
3
  //#region src/routes/health.d.ts
4
- declare const _default: h33.EventHandler<h33.EventHandlerRequest, Promise<{
4
+ declare const _default: h35.EventHandler<h35.EventHandlerRequest, Promise<{
5
5
  status: string;
6
6
  message: string;
7
7
  timestamp: string;
@@ -1,4 +1,4 @@
1
- import { StandardSchemaV1 } from "./standard-schema.js";
1
+ import { StandardSchemaV1 } from "./standard-schema.mjs";
2
2
  import { ESMCodeGenOptions } from "knitwork";
3
3
  import { IResolvers } from "@graphql-tools/utils";
4
4
  import { TypeScriptPluginConfig } from "@graphql-codegen/typescript";
@@ -1,8 +1,8 @@
1
1
  //#region src/types/standard-schema.d.ts
2
2
  /** The Standard Schema interface. */
3
- interface StandardSchemaV1<Input$1 = unknown, Output$1 = Input$1> {
3
+ interface StandardSchemaV1<Input = unknown, Output = Input> {
4
4
  /** The Standard Schema properties. */
5
- readonly '~standard': StandardSchemaV1.Props<Input$1, Output$1>;
5
+ readonly '~standard': StandardSchemaV1.Props<Input, Output>;
6
6
  }
7
7
  declare namespace StandardSchemaV1 {
8
8
  /** The Standard Schema properties interface. */
@@ -1,4 +1,4 @@
1
- import { CodegenClientConfig, ExternalGraphQLService, GenericSdkConfig } from "../types/index.js";
1
+ import { CodegenClientConfig, ExternalGraphQLService, GenericSdkConfig } from "../types/index.mjs";
2
2
  import { GraphQLSchema } from "graphql";
3
3
  import { Source } from "@graphql-tools/utils";
4
4
  import { LoadSchemaOptions, UnnormalizedTypeDefPointer } from "@graphql-tools/load";
@@ -15,7 +15,11 @@ type ResolverQuery = Resolvers extends {
15
15
  declare function defineQuery(resolvers?: Resolvers['Query']): Resolvers;
16
16
  declare function defineMutation(resolvers?: Resolvers['Mutation']): Resolvers;
17
17
  declare function defineSubscription(resolvers?: Resolvers['Subscription']): Resolvers;
18
+ /**
19
+ * @deprecated Use `defineField` instead. This function will be removed in a future version.
20
+ */
18
21
  declare function defineType(resolvers: Resolvers): Resolvers;
22
+ declare function defineField(resolvers: Resolvers): Resolvers;
19
23
  type DefineServerConfig<T extends NPMConfig = NPMConfig> = T['framework'] extends 'graphql-yoga' ? Partial<YogaServerOptions<H3Event, Partial<H3Event>>> : T['framework'] extends 'apollo-server' ? Partial<ApolloServerOptions<H3Event>> : Partial<YogaServerOptions<H3Event, Partial<H3Event>>> | Partial<ApolloServerOptions<H3Event>>;
20
24
  declare function defineGraphQLConfig<T extends NPMConfig = NPMConfig>(config: Partial<DefineServerConfig<T>>): Partial<DefineServerConfig<T>>;
21
25
  type DirectiveLocationName = 'QUERY' | 'MUTATION' | 'SUBSCRIPTION' | 'FIELD' | 'FRAGMENT_DEFINITION' | 'FRAGMENT_SPREAD' | 'INLINE_FRAGMENT' | 'VARIABLE_DEFINITION' | 'SCHEMA' | 'SCALAR' | 'OBJECT' | 'FIELD_DEFINITION' | 'ARGUMENT_DEFINITION' | 'INTERFACE' | 'UNION' | 'ENUM' | 'ENUM_VALUE' | 'INPUT_OBJECT' | 'INPUT_FIELD_DEFINITION';
@@ -69,4 +73,4 @@ declare function arg<T extends GraphQLArgumentType>(type: T, options?: {
69
73
  }): DirectiveArgument<T>;
70
74
  declare function defineDirective(config: DefineDirectiveConfig): DirectiveDefinition;
71
75
  //#endregion
72
- export { DefineDirectiveConfig, DefineServerConfig, DirectiveArgument, DirectiveDefinition, GraphQLArgumentType, GraphQLBaseType, GraphQLScalarType, ResolverQuery, arg, defineDirective, defineGraphQLConfig, defineMutation, defineQuery, defineResolver, defineSchema, defineSubscription, defineType };
76
+ export { DefineDirectiveConfig, DefineServerConfig, DirectiveArgument, DirectiveDefinition, GraphQLArgumentType, GraphQLBaseType, GraphQLScalarType, ResolverQuery, arg, defineDirective, defineField, defineGraphQLConfig, defineMutation, defineQuery, defineResolver, defineSchema, defineSubscription, defineType };
@@ -14,9 +14,15 @@ function defineMutation(resolvers = {}) {
14
14
  function defineSubscription(resolvers = {}) {
15
15
  return { Subscription: { ...resolvers } };
16
16
  }
17
+ /**
18
+ * @deprecated Use `defineField` instead. This function will be removed in a future version.
19
+ */
17
20
  function defineType(resolvers) {
18
21
  return resolvers;
19
22
  }
23
+ function defineField(resolvers) {
24
+ return resolvers;
25
+ }
20
26
  function defineGraphQLConfig(config) {
21
27
  return config;
22
28
  }
@@ -54,4 +60,4 @@ function defineDirective(config) {
54
60
  }
55
61
 
56
62
  //#endregion
57
- export { arg, defineDirective, defineGraphQLConfig, defineMutation, defineQuery, defineResolver, defineSchema, defineSubscription, defineType };
63
+ export { arg, defineDirective, defineField, defineGraphQLConfig, defineMutation, defineQuery, defineResolver, defineSchema, defineSubscription, defineType };
@@ -1,5 +1,5 @@
1
- import { GenImport } from "../types/index.js";
2
- import { directiveParser, generateDirectiveSchema, generateDirectiveSchemas } from "./directive-parser.js";
1
+ import { GenImport } from "../types/index.mjs";
2
+ import { directiveParser, generateDirectiveSchema, generateDirectiveSchemas } from "./directive-parser.mjs";
3
3
  import { Nitro } from "nitropack";
4
4
 
5
5
  //#region src/utils/index.d.ts
@@ -1,8 +1,8 @@
1
- import { directiveParser, generateDirectiveSchema, generateDirectiveSchemas } from "./directive-parser.js";
1
+ import { directiveParser, generateDirectiveSchema, generateDirectiveSchemas } from "./directive-parser.mjs";
2
2
  import { join, relative } from "pathe";
3
3
  import { readFile } from "node:fs/promises";
4
4
  import { hash } from "ohash";
5
- import { parseAsync } from "oxc-parser";
5
+ import { parseSync } from "oxc-parser";
6
6
  import { glob } from "tinyglobby";
7
7
 
8
8
  //#region src/utils/index.ts
@@ -54,12 +54,13 @@ async function scanResolvers(nitro) {
54
54
  "defineQuery",
55
55
  "defineMutation",
56
56
  "defineType",
57
+ "defineField",
57
58
  "defineSubscription",
58
59
  "defineDirective"
59
60
  ];
60
61
  for (const file of files) try {
61
62
  const fileContent = await readFile(file.fullPath, "utf-8");
62
- const parsed = await parseAsync(file.fullPath, fileContent);
63
+ const parsed = parseSync(file.fullPath, fileContent);
63
64
  const exports = {
64
65
  imports: [],
65
66
  specifier: file.fullPath
@@ -94,6 +95,11 @@ async function scanResolvers(nitro) {
94
95
  type: "type",
95
96
  as: `_${hash(decl.id.name + file.fullPath).replace(/-/g, "").slice(0, 6)}`
96
97
  });
98
+ if (decl.init.callee.type === "Identifier" && decl.init.callee.name === "defineField") exports.imports.push({
99
+ name: decl.id.name,
100
+ type: "type",
101
+ as: `_${hash(decl.id.name + file.fullPath).replace(/-/g, "").slice(0, 6)}`
102
+ });
97
103
  if (decl.init.callee.type === "Identifier" && decl.init.callee.name === "defineSubscription") exports.imports.push({
98
104
  name: decl.id.name,
99
105
  type: "subscription",
@@ -129,7 +135,7 @@ async function scanDirectives(nitro) {
129
135
  const exportName = [];
130
136
  for (const file of files) {
131
137
  const fileContent = await readFile(file.fullPath, "utf-8");
132
- const parsed = await parseAsync(file.fullPath, fileContent);
138
+ const parsed = await parseSync(file.fullPath, fileContent);
133
139
  const exports = {
134
140
  imports: [],
135
141
  specifier: file.fullPath
@@ -1,4 +1,4 @@
1
- import { ClientUtilsConfig, FileGenerationConfig, ScaffoldConfig, SdkConfig, TypesConfig } from "../types/index.js";
1
+ import { ClientUtilsConfig, FileGenerationConfig, ScaffoldConfig, SdkConfig, TypesConfig } from "../types/index.mjs";
2
2
  import { Nitro } from "nitropack/types";
3
3
 
4
4
  //#region src/utils/path-resolver.d.ts
@@ -1,4 +1,4 @@
1
- import { NitroGraphQLOptions } from "../types/index.js";
1
+ import { NitroGraphQLOptions } from "../types/index.mjs";
2
2
  import { GraphQLSchema } from "graphql";
3
3
 
4
4
  //#region src/utils/server-codegen.d.ts
@@ -1,7 +1,7 @@
1
- import { downloadAndSaveSchema, generateClientTypes, generateExternalClientTypes, loadExternalSchema, loadGraphQLDocuments } from "./client-codegen.js";
2
- import { writeFileIfNotExists } from "./file-generator.js";
3
- import { getClientUtilsConfig, getDefaultPaths, getSdkConfig, getTypesConfig, resolveFilePath, shouldGenerateClientUtils, shouldGenerateTypes } from "./path-resolver.js";
4
- import { generateTypes } from "./server-codegen.js";
1
+ import { downloadAndSaveSchema, generateClientTypes, generateExternalClientTypes, loadExternalSchema, loadGraphQLDocuments } from "./client-codegen.mjs";
2
+ import { writeFileIfNotExists } from "./file-generator.mjs";
3
+ import { getClientUtilsConfig, getDefaultPaths, getSdkConfig, getTypesConfig, resolveFilePath, shouldGenerateClientUtils, shouldGenerateTypes } from "./path-resolver.mjs";
4
+ import { generateTypes } from "./server-codegen.mjs";
5
5
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
6
6
  import consola from "consola";
7
7
  import { basename, dirname, join, resolve } from "pathe";
package/package.json CHANGED
@@ -1,60 +1,64 @@
1
1
  {
2
2
  "name": "nitro-graphql",
3
3
  "type": "module",
4
- "version": "1.5.11",
4
+ "version": "1.6.1",
5
5
  "description": "GraphQL integration for Nitro",
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/productdevbook/nitro-graphql"
10
+ },
7
11
  "sideEffects": false,
8
12
  "imports": {
9
13
  "#graphql/server": {
10
- "types": "./dist/graphql/server.d.ts",
11
- "import": "./dist/graphql/server.js"
14
+ "types": "./dist/graphql/server.d.mts",
15
+ "import": "./dist/graphql/server.mjs"
12
16
  }
13
17
  },
14
18
  "exports": {
15
19
  ".": {
16
- "types": "./dist/index.d.ts",
17
- "import": "./dist/index.js"
20
+ "types": "./dist/index.d.mts",
21
+ "import": "./dist/index.mjs"
18
22
  },
19
23
  "./codegen": {
20
- "types": "./dist/codegen.d.ts",
21
- "import": "./dist/codegen.js"
24
+ "types": "./dist/codegen.d.mts",
25
+ "import": "./dist/codegen.mjs"
22
26
  },
23
27
  "./watcher": {
24
- "types": "./dist/watcher.d.ts",
25
- "import": "./dist/watcher.js"
28
+ "types": "./dist/watcher.d.mts",
29
+ "import": "./dist/watcher.mjs"
26
30
  },
27
31
  "./client-watcher": {
28
- "types": "./dist/client-watcher.d.ts",
29
- "import": "./dist/client-watcher.js"
32
+ "types": "./dist/client-watcher.d.mts",
33
+ "import": "./dist/client-watcher.mjs"
30
34
  },
31
35
  "./context": {
32
- "types": "./dist/context.d.ts",
33
- "import": "./dist/context.js"
36
+ "types": "./dist/context.d.mts",
37
+ "import": "./dist/context.mjs"
34
38
  },
35
39
  "./utils": {
36
- "types": "./dist/utils/index.d.ts",
37
- "import": "./dist/utils/index.js"
40
+ "types": "./dist/utils/index.d.mts",
41
+ "import": "./dist/utils/index.mjs"
38
42
  },
39
43
  "./utils/define": {
40
- "types": "./dist/utils/define.d.ts",
41
- "import": "./dist/utils/define.js"
44
+ "types": "./dist/utils/define.d.mts",
45
+ "import": "./dist/utils/define.mjs"
42
46
  },
43
47
  "./utils/apollo": {
44
- "types": "./dist/utils/apollo.d.ts",
45
- "import": "./dist/utils/apollo.js"
48
+ "types": "./dist/utils/apollo.d.mts",
49
+ "import": "./dist/utils/apollo.mjs"
46
50
  },
47
51
  "./internal": {
48
- "types": "./dist/internal/index.d.ts",
49
- "import": "./dist/internal/index.js"
52
+ "types": "./dist/internal/index.d.mts",
53
+ "import": "./dist/internal/index.mjs"
50
54
  },
51
55
  "./nuxt": {
52
- "types": "./dist/ecosystem/nuxt.d.ts",
53
- "import": "./dist/ecosystem/nuxt.js"
56
+ "types": "./dist/ecosystem/nuxt.d.mts",
57
+ "import": "./dist/ecosystem/nuxt.mjs"
54
58
  }
55
59
  },
56
- "module": "./dist/index.js",
57
- "types": "./dist/index.d.ts",
60
+ "module": "./dist/index.mjs",
61
+ "types": "./dist/index.d.mts",
58
62
  "files": [
59
63
  "dist"
60
64
  ],
@@ -78,47 +82,47 @@
78
82
  }
79
83
  },
80
84
  "dependencies": {
81
- "@apollo/subgraph": "^2.11.3",
85
+ "@apollo/subgraph": "^2.12.1",
82
86
  "@graphql-codegen/core": "^5.0.0",
83
87
  "@graphql-codegen/import-types-preset": "^3.0.1",
84
- "@graphql-codegen/typescript": "^5.0.2",
88
+ "@graphql-codegen/typescript": "^5.0.6",
85
89
  "@graphql-codegen/typescript-generic-sdk": "^4.0.2",
86
- "@graphql-codegen/typescript-operations": "^5.0.2",
87
- "@graphql-codegen/typescript-resolvers": "^5.1.0",
88
- "@graphql-tools/graphql-file-loader": "^8.1.2",
89
- "@graphql-tools/load": "^8.1.2",
90
+ "@graphql-codegen/typescript-operations": "^5.0.6",
91
+ "@graphql-codegen/typescript-resolvers": "^5.1.4",
92
+ "@graphql-tools/graphql-file-loader": "^8.1.8",
93
+ "@graphql-tools/load": "^8.1.7",
90
94
  "@graphql-tools/load-files": "^7.0.1",
91
- "@graphql-tools/merge": "^9.1.1",
92
- "@graphql-tools/schema": "^10.0.25",
93
- "@graphql-tools/url-loader": "^9.0.0",
94
- "@graphql-tools/utils": "^10.9.1",
95
- "chokidar": "^4.0.3",
95
+ "@graphql-tools/merge": "^9.1.6",
96
+ "@graphql-tools/schema": "^10.0.30",
97
+ "@graphql-tools/url-loader": "^9.0.5",
98
+ "@graphql-tools/utils": "^10.11.0",
99
+ "chokidar": "^5.0.0",
96
100
  "consola": "^3.4.2",
97
101
  "defu": "^6.1.4",
98
102
  "graphql-config": "^5.1.5",
99
103
  "graphql-scalars": "^1.25.0",
100
- "knitwork": "^1.2.0",
104
+ "knitwork": "^1.3.0",
101
105
  "ohash": "^2.0.11",
102
- "oxc-parser": "^0.95.0",
106
+ "oxc-parser": "^0.101.0",
103
107
  "pathe": "^2.0.3",
104
108
  "tinyglobby": "^0.2.15"
105
109
  },
106
110
  "devDependencies": {
107
- "@antfu/eslint-config": "^6.0.0",
108
- "@nuxt/kit": "^4.1.3",
109
- "@nuxt/schema": "^4.1.3",
110
- "@types/node": "^24.9.1",
111
- "bumpp": "^10.3.1",
111
+ "@antfu/eslint-config": "^6.3.0",
112
+ "@nuxt/kit": "^4.2.1",
113
+ "@nuxt/schema": "^4.2.1",
114
+ "@types/node": "^24.10.1",
115
+ "bumpp": "^10.3.2",
112
116
  "changelogen": "^0.6.2",
113
117
  "crossws": "0.3.5",
114
- "eslint": "^9.38.0",
118
+ "eslint": "^9.39.1",
115
119
  "graphql": "16.11.0",
116
- "graphql-yoga": "^5.16.0",
120
+ "graphql-yoga": "^5.17.1",
117
121
  "h3": "1.15.3",
118
- "nitropack": "^2.12.7",
119
- "tsdown": "^0.15.9",
122
+ "nitropack": "^2.12.9",
123
+ "tsdown": "^0.16.8",
120
124
  "typescript": "^5.9.3",
121
- "vitepress-plugin-llms": "^1.8.1"
125
+ "vitepress-plugin-llms": "^1.9.3"
122
126
  },
123
127
  "resolutions": {
124
128
  "nitro-graphql": "link:."
@@ -127,7 +131,7 @@
127
131
  "build": "tsdown",
128
132
  "dev": "tsdown --watch",
129
133
  "bumpp": "bumpp package.json",
130
- "release": "pnpm build && pnpm bumpp && pnpm publish --no-git-checks --access public",
134
+ "release": "pnpm build && pnpm bumpp",
131
135
  "playground:nitro": "cd playgrounds/nitro && pnpm install && pnpm dev",
132
136
  "playground:nuxt": "cd playgrounds/nuxt && pnpm install && pnpm dev",
133
137
  "playground:federation": "cd playgrounds/federation && pnpm install && pnpm dev",
@@ -1,6 +0,0 @@
1
- import * as h35 from "h3";
2
-
3
- //#region src/routes/apollo-server.d.ts
4
- declare const _default: h35.EventHandler<h35.EventHandlerRequest, Promise<any>>;
5
- //#endregion
6
- export { _default as default };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes