Skip to content

Commit

Permalink
Minor housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Oct 23, 2023
1 parent 0d3167f commit 762cc2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions fixtures/plugins/graphql-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "@fixtures/_template",
"name": "@fixtures/graphql-codegen",
"version": "*",
"devDependencies": {
"@graphql-codegen/cli": "*"
},
"codegen": {
"schema": "schema.graphql",
"documents": ["src/**/*.tsx", "!src/gql/**/*"],
"documents": [
"src/**/*.tsx",
"!src/gql/**/*"
],
"generates": {
"./src/gql/": {
"preset": "client"
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigurationValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export const pluginSchema = z.union([
]);

const pluginsSchema = z.object({
'graphql-codegen': pluginSchema,
astro: pluginSchema,
angular: pluginSchema,
ava: pluginSchema,
Expand All @@ -87,6 +86,7 @@ const pluginsSchema = z.object({
eslint: pluginSchema,
gatsby: pluginSchema,
'github-actions': pluginSchema,
'graphql-codegen': pluginSchema,
husky: pluginSchema,
jest: pluginSchema,
lefthook: pluginSchema,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export * as drizzle from './drizzle/index.js';
export * as eslint from './eslint/index.js';
export * as gatsby from './gatsby/index.js';
export * as githubActions from './github-actions/index.js';
export * as graphqlCodegen from './graphql-codegen/index.js';
export * as husky from './husky/index.js';
export * as jest from './jest/index.js';
export * as lefthook from './lefthook/index.js';
Expand Down Expand Up @@ -43,4 +44,3 @@ export * as typescript from './typescript/index.js';
export * as vite from './vite/index.js';
export * as vitest from './vitest/index.js';
export * as webpack from './webpack/index.js';
export * as graphqlCodegen from './graphql-codegen/index.js';

0 comments on commit 762cc2c

Please sign in to comment.