Skip to content

Commit

Permalink
upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Nov 30, 2024
1 parent f08ac58 commit a57c047
Show file tree
Hide file tree
Showing 99 changed files with 4,749 additions and 3,855 deletions.
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"packages/deno/packages",
".vscode/**/*",
"generated.ts",
"codegen/schema/prisma-inputs.ts"
"codegen/schema/prisma-inputs.ts",
"schema.graphql"
]
},
"formatter": {
Expand Down
20 changes: 10 additions & 10 deletions examples/complex-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"seed": "tsx prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^9.0.0",
"@faker-js/faker": "^9.2.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-dataloader": "workspace:*",
Expand All @@ -26,24 +26,24 @@
"@pothos/plugin-scope-auth": "workspace:*",
"@pothos/plugin-simple-objects": "workspace:*",
"@pothos/plugin-zod": "workspace:*",
"@prisma/client": "^5.19.1",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"graphql-scalars": "^1.23.0",
"graphql-yoga": "5.7.0",
"prisma": "^5.19.1",
"graphql-scalars": "^1.24.0",
"graphql-yoga": "5.10.4",
"prisma": "^6.0.0",
"react": "^18.3.1",
"urql": "^4.1.0",
"urql": "^4.2.1",
"zod": "^3.23.8"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.3.3",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/client-preset": "4.5.1",
"@graphql-codegen/introspection": "4.0.3",
"@graphql-codegen/schema-ast": "^4.1.0",
"@types/node": "^22.5.4",
"typescript": "^5.5.4"
"@types/node": "^22.10.1",
"typescript": "^5.7.2"
}
}
2 changes: 1 addition & 1 deletion examples/complex-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig.json",
"compilerOptions": {
"strict": true,
"skipLibCheck": false,
"skipLibCheck": true,
"target": "es2019",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
Expand Down
4 changes: 2 additions & 2 deletions examples/envelope-helix-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"dependencies": {
"@envelop/core": "^5.0.2",
"@faker-js/faker": "^9.0.0",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"fastify": "^4.28.1",
"fastify": "^5.1.0",
"graphql": "^16.8.1",
"graphql-helix": "^1.13.0"
},
Expand Down
11 changes: 8 additions & 3 deletions examples/envelope-helix-fastify/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ app.route({
},
});

app.listen(PORT, () => {
console.log(`🚀 Server started at http://127.0.0.1:${PORT}/graphql`);
});
app.listen(
{
port: PORT,
},
() => {
console.log(`🚀 Server started at http://127.0.0.1:${PORT}/graphql`);
},
);
2 changes: 1 addition & 1 deletion examples/envelope-helix-fastify/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"rootDir": "src",
"strict": true,
"skipLibCheck": false,
"skipLibCheck": true,
"target": "es2019",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
Expand Down
12 changes: 6 additions & 6 deletions examples/federation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@apollo/gateway": "2.9.0",
"@apollo/server": "^4.11.0",
"@apollo/subgraph": "2.9.0",
"@faker-js/faker": "^9.0.0",
"@apollo/gateway": "2.9.3",
"@apollo/server": "^4.11.2",
"@apollo/subgraph": "2.9.3",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-directives": "workspace:*",
"@pothos/plugin-federation": "workspace:*",
"@prisma/client": "^5.19.1",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"prisma": "^5.19.1"
"prisma": "^6.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig.json",
"compilerOptions": {
"strict": true,
"skipLibCheck": false,
"skipLibCheck": true,
"target": "es2019",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
Expand Down
4 changes: 2 additions & 2 deletions examples/graphql-shield/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@faker-js/faker": "^9.0.0",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"graphql": "^16.8.1",
"graphql-middleware": "^6.1.35",
"graphql-shield": "^7.6.5",
"graphql-yoga": "5.7.0"
"graphql-yoga": "5.10.4"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion examples/helix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@faker-js/faker": "^9.0.0",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"graphql": "^16.8.1",
"graphql-helix": "^1.13.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/helix/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"rootDir": "src",
"strict": true,
"skipLibCheck": false,
"skipLibCheck": true,
"target": "es2019",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
Expand Down
28 changes: 14 additions & 14 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@
"start": "next start"
},
"dependencies": {
"@apollo/client": "^3.11.8",
"@faker-js/faker": "^9.0.0",
"@apollo/client": "^3.11.10",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"@tanstack/react-query": "^5.55.2",
"@tanstack/react-query": "^5.62.0",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"graphql-yoga": "5.7.0",
"next": "14.2.8",
"graphql-yoga": "5.10.4",
"next": "15.0.3",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
"@graphql-codegen/schema-ast": "^4.1.0",
"@graphql-codegen/typescript": "^4.0.9",
"@graphql-codegen/typescript-operations": "^4.2.3",
"@graphql-codegen/typescript-react-apollo": "^4.3.1",
"@types/node": "22.5.4",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"concurrently": "^9.0.0",
"typescript": "^5.5.4"
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
"@types/node": "22.10.1",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"concurrently": "^9.1.0",
"typescript": "^5.7.2"
},
"engines": {
"node": ">=12.0.0"
Expand Down
15 changes: 3 additions & 12 deletions examples/nextjs/styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,8 @@
border-radius: 5px;
padding: 0.75rem;
font-size: 1.1rem;
font-family:
Menlo,
Monaco,
Lucida Console,
Liberation Mono,
DejaVu Sans Mono,
Bitstream Vera Sans Mono,
Courier New,
monospace;
font-family: Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono",
"Bitstream Vera Sans Mono", "Courier New", monospace;
}

