{"bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6855372a6e57a87dbfc35919fd56788848088993","tarball":"https://registry.npmjs.org/apollo-reporting-protobuf/-/apollo-reporting-protobuf-3.0.0-preview.1.tgz","fileCount":12,"integrity":"sha512-qA/g4mE0iqB5emgHP+7sxRMt5L1Hvh0OphowHs50vIygA1cR7Iur9axm0G7GizvRcfe/tOXfGZPunJpcsUQk0Q==","signatures":[{"sig":"MEYCIQDa81a+JG4pq4OvtLOlprCgqeWKT2gq2oqQWy6TKncd5gIhAPf5QdnkVI8NwYB9GwQScT/4Wt+O7e7Ar0MKjOTWIXJL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":464280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyZMXCRA9TVsSAnZWagAAbi0P/2JxDxDuQWlOS5lKgQr3\nPy/B4S9LntX43sOwnGWII6igsBFWWYeUzcg6DkdFBWsRgk14FezXPMPJO6+E\nMATWqDRZQSdeEhyhfJ285XNzwljC3yDpitQn2gXFzVf+3LYUWnFA7qBzqQAS\nEzjnJO9kk3seC9Lfm9MvDBsOoJDWIYOuMdb1Bx40cZxm3/GKjbIy4RC02CNi\nCcMsm3NxeTJ90INo2V7hShaxjXn4Ln3bP28rBi1d5My9OVoMyOPjLUoCkykN\nOuqNCL6k+cLqeJYoCpMul4I2MIbaIVpr6x2RJICkgOFGSmkcE3R17m3dePds\nJF91xm+GBxbBFz4tkwflf8CT21dpE11NYWuu59jbkaaZF0z4Gwu32Mg0UlKw\n9AEXpTUMjm4qkfPPFusdJiSqiyPnaGeyy7SqqSGWTSfQeq5pB7Y/ZiK1RBHh\nfmpuGN9Trjjtf0/lPNsu+ggtnarZl8pZzT40MhumsbQtQDnD41S4y8B0vc24\n/Ertk64O6lAc/KJypdceGuGfoZb5p2HhYgxuvZCT8xkFbxsw31QM5HP+Z52X\npSQG3ckdSuoSenTE6HZfOREcW10z+vSSNqF5NdtpmliNXt7/ST92y38TiioC\n/tGEynufL3uuWOJvsAq0IPV0gEnY4sbkba4Tu891PM5EAlOUaoXiWghNaJpF\nV6W1\r\n=Bx5L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"generated/index.js","name":"apollo-reporting-protobuf","types":"generated/index.d.ts","author":{"name":"Apollo","email":"opensource@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":"f23a4eb1aa5c5ae8cf83a1f41bd9bae3a03d3360","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.1+x64 (linux)","description":"Protobuf format for Apollo usage reporting","directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_nodeVersion":"12.22.1","dependencies":{"@apollo/protobufjs":"1.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/apollo-reporting-protobuf_3.0.0-preview.1_1623823127159_0.276154863283369","host":"s3://npm-registry-packages"},"_id":"apollo-reporting-protobuf@3.0.0-preview.1","version":"3.0.0-preview.1"}