nitro-graphql 2.0.0-beta.33 → 2.0.0-beta.34

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,6 +1,6 @@
1
- import * as nitro_deps_h30 from "nitro/deps/h3";
1
+ import * as nitro_deps_h31 from "nitro/deps/h3";
2
2
 
3
3
  //#region src/routes/apollo-server.d.ts
4
- declare const _default: nitro_deps_h30.EventHandlerWithFetch<nitro_deps_h30.EventHandlerRequest, Promise<any>>;
4
+ declare const _default: nitro_deps_h31.EventHandlerWithFetch<nitro_deps_h31.EventHandlerRequest, Promise<any>>;
5
5
  //#endregion
6
6
  export { _default as default };
@@ -1,4 +1,4 @@
1
- import * as nitro_deps_h35 from "nitro/deps/h3";
1
+ import * as nitro_deps_h33 from "nitro/deps/h3";
2
2
 
3
3
  //#region src/routes/debug.d.ts
4
4
 
@@ -10,7 +10,7 @@ import * as nitro_deps_h35 from "nitro/deps/h3";
10
10
  * - /_nitro/graphql/debug - HTML dashboard
11
11
  * - /_nitro/graphql/debug?format=json - JSON API
12
12
  */
13
- declare const _default: nitro_deps_h35.EventHandlerWithFetch<nitro_deps_h35.EventHandlerRequest, Promise<string | {
13
+ declare const _default: nitro_deps_h33.EventHandlerWithFetch<nitro_deps_h33.EventHandlerRequest, Promise<string | {
14
14
  timestamp: string;
15
15
  environment: {
16
16
  dev: any;
@@ -1,6 +1,6 @@
1
- import * as nitro_deps_h31 from "nitro/deps/h3";
1
+ import * as nitro_deps_h30 from "nitro/deps/h3";
2
2
 
3
3
  //#region src/routes/graphql-yoga.d.ts
4
- declare const _default: nitro_deps_h31.EventHandlerWithFetch<nitro_deps_h31.EventHandlerRequest, Promise<Response>>;
4
+ declare const _default: nitro_deps_h30.EventHandlerWithFetch<nitro_deps_h30.EventHandlerRequest, Promise<Response>>;
5
5
  //#endregion
6
6
  export { _default as default };
@@ -1,7 +1,7 @@
1
- import * as nitro_deps_h33 from "nitro/deps/h3";
1
+ import * as nitro_deps_h35 from "nitro/deps/h3";
2
2
 
3
3
  //#region src/routes/health.d.ts
4
- declare const _default: nitro_deps_h33.EventHandlerWithFetch<nitro_deps_h33.EventHandlerRequest, Promise<{
4
+ declare const _default: nitro_deps_h35.EventHandlerWithFetch<nitro_deps_h35.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.33",
5
- "packageManager": "pnpm@10.24.0",
4
+ "version": "2.0.0-beta.34",
6
5
  "description": "GraphQL integration for Nitro",
7
6
  "license": "MIT",
8
7
  "repository": {
@@ -75,12 +74,70 @@
75
74
  "files": [
76
75
  "dist"
77
76
  ],
77
+ "peerDependencies": {
78
+ "@apollo/server": "^5.0.0",
79
+ "graphql": "^16.11.0",
80
+ "nitro": "^3.0.1-alpha.0"
81
+ },
82
+ "peerDependenciesMeta": {
83
+ "@apollo/server": {
84
+ "optional": true
85
+ }
86
+ },
87
+ "dependencies": {
88
+ "@apollo/subgraph": "^2.12.1",
89
+ "@graphql-codegen/core": "^5.0.0",
90
+ "@graphql-codegen/import-types-preset": "^3.0.1",
91
+ "@graphql-codegen/typescript": "^5.0.6",
92
+ "@graphql-codegen/typescript-generic-sdk": "^4.0.2",
93
+ "@graphql-codegen/typescript-operations": "^5.0.6",
94
+ "@graphql-codegen/typescript-resolvers": "^5.1.4",
95
+ "@graphql-tools/graphql-file-loader": "^8.1.8",
96
+ "@graphql-tools/load": "^8.1.7",
97
+ "@graphql-tools/load-files": "^7.0.1",
98
+ "@graphql-tools/merge": "^9.1.6",
99
+ "@graphql-tools/schema": "^10.0.30",
100
+ "@graphql-tools/url-loader": "^9.0.5",
101
+ "@graphql-tools/utils": "^10.11.0",
102
+ "chokidar": "^5.0.0",
103
+ "consola": "^3.4.2",
104
+ "defu": "^6.1.4",
105
+ "graphql-config": "^5.1.5",
106
+ "graphql-scalars": "^1.25.0",
107
+ "knitwork": "^1.3.0",
108
+ "ohash": "^2.0.11",
109
+ "oxc-parser": "^0.101.0",
110
+ "pathe": "^2.0.3",
111
+ "tinyglobby": "^0.2.15"
112
+ },
113
+ "devDependencies": {
114
+ "@antfu/eslint-config": "^6.3.0",
115
+ "@nuxt/kit": "^4.2.1",
116
+ "@nuxt/schema": "^4.2.1",
117
+ "@types/node": "^24.10.1",
118
+ "@vitejs/devtools": "^0.0.0-alpha.16",
119
+ "@vitest/ui": "^4.0.15",
120
+ "bumpp": "^10.3.2",
121
+ "changelogen": "^0.6.2",
122
+ "crossws": "^0.4.1",
123
+ "eslint": "^9.39.1",
124
+ "graphql": "16.12.0",
125
+ "graphql-yoga": "5.16.2",
126
+ "nitro": "npm:nitro-nightly@latest",
127
+ "tsdown": "^0.16.8",
128
+ "typescript": "^5.9.3",
129
+ "vite": "npm:rolldown-vite@latest",
130
+ "vitepress-plugin-llms": "^1.9.3",
131
+ "vitest": "^4.0.15"
132
+ },
133
+ "resolutions": {
134
+ "nitro-graphql": "link:."
135
+ },
78
136
  "scripts": {
79
- "prepack": "pnpm build",
80
137
  "build": "tsdown",
81
138
  "dev": "tsdown --watch",
82
139
  "bumpp": "bumpp package.json",
83
- "release": "pnpm build && pnpm bumpp && pnpm publish --no-git-checks --access public",
140
+ "release": "pnpm build && pnpm bumpp",
84
141
  "playground:nitro": "cd playgrounds/nitro && pnpm install && pnpm dev",
85
142
  "playground:nuxt": "cd playgrounds/nuxt && pnpm install && pnpm dev",
86
143
  "playground:federation": "cd playgrounds/federation && pnpm install && pnpm dev",
@@ -94,70 +151,5 @@
94
151
  "test:run": "vitest run",
95
152
  "test:coverage": "vitest run --coverage",
96
153
  "test:types": "tsc --noEmit"
97
- },
98
- "peerDependencies": {
99
- "@apollo/server": "^5.0.0",
100
- "graphql": "^16.11.0",
101
- "nitro": "^3.0.1-alpha.0"
102
- },
103
- "peerDependenciesMeta": {
104
- "@apollo/server": {
105
- "optional": true
106
- }
107
- },
108
- "dependencies": {
109
- "@apollo/subgraph": "catalog:",
110
- "@graphql-codegen/core": "catalog:",
111
- "@graphql-codegen/import-types-preset": "catalog:",
112
- "@graphql-codegen/typescript": "catalog:",
113
- "@graphql-codegen/typescript-generic-sdk": "catalog:",
114
- "@graphql-codegen/typescript-operations": "catalog:",
115
- "@graphql-codegen/typescript-resolvers": "catalog:",
116
- "@graphql-tools/graphql-file-loader": "catalog:",
117
- "@graphql-tools/load": "catalog:",
118
- "@graphql-tools/load-files": "catalog:",
119
- "@graphql-tools/merge": "catalog:",
120
- "@graphql-tools/schema": "catalog:",
121
- "@graphql-tools/url-loader": "catalog:",
122
- "@graphql-tools/utils": "catalog:",
123
- "chokidar": "catalog:",
124
- "consola": "catalog:",
125
- "defu": "catalog:",
126
- "graphql-config": "catalog:",
127
- "graphql-scalars": "catalog:",
128
- "knitwork": "catalog:",
129
- "ohash": "catalog:",
130
- "oxc-parser": "catalog:",
131
- "pathe": "catalog:",
132
- "tinyglobby": "catalog:"
133
- },
134
- "devDependencies": {
135
- "@antfu/eslint-config": "catalog:",
136
- "@nuxt/kit": "catalog:",
137
- "@nuxt/schema": "catalog:",
138
- "@types/node": "catalog:",
139
- "@vitejs/devtools": "catalog:",
140
- "@vitest/ui": "catalog:",
141
- "bumpp": "catalog:",
142
- "changelogen": "catalog:",
143
- "crossws": "catalog:",
144
- "eslint": "catalog:",
145
- "graphql": "catalog:",
146
- "graphql-yoga": "catalog:",
147
- "nitro": "catalog:",
148
- "tsdown": "catalog:",
149
- "typescript": "catalog:",
150
- "vite": "catalog:",
151
- "vitepress-plugin-llms": "catalog:",
152
- "vitest": "catalog:"
153
- },
154
- "pnpm": {
155
- "overrides": {
156
- "nitro": "npm:nitro-nightly@latest",
157
- "vite": "npm:rolldown-vite@latest"
158
- }
159
- },
160
- "resolutions": {
161
- "nitro-graphql": "link:."
162
154
  }
163
- }
155
+ }