@as-integrations/h3 1.0.0 → 1.1.0
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 +3 -3
- package/dist/index.cjs +0 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -14,10 +14,10 @@ This package allows you to easily integrate [Apollo Server](https://www.apollogr
|
|
|
14
14
|
npm install @apollo/server graphql @as-integrations/h3
|
|
15
15
|
|
|
16
16
|
# yarn
|
|
17
|
-
yarn
|
|
17
|
+
yarn add @apollo/server graphql @as-integrations/h3
|
|
18
18
|
|
|
19
19
|
# pnpm
|
|
20
|
-
pnpm
|
|
20
|
+
pnpm add @apollo/server graphql @as-integrations/h3
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Usage with Nuxt v3
|
|
@@ -43,7 +43,7 @@ export default startServerAndCreateH3Handler(apollo, {
|
|
|
43
43
|
Create and configure an instance of Apollo Server as described in the [documentation](https://www.apollographql.com/docs/apollo-server/getting-started#step-6-create-an-instance-of-apolloserver) and then register it as a route handler in your `h3` application.
|
|
44
44
|
|
|
45
45
|
```js
|
|
46
|
-
import { createApp } from 'h3'
|
|
46
|
+
import { createApp, toNodeListener } from 'h3'
|
|
47
47
|
import { ApolloServer } from '@apollo/server'
|
|
48
48
|
import { startServerAndCreateH3Handler } from '@as-integrations/h3'
|
|
49
49
|
|
package/dist/index.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@as-integrations/h3",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "An Apollo Server integration for use with h3 or Nuxt",
|
|
5
5
|
"repository": "apollo-server-integrations/apollo-server-integration-h3",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@apollo/server": "^4.0.0",
|
|
24
|
-
"h3": "^0.
|
|
24
|
+
"h3": "^0.8.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@apollo/server": "^4.0.0",
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
"@nuxtjs/eslint-config-typescript": "^11.0.0",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
|
33
33
|
"@typescript-eslint/parser": "^5.40.0",
|
|
34
|
-
"@vitest/coverage-c8": "^0.24.
|
|
34
|
+
"@vitest/coverage-c8": "^0.24.3",
|
|
35
35
|
"eslint": "^8.25.0",
|
|
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.
|
|
39
|
+
"h3": "^0.8.1",
|
|
40
40
|
"jest": "^29.2.0",
|
|
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.
|
|
46
|
-
"vitest": "^0.24.
|
|
45
|
+
"unbuild": "^0.9.4",
|
|
46
|
+
"vitest": "^0.24.3"
|
|
47
47
|
},
|
|
48
|
-
"packageManager": "pnpm@7.13.
|
|
48
|
+
"packageManager": "pnpm@7.13.5",
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "unbuild",
|
|
51
51
|
"test": "vitest dev",
|