{"_id":"@dmamontov/graphql-mesh-type-defs-transform","_rev":"2-baf37a3deae83c8748cfdb1daf77660a","name":"@dmamontov/graphql-mesh-type-defs-transform","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@dmamontov/graphql-mesh-type-defs-transform","version":"1.0.0","author":{"name":"Dmitry Mamontov"},"type":"module","repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-type-defs-transform.git"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"require":{"types":"./dist/typings/index.d.cts","default":"./dist/cjs/index.js"},"import":{"types":"./dist/typings/index.d.ts","default":"./dist/esm/index.js"},"default":{"types":"./dist/typings/index.d.ts","default":"./dist/esm/index.js"}},"./package.json":"./package.json"},"typings":"dist/typings/index.d.ts","scripts":{"build":"bob build","lint":"eslint ."},"peerDependencies":{"graphql":"*"},"dependencies":{"@graphql-tools/code-file-loader":"^8.1.1","@graphql-tools/delegate":"^10.0.4","@graphql-tools/graphql-file-loader":"^8.0.1","@graphql-tools/load":"^8.0.2","graphql":"*"},"devDependencies":{"@babel/core":"7.24.5","@eslint/js":"8.57.0","@theguild/prettier-config":"2.0.6","@types/node":"20.12.2","@typescript-eslint/eslint-plugin":"7.4.0","@typescript-eslint/parser":"7.4.0","bob-the-bundler":"7.0.1","eslint":"8.57.0","eslint-config-love":"43.1.0","eslint-config-prettier":"9.1.0","eslint-config-standard":"17.1.0","eslint-formatter-stylish":"8.40.0","eslint-import-resolver-alias":"1.1.2","eslint-import-resolver-typescript":"3.6.1","eslint-plugin-import":"2.29.1","eslint-plugin-jsonc":"2.14.1","eslint-plugin-n":"16.6.2","eslint-plugin-prettier":"5.1.3","eslint-plugin-promise":"6.1.1","eslint-plugin-sonar":"0.13.2","eslint-plugin-standard":"5.0.0","eslint-plugin-unicorn":"51.0.1","prettier":"3.2.5","ts-node":"10.9.2","typescript":"5.4.3"},"publishConfig":{"access":"public","directory":"dist"},"sideEffects":false,"typescript":{"definition":"dist/typings/index.d.ts"},"_id":"@dmamontov/graphql-mesh-type-defs-transform@1.0.0","gitHead":"f9dbdf2fc905714eb30ba052c49277bddecdfc7e","description":"Type Defs Transform - is a transformation plugin for GraphQL Mesh that allows you to extend and modify your existing GraphQL schema. This transform provides a powerful way to add new types, extend existing ones, or even introduce new queries and mutations","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-type-defs-transform/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-type-defs-transform#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-vYVrhFOhJh7CVrIZFvTY+ZraMlaxG58ppt8LDXUZPMqBLP16YqFxQl5Jl/nW29u/fgl5fiM4ZMh0LGpg0RlHUg==","shasum":"45e6d60bc8b326821ffa69167ab31a328bc97fb0","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-type-defs-transform/-/graphql-mesh-type-defs-transform-1.0.0.tgz","fileCount":15,"unpackedSize":17218,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5XsRgam+ecRetXtYu6+d+AFIVwgrUd2YH1xcXj/G+/QIhAJ8HN18IxKCLzmoqH785CQCqicNcFgpdtsYm7Jxx+8ZZ"}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-type-defs-transform_1.0.0_1715432103206_0.6506939688065136"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dmamontov/graphql-mesh-type-defs-transform","version":"1.0.1","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@graphql-tools/code-file-loader":"^8.1.1","@graphql-tools/delegate":"^10.0.4","@graphql-tools/graphql-file-loader":"^8.0.1","@graphql-tools/load":"^8.0.2","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-type-defs-transform.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-type-defs-transform@1.0.1","gitHead":"7c103c1a27970f85dd2acc8b58000dedeb65c6c3","description":"Type Defs Transform - is a transformation plugin for GraphQL Mesh that allows you to extend and modify your existing GraphQL schema. This transform provides a powerful way to add new types, extend existing ones, or even introduce new queries and mutations","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-type-defs-transform/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-type-defs-transform#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-75JKdbi+muU0OsaWRyOLy1dYFXQgt70rYEOjYOyYJp/jDetdFvlFCmCsbuBm5eUkLqQMvwfdvJvZQSYjPdP3Xw==","shasum":"530263259cbaf6bb71ef5ccbe815e786a00f6419","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-type-defs-transform/-/graphql-mesh-type-defs-transform-1.0.1.tgz","fileCount":7,"unpackedSize":5611,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEw/LmR20DjqUU/quJ2wBzpSmgxkOl8NPCjMppVmFzdAiAmuNrZXITn0rkfwp1xOWV3OrcURgEIvR+m5J/PZARfkw=="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-type-defs-transform_1.0.1_1715432152386_0.5334562387398272"},"_hasShrinkwrap":false},"1.0.2":{"name":"@dmamontov/graphql-mesh-type-defs-transform","version":"1.0.2","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@graphql-tools/code-file-loader":"^8.1.1","@graphql-tools/delegate":"^10.0.4","@graphql-tools/graphql-file-loader":"^8.0.1","@graphql-tools/load":"^8.0.2","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-type-defs-transform.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-type-defs-transform@1.0.2","gitHead":"5ab5da4c21acc6664428ad0dbe76822578596a9b","description":"Type Defs Transform - is a transformation plugin for GraphQL Mesh that allows you to extend and modify your existing GraphQL schema. This transform provides a powerful way to add new types, extend existing ones, or even introduce new queries and mutations","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-type-defs-transform/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-type-defs-transform#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-lCuj08C5xUJxIxRwJBl5Zqy2yEPK2SAZB9us3yV9tVa/vgBdEgR7Rfi45m98S7efNUzrNGop7HFbsT3DLYyESQ==","shasum":"e0c63255192f5746b7d89653b7a52d349d73b03c","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-type-defs-transform/-/graphql-mesh-type-defs-transform-1.0.2.tgz","fileCount":7,"unpackedSize":5585,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICn33raJL4F2LJwCNwufIE2RdzfSAdxVDzSt80bymJ4AAiEAgtdkGJ1sFzRKLRENxH/bwX6EVE98iLGOg5VagHmpkQs="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-type-defs-transform_1.0.2_1715697066876_0.8715046307054699"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-11T12:55:03.022Z","1.0.0":"2024-05-11T12:55:03.376Z","modified":"2024-05-14T14:31:07.232Z","1.0.1":"2024-05-11T12:55:52.539Z","1.0.2":"2024-05-14T14:31:07.072Z"},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"description":"Type Defs Transform - is a transformation plugin for GraphQL Mesh that allows you to extend and modify your existing GraphQL schema. This transform provides a powerful way to add new types, extend existing ones, or even introduce new queries and mutations","homepage":"https://github.com/dmamontov/graphql-mesh-type-defs-transform#readme","repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-type-defs-transform.git"},"author":{"name":"Dmitry Mamontov"},"bugs":{"url":"https://github.com/dmamontov/graphql-mesh-type-defs-transform/issues"},"license":"MIT","readme":"# Type Defs Transform for GraphQL Mesh\n\nType Defs Transform - is a transformation plugin for GraphQL Mesh that allows you to extend and modify your existing GraphQL schema. This transform provides a powerful way to add new types, extend existing ones, or even introduce new queries and mutations, making it highly flexible for evolving your API without altering the underlying services directly.\n\n## Installation\n\nBefore you can use the Type Defs Transform, you need to install it along with GraphQL Mesh if you haven't already done so. You can install these using npm or yarn.\n\n```bash\nnpm install @dmamontov/graphql-mesh-type-defs-transform\n```\n\nor\n\n```bash\nyarn add @dmamontov/graphql-mesh-type-defs-transform\n```\n\n## Configuration\n\n### Modifying tsconfig.json\n\nTo make TypeScript recognize the Type Defs Transform, you need to add an alias in your tsconfig.json.\n\nAdd the following paths configuration under the compilerOptions in your tsconfig.json file:\n\n```json\n{\n  \"compilerOptions\": {\n    \"paths\": {\n       \"type-defs\": [\"./node_modules/@dmamontov/graphql-mesh-type-defs-transform\"]\n    }\n  }\n}\n```\n\n### Adding the Transform to GraphQL Mesh\n\nYou need to include the Defs Transform in your GraphQL Mesh configuration file (usually .meshrc.yaml). Below is an example configuration that demonstrates how to use this transform:\n\n```yaml\ntransforms:\n  - typeDefs:\n      - /build/extend-schema.graphql\n```\n\n## Conclusion\n\nRemember, always test your configurations in a development environment before applying them in production to ensure that everything works as expected.","readmeFilename":"README.md"}