Describe the need
It'd be nice to be able to import @octokit/graphql-schema/schema.graphql and @octokit/graphql-schema/schema.json, which should mean adding this to the package.json:
{
"exports": {
"./schema.graphql": "./schema.graphql",
"./schema.json": "./schema.json"
}
}
This would allow to reference the file directly for @graphql-codegen/cli:
import type { CodegenConfig } from "@graphql-codegen/cli";
const config: CodegenConfig = {
schema: import.meta.resolve("@octokit/graphql-schema/schema.graphql"),
};
export default config;
SDK Version
No response
API Version
No response
Relevant log output
Code of Conduct
Describe the need
It'd be nice to be able to import
@octokit/graphql-schema/schema.graphqland@octokit/graphql-schema/schema.json, which should mean adding this to the package.json:{ "exports": { "./schema.graphql": "./schema.graphql", "./schema.json": "./schema.json" } }This would allow to reference the file directly for
@graphql-codegen/cli:SDK Version
No response
API Version
No response
Relevant log output
Code of Conduct