.grid {
Expand All @@ -88,9 +81,7 @@
text-decoration: none;
border: 1px solid #eaeaea;
border-radius: 10px;
transition:
color 0.15s ease,
border-color 0.15s ease;
transition: color 0.15s ease, border-color 0.15s ease;
max-width: 300px;
}

Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ body {
Ubuntu,
Cantarell,
Fira Sans,
Droid Sans,
Helvetica Neue,
"Droid Sans",
"Helvetica Neue",
sans-serif;
}

Expand Down
12 changes: 6 additions & 6 deletions examples/open-telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"license": "MIT",
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-zipkin": "^1.26.0",
"@opentelemetry/instrumentation": "^0.53.0",
"@opentelemetry/instrumentation-http": "^0.53.0",
"@opentelemetry/sdk-trace-base": "^1.26.0",
"@opentelemetry/sdk-trace-node": "^1.26.0",
"@opentelemetry/exporter-zipkin": "^1.28.0",
"@opentelemetry/instrumentation": "^0.55.0",
"@opentelemetry/instrumentation-http": "^0.55.0",
"@opentelemetry/sdk-trace-base": "^1.28.0",
"@opentelemetry/sdk-trace-node": "^1.28.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-tracing": "workspace:*",
"@pothos/tracing-opentelemetry": "workspace:*",
"bema": "^0.1.2",
"graphql": "^16.8.1",
"graphql-yoga": "5.7.0",
"graphql-yoga": "5.10.4",
"tsm": "^2.3.0"
},
"publishConfig": {
Expand Down
12 changes: 6 additions & 6 deletions examples/prisma-federation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@apollo/gateway": "2.9.0",
"@apollo/server": "^4.11.0",
"@apollo/subgraph": "2.9.0",
"@faker-js/faker": "^9.0.0",
"@apollo/gateway": "2.9.3",
"@apollo/server": "^4.11.2",
"@apollo/subgraph": "2.9.3",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-directives": "workspace:*",
"@pothos/plugin-federation": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"@prisma/client": "^5.19.1",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"prisma": "^5.19.1"
"prisma": "^6.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion examples/prisma-federation/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig.json",
"compilerOptions": {
"strict": true,
"skipLibCheck": false,
"skipLibCheck": true,
"target": "es2019",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
Expand Down
8 changes: 4 additions & 4 deletions examples/prisma-relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^9.0.0",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"@prisma/client": "^5.19.1",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"graphql-yoga": "5.7.0",
"prisma": "^5.19.1"
"graphql-yoga": "5.10.4",
"prisma": "^6.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion examples/prisma-relay/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig.json",
"compilerOptions": {
"strict": true,
"skipLibCheck": false,
"skipLibCheck": true,
"target": "es2019",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
Expand Down
18 changes: 9 additions & 9 deletions examples/prisma-smart-subscriptions-apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@apollo/server": "^4.11.0",
"@faker-js/faker": "^9.0.0",
"@apollo/server": "^4.11.2",
"@faker-js/faker": "^9.2.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-smart-subscriptions": "workspace:*",
"@prisma/client": "^5.19.1",
"body-parser": "^1.20.2",
"@prisma/client": "^6.0.0",
"body-parser": "^1.20.3",
"cors": "^2.8.5",
"express": "^4.19.2",
"express": "^4.21.1",
"graphql": "^16.8.1",
"graphql-subscriptions": "^2.0.0",
"graphql-subscriptions": "^3.0.0",
"graphql-ws": "^5.16.0",
"prisma": "^5.19.1",
"prisma": "^6.0.0",
"ws": "^8.18.0"
},
"publishConfig": {
Expand All @@ -35,7 +35,7 @@
"devDependencies": {
"@types/body-parser": "^1.19.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/ws": "^8.5.12"
"@types/express": "^5.0.0",
"@types/ws": "^8.5.13"
}
}
2 changes: 1 addition & 1 deletion examples/prisma-smart-subscriptions-apollo/src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ export const builder = new SchemaBuilder<{
client: db,
},
smartSubscriptions: {
...subscribeOptionsFromIterator((name) => pubsub.asyncIterator(name)),
...subscribeOptionsFromIterator((name) => pubsub.asyncIterableIterator(name)),
},
});
2 changes: 1 addition & 1 deletion examples/prisma-smart-subscriptions-apollo/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const server = new ApolloServer({
'/graphql',
cors<cors.CorsRequest>(),
bodyParser.json(),
expressMiddleware(server, { context: createContext }),
expressMiddleware(server, { context: createContext }) as never,
);
})();

Expand Down
Loading

0 comments on commit a57c047

Please sign in to comment.