{"owner":"dotansimha","repo":"graphql-code-generator","hasSkills":true,"totalSkillsCount":4,"totalTokensCount":808,"categories":["plugin-manifest"],"hasMcp":false,"mcpConfig":null,"found":["packages/graphql-cli-codegen-plugin/README.md","packages/graphql-codegen-cli/README.md","packages/graphql-codegen-core/README.md","packages/presets/swc-plugin/README.md"],"skills":{"packages/graphql-cli-codegen-plugin/README.md":"# GraphQL Code Generator plugin for GraphQL CLI\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n\nThe plugin `@graphql-cli/codegen` is deprecated, and no longer maintained.\n\nPlease visit\n[Migrating from GraphQL-CLI to Inspector CLI](https://the-guild.dev/graphql/inspector/docs/migration-guides/from-graphql-cli)\ndocumentation to get more information about migration from `GraphQL-CLI` to `Inspector CLI` or visit\n[GraphQL-CLI documentation](../../website/content/docs/guides/graphql-cli.mdx) in GraphQL Code\nGenerator.\n","packages/graphql-codegen-cli/README.md":"# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n","packages/graphql-codegen-core/README.md":"# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n","packages/presets/swc-plugin/README.md":"# `@graphql-codegen/client-preset-swc-plugin`\n\nWhen using the\n[`@graphql-codegen/client-preset`](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client)\non large scale projects might want to enable code splitting or tree shaking on the `client-preset`\ngenerated files. This is because instead of using the map which contains all GraphQL operations in\nthe project, we can use the specific generated document types.\n\nThis plugin works for [SWC](https://swc.rs) only.\n\n### Installation\n\n```bash\npnpm add -D @graphql-codegen/client-preset-swc-plugin\n```\n\n### Usage\n\nYou will need to provide the `artifactDirectory` path that should be the same as the one configured\nin your `codegen.ts`\n\n#### Vite\n\n```ts\nimport { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react-swc'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [\n    react({\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    })\n  ]\n})\n```\n\n#### Next.js\n\n```ts\nconst nextConfig = {\n  // ...\n  experimental: {\n    swcPlugins: [\n      [\n        '@graphql-codegen/client-preset-swc-plugin',\n        { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n      ]\n    ]\n  }\n}\n```\n\n#### `.swcrc`\n\n```json5\n{\n  // ...\n  jsc: {\n    // ...\n    experimental: {\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    }\n  }\n}\n```\n\n### Release\n\nTo publish a new version ensure you have done the following:\n\n- Update the version in `package.json`\n- Update the `CHANGELOG.md` with the new version and changes\n- Commit the changes\n- From GitHub Actions, run the `Rust plugin` workflow\n"},"files":{"packages/graphql-cli-codegen-plugin/README.md":"# GraphQL Code Generator plugin for GraphQL CLI\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n\nThe plugin `@graphql-cli/codegen` is deprecated, and no longer maintained.\n\nPlease visit\n[Migrating from GraphQL-CLI to Inspector CLI](https://the-guild.dev/graphql/inspector/docs/migration-guides/from-graphql-cli)\ndocumentation to get more information about migration from `GraphQL-CLI` to `Inspector CLI` or visit\n[GraphQL-CLI documentation](../../website/content/docs/guides/graphql-cli.mdx) in GraphQL Code\nGenerator.\n","packages/graphql-codegen-cli/README.md":"# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n","packages/graphql-codegen-core/README.md":"# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n","packages/presets/swc-plugin/README.md":"# `@graphql-codegen/client-preset-swc-plugin`\n\nWhen using the\n[`@graphql-codegen/client-preset`](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client)\non large scale projects might want to enable code splitting or tree shaking on the `client-preset`\ngenerated files. This is because instead of using the map which contains all GraphQL operations in\nthe project, we can use the specific generated document types.\n\nThis plugin works for [SWC](https://swc.rs) only.\n\n### Installation\n\n```bash\npnpm add -D @graphql-codegen/client-preset-swc-plugin\n```\n\n### Usage\n\nYou will need to provide the `artifactDirectory` path that should be the same as the one configured\nin your `codegen.ts`\n\n#### Vite\n\n```ts\nimport { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react-swc'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [\n    react({\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    })\n  ]\n})\n```\n\n#### Next.js\n\n```ts\nconst nextConfig = {\n  // ...\n  experimental: {\n    swcPlugins: [\n      [\n        '@graphql-codegen/client-preset-swc-plugin',\n        { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n      ]\n    ]\n  }\n}\n```\n\n#### `.swcrc`\n\n```json5\n{\n  // ...\n  jsc: {\n    // ...\n    experimental: {\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    }\n  }\n}\n```\n\n### Release\n\nTo publish a new version ensure you have done the following:\n\n- Update the version in `package.json`\n- Update the `CHANGELOG.md` with the new version and changes\n- Commit the changes\n- From GitHub Actions, run the `Rust plugin` workflow\n"},"items":[{"name":"README.md","path":"packages/graphql-cli-codegen-plugin/README.md","rawUrl":"https://raw.githubusercontent.com/dotansimha/graphql-code-generator/HEAD/packages/graphql-cli-codegen-plugin/README.md","title":"graphql-cli-codegen-plugin Documentation","category":"plugin-manifest","format":"markdown","content":"# GraphQL Code Generator plugin for GraphQL CLI\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n\nThe plugin `@graphql-cli/codegen` is deprecated, and no longer maintained.\n\nPlease visit\n[Migrating from GraphQL-CLI to Inspector CLI](https://the-guild.dev/graphql/inspector/docs/migration-guides/from-graphql-cli)\ndocumentation to get more information about migration from `GraphQL-CLI` to `Inspector CLI` or visit\n[GraphQL-CLI documentation](../../website/content/docs/guides/graphql-cli.mdx) in GraphQL Code\nGenerator.\n","isInternal":false,"tokens":185,"sizeBytes":803},{"name":"README.md","path":"packages/graphql-codegen-cli/README.md","rawUrl":"https://raw.githubusercontent.com/dotansimha/graphql-code-generator/HEAD/packages/graphql-codegen-cli/README.md","title":"graphql-codegen-cli Documentation","category":"plugin-manifest","format":"markdown","content":"# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n","isInternal":false,"tokens":85,"sizeBytes":357},{"name":"README.md","path":"packages/graphql-codegen-core/README.md","rawUrl":"https://raw.githubusercontent.com/dotansimha/graphql-code-generator/HEAD/packages/graphql-codegen-core/README.md","title":"graphql-codegen-core Documentation","category":"plugin-manifest","format":"markdown","content":"# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n","isInternal":false,"tokens":85,"sizeBytes":357},{"name":"README.md","path":"packages/presets/swc-plugin/README.md","rawUrl":"https://raw.githubusercontent.com/dotansimha/graphql-code-generator/HEAD/packages/presets/swc-plugin/README.md","title":"swc-plugin Documentation","category":"plugin-manifest","format":"markdown","content":"# `@graphql-codegen/client-preset-swc-plugin`\n\nWhen using the\n[`@graphql-codegen/client-preset`](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client)\non large scale projects might want to enable code splitting or tree shaking on the `client-preset`\ngenerated files. This is because instead of using the map which contains all GraphQL operations in\nthe project, we can use the specific generated document types.\n\nThis plugin works for [SWC](https://swc.rs) only.\n\n### Installation\n\n```bash\npnpm add -D @graphql-codegen/client-preset-swc-plugin\n```\n\n### Usage\n\nYou will need to provide the `artifactDirectory` path that should be the same as the one configured\nin your `codegen.ts`\n\n#### Vite\n\n```ts\nimport { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react-swc'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [\n    react({\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    })\n  ]\n})\n```\n\n#### Next.js\n\n```ts\nconst nextConfig = {\n  // ...\n  experimental: {\n    swcPlugins: [\n      [\n        '@graphql-codegen/client-preset-swc-plugin',\n        { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n      ]\n    ]\n  }\n}\n```\n\n#### `.swcrc`\n\n```json5\n{\n  // ...\n  jsc: {\n    // ...\n    experimental: {\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    }\n  }\n}\n```\n\n### Release\n\nTo publish a new version ensure you have done the following:\n\n- Update the version in `package.json`\n- Update the `CHANGELOG.md` with the new version and changes\n- Commit the changes\n- From GitHub Actions, run the `Rust plugin` workflow\n","isInternal":false,"tokens":453,"sizeBytes":1816}],"systemPromptSnippet":"<yakaai_skills repo=\"dotansimha/graphql-code-generator\">\n<!-- File: packages/graphql-cli-codegen-plugin/README.md (Tokens: ~185 | Category: plugin-manifest) -->\n# GraphQL Code Generator plugin for GraphQL CLI\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n\nThe plugin `@graphql-cli/codegen` is deprecated, and no longer maintained.\n\nPlease visit\n[Migrating from GraphQL-CLI to Inspector CLI](https://the-guild.dev/graphql/inspector/docs/migration-guides/from-graphql-cli)\ndocumentation to get more information about migration from `GraphQL-CLI` to `Inspector CLI` or visit\n[GraphQL-CLI documentation](../../website/content/docs/guides/graphql-cli.mdx) in GraphQL Code\nGenerator.\n\n<!-- File: packages/graphql-codegen-cli/README.md (Tokens: ~85 | Category: plugin-manifest) -->\n# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n\n<!-- File: packages/graphql-codegen-core/README.md (Tokens: ~85 | Category: plugin-manifest) -->\n# GraphQL Code Generator\n\n<p align=\"center\">\n    <img src=\"https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true\" />\n</p>\n\nLive demo and full documentation:\n[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)\n\nProject repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)\n\n<!-- File: packages/presets/swc-plugin/README.md (Tokens: ~453 | Category: plugin-manifest) -->\n# `@graphql-codegen/client-preset-swc-plugin`\n\nWhen using the\n[`@graphql-codegen/client-preset`](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client)\non large scale projects might want to enable code splitting or tree shaking on the `client-preset`\ngenerated files. This is because instead of using the map which contains all GraphQL operations in\nthe project, we can use the specific generated document types.\n\nThis plugin works for [SWC](https://swc.rs) only.\n\n### Installation\n\n```bash\npnpm add -D @graphql-codegen/client-preset-swc-plugin\n```\n\n### Usage\n\nYou will need to provide the `artifactDirectory` path that should be the same as the one configured\nin your `codegen.ts`\n\n#### Vite\n\n```ts\nimport { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react-swc'\n\n// https://vitejs.dev/config/\nexport default defineConfig({\n  plugins: [\n    react({\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    })\n  ]\n})\n```\n\n#### Next.js\n\n```ts\nconst nextConfig = {\n  // ...\n  experimental: {\n    swcPlugins: [\n      [\n        '@graphql-codegen/client-preset-swc-plugin',\n        { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n      ]\n    ]\n  }\n}\n```\n\n#### `.swcrc`\n\n```json5\n{\n  // ...\n  jsc: {\n    // ...\n    experimental: {\n      plugins: [\n        [\n          '@graphql-codegen/client-preset-swc-plugin',\n          { artifactDirectory: './src/gql', gqlTagName: 'graphql' }\n        ]\n      ]\n    }\n  }\n}\n```\n\n### Release\n\nTo publish a new version ensure you have done the following:\n\n- Update the version in `package.json`\n- Update the `CHANGELOG.md` with the new version and changes\n- Commit the changes\n- From GitHub Actions, run the `Rust plugin` workflow\n</yakaai_skills>"}