{"name":"apollo-reporting-protobuf","version":"0.6.3-unified.0","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.1.0"},"gitHead":"6972e2379e91b08ccc458a230c6a687099dbf108","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.6.3-unified.0","_nodeVersion":"12.22.1","_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","dist":{"integrity":"sha512-pCK/Xu0ztUZZHqCuvq1ZmdK+A3rhIWkWJoL86p6SXBjBJkNVaE2zogmOadygmWFD+LVDdC1UtjQn9ABUwmq4vw==","shasum":"ce6d0da4c20634a4a5037db0eff158ab2a59a9ad","tarball":"http://registry-npm.ywwl.com/apollo-reporting-protobuf/download/apollo-reporting-protobuf-0.6.3-unified.0.tgz","fileCount":12,"unpackedSize":461463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggfcXCRA9TVsSAnZWagAA69AQAJg/aJ0aZwggAobsUGkL\n/OUsGs6sgTOpTHCdxKMcAfQUkatAPx1GkS/rIVECSnLlddX2tM/7S09T2Ta1\n1zWRuiJji6mLD81NHT4ICb6JQema6ZzjPatBGT709hrmQEdqRQ76uNE4548Z\njNhaVZlSBB0K6Fwt0lkjs350E5pB1cviq/u0aOTE3er229O3prmRNXxkUko3\ndKHmCu9HZj9VLv4IAUyrma6WQqdWVHppbkWLplUQbrtQGavXZiBuZaiFu2bO\ngNZs+jIU4aL4zIke6nvo3i9LROdUmxmG3XFgPv6jo3y4xs4Q9NlnoOrQ1vLN\nowXWEo3SUhJJlTA5lXHP+AN+AGD+or7GxmKxzSGm5HaqCKT52sa1WCGfQBN7\nexMrwK3wJztFbVrSdg7wp752cGuNGOWqBc4D3ZC/puJPQ6HEC2oiEgOr2pDv\nKh223cL37xYgv8PlKz5EfM6Ye11DgPFpU+8T8gaM5EoV3aw3rpPhsENMQ8wu\nmlY/XQ+7x8LQ6yibjXLkv3FsSD3EIPBEOK7IAF7OvjknDN9dnjJElMhjb2vx\nbpUYSkuVu71ZgEXHtj+Zws081Sy4CF69e8LbrDholSaAj3K9obcL33QPlcVQ\nFB9upTd6aCDLWOFnVvslDsPJ8DxBlOEZu0MuCqXPittmSfGOGw89thTfRZoN\n/9UU\r\n=k9FS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmlG6sLqWuIqnPsU3SfYBXfHcOwgbgUb0k4R/j8Qa/PQIgXu5WLrqTT2hxFJpxcZJQKDgVSCqdyJvsqUJle5+7Yx0="}],"size":43217,"noattachment":false,"key":"/apollo-reporting-protobuf/-/apollo-reporting-protobuf-0.6.3-unified.0.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.6.3-unified.0_1619130134847_0.8355256055178186"},"_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":1619130134970,"_cnpm_publish_time":1619130134970,"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"}}