Skip to content

Commit

Permalink
Update package.json with export types field (#959)
Browse files Browse the repository at this point in the history
* Update package.json with export types field

* Updates

* pretty

* dedupe
  • Loading branch information
PabloSzx committed Jan 4, 2024
1 parent 87d1b6f commit 933522a
Show file tree
Hide file tree
Showing 95 changed files with 5,205 additions and 4,512 deletions.
37 changes: 37 additions & 0 deletions .changeset/late-deers-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
'graphql-ez-testing': patch
'@graphql-ez/client': patch
'@graphql-ez/cloudflare': patch
'graphql-ez': patch
'@graphql-ez/utils': patch
'@graphql-ez/express': patch
'@graphql-ez/express-testing': patch
'@graphql-ez/fastify': patch
'@graphql-ez/fastify-testing': patch
'@graphql-ez/hapi': patch
'@graphql-ez/hapi-testing': patch
'@pablosz/graphql-helix': patch
'@pablosz/graphql-helix-graphiql': patch
'@graphql-ez/http': patch
'@graphql-ez/http-testing': patch
'@graphql-ez/koa': patch
'@graphql-ez/koa-testing': patch
'@graphql-ez/nextjs': patch
'@graphql-ez/nextjs-testing': patch
'@graphql-ez/plugin-altair': patch
'@graphql-ez/plugin-automatic-persisted-queries': patch
'@graphql-ez/plugin-codegen': patch
'@graphql-ez/plugin-dataloader': patch
'@graphql-ez/plugin-graphiql': patch
'@graphql-ez/plugin-modules': patch
'@graphql-ez/plugin-scalars': patch
'@graphql-ez/plugin-schema': patch
'@graphql-ez/plugin-sse': patch
'@graphql-ez/plugin-upload': patch
'@graphql-ez/plugin-voyager': patch
'@graphql-ez/plugin-websockets': patch
'@graphql-ez/sveltekit': patch
'@graphql-ez/vercel': patch
---

Update package.json with export types field
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm pretty-quick --staged
pnpx lint-staged
6 changes: 3 additions & 3 deletions benchmarks/apis/envelop-fastify-raw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"@envelop/types": "^3.0.1",
"@envelop/validation-cache": "^5.0.4",
"benchmark-bench": "workspace:*",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "16.1.0-experimental-stream-defer.6",
"require-env-variable": "^4.0.1"
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions benchmarks/apis/express-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"devDependencies": {
"@types/express": "^4.17.15",
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions benchmarks/apis/ez-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
6 changes: 3 additions & 3 deletions benchmarks/apis/ez-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"@graphql-ez/fastify": "workspace:*",
"benchmark-bench": "workspace:*",
"cross-env": "^7.0.3",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "16.1.0-experimental-stream-defer.6",
"graphql-ez": "workspace:*",
"require-env-variable": "^4.0.1"
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions benchmarks/apis/ez-hapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions benchmarks/apis/ez-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions benchmarks/apis/ez-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"@types/koa-bodyparser": "^4.3.10",
"@types/koa__router": "^12.0.0",
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
6 changes: 3 additions & 3 deletions benchmarks/apis/graphql-helix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
},
"dependencies": {
"benchmark-bench": "workspace:*",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "16.1.0-experimental-stream-defer.6",
"graphql-helix": "^1.13.0",
"require-env-variable": "^4.0.1"
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
6 changes: 3 additions & 3 deletions benchmarks/apis/mercurius/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"dependencies": {
"benchmark-bench": "workspace:*",
"cross-env": "^7.0.3",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "^16.6.0",
"mercurius": "^11.4.0",
"require-env-variable": "^4.0.1"
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
},
"dependenciesMeta": {
"benchmark-bench": {
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"@types/node": "^18.11.15",
"@types/rimraf": "^3.0.2",
"@types/wait-on": "^5.3.1",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"graphql": "16.1.0-experimental-stream-defer.6",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
},
"peerDependencies": {
"graphql": "*"
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"concurrently": "^7.6.0",
"esbuild": "^0.16.9",
"miniflare": "^2.11.0",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions examples/express/complete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"devDependencies": {
"@types/express": "^4.17.15",
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
6 changes: 3 additions & 3 deletions examples/express/complete/src/ez.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,22 @@ export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig<ResolversT

export type QueryResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']
ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query'],
> = {
hello?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
hello2?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
};

export type SubscriptionResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription']
ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription'],
> = {
hello?: SubscriptionResolver<ResolversTypes['String'], 'hello', ParentType, ContextType>;
};

export type MutationResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Mutation'] = ResolversParentTypes['Mutation']
ParentType extends ResolversParentTypes['Mutation'] = ResolversParentTypes['Mutation'],
> = {
uploadFileToBase64?: Resolver<
ResolversTypes['String'],
Expand Down
6 changes: 3 additions & 3 deletions examples/fastify/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"@graphql-ez/fastify": "workspace:*",
"@graphql-ez/plugin-codegen": "workspace:*",
"@graphql-ez/plugin-schema": "workspace:*",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "16.1.0-experimental-stream-defer.6",
"graphql-ez": "workspace:*"
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
6 changes: 3 additions & 3 deletions examples/fastify/complete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"@graphql-ez/plugin-voyager": "workspace:*",
"@graphql-ez/plugin-websockets": "workspace:*",
"@types/graphql-upload": "^8.0.12",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "16.1.0-experimental-stream-defer.6",
"graphql-ez": "workspace:*",
"graphql-upload": "^13.0.0"
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
6 changes: 3 additions & 3 deletions examples/fastify/complete/src/ez.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig<ResolversT

export type QueryResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']
ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query'],
> = {
hello?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
hello2?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
Expand All @@ -157,14 +157,14 @@ export type QueryResolvers<

export type SubscriptionResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription']
ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription'],
> = {
hello?: SubscriptionResolver<ResolversTypes['String'], 'hello', ParentType, ContextType>;
};

export type MutationResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Mutation'] = ResolversParentTypes['Mutation']
ParentType extends ResolversParentTypes['Mutation'] = ResolversParentTypes['Mutation'],
> = {
uploadFileToBase64?: Resolver<
ResolversTypes['String'],
Expand Down
6 changes: 3 additions & 3 deletions examples/fastify/nexus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
},
"dependencies": {
"@graphql-ez/fastify": "workspace:*",
"@graphql-ez/plugin-altair": "workspace:*",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "16.1.0-experimental-stream-defer.6",
"graphql-ez": "workspace:*",
"nexus": "^1.3.0"
Expand Down
6 changes: 3 additions & 3 deletions examples/fastify/pothos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"@graphql-ez/fastify": "workspace:*",
"@graphql-ez/plugin-graphiql": "workspace:*",
"@pothos/core": "^3.23.2",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "16.1.0-experimental-stream-defer.6",
"graphql-ez": "workspace:*"
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions examples/fastify/type-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@graphql-ez/fastify": "workspace:*",
"@graphql-ez/plugin-altair": "workspace:*",
"class-validator": "^0.13.2",
"fastify": "^4.10.2",
"fastify": "^4.25.2",
"graphql": "^15.8.0",
"graphql-ez": "workspace:*",
"reflect-metadata": "^0.1.13",
Expand All @@ -20,7 +20,7 @@
"@types/node": "^18.11.15",
"esbuild": "^0.16.9",
"tsc-watch": "^6.0.0",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
},
"dependenciesMeta": {
"graphql-ez": {
Expand Down
4 changes: 2 additions & 2 deletions examples/hapi/complete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions examples/hapi/complete/src/ez.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig<ResolversT

export type QueryResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']
ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query'],
> = {
hello?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
hello2?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
Expand All @@ -132,7 +132,7 @@ export type QueryResolvers<

export type SubscriptionResolvers<
ContextType = EZContext,
ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription']
ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription'],
> = {
hello?: SubscriptionResolver<ResolversTypes['String'], 'hello', ParentType, ContextType>;
};
Expand Down
4 changes: 2 additions & 2 deletions examples/http/complete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
"devDependencies": {
"@types/node": "^18.11.15",
"bob-tsm": "^1.1.2",
"bob-tsm": "2.0.0-alpha-227aebc.0",
"esbuild": "^0.16.9",
"typescript": "^4.9.4"
"typescript": "^5.3.3"
}
}
Loading

1 comment on commit 933522a

@vercel
Copy link

@vercel vercel bot commented on 933522a Jan 4, 2024

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.