nitro-graphql 2.0.0-beta.7 → 2.0.0-beta.8

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.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { StandardSchemaV1 } from "./types/standard-schema.js";
2
2
  import { ClientUtilsConfig, CodegenClientConfig, CodegenServerConfig, ExternalGraphQLService, ExternalServicePaths, FederationConfig, FileGenerationConfig, GenImport, GenericSdkConfig, NitroGraphQLOptions, PathsConfig, ScaffoldConfig, SdkConfig, TypesConfig } from "./types/index.js";
3
- import * as nitropack_types0 from "nitropack/types";
3
+ import * as nitro_types0 from "nitro/types";
4
4
 
5
5
  //#region src/index.d.ts
6
- declare const _default: nitropack_types0.NitroModule;
6
+ declare const _default: nitro_types0.NitroModule;
7
7
  //#endregion
8
8
  export { ClientUtilsConfig, CodegenClientConfig, CodegenServerConfig, ExternalGraphQLService, ExternalServicePaths, FederationConfig, FileGenerationConfig, GenImport, GenericSdkConfig, NitroGraphQLOptions, PathsConfig, ScaffoldConfig, SdkConfig, StandardSchemaV1, TypesConfig, _default as default };
@@ -1,4 +1,4 @@
1
- import * as h31 from "h3";
1
+ import * as h35 from "h3";
2
2
 
3
3
  //#region src/routes/debug.d.ts
4
4
 
@@ -10,7 +10,7 @@ import * as h31 from "h3";
10
10
  * - /_nitro/graphql/debug - HTML dashboard
11
11
  * - /_nitro/graphql/debug?format=json - JSON API
12
12
  */
