@as-integrations/h3 1.1.3 → 1.1.4

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/README.md CHANGED
@@ -5,7 +5,9 @@
5
5
  [![Github Actions][github-actions-src]][github-actions-href]
6
6
  [![Codecov][codecov-src]][codecov-href]
7
7
 
8
- This package allows you to easily integrate [Apollo Server](https://www.apollographql.com/docs/apollo-server/) with your [h3](https://github.com/unjs/h3) or [nuxt](v3.nuxtjs.org) application.
8
+ This package allows you to easily integrate [Apollo Server](https://www.apollographql.com/docs/apollo-server/) with your [h3](https://github.com/unjs/h3) or [Nuxt 3](v3.nuxtjs.org) application.
9
+
10
+ > For defining a GraphQL server in Nuxt 3, you may want to have a look at the [GraphQL server toolkit Nuxt module](https://github.com/tobiasdiez/nuxt-graphql-server).
9
11
 
10
12
  ## Installation
11
13
 
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { BaseContext, ContextFunction, ApolloServer } from '@apollo/server';
2
2
  import { H3Event, EventHandler } from 'h3';
3
3
 
4
- declare type WithRequired<T, K extends keyof T> = T & Required<Pick<T, K>>;
4
+ type WithRequired<T, K extends keyof T> = T & Required<Pick<T, K>>;
5
5
  interface H3ContextFunctionArgument {
6
6
  event: H3Event;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@as-integrations/h3",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "An Apollo Server integration for use with h3 or Nuxt",
5
5
  "repository": "github:apollo-server-integrations/apollo-server-integration-h3",
6
6
  "license": "MIT",
@@ -21,14 +21,14 @@
21
21
  ],
22
22
  "peerDependencies": {
23
23
  "@apollo/server": "^4.1.1",
24
- "h3": "^0.8.6"
24
+ "h3": "^0.8.6 || ^1.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@apollo/server": "^4.1.1",
28
28
  "@apollo/server-integration-testsuite": "^4.1.1",
29
- "@apollo/utils.withrequired": "^1.0.1",
29
+ "@apollo/utils.withrequired": "^2.0.0",
30
30
  "@jest/globals": "^29.2.2",
31
- "@nuxtjs/eslint-config-typescript": "^11.0.0",
31
+ "@nuxtjs/eslint-config-typescript": "^12.0.0",
32
32
  "@typescript-eslint/eslint-plugin": "^5.42.0",
33
33
  "@typescript-eslint/parser": "^5.42.0",
34
34
  "@vitest/coverage-c8": "^0.24.5",
@@ -36,13 +36,13 @@
36
36
  "eslint-config-prettier": "^8.5.0",
37
37
  "eslint-plugin-unused-imports": "^2.0.0",
38
38
  "graphql": "^16.6.0",
39
- "h3": "^0.8.6",
39
+ "h3": "^1.0.1",
40
40
  "jest": "^29.2.2",
41
41
  "prettier": "^2.7.1",
42
42
  "standard-version": "^9.5.0",
43
43
  "ts-jest": "^29.0.3",
44
44
  "typescript": "^4.8.4",
45
- "unbuild": "^0.9.4",
45
+ "unbuild": "^1.0.1",
46
46
  "vitest": "^0.24.5"
47
47
  },
48
48
  "packageManager": "pnpm@7.14.2",