Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Sep 6, 2023
1 parent 2945f72 commit 9930fd6
Show file tree
Hide file tree
Showing 77 changed files with 3,833 additions and 4,296 deletions.
24 changes: 12 additions & 12 deletions examples/complex-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"types": "src/index.ts",
"scripts": {
"generate": "prisma generate && pnpm run schema",
"schema": "node -r @swc-node/register scripts/build-schema.ts",
"schema": "tsx scripts/build-schema.ts",
"seed": "prisma migrate reset -f",
"start": "node -r @swc-node/register src/server.ts",
"start": "tsx src/server.ts",
"type": "tsc --noEmit",
"codegen": "graphql-codegen --config codegen.ts"
},
"prisma": {
"seed": "node -r @swc-node/register prisma/seed.ts"
"seed": "tsx prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^8.0.2",
Expand All @@ -26,23 +26,23 @@
"@pothos/plugin-scope-auth": "workspace:*",
"@pothos/plugin-simple-objects": "workspace:*",
"@pothos/plugin-validation": "workspace:*",
"@prisma/client": "^5.0.0",
"graphql": "16.7.1",
"@prisma/client": "^5.2.0",
"graphql": "16.8.0",
"graphql-scalars": "^1.22.2",
"graphql-yoga": "4.0.3",
"prisma": "^5.0.0",
"graphql-yoga": "4.0.4",
"prisma": "^5.2.0",
"react": "^18.2.0",
"urql": "^4.0.4"
"urql": "^4.0.5"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@graphql-codegen/cli": "4.0.1",
"@graphql-codegen/client-preset": "4.0.1",
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/client-preset": "4.1.0",
"@graphql-codegen/introspection": "4.0.0",
"@graphql-codegen/schema-ast": "^4.0.0",
"@types/node": "^20.4.2",
"typescript": "^5.1.6"
"@types/node": "^20.5.9",
"typescript": "^5.2.2"
}
}
6 changes: 3 additions & 3 deletions examples/envelope-helix-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@envelop/core": "^4.0.0",
"@envelop/core": "^4.0.1",
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"fastify": "^4.20.0",
"graphql": "16.7.1",
"fastify": "^4.22.2",
"graphql": "16.8.0",
"graphql-helix": "^1.13.0"
},
"publishConfig": {
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 @@ -11,10 +11,10 @@
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"graphql": "16.7.1",
"graphql": "16.8.0",
"graphql-middleware": "^6.1.35",
"graphql-shield": "^7.6.5",
"graphql-yoga": "4.0.3"
"graphql-yoga": "4.0.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 @@ -11,7 +11,7 @@
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"graphql": "16.7.1",
"graphql": "16.8.0",
"graphql-helix": "^1.13.0"
},
"publishConfig": {
Expand Down
20 changes: 10 additions & 10 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.7.17",
"@apollo/client": "^3.8.3",
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"@tanstack/react-query": "^4.29.25",
"graphql": "16.7.1",
"@tanstack/react-query": "^4.33.0",
"graphql": "16.8.0",
"graphql-tag": "^2.12.6",
"graphql-yoga": "4.0.3",
"next": "13.4.10",
"graphql-yoga": "4.0.4",
"next": "13.4.19",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^4.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/near-operation-file-preset": "^2.5.0",
"@graphql-codegen/schema-ast": "^4.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@types/node": "20.4.2",
"@types/react": "18.2.15",
"@types/node": "20.5.9",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"concurrently": "^8.2.0",
"typescript": "^5.1.6"
"concurrently": "^8.2.1",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=12.0.0"
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.4.1",
"@opentelemetry/exporter-zipkin": "^1.15.0",
"@opentelemetry/exporter-zipkin": "^1.15.2",
"@opentelemetry/instrumentation": "^0.41.2",
"@opentelemetry/instrumentation-http": "^0.41.0",
"@opentelemetry/sdk-trace-base": "^1.15.0",
"@opentelemetry/sdk-trace-node": "^1.15.0",
"@opentelemetry/instrumentation-http": "^0.41.2",
"@opentelemetry/sdk-trace-base": "^1.15.2",
"@opentelemetry/sdk-trace-node": "^1.15.2",
"@pothos/core": "workspace:*",
"@pothos/plugin-tracing": "workspace:*",
"@pothos/tracing-opentelemetry": "workspace:*",
"bema": "^0.1.2",
"graphql": "16.7.1",
"graphql-yoga": "4.0.3",
"graphql": "16.8.0",
"graphql-yoga": "4.0.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.5.1",
"@apollo/server": "^4.7.5",
"@apollo/subgraph": "2.5.1",
"@apollo/gateway": "2.5.4",
"@apollo/server": "^4.9.3",
"@apollo/subgraph": "2.5.4",
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"@pothos/plugin-directives": "workspace:*",
"@pothos/plugin-federation": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"@prisma/client": "^5.0.0",
"graphql": "16.7.1",
"prisma": "^5.0.0"
"@prisma/client": "^5.2.0",
"graphql": "16.8.0",
"prisma": "^5.2.0"
},
"publishConfig": {
"access": "public"
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 @@ -18,10 +18,10 @@
"@pothos/core": "^3.33.0",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"@prisma/client": "^5.0.0",
"graphql": "16.7.1",
"graphql-yoga": "4.0.3",
"prisma": "^5.0.0"
"@prisma/client": "^5.2.0",
"graphql": "16.8.0",
"graphql-yoga": "4.0.4",
"prisma": "^5.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 5 additions & 5 deletions examples/prisma-smart-subscriptions-apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@apollo/server": "^4.7.5",
"@apollo/server": "^4.9.3",
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-smart-subscriptions": "workspace:*",
"@prisma/client": "^5.0.0",
"@prisma/client": "^5.2.0",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"express": "^4.18.2",
"graphql": "16.7.1",
"graphql": "16.8.0",
"graphql-subscriptions": "^2.0.0",
"graphql-ws": "^5.14.0",
"prisma": "^5.0.0",
"prisma": "^5.2.0",
"ws": "^8.13.0"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.13",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/ws": "^8.5.5"
}
Expand Down
8 changes: 4 additions & 4 deletions examples/prisma-subscriptions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@prisma/client": "^5.0.0",
"graphql": "16.7.1",
"@prisma/client": "^5.2.0",
"graphql": "16.8.0",
"graphql-subscriptions": "^2.0.0",
"graphql-yoga": "4.0.3",
"prisma": "^5.0.0"
"graphql-yoga": "4.0.4",
"prisma": "^5.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions examples/prisma-subscriptions/src/pubsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export interface PubSubPostEvent extends PubSubEvent {
}

