{"name":"apollo-engine-reporting-protobuf","version":"0.5.1-alpha.1","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":"https://github.com/apollographql/apollo-engine-reporting/tree/master/packages/apollo-engine-reporting-protobuf"},"keywords":["GraphQL","Apollo","Engine","Server","Javascript"],"author":{"name":"Apollo","email":"community@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.3"},"gitHead":"6b8a4366363c27a8d828e733edef4d06ecc1cd55","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.5.1-alpha.1","_nodeVersion":"10.20.1","_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","dist":{"integrity":"sha512-c533X6iGOTKvwWwoeb+6SXEgJBCMnKGBzSUfVgLdTHJpy41VDvVteRzCWa+JwblM66LiZasxzkQXOpm5OC49MA==","shasum":"d946a1943c52b2886dda911d54d9c9f3e33584e6","tarball":"http://registry-npm.ywwl.com/apollo-engine-reporting-protobuf/download/apollo-engine-reporting-protobuf-0.5.1-alpha.1.tgz","fileCount":12,"unpackedSize":527184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJew6zdCRA9TVsSAnZWagAA6ksP/2HaPjTHSpUDJYnjST6W\nKb/YByXg5FOzhf+7q2qI7X8p45r7qnLI1ve77o1JYfnsRsAM2b0gxotArRb4\nAtRtETuUSmRRJUT4d2UPcGxwgbdGSwNSYU75NJH+3JVRMbaKyaO3IN6Va211\nRlD6Ei2hwz+5W1osYN4UuDgxxbY3GrCeUWvnlNVOboRxYgkzFzRiZa90zSfh\n3pxAPJb1994Oc9A8ab5sxPkRqZ9I/VzY0KZh/nDrKIpEBmjIF5BDygukum8b\npaBLIg7TC93/S95j+Cr47vuA0NZ/AG6vawYWx4/+pOM2QP+k03iwmTpaG/HB\nv0jqFeOZwZ4f/GTz6JCfOe579qzv9NqvLyqDnEV7hIKWh5Io+AA/bwg47Rdy\nCI0L+h7jXYYc04OikHZ3A2X0hWDqIKVacVUJOIeynl9MjkLzoOmrpW/oOVnu\nTLd4/aNiJquV9ee20/IQZEe7+9M4xDkXowJGgzrFXPSMUtd2+T7ywvZjUy7E\ncZR1C8MK0UCQIRX6ymNUy7ZXvDfoqH/WFrP/u6j84IdlCDzz+xeKI7U0+D8X\n6PS32MhxwjLuA0puAwknT4Ab7YLvK8L9wJmHy2Hw3W+dI1LRT8q9OMCVvmjO\nkMbE3SVqGmNCqZmPEqauqU6mhR1ZNF4f3EPTx9WGCPCJn5tn7yw3Ia91Aey7\nmnQ8\r\n=E2po\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOMXdneMBXj/jvg91anbgjSjkQNy93v5ZhwFwMGYm7cAIgMgdY8GzEV4HZ7IvJlNYVaauIkg70GxWoUpl0oD67yBU="}],"size":50057,"noattachment":false,"key":"/apollo-engine-reporting-protobuf/-/apollo-engine-reporting-protobuf-0.5.1-alpha.1.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.5.1-alpha.1_1589882077251_0.1864470506845033"},"_hasShrinkwrap":false,"publish_time":1589882077492,"_cnpm_publish_time":1589882077492,"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"}}