{"name":"apollo-reporting-protobuf","version":"0.7.0-alpha.1","description":"Protobuf format for Apollo usage reporting","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"git clean -fdX -- dist","prepare":"npm run clean && mkdir dist && npm run pbjs && npm run pbts && cp src/* dist","pbjs":"apollo-pbjs --target static-module --out dist/protobuf.js --wrap commonjs --force-number --no-from-object src/reports.proto","pbts":"apollo-pbts -o dist/protobuf.d.ts dist/protobuf.js","update-proto":"curl -sSfo src/reports.proto https://usage-reporting.api.apollographql.com/proto/reports.proto"},"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-server.git","directory":"packages/apollo-reporting-protobuf"},"keywords":["GraphQL","Apollo","Server","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"homepage":"https://github.com/apollographql/apollo-server#readme","dependencies":{"@apollo/protobufjs":"1.2.2"},"gitHead":"27275564a9ebf9251ed4e990c4ff1900b6cb49e8","readme":"# `apollo-reporting-protobuf`\n\n> **Note:** The Apollo usage reporting API is subject to change.  We strongly\n> encourage developers to contact Apollo support at `support@apollographql.com`\n> to discuss their use case prior to building their own reporting agent using\n> this module.\n\nThis module provides JavaScript/TypeScript\n[Protocol buffer](https://developers.google.com/protocol-buffers/) definitions\nfor the Apollo usage 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-reporting-protobuf@0.7.0-alpha.1","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-aoRH2LD4Yltx/oyL1LFmzPOXDQEi0NyVoPtulpokX889hAYpcpepWDKbbw6vmAGBiDJR4zYrVCJv+3gXAo5zZg==","shasum":"b0daf8781852b1a786afe9ae09e83c1f924cbed8","tarball":"http://registry-npm.ywwl.com/apollo-reporting-protobuf/download/apollo-reporting-protobuf-0.7.0-alpha.1.tgz","fileCount":12,"unpackedSize":463804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgizQUCRA9TVsSAnZWagAAxv0P/2PmvlPbb/RNwewBkufg\neH7iJTTVCVp293FZ4hn1qD1OlxNulIfQulK9i4IEj6Bg6oQx6VXUX5Z/Gqq9\nPpub6Qfe+eM3Lmw7lAqdb9JHIdl6i6yr65mJa0TCSqqYwGi2ntuHPDyHogAo\nme4jVQkhWLoGxrjKUPq9BN6TWOgDJnXzIX+oIldCoGHZ1FIurXSCGJURit9T\nqwgr3Rx5BFRAhEcpJ4WHcxl/LFKolj90XpWvyR+UnunrD8jNpfb422mVJ6Ua\nlBk6ZcnB5HA+KexPbQXoESoDL0rrC87bZKbkKzoz/FQKWBHiANUx9w9aT1tQ\nIqqedCj7SyIsrYTiOGbR5il5acKrpDvE2Qp6PB2zDMSxY/KlvzP+/YxaejVc\nf0jpdLOt6Jxwy+lciuTDj82W9C3iDtfLBrt13ICQRiO3RPoF0S/ilt4MAotl\n10uZrEGUHnJ263qn6D03El5LbSfcbWR0e3EuEAMe3xPgQuNWMHb9G1V2DW+2\nnZHlRBcGyhYoEUPM05duVJ4NZ/QfzcjwvAf1jBbQMgKCwwuYcIcYKRa95XIk\nUP28dI+hlZR4M49VAC8kuwQ4ukYnntVbHwB9oKr59iC1ezp51D65rH8/rKh6\nR15wN+UlArt6UIogzYOg0H7cQ0snvfHHBWwAEkO9sy6YeH2kZugsKOSZIfoZ\nz/u+\r\n=7XVZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSgw0sKWz/TBT5vUL8yZ28Hclvyaj2KsQFalPxMyxP3QIhAMaTLUWh/nfObtnx7I2rvkFEpRholGHGfSWDR2lc0Idq"}],"size":43531,"noattachment":false,"key":"/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.7.0-alpha.1.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-reporting-protobuf_0.7.0-alpha.1_1619735572394_0.8302227692376547"},"_hasShrinkwrap":false,"deprecated":"The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","publish_time":1619735572547,"_cnpm_publish_time":1619735572547,"dist-tags":{"alpha":"3.3.0-alpha.1","latest":"3.4.0","next":"3.0.0","preview":"3.0.0-preview.1","rc":"3.0.0-rc.0","unified":"0.6.3-unified2.1"}}