{"_id":"@bwutils/protoc-gen-ts-graphql","_rev":"5-4700df2b10f0bdb33d2ee11a7d890648","name":"@bwutils/protoc-gen-ts-graphql","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@bwutils/protoc-gen-ts-graphql","version":"0.1.0","author":{"name":"rivermanbw"},"license":"MIT","_id":"@bwutils/protoc-gen-ts-graphql@0.1.0","maintainers":[{"name":"rivermanbw","email":"info+npm@gessner-it.de"}],"homepage":"https://github.com/bwutils/protoc-gen-ts-graphql#readme","bugs":{"url":"https://github.com/bwutils/protoc-gen-ts-graphql/issues"},"git":"https://github.com/bwutils/protoc-gen-ts-graphql","dist":{"shasum":"a5765bc660bc4753c384a14a00494b1f70fc45b5","tarball":"https://registry.npmjs.org/@bwutils/protoc-gen-ts-graphql/-/protoc-gen-ts-graphql-0.1.0.tgz","fileCount":6,"integrity":"sha512-jrhbgk8Z50BXEbuN/BXw572XJ/l6mj9ZW+QU9taolem20IytBhGEemHBRFkHDoNhsbNMcwYbc654UNThbUaneg==","signatures":[{"sig":"MEYCIQC4QtlBoMXRrjdpo35oJzdU8aIB3hlnt4I/Hz7L2ceeYgIhAL+A8Qts5hZ5JhtYlbD0f4t9zxULzArbumjVODZAPB95","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39453},"main":"protoc-gen-ts-graphql.ts","gitHead":"ae276647bc5dd180768ce342ca7c6b7df7d55e79","scripts":{"test":""},"_npmUser":{"name":"rivermanbw","email":"info+npm@gessner-it.de"},"repository":{"url":"git+https://github.com/bwutils/protoc-gen-ts-graphql.git","type":"git"},"_npmVersion":"10.9.0","description":"The code generator plugin for Protocol Buffers for Typescript GraphQL","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/protoc-gen-ts-graphql_0.1.0_1758539444569_0.21668253636484036","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bwutils/protoc-gen-ts-graphql","version":"0.1.1","author":{"name":"rivermanbw"},"license":"MIT","_id":"@bwutils/protoc-gen-ts-graphql@0.1.1","maintainers":[{"name":"rivermanbw","email":"info+npm@gessner-it.de"}],"homepage":"https://github.com/bwutils/protoc-gen-ts-graphql#readme","bugs":{"url":"https://github.com/bwutils/protoc-gen-ts-graphql/issues"},"git":"https://github.com/bwutils/protoc-gen-ts-graphql","dist":{"shasum":"4a1932260b61cd0eb7a50431eaf1046b9dba2548","tarball":"https://registry.npmjs.org/@bwutils/protoc-gen-ts-graphql/-/protoc-gen-ts-graphql-0.1.1.tgz","fileCount":10,"integrity":"sha512-CmCSg6VD0jkuy8sgCjYYUIKw4jYbUGLmZlmlvNVzEXZiMQAvlFtcDk61kf0TI0AfccdZUZyMSUd4d5cG3YNC7w==","signatures":[{"sig":"MEUCIQDiK4HPy6vikT+r8lb2pdWv0gh1KM5Do17WJ6bjykbHpwIgapeLCX1UfD0UG+g0umTMGrxngMLWj04kB2kRX1e52CQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40982},"main":"protoc-gen-ts-graphql.ts","_from":"file:bwutils-protoc-gen-ts-graphql-0.1.1.tgz","scripts":{"build":"./node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/cjs","prebuild":"rm -rf ./dist/cjs/*","change:add":"pnpm changeset add","change:commit":"pnpm changeset version"},"_npmUser":{"name":"rivermanbw","email":"info+npm@gessner-it.de"},"_resolved":"/tmp/a38effd0d36d7a607cc4e15d6ef813d0/bwutils-protoc-gen-ts-graphql-0.1.1.tgz","_integrity":"sha512-CmCSg6VD0jkuy8sgCjYYUIKw4jYbUGLmZlmlvNVzEXZiMQAvlFtcDk61kf0TI0AfccdZUZyMSUd4d5cG3YNC7w==","repository":{"url":"git+https://github.com/bwutils/protoc-gen-ts-graphql.git","type":"git"},"_npmVersion":"10.9.0","description":"The code generator plugin for Protocol Buffers for Typescript GraphQL","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/protoc-gen-ts-graphql_0.1.1_1758541844221_0.4643215537206302","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bwutils/protoc-gen-ts-graphql","version":"0.1.2","author":{"name":"rivermanbw"},"license":"MIT","_id":"@bwutils/protoc-gen-ts-graphql@0.1.2","maintainers":[{"name":"rivermanbw","email":"info+npm@gessner-it.de"}],"homepage":"https://github.com/bwutils/protoc-gen-ts-graphql#readme","bugs":{"url":"https://github.com/bwutils/protoc-gen-ts-graphql/issues"},"git":"https://github.com/bwutils/protoc-gen-ts-graphql","dist":{"shasum":"497e72485762622bf293676f2362939e9eed53a3","tarball":"https://registry.npmjs.org/@bwutils/protoc-gen-ts-graphql/-/protoc-gen-ts-graphql-0.1.2.tgz","fileCount":11,"integrity":"sha512-4/W7ScpngCT6GGJnn1A6Tq82NJ8CJsiklTC9UPCZFC4aI9FLFw784tnU0kmiPsZ7CB+6zdc5RyXUhtJ8JckmlA==","signatures":[{"sig":"MEUCIQC4UaNK6AKh68Tdy/6agCQ2tPAQFt0/J2QP9+9l5qOBpwIgfe4RdHERVhPsZsfW3Q4bYu2qQJdanbgcHov0t8oO1yM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41599},"main":"protoc-gen-ts-graphql.ts","_from":"file:bwutils-protoc-gen-ts-graphql-0.1.2.tgz","scripts":{"build":"./node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/cjs","prebuild":"rm -rf ./dist/cjs/*","change:add":"pnpm changeset add","change:commit":"pnpm changeset version"},"_npmUser":{"name":"rivermanbw","email":"info+npm@gessner-it.de"},"_resolved":"/tmp/dbbff2182d88cd4ede7a207a24a300e4/bwutils-protoc-gen-ts-graphql-0.1.2.tgz","_integrity":"sha512-4/W7ScpngCT6GGJnn1A6Tq82NJ8CJsiklTC9UPCZFC4aI9FLFw784tnU0kmiPsZ7CB+6zdc5RyXUhtJ8JckmlA==","repository":{"url":"git+https://github.com/bwutils/protoc-gen-ts-graphql.git","type":"git"},"_npmVersion":"10.9.0","description":"The code generator plugin for Protocol Buffers for Typescript GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@bufbuild/protobuf":"^2.9.0","@bufbuild/protoplugin":"^2.9.0"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@changesets/cli":"^2.29.7"},"_npmOperationalInternal":{"tmp":"tmp/protoc-gen-ts-graphql_0.1.2_1758546110890_0.28463783518221386","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bwutils/protoc-gen-ts-graphql","version":"0.1.3","author":{"name":"rivermanbw"},"license":"MIT","_id":"@bwutils/protoc-gen-ts-graphql@0.1.3","maintainers":[{"name":"rivermanbw","email":"info+npm@gessner-it.de"}],"homepage":"https://github.com/bwutils/protoc-gen-ts-graphql#readme","bugs":{"url":"https://github.com/bwutils/protoc-gen-ts-graphql/issues"},"git":"https://github.com/bwutils/protoc-gen-ts-graphql","dist":{"shasum":"d2ae542c2e1abc725b296acbd859abfcb2644652","tarball":"https://registry.npmjs.org/@bwutils/protoc-gen-ts-graphql/-/protoc-gen-ts-graphql-0.1.3.tgz","fileCount":9,"integrity":"sha512-NoyJk59VpGS4K+0Y7GGuWslm3F6W/Ez5tfXljZXlxn07n7mc4XWpgA9A4lwvAEvM/VIuPH+/ACwZJEhThxWsMw==","signatures":[{"sig":"MEYCIQD3ivBZg+ZnVPSOlsNkp8dYQHq9Z9lYuCLYZbuHvDKo9QIhAPqDk1SiY86iUbZStRS+mZYBdxX9/qp1rUzk2ITzXfp1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40248},"main":"./src/protoc-gen-ts-graphql.ts","_from":"file:bwutils-protoc-gen-ts-graphql-0.1.3.tgz","scripts":{"change:add":"pnpm changeset add","change:commit":"pnpm changeset version"},"_npmUser":{"name":"rivermanbw","email":"info+npm@gessner-it.de"},"_resolved":"/tmp/243a3e4a67b045dbf1c8744591be0381/bwutils-protoc-gen-ts-graphql-0.1.3.tgz","_integrity":"sha512-NoyJk59VpGS4K+0Y7GGuWslm3F6W/Ez5tfXljZXlxn07n7mc4XWpgA9A4lwvAEvM/VIuPH+/ACwZJEhThxWsMw==","repository":{"url":"git+https://github.com/bwutils/protoc-gen-ts-graphql.git","type":"git"},"_npmVersion":"10.8.2","description":"The code generator plugin for Protocol Buffers for Typescript GraphQL","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@changesets/cli":"^2.29.7","@bufbuild/protobuf":"^2.9.0","@bufbuild/protoplugin":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/protoc-gen-ts-graphql_0.1.3_1758552451683_0.38110829492474285","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"description":"The code generator plugin for Protocol Buffers for Typescript GraphQL","author":{"name":"rivermanbw"},"license":"MIT","main":"./src/protoc-gen-ts-graphql.ts","name":"@bwutils/protoc-gen-ts-graphql","version":"0.1.4","git":"https://github.com/bwutils/protoc-gen-ts-graphql","repository":{"type":"git","url":"git+https://github.com/bwutils/protoc-gen-ts-graphql.git"},"publishConfig":{"registry":"https://registry.npmjs.org"},"devDependencies":{"@bufbuild/protobuf":"^2.9.0","@bufbuild/protoplugin":"^2.9.0","@changesets/cli":"^2.29.7"},"scripts":{"change:add":"pnpm changeset add","change:commit":"pnpm changeset version"},"_id":"@bwutils/protoc-gen-ts-graphql@0.1.4","bugs":{"url":"https://github.com/bwutils/protoc-gen-ts-graphql/issues"},"homepage":"https://github.com/bwutils/protoc-gen-ts-graphql#readme","_integrity":"sha512-/Ks/IYNV32o1bsrX9d1l6Rtj76ZSL4uAsouk66HlRCvVesB9Orr/FMFKvFns1cVGSomxfGst/tLRZ0NOVKpwdA==","_resolved":"/tmp/eda1220ae174caa6a76d5867a4450ea1/bwutils-protoc-gen-ts-graphql-0.1.4.tgz","_from":"file:bwutils-protoc-gen-ts-graphql-0.1.4.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-/Ks/IYNV32o1bsrX9d1l6Rtj76ZSL4uAsouk66HlRCvVesB9Orr/FMFKvFns1cVGSomxfGst/tLRZ0NOVKpwdA==","shasum":"ea8f06fb7d72fe695c0b140828f02cc7d756b2e1","tarball":"https://registry.npmjs.org/@bwutils/protoc-gen-ts-graphql/-/protoc-gen-ts-graphql-0.1.4.tgz","fileCount":9,"unpackedSize":37289,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICzFNIuENBYgTxx52G/KZLd/raZZqrdlMZ3HbR2bxosiAiEA4J07C5q5EHNbjsy1PnThhDW+ajJ7ZGDI+EmV2uKzFH4="}]},"_npmUser":{"name":"rivermanbw","email":"info+npm@gessner-it.de"},"directories":{},"maintainers":[{"name":"rivermanbw","email":"info+npm@gessner-it.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/protoc-gen-ts-graphql_0.1.4_1758553039372_0.2630119283895225"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-22T11:10:44.458Z","modified":"2025-09-22T14:57:19.870Z","0.1.0":"2025-09-22T11:10:44.780Z","0.1.1":"2025-09-22T11:50:44.394Z","0.1.2":"2025-09-22T13:01:51.082Z","0.1.3":"2025-09-22T14:47:31.899Z","0.1.4":"2025-09-22T14:57:19.560Z"},"bugs":{"url":"https://github.com/bwutils/protoc-gen-ts-graphql/issues"},"author":{"name":"rivermanbw"},"license":"MIT","homepage":"https://github.com/bwutils/protoc-gen-ts-graphql#readme","repository":{"type":"git","url":"git+https://github.com/bwutils/protoc-gen-ts-graphql.git"},"description":"The code generator plugin for Protocol Buffers for Typescript GraphQL","maintainers":[{"name":"rivermanbw","email":"info+npm@gessner-it.de"}],"readme":"# protoc-gen-ts-graphql\n\nThe code generator plugin for Protocol Buffers for Typescript GraphQL\n\nInspired by [Protobuf ES](https://github.com/bufbuild/protobuf-es/) `protoc-gen-ts-graphql`\ngenerates Typescript GraphQL Types from Protobuf definitions.\n\n## Quickstart\n\n1. Install the runtime library, code generator, [GraphQL](https://github.com/graphql/graphql-js) JavaScript library and the [Buf CLI](https://buf.build/docs/ecosystem/cli-overview):\n\n   ```shellsession\n   pnpm install @bufbuild/protobuf graphql\n   pnpm install -D @bwutils/protoc-gen-ts-graphql @bufbuild/buf\n   ```\n\n2. Create a `buf.gen.yaml` file that looks like this:\n\n   ```yaml\n   # Learn more: https://buf.build/docs/configuration/v2/buf-gen-yaml\n   version: v2\n   inputs:\n     - directory: proto\n   plugins:\n     - local:\n         [\n           \"tsx\",\n           \"./node_modules/@bwutils/protoc-gen-ts-graphql/src/protoc-gen-ts-graphql.ts\",\n         ]\n       opt: target=ts\n       out: src/gen\n   ```\n\n3. Download the [example.proto](packages/protobuf-example/proto/example.proto) into a `proto` directory:\n\n   ```shellsession\n   mkdir proto\n   curl https://raw.githubusercontent.com/bufbuild/protobuf-es/main/packages/protobuf-example/proto/example.proto > proto/example.proto\n   ```\n\n4. Generate your code with `buf` or [`protoc`]:\n\n   ```shellsession\n   pnpm exec buf generate\n   ```\n\nYou should now see a generated file at `src/gen/example_pb.ts` that contains a type `User`, and a schema `UserSchema`.\nFrom here, you can begin to work with your schema.\n\n## TODO\n\n- check if circular dependencies are possible\n- implement circular dependencies\n","readmeFilename":"README.md"}