13
- declare const _default: h31.EventHandlerWithFetch<h31.EventHandlerRequest, Promise<string | {
13
+ declare const _default: h35.EventHandlerWithFetch<h35.EventHandlerRequest, Promise<string | {
14
14
  timestamp: string;
15
15
  environment: {
16
16
  dev: any;
@@ -1,7 +1,7 @@
1
- import * as h35 from "h3";
1
+ import * as h31 from "h3";
2
2
 
3
3
  //#region src/routes/health.d.ts
4
- declare const _default: h35.EventHandlerWithFetch<h35.EventHandlerRequest, Promise<{
4
+ declare const _default: h31.EventHandlerWithFetch<h31.EventHandlerRequest, Promise<{
5
5
  status: string;
6
6
  message: string;
7
7
  timestamp: string;
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "nitro-graphql",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.7",
5
- "packageManager": "pnpm@10.20.0",
4
+ "version": "2.0.0-beta.8",
6
5
  "description": "GraphQL integration for Nitro",
7
6
  "license": "MIT",
8
7
  "sideEffects": false,
@@ -87,21 +86,6 @@
87
86
  "files": [
88
87
  "dist"
89
88
  ],
90
- "scripts": {
91
- "prepack": "pnpm build",
92
- "build": "tsdown",
93
- "dev": "tsdown --watch",
94
- "bumpp": "bumpp package.json",
95
- "release": "pnpm build && pnpm bumpp && pnpm publish --no-git-checks --access public",
96
- "playground:nitro": "cd playgrounds/nitro && pnpm install && pnpm dev",
97
- "playground:nuxt": "cd playgrounds/nuxt && pnpm install && pnpm dev",
98
- "playground:federation": "cd playgrounds/federation && pnpm install && pnpm dev",
99
- "docs:dev": "cd .docs && pnpm install && pnpm dev",
100
- "docs:build": "cd .docs && pnpm install && pnpm build",
101
- "docs:preview": "cd .docs && pnpm preview",
102
- "lint": "eslint .",
103
- "lint:fix": "eslint . --fix"
104
- },
105
89
  "peerDependencies": {
106
90
  "@apollo/server": "^5.0.0",
107
91
  "@apollo/utils.withrequired": "^3.0.0",
@@ -122,49 +106,63 @@
122
106
  }
123
107
  },
124
108
  "dependencies": {
125
- "@apollo/subgraph": "catalog:",
126
- "@graphql-codegen/core": "catalog:",
127
- "@graphql-codegen/import-types-preset": "catalog:",
128
- "@graphql-codegen/typescript": "catalog:",
129
- "@graphql-codegen/typescript-generic-sdk": "catalog:",
130
- "@graphql-codegen/typescript-operations": "catalog:",
131
- "@graphql-codegen/typescript-resolvers": "catalog:",
132
- "@graphql-tools/graphql-file-loader": "catalog:",
133
- "@graphql-tools/load": "catalog:",
134
- "@graphql-tools/load-files": "catalog:",
135
- "@graphql-tools/merge": "catalog:",
136
- "@graphql-tools/schema": "catalog:",
137
- "@graphql-tools/url-loader": "catalog:",
138
- "@graphql-tools/utils": "catalog:",
139
- "chokidar": "catalog:",
140
- "consola": "catalog:",
141
- "defu": "catalog:",
142
- "graphql-config": "catalog:",
143
- "graphql-scalars": "catalog:",
144
- "knitwork": "catalog:",
145
- "ohash": "catalog:",
146
- "oxc-parser": "catalog:",
147
- "pathe": "catalog:",
148
- "tinyglobby": "catalog:"
109
+ "@apollo/subgraph": "^2.11.3",
110
+ "@graphql-codegen/core": "^5.0.0",
111
+ "@graphql-codegen/import-types-preset": "^3.0.1",
112
+ "@graphql-codegen/typescript": "^5.0.2",
113
+ "@graphql-codegen/typescript-generic-sdk": "^4.0.2",
114
+ "@graphql-codegen/typescript-operations": "^5.0.2",
115
+ "@graphql-codegen/typescript-resolvers": "^5.1.0",
116
+ "@graphql-tools/graphql-file-loader": "^8.1.3",
117
+ "@graphql-tools/load": "^8.1.3",
118
+ "@graphql-tools/load-files": "^7.0.1",
119
+ "@graphql-tools/merge": "^9.1.2",
120
+ "@graphql-tools/schema": "^10.0.26",
121
+ "@graphql-tools/url-loader": "^9.0.1",
122
+ "@graphql-tools/utils": "^10.10.0",
123
+ "chokidar": "^4.0.3",
124
+ "consola": "^3.4.2",
125
+ "defu": "^6.1.4",
126
+ "graphql-config": "^5.1.5",
127
+ "graphql-scalars": "^1.25.0",
128
+ "knitwork": "^1.2.0",
129
+ "ohash": "^2.0.11",
130
+ "oxc-parser": "^0.96.0",
131
+ "pathe": "^2.0.3",
132
+ "tinyglobby": "^0.2.15"
149
133
  },
150
134
  "devDependencies": {
151
- "@antfu/eslint-config": "catalog:",
152
- "@nuxt/kit": "catalog:",
153
- "@nuxt/schema": "catalog:",
154
- "@types/node": "catalog:",
155
- "bumpp": "catalog:",
156
- "changelogen": "catalog:",
157
- "crossws": "catalog:",
158
- "eslint": "catalog:",
159
- "graphql": "catalog:",
160
- "graphql-yoga": "catalog:",
161
- "h3": "catalog:",
162
- "nitro": "catalog:",
163
- "tsdown": "catalog:",
164
- "typescript": "catalog:",
135
+ "@antfu/eslint-config": "^6.2.0",
136
+ "@nuxt/kit": "^4.2.0",
137
+ "@nuxt/schema": "^4.2.0",
138
+ "@types/node": "^24.10.0",
139
+ "bumpp": "^10.3.1",
140
+ "changelogen": "^0.6.2",
141
+ "crossws": "0.3.5",
142
+ "eslint": "^9.39.0",
143
+ "graphql": "16.11.0",
144
+ "graphql-yoga": "^5.16.0",
145
+ "h3": "^2.0.1-rc.5",
146
+ "nitro": "^3.0.1-alpha.0",
147
+ "tsdown": "^0.15.12",
148
+ "typescript": "^5.9.3",
165
149
  "vitepress-plugin-llms": "^1.8.1"
166
150
  },
167
151
  "resolutions": {
168
152
  "nitro-graphql": "link:."
153
+ },
154
+ "scripts": {
155
+ "build": "tsdown",
156
+ "dev": "tsdown --watch",
157
+ "bumpp": "bumpp package.json",
158
+ "release": "pnpm build && pnpm bumpp && pnpm publish --no-git-checks --access public",
159
+ "playground:nitro": "cd playgrounds/nitro && pnpm install && pnpm dev",
160
+ "playground:nuxt": "cd playgrounds/nuxt && pnpm install && pnpm dev",
161
+ "playground:federation": "cd playgrounds/federation && pnpm install && pnpm dev",
162
+ "docs:dev": "cd .docs && pnpm install && pnpm dev",
163
+ "docs:build": "cd .docs && pnpm install && pnpm build",
164
+ "docs:preview": "cd .docs && pnpm preview",
165
+ "lint": "eslint .",
166
+ "lint:fix": "eslint . --fix"
169
167
  }
170
- }
168
+ }