export interface PuSubEvents
extends Record<string, [PubSubEvent] | [string | number, PubSubEvent]> {
user: [string | number, PubSubUserEvent];
post: [string | number, PubSubPostEvent];
extends Record<string, [number | string, PubSubEvent] | [PubSubEvent]> {
user: [number | string, PubSubUserEvent];
post: [number | string, PubSubPostEvent];
users: [PubSubUserEvent];
posts: [PubSubPostEvent];
}
Expand Down
8 changes: 4 additions & 4 deletions examples/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@prisma/client": "^5.0.0",
"graphql": "16.7.1",
"graphql-yoga": "4.0.3",
"prisma": "^5.0.0"
"@prisma/client": "^5.2.0",
"graphql": "16.8.0",
"graphql-yoga": "4.0.4",
"prisma": "^5.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions examples/relay-windowed-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"graphql": "16.7.1",
"graphql-yoga": "4.0.3",
"prisma": "^5.0.0"
"graphql": "16.8.0",
"graphql-yoga": "4.0.4",
"prisma": "^5.2.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions examples/simple-classes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"graphql": "16.7.1",
"graphql-yoga": "4.0.3"
"graphql": "16.8.0",
"graphql-yoga": "4.0.4"
},
"publishConfig": {
"access": "public"
Expand Down
22 changes: 18 additions & 4 deletions examples/simple-classes/src/data.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-parameter-properties */
/* eslint-disable max-classes-per-file */
/* eslint-disable no-magic-numbers */
import { faker } from '@faker-js/faker';
Expand All @@ -7,31 +6,46 @@ faker.seed(123);

export class User {
firstName;

lastName;

constructor(public id: string) {
id;

constructor(id: string) {
this.id = id;
this.firstName = faker.person.firstName();
this.lastName = faker.person.lastName();
}
}

export class Post {
id;

authorId;

title;

content;

constructor(public id: string) {
constructor(id: string) {
this.id = id;
this.authorId = String(faker.number.int({ min: 1, max: 100 }));
this.title = faker.lorem.text();
this.content = faker.lorem.paragraphs(2);
}
}

export class Comment {
id;

postId;

authorId;

comment;
constructor(public id: string) {

constructor(id: string) {
this.id = id;
this.authorId = String(faker.number.int({ min: 1, max: 100 }));
this.postId = String(faker.number.int({ min: 1, max: 100 }));
this.comment = faker.lorem.text();
Expand Down
4 changes: 2 additions & 2 deletions examples/simple-interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@pothos/core": "workspace:*",
"graphql": "16.7.1",
"graphql-yoga": "4.0.3"
"graphql": "16.8.0",
"graphql-yoga": "4.0.4"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

1 comment on commit 9930fd6

@vercel
Copy link

@vercel vercel bot commented on 9930fd6 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.