{"bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2b170df342c85fc4b6d44bf8f28dc4304f03eb6f","tarball":"https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-3.3.0-alpha.1.tgz","fileCount":12,"integrity":"sha512-WCcU/qWsgzZtq8QXaetU4V4jnunMnHD7lCp905vdDccP8zMIWZYTpW/q2bdvhnaL/8YLSLTHpSIZYGxMS5V2fA==","signatures":[{"sig":"MEQCIEN9uyyopUwYWNcTJElctsC3XcbfG9RV/ePyHQOiShq4AiAeSLoYCcMftntmb40WZfvWfZ2oxfSa+Dbksm+oC/Ow1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":468604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyoA+CRA9TVsSAnZWagAAC+4P/05RrQPQuVEf317PcNXW\ngVtmPz3PHPQSJaXpCFxhAu0Mz4Z1n0ov8mmb8USnC8QWC10+IwxW6DvA0yT2\nb09qGu7NwKFvfevYNfJxOsnGM1F1yOA1dhxdxCV796B7rK4+CnApokNXFDht\nZ12aGOtJEETce3ygANGMMWaVgGPvn0vHLCn5z4oNNAI+Y2PAPNRsOkkufIjw\nXjeC1jsu4FVrdbFKtk/3DLdtRdMppnJ1mhQSu2uJI0IMB6kq7cxzCZ04KKkW\nNl+2rwwe1iEv9EWWoxx240YtGnop3+E6ie2e6+AxRx9l3UwNZGsz4Tl1svtO\nJ4KUOV0eKwzUEltr0rAiLQ6vBr2DkHakc73IBAXG0DcajCSdpUyx35h9MtNQ\n/f2N2WbjC4lc+QOCvz4pnXok6JQwhKVsOJbHVKwjiOWozfYm1qB3b1xbXP2J\nF3PPGYpbc8hSe3nu7ygGUMu6TIm25b12YddtJj8lUQT410oiBJqFJnJTxhlA\n66nBivXhu2IzPWmI1ri3WteQDEBv1GPALuvTfWh0Vs5ETtbAkfxyESZpNV3L\neJpyPssbe/4iqlzkvT3wVYentZEdr/4SCSk0IHxYMcCIUyKJyBK2FYfBijYI\n4QeaiU8wIi/kDuRP9udvQqrgql1tbL+zz2BUpI8ICyeqz0DsYD6uh3E/yTuy\nFvhM\r\n=uqzY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"generated/index.js","name":"apollo-reporting-protobuf","types":"generated/index.d.ts","author":{"name":"Apollo","email":"packages@apollographql.com"},"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`@apollo/protobufjs` (a fork of\n[`protobufjs`](https://www.npmjs.com/package/protobufjs) that we maintain\nspecifically for this package) based on the `reports.proto` file. The output is\ngenerated with the `generate` npm script.\n\nThe root of the repository provides some `devDependencies` necessary to build\nthese definitions qand the `prepare` npm script is invoked programmatically via\nthe monorepo tooling (e.g. Lerna) thanks to _this_ module's `postinstall`\nscript.  Therefore, when making changes to this module, run scripts via `npx\nlerna run SCRIPTNAME` in the **root** of this monorepo in order to update the\ndefinitions in _this_ module.\n\nTo update `reports.proto` to the current version recognized by the Studio usage\nreporting ingress, run `lerna run update-proto`. To then regenerate the JS and\nTS files, run `npx lerna run generate`. We check in the generated code and only\nregenerate it manually, partially to make builds faster (no need to run pbjs on\nevery `npm install`) and partially so that we don't have to make sure that\n`pbjs` runs on every Node version that we support.\n","gitHead":"1361265ba3d573b7e7cac348c81f923ab32fbc6b","license":"MIT","scripts":{"pbjs":"apollo-pbjs --target static-module --out generated/protobuf.js --wrap commonjs --force-number --no-from-object src/reports.proto","pbts":"apollo-pbts -o generated/protobuf.d.ts generated/protobuf.js","generate":"rm -rf generated && mkdir generated && npm run pbjs && npm run pbts && cp src/* generated","update-proto":"curl -sSfo src/reports.proto https://usage-reporting.api.apollographql.com/proto/reports.proto"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"homepage":"https://github.com/apollographql/apollo-server#readme","keywords":["GraphQL","Apollo","Server","Javascript"],"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.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-reporting-protobuf"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Protobuf format for Apollo usage reporting","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"12.22.7","dependencies":{"@apollo/protobufjs":"1.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/apollo-reporting-protobuf_3.3.0-alpha.1_1640661054542_0.41701805759210675","host":"s3://npm-registry-packages"},"_id":"apollo-reporting-protobuf@3.3.0-alpha.1","version":"3.3.0-alpha.1"}