{"name":"apollo-engine-reporting-protobuf","version":"0.300.0-alpha.3","description":"Protobuf format for Apollo Engine","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"git clean -fdX -- dist","prepare":"npm run clean && mkdir dist && npm run prepare:proto && npm run pbjs && npm run pbts && cp src/* dist","pbjs":"apollo-pbjs --target static-module --out dist/protobuf.js --wrap commonjs --force-number dist/reports.proto","pbts":"apollo-pbts -o dist/protobuf.d.ts dist/protobuf.js","prepare:proto":"npm run prepare:proto:nix -s || npm run prepare:proto:win -s","prepare:proto:nix":"grep -v \"package mdg.engine.proto\" src/reports.proto > dist/reports.proto","prepare:proto:win":"type src\\reports.proto | findstr /V \"package mdg.engine.proto\" > dist/reports.proto"},"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-server.git","directory":"packages/apollo-engine-reporting-protobuf"},"keywords":["GraphQL","Apollo","Engine","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","bugs":{"url":"https://github.com/apollographql/apollo-engine-reporting/issues"},"homepage":"https://github.com/apollographql/apollo-engine-reporting#readme","dependencies":{"@apollo/protobufjs":"^1.0.4"},"gitHead":"15b90eec22523e32e00d97a51b28cbfba3f39c78","readme":"# `apollo-engine-reporting-protobuf`\n\n> **Note:** The Apollo Graph Manager (previously, Apollo Engine) reporting API is subject to change.  We strongly\n> encourage developers to contact Apollo Graph Manager support to discuss their use\n> case prior to building their own reporting agent using this module.\n\nThis module provides JavaScript/TypeScript\n[Protocol buffer](https://developers.google.com/protocol-buffers/) definitions\nfor the Apollo Graph Manager reporting API.  These definitions are generated for\nconsumption from the `reports.proto` file which is defined internally within\nApollo.\n\n## Development\n\n> **Note:** Due to a dependency on Unix tools (e.g. `bash`, `grep`, etc.), the\n> development of this module requires a Unix system.  There is no reason why\n> this can't be avoided, the time just hasn't been taken to make those changes.\n> We'd happily accept a PR which makes the appropriate changes!\n\nCurrently, this package generates a majority of its code with\n[`protobufjs`](https://www.npmjs.com/package/protobufjs) based on the\n`reports.proto` file. The output is generated with the `prepare` npm script.\n\nThe root of the repository provides the `devDependencies` necessary to build\nthese definitions (e.g. `pbjs`, `pbts`, `protobuf`, etc.) and the `prepare`\nnpm script is invoked programmatically via the monorepo tooling (e.g. Lerna)\nthanks to _this_ module's `postinstall` script.   Therefore, when making\nchanges to this module, `npx lerna run prepare` should be run from the **root**\nof this monorepo in order to update the definitions in _this_ module.\n","readmeFilename":"README.md","_id":"apollo-engine-reporting-protobuf@0.300.0-alpha.3","_nodeVersion":"10.22.0","_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","dist":{"integrity":"sha512-ev7XDw0EbIcX3EGcTlx/hyDcJGu+30dVBKgbueAdIdAHK/zZRRDmYad3uzPkEbXfzgE1DZkdnaajqMVj3XE/Dw==","shasum":"286a146a4254c8371f551551f6abe76c76eedfd1","tarball":"http://registry-npm.ywwl.com/apollo-engine-reporting-protobuf/download/apollo-engine-reporting-protobuf-0.300.0-alpha.3.tgz","fileCount":12,"unpackedSize":527181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNB+nCRA9TVsSAnZWagAA0yQP/Ain7ONidxTz7Z85xa+I\ndmhTp/b4l5NrmmnD36cRD9X1XV6KJD6N4rGHBWafTcSj1kIMRJS6UTS+udb2\nMIXQOeY6lG3SrOvOv/LUFDwnz+u0hb0sQTUeH5sm7S+CXDWs3Lq+xoc1aAbm\nUAcnwF6ydve+6tmCQNKAanqCzbQOJ5ZYmnSoTor6bwNC+pn82Ml3oYuNngXB\nq88a94CnBRTecIeiFJfj37kPtZbGmcQraixt1eqpG+cnIfaslDDJJ7tB0PS+\nsfE5zIS8Iw+piCOtTcN7m1kDEwz6qr4f8qxDew/8VzjtiHf3yFAiE0BAl6Vz\nluISQM/cmX3Gak/vL5ejon8cVemSmA2oE84eAR7+d41ul3n56sME822p+3oO\nPcdzt3qNV1td/uxzatPx1QuwO6VGD91sB7iqK3mL9Z+1YiJX+6qxMLv6Yv48\nF1rF243DADIfEonB5D9g5jnZzVQz0yTTQu2kvOq2cbbgwe5tmZ1ASt8TB5SR\nA/PXPy0UxFwyJp6rzp6LhHq+IYfnAOYgK3Ci7czidTTR0qKdrrfcKaY2rx5k\nKS5U1H7t8dSD66inUrjHwx8g6ynE/gSILRCPAdYoRmZ1cSBiFo7RT2GcHhCi\npDAQX6Uv9xDpxlwl2IibYi1hT0xGv6lAPuyFwELoS+EZeFjPWUpzDtFCHn1o\n2e8H\r\n=OwJD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfddK3QJxyIv2FVPpdpzcG6CqKUK9XaDYorEnkon7m9AIgG07AhcpxN4cQHb0iFs6FyQxNSfScLBhgVr/WhhYyrIQ="}],"size":50063,"noattachment":false,"key":"/apollo-engine-reporting-protobuf/-/apollo-engine-reporting-protobuf-0.300.0-alpha.3.tgz"},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"}],"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-engine-reporting-protobuf_0.300.0-alpha.3_1597251495145_0.13434359491613979"},"_hasShrinkwrap":false,"publish_time":1597251495399,"_cnpm_publish_time":1597251495399,"dist-tags":{"alpha":"0.5.0-alpha.0","latest":"0.5.2","next":"0.5.1-alpha.1","next-v3":"0.300.0-alpha.3"}}