{"_id":"apollo","_rev":"258-2712069e09fbe3bc923e65e6a412ae1b","name":"apollo","dist-tags":{"beta":"2.12.6-beta.5","register":"2.18.1-register.1","next":"2.29.0-alpha.0","alpha":"2.32.0-alpha.0","latest":"2.34.0"},"versions":{"0.0.1":{"name":"apollo","version":"0.0.1","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.0.1","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"e6255ea78f3924d1b5e78d202d94a60b391d7cb9","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.0.1.tgz","integrity":"sha512-9om0LraRqxtulxfeiKkSu7tjFvugN/dVF1V6+QDbck7JFtHTtYm4YhgshUEyKZ8ykjpZ6OOrd9CipSQSzLHsTw==","signatures":[{"sig":"MEUCIBUFMaq6M9IEeWwslSUcazDTrY+/yRIXzyc5BicEo7qEAiEAzsvdFz1MR6YJcKqel90DJPC3KSqZHdVijnOt96UzphE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","engines":{"node":"*"},"scripts":{"test":"mocha"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.1.63","description":"Actor model for javascript","directories":{},"dependencies":{"drip":"0.3.x","facet":"0.2.x","lotus":"0.2.x","msgpack":"0.1.x"},"devDependencies":{"chai":"*","mocha":"*","chai-spies":"*"}},"0.1.0":{"name":"apollo","version":"0.1.0","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.1.0","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"52844531e3056fa4e7366dca70ed23a35a710ea1","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.1.0.tgz","integrity":"sha512-A/s5sxpIfPMlgKqYW28b1sLIZtcLEjqi93jOEuITphB8z+mlhHVKSKphe6vbAsuY3GYE1k/BX+Zf/qhLH3V9NQ==","signatures":[{"sig":"MEQCIHmulubKb5WPtZ0Dqn25Z2XCzO53ctSGjHByipwOaofuAiBup6SXSAIqC6CALjMWjB6y+7SjL3PVGAKSFoz85S5X+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.1.69","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.0","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"0.1.1":{"name":"apollo","version":"0.1.1","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.1.1","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"089118280e2029af573b4b58828f6a07b5c7972c","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.1.1.tgz","integrity":"sha512-+fl1K5MmbXUn23MdNuXJ87WGlTNPXuagqbf0z//xqCa/xzA/iRGXQaw3ME/VLIWKV+c7P89s3JqV5JZmEERNRQ==","signatures":[{"sig":"MEUCIFbVsOIwzv9k1iHH1mPap9u69Y2A5UIT5iXvoRBBic+eAiEAuwE3Kh1J5KqdKPGbRQ65mIFuOlIFAuI0VvaMLfpUuIc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.1.69","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.0","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"0.1.2":{"name":"apollo","version":"0.1.2","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.1.2","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"a1883978cf986a95e3447cc1c882a84fc49809c6","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.1.2.tgz","integrity":"sha512-2U7hFIAEZgi9vUypF8oSEtNyb4ZogV/uIFItQ2Syvjiz/U0eEEy5Y3ZOo2vDv3MCHMU0oHnS42eehg8dEr8b5Q==","signatures":[{"sig":"MEYCIQDAseJvrzWjU2zRuyY+0xTc24QU2g1G3qsUkWap6iqFXwIhAIPD9LWTcq9VEZvPzLix46NzF2R+jzBKC8TeQxhl4Hm0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.1.69","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.0","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"0.1.3":{"name":"apollo","version":"0.1.3","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.1.3","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"d7c721a97e83202c1dc9fc40f7ac697416392377","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.1.3.tgz","integrity":"sha512-qB2dSI90Embn6Uq78KI6AIWSGkZbRLQNFka9Cc3mI2BmhSdp44UvPVASsdOR+vdweX5g9/PHrlZjdTF2nUs5Cg==","signatures":[{"sig":"MEUCIQDLF1E2bcnzqXoAyNO5r8Uy0kyctIjTmCwp959iHtC6dQIgKzN0ly/fxOQd4WfjNhZWA6cmegbxwFYLxlkVat45r4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.1.69","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.0","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"0.1.4":{"name":"apollo","version":"0.1.4","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.1.4","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"18b7b1809e62466d728541b256fe4b8a685ab2cb","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.1.4.tgz","integrity":"sha512-cep9USdq7Of+FQFfmnbZZyhjFrqD0qMXnpVS5SIsEyeyQjNIpVxTbjwAHvrqsKjYkbshgIfMIanQnrx7LXcqDA==","signatures":[{"sig":"MEYCIQDfgzfyWC5gVRQ1ZKNxdyb0HhtPTVN7KSL3wZYCV9hurgIhANeCn35g8s79G0vG6cll6NvIAnNosyuOmu8Rl8+xiDw6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.1.69","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.0","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"0.2.0":{"name":"apollo","version":"0.2.0","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.2.0","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"3b87e3b5d050c15e41b579006154ec33bbba878b","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.2.0.tgz","integrity":"sha512-fyUjfrWvHuRkvmDmNeiJJEfE/WAqorhMdMGyxyl8zhsXNFPMPBxqcn7sLNm9a8oc6XiiYqpeOrm2BqScxop+YA==","signatures":[{"sig":"MEUCIQDyYZR3fSLZoXnuugrAj1euE6Ak+NELEgFqF5hS4ySuqgIgD9ZAdJnVm/yRmAU5g41S5QrzNGsT0wiZ5oJeztvZEDk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","_from":".","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.2.10","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.1","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"0.2.1":{"name":"apollo","version":"0.2.1","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.2.1","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"078dc97540efe987b3b8932dd979e3ccf2db2af9","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.2.1.tgz","integrity":"sha512-9qCqZizuSGynw/s2VpWZ9xa5X+OFZ6BKXu5XtJto7Dr7YlS57I+gEJwdD7Jt4LGHBJ88I2BlktLo9jiPt1UPeg==","signatures":[{"sig":"MEYCIQDbSYnGGrLvP6FQK0Be6IPObdkixqnMNl7EVT883YpcrgIhAMCOM8t8aoiq3RIx7qWogr9Ji6vpDrkNGYp5hQYykaTK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","_from":".","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.2.10","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.1","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"0.2.2":{"name":"apollo","version":"0.2.2","keywords":[],"author":{"url":"http://qualiancy.com","name":"Jake Luer","email":"jake@qualiancy.com"},"license":"MIT","_id":"apollo@0.2.2","maintainers":[{"name":"jakeluer","email":"jake@alogicalparadox.com"}],"dist":{"shasum":"e409f53765bbf98efa3d127a2789c63bccd025d6","tarball":"https://registry.npmjs.org/apollo/-/apollo-0.2.2.tgz","integrity":"sha512-/tuaXW5xSpDvEIc9iCtGXw8pulpy08YadguZWEthrKppuNSK/t/T4jHKhNJLYrfP76H8CsqkBDQCz9UAmKXxoQ==","signatures":[{"sig":"MEYCIQCU2NYDOo4zDdNTJAM+IBTWLGhnlrRK0YR+9MC03jAhpQIhANcrrnvgBvW59UW/aj6uX0/VNGLFM5xmJPfU0SQcN/r1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index","_from":".","engines":{"node":"*"},"scripts":{"test":"make test"},"_npmUser":{"name":"jakeluer","email":"jake@alogicalparadox.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git@github.com:qualiancy/apollo.git","type":"git"},"_npmVersion":"1.2.10","description":"Actor systems for Javascript","directories":{},"dependencies":{"drip":"1.1.0","facet":"0.3.0","sherlock":"1.0.0","tea-type":"0.1.0","gaia-hash":"0.1.1","tea-extend":"0.2.0","breeze-async":"0.1.0","breeze-queue":"0.2.0","tea-inherits":"0.1.0","breeze-nexttick":"0.1.0"},"devDependencies":{"chai":"*","mocha":"*","component":"*","mocha-phantomjs":"*"}},"1.0.0-canary.4":{"name":"apollo","version":"1.0.0-canary.4","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0-canary.4","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"6de5916d3274d9d79889a877a250203f158448fe","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0-canary.4.tgz","fileCount":33,"integrity":"sha512-rBEcPVigAiMDI9NGFg+WtXBeKJdczbaGkG/gF9fhjY15LBpccVbIzCPMYgG1vEba+7L3QCJJRCbPORRpxDHZUw==","signatures":[{"sig":"MEUCIB9pzJ7BVt+LHHs4BnGLT07fwlZXgFItpAHSbRILit8sAiEAiI8FRt6Kfp0pFH5mQe32gUG1rODQxDNd8NG/ya+3DJ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDcUrCRA9TVsSAnZWagAAd98P/1BsHqOJ4LnBJnruifWS\n78MMq+QcuZ5nngQaadxBRBKflp/DGVx48/NjhLdFWA+py4G2YVE7ShIQK9cX\nXCVyq/LKJND3m6z9g/HfzpzCn0dTM/v/u3/yHTdktf12Yx79WLfk4qhWbjJY\n4bnNVWwY0sm4ugZg7QDbVeun9m0gjY8nqbLtkUB7YCoKcGfSkwromCHEGZEw\nxCebrdd0A7I8xpSn3YlrOb6PXP6E6UNE5hXPvbQDQH7mPdnd8ah9yVI5+jHv\nc9sODUx2n9ZYMbJQZ6zrfU+HoxzBo4kduHNgg/tyC8DiLFoskb9QBXzdpvuY\nmeQGXn/JOorPWrg78B+d0kJvVWyAmrIYffQi8O6V0v/JCMFRYU7VENaIuk8E\n0O0dgynnm3PIpVx09PzsFPqyOEGMQQ4VAdnFjazpoeBRfcGjkkLVmwP9goZj\naFw77HZcdinjQ1A4JWDj0y34OIUmEKb7dm9ayKSR+EinA0UqX2ZkbJkuUPr0\nTBjzOqazSpQ4dCKBuxkmXgZhdeWMTn5DeEb+eCk4XSUcDhe4IfNBiBkAo2EL\ngeWerWYsKRDGHZCf00mrJ26dOq+y3S/apH/ogFgxCZENvJsQPm9oaC2992sK\nTlWMPPdTpwLLB6T+ECNv29E0Y90KRnCY71uJKAvIjwG9ByrvNwJyqMd32ks7\nSDI7\r\n=L4pv\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"apollo-cli\n==========\n\nCLI for the Apollo platform of tooling\n\n[![Version](https://img.shields.io/npm/v/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![CircleCI](https://circleci.com/gh/apollographql/apollo-cli/tree/master.svg?style=shield)](https://circleci.com/gh/apollographql/apollo-cli/tree/master)\n[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/apollographql/apollo-cli?branch=master&svg=true)](https://ci.appveyor.com/project/apollographql/apollo-cli/branch/master)\n[![Codecov](https://codecov.io/gh/apollographql/apollo-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/apollographql/apollo-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![License](https://img.shields.io/npm/l/apollo-cli.svg)](https://github.com/apollographql/apollo-cli/blob/master/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g @apollographql/cli\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\n@apollographql/cli/1.0.0-canary.4 linux-x64 node-v9.4.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema [FILE]`](#apollo-schema-file)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema [FILE]`\n\ndescribe the command here\n\n```\nUSAGE\n  $ apollo schema [FILE]\n\nOPTIONS\n  -f, --force\n  -h, --help       show CLI help\n  -n, --name=name  name to print\n```\n\n_See code: [src/commands/schema.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-canary.4/src/commands/schema.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against previous registered schema\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output result as json\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-canary.4/src/commands/schema/check.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output successful publish result as json\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-canary.4/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n","engines":{"node":">=8.0.0"},"gitHead":"0d498ec6b64e752743957d81c253aa741aec8036","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0-canary.4_1527629099514_0.5984264646321318","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.0.0-alpha.0":{"name":"apollo","version":"1.0.0-alpha.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0-alpha.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"396ddb14261e13d4842e508715616d187a6eae4c","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0-alpha.0.tgz","fileCount":33,"integrity":"sha512-mw8jeQE/pDAKXIkvjMXbnwegzZ5MvJ1OMH8IHsCL+TeOSKaf12kw9R8e0MJnW+0CJsrTjzZ0L3GvlcRgcq08Bg==","signatures":[{"sig":"MEUCIQD5FTbOlbkxiXU3qbcTnlmcr3fDFZGslqWrun+NcpsaIQIgB6RFN+rB0KmkxDxRKO3320nb24GqgH7LJTjUOwNGV2I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDiu6CRA9TVsSAnZWagAA0A8P/A/6XSE13Z47RZIvyD65\nIXmo5bJOJal31ReW5Y3pYk+Bl5CqYn2+uCUpw8Hlhuy+zWWuTz3mRWWiRG5K\nZxW78oos8nXbJ5GUzCsSSuSxG4UDA2vLInci1FR4jK4AbN50B9oNWcHZc5Q3\nw8JoM/5/JGb30bcvPsOY9O1QKs7SNqZmr4AmAJfqc5nITphpZ37KoLj7Jcmm\njuTECbq70u/w+itN7dBo0BCIpjI23hxvgdMfKf4DYWBhm/mcqbmcA0fQazTT\nM+XOxX6M90ehkgdw3mSSrdUVgqz+WcLiGm88x0voLEXIsqidenuvIRvSXa0+\nBlZtMjTVr2x7sQFeJdv2hYhofAXgkxDySONHknRu5p/fEsHJHaIoCRldYe3D\n/9pOTB3Kzx3cmlBEN7h2t0TcF0m14koWYXzlV6CIO0CtH+LVOr7wragz9ktq\nsWElipD7oQmpqRU28TCh805hlnGVL1T+y8zP5NI14YWoiafTzYNGJ9QsSuSP\nJmZuBK5Q6mTArKqvv+VZRDXXgQoepQXiNwbpJw6epWoFu/CpCQEa3Gju6SYA\nHXMcHG/vCNjko8u9orBzObuVTDDU6z+NFJMUgFwBly7HxSJumOfBsdi7O2R2\nCVKH913Rj7sYS7rKyOBuF6XO9/Ro+HHPNXlRxtD1EhYT3gH6fhrGWPhk4rYE\nZAw1\r\n=PeNH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"apollo-cli\n==========\n\nCLI for the Apollo platform of tooling\n\n[![Version](https://img.shields.io/npm/v/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![CircleCI](https://circleci.com/gh/apollographql/apollo-cli/tree/master.svg?style=shield)](https://circleci.com/gh/apollographql/apollo-cli/tree/master)\n[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/apollographql/apollo-cli?branch=master&svg=true)](https://ci.appveyor.com/project/apollographql/apollo-cli/branch/master)\n[![Codecov](https://codecov.io/gh/apollographql/apollo-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/apollographql/apollo-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![License](https://img.shields.io/npm/l/apollo-cli.svg)](https://github.com/apollographql/apollo-cli/blob/master/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.0.0-canary.4 linux-x64 node-v9.4.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema [FILE]`](#apollo-schema-file)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema [FILE]`\n\ndescribe the command here\n\n```\nUSAGE\n  $ apollo schema [FILE]\n\nOPTIONS\n  -f, --force\n  -h, --help       show CLI help\n  -n, --name=name  name to print\n```\n\n_See code: [src/commands/schema.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-canary.4/src/commands/schema.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against previous registered schema\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output result as json\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-canary.4/src/commands/schema/check.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output successful publish result as json\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-canary.4/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n","engines":{"node":">=8.0.0"},"gitHead":"55d9157e93d0d6dffefb7f13177c914d512fc458","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0-alpha.0_1527655353594_0.7886348841297788","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.0.0-alpha.1":{"name":"apollo","version":"1.0.0-alpha.1","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0-alpha.1","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"182e33830d2433d46ea7ff56d03148a5bfca5ae0","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0-alpha.1.tgz","fileCount":33,"integrity":"sha512-RNEVi6NgO2Kjsyv2RgPmYunjjMF+j2Guo/muVhGroPX1WtnuwjMWeHrmie62CDTdM2/Behj8M/HYH4BgFWZ8lQ==","signatures":[{"sig":"MEUCIQCH3Lx4yuh43WVjMPrp6CkD/6QdzoQ5J02D5kptcG1F0wIgPCRm+j+E9gkH1pZ0IIp9bdUROEx1LiewXr/jGcjY+84=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDrNwCRA9TVsSAnZWagAADjQP/jT2axVkqkS4qQxpqhE7\nIrvcTablb2sNozMTNFy6OgrXQGRIXEtCtx+qTBHBJ3Ax8y9Rqy0R4iGsnz0e\nSC2kkyAvuGjl6VXZmDK70Cs/1Ed0Y6pqq6CZO47jUi9DUHRHTCw5HEb9v1v4\nefu8FwjSdTrwKwHnyNIZKYh8lHlQNpgoM1nZOLj3mF2VU3J6LduCZVJ5wwuY\ngUDx7hakwTp4NunzIy3M73q3lLW5QHkifuWUn0Bx85zO4En4O3FT5hZ7x3un\nLzRlEyAtkHUY+Ei9TM0jZRGO0TE7fxBAVGTjqgY+uFVkHCxppE+UACxx3y7J\nzhdfQwRo05UctA+kuUezRn0LpsK+MWnXhtpZ80yKJ0e9nyWU3RnPfFynRk77\n+4/CrXhTD+5meT0pOSUxkEgy93qiWkGf9EgOTC3UnjQ1dJWRQeKCev3wgAdb\n3eH/P9Mx2pvD4i1FwT+O6h+Z10UcgViDihTqP2kLHHeCBmp0NOxMpCyO5+8O\n0cT6xK505hDJV/INerwdFag0zWap3iLZ6BudKe9V4rM3ZPJBLb8r83EaYpSc\n8LcnI6r8AIn8dqqwy4IIudd7G69uyI0Bf4MbZLP6AfaHv9z5m8v5h5xP81c2\nd5wg+IV+4STfw9PGe23WBqnFGETx4AZEIN9lfrGdAp+1UUGEJ6kmjj9TmHfv\nlo39\r\n=2obN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"apollo-cli\n==========\n\nCLI for the Apollo platform of tooling\n\n[![Version](https://img.shields.io/npm/v/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![CircleCI](https://circleci.com/gh/apollographql/apollo-cli/tree/master.svg?style=shield)](https://circleci.com/gh/apollographql/apollo-cli/tree/master)\n[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/apollographql/apollo-cli?branch=master&svg=true)](https://ci.appveyor.com/project/apollographql/apollo-cli/branch/master)\n[![Codecov](https://codecov.io/gh/apollographql/apollo-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/apollographql/apollo-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![License](https://img.shields.io/npm/l/apollo-cli.svg)](https://github.com/apollographql/apollo-cli/blob/master/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.0.0-alpha.0 linux-x64 node-v9.4.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema [FILE]`](#apollo-schema-file)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema [FILE]`\n\ndescribe the command here\n\n```\nUSAGE\n  $ apollo schema [FILE]\n\nOPTIONS\n  -f, --force\n  -h, --help       show CLI help\n  -n, --name=name  name to print\n```\n\n_See code: [src/commands/schema.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-alpha.0/src/commands/schema.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against previous registered schema\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output result as json\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-alpha.0/src/commands/schema/check.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output successful publish result as json\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-alpha.0/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n","engines":{"node":">=8.0.0"},"gitHead":"4162cf982ef4163dd298e35dd545c3b9aa407495","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0-alpha.1_1527690096196_0.13924439940040578","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.0.0-beta.0":{"name":"apollo","version":"1.0.0-beta.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0-beta.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"2d47106050c2398d86fa7d78d467d5e2fe5b956e","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0-beta.0.tgz","fileCount":31,"integrity":"sha512-qad4Qx61PfYoe7KWXE3AL6f8g+Q3gb4V2kXGUPDpgtmUDHA0HYlmZURm9QEUdzdlCgGvCGhELT7bkEmePLLlIA==","signatures":[{"sig":"MEUCIQCceBLMZNt1pzcXyT2N+B66gx8QpQAzarmq7nEX4GSy6wIgYZlXPGgF16ZdgD1fJvbXvY43j29tAAOyZzetA9m/1xc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHoNyCRA9TVsSAnZWagAAcq8P/0KIT4JXuZusqK2/+51H\niLmrcizRoCeC6Q7EaM8QO/MmlpMrh44Ax42cYkklgX2SlYE5fibLXFmMXz1U\npNDq7yiMn3QQZWvayW/vP9zWSB7pCqFrzWYq6Tu3nriIjcGfLmbVUwZodz+R\nflKvohZX0H3P2pSjxnsTeVADK6X2+bxHTNmkwO142T709AVZIDMdj3zlMELa\ndhPjfuivDAkWAyKy7YMKHIl34zcrA1TfQQqiRLc23AZeNEFwEUy2DSuQzEGW\nfZ0/KsLvxVoIS6nvEAN0VbooNpUgJhsbStudGSrSjMwUqWaLTYlhskGjXpmN\nn75DeXyh61PCjoTHChR5+gq8hz7zMzGj6tMY55NWgAL3Ez/+GZMe5JpiVJuC\nJa0iSSbIjxrYDTcclTIon+kzGlXAzwM1vHAsBEKx7wJzbGbIFe1I7mQTvZ5x\nXEleDjQnM3uXqvBmVd3NBDvyI4y+ZI1LupMUmgf/gaGhHdDOdT/G1YTqxgYp\nl5AP5WSNaEuM8+myRKt9CIy8NzO2E1FnEl9yDCxG3/suwUzrsFkNoTK2BMHo\nqKpp5zscolUNbrVr+lEREr//CGA+d9RqeItgzCEq5Ir2WiEuAlCHTPohmgCk\ntBzFlzbePZcAsbPXS67K6nLyzZLEV1lR9j5jgmuwIZtOGKkM6KQHxoKjqqQH\nnKV4\r\n=aFUT\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"apollo-cli\n==========\n\nCLI for the Apollo platform of tooling\n\n[![Version](https://img.shields.io/npm/v/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![CircleCI](https://circleci.com/gh/apollographql/apollo-cli/tree/master.svg?style=shield)](https://circleci.com/gh/apollographql/apollo-cli/tree/master)\n[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/apollographql/apollo-cli?branch=master&svg=true)](https://ci.appveyor.com/project/apollographql/apollo-cli/branch/master)\n[![Codecov](https://codecov.io/gh/apollographql/apollo-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/apollographql/apollo-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![License](https://img.shields.io/npm/l/apollo-cli.svg)](https://github.com/apollographql/apollo-cli/blob/master/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.0.0-alpha.0 linux-x64 node-v9.4.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema [FILE]`](#apollo-schema-file)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema [FILE]`\n\ndescribe the command here\n\n```\nUSAGE\n  $ apollo schema [FILE]\n\nOPTIONS\n  -f, --force\n  -h, --help       show CLI help\n  -n, --name=name  name to print\n```\n\n_See code: [src/commands/schema.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-alpha.0/src/commands/schema.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against previous registered schema\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output result as json\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-alpha.0/src/commands/schema/check.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output successful publish result as json\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-alpha.0/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n","engines":{"node":">=8.0.0"},"gitHead":"e9c3eb561d1f6111a9b4915df6074176d6934fd5","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0-beta.0_1528726385882_0.5185145738076857","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.0.0-beta.1":{"name":"apollo","version":"1.0.0-beta.1","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0-beta.1","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"5f1966cfe172b2f3d29fe4b05e3387acd97a46ef","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0-beta.1.tgz","fileCount":31,"integrity":"sha512-81jGFJWXIFryfX88T/W5Bw7nyMx3XhIr7IB5ibg1si/TgjwkW/xQDMg4E3GefmG3OSJt2qKcHKFHilPsOrcE8A==","signatures":[{"sig":"MEYCIQCSg383Dh1V4lUK9bwGzfpKkStuZFgWJu8RVNhAfMn4SAIhAKLQ1IgPyxr8Hg+ydXeMNfMxuOkeIKSu0W33EBVXObLC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHo6xCRA9TVsSAnZWagAA5dQQAII44KDaaMNejhf90YLU\n/9tN7QGR0FBqcefE7l7qmQ94nuMliOkNBLfd+PA/Z8mfxEH+6YsFt8BoZrtG\ng/rt3b7AyQYVmek05YAEEBDcCCu0E/fqOLcQ86F/qmbtu5U2rL83X+9UK6G7\n4QQBDVxY1lkPbpsaO2YJyJRo6ZfFuY5mkuPkvJABfsbxYv5ONEYy8kc47SEH\n/Qa3pchsqFDgH3tanJ+2/LQxp7w6ieY7HE7k8nY1yRDOkRpGhucEZA11pHUh\nSZGOAwZqBzIY09+ILmeeQtKFhzyAspqB6SnVGs9n87o0M2YFgZqJ2+YCsWD2\nO0oy7wueEqldF8KevMZwcK7hpncu3AbOigl057ojY35wYicXlustc120x63I\nFAjMB+p+AF1Q2QioJM2wTBXpYBzixkCdoe/ivE/X/LY7k6/a8EWwUq6chwVg\nvCmvVnRiZ+DPLsArWTiMVcszlxQ6IjztRnPao84YbrCcYNxB/uey/85Gz33e\nf4X6PlXJf70xf1AINWDLPZ+dITDemE/do3kff1QBadN+KWtAEboOhgLg338r\nPrhJ6Hm3g/ENUqrdYX19DPsLloWjGL2hpt/fivNS2kEVZMGz1GMdqZVwdKSQ\nBB9XXwkFhXbVBz3RqGtcMqu5bk+PGzR3wxDd6NqIBsyplUM2f3G7h5aZwIFK\njQZw\r\n=sNTe\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"apollo-cli\n==========\n\nCLI for the Apollo platform of tooling\n\n[![Version](https://img.shields.io/npm/v/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![CircleCI](https://circleci.com/gh/apollographql/apollo-cli/tree/master.svg?style=shield)](https://circleci.com/gh/apollographql/apollo-cli/tree/master)\n[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/apollographql/apollo-cli?branch=master&svg=true)](https://ci.appveyor.com/project/apollographql/apollo-cli/branch/master)\n[![Codecov](https://codecov.io/gh/apollographql/apollo-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/apollographql/apollo-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![License](https://img.shields.io/npm/l/apollo-cli.svg)](https://github.com/apollographql/apollo-cli/blob/master/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.0.0-beta.0 linux-x64 node-v9.4.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against previous registered schema\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output result as json\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-beta.0/src/commands/schema/check.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output successful publish result as json\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-beta.0/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n","engines":{"node":">=8.0.0"},"gitHead":"8d2dd59ea029e5dbe0aaed5b9543a5daed1fa273","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0-beta.1_1528729265186_0.17274462278402325","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.0.0-beta.2":{"name":"apollo","version":"1.0.0-beta.2","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0-beta.2","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"4beea5760039cc95af399af9d46b03f248750621","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0-beta.2.tgz","fileCount":31,"integrity":"sha512-ZgvPg77KdXip+0mnf9MwQx1pJxuR4FLcWu7LWRbpbekkKWNT1J+MXRXTK8Vx3sH7CaMzgCFBV/slbvyUxDcQVQ==","signatures":[{"sig":"MEUCIQC7EcTQU8HDlEeO0+LwBHXVLkZLEITCSnmws8nZ8ezw8wIgedY4XLa1SCjfY3W1VmDEVqnRIYbpexMF1KBaFxWEcVw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH80dCRA9TVsSAnZWagAA0BEQAIPi4rVFZSVvRhl4VP1F\nC27SkQCkFje1N/N+TYyloQ2axFM1hsvqLrwFNE6xmDIV/BwLfZe05YBaS1RY\nt80ADssFxo3VGJmY+OvQkIzpkznvg5bUh1zLl7o+hkH+9JwuE28/Az+7xeDP\n9vSpeGQnzcTyh2r7YnU57YEF/MN8mVyyRF3+TBDocbUE0YEKhuUA04XqukuM\ng851kndiSNx8PJjmFhSnXqytLoQiI7fF9F3DPQyW7HD2v2IBZLazFyG8ok67\n9P4BmDHBW9yc9j+ZA3n9odjd3AwbY96Ob6Ctbkd0Am0aQqFJb+1I1EXmaRdi\nRFvxDdStdi4NW/0ClxdkWZ4HatkLnh3yBDvw3Vo2jbFk+yhx70uUQQksfPCE\nlS3Fx1IdyTuyzSiNQTagerATyt6uWHaGoBbgbvLcRGhloIHcUFbmyi/gIkvZ\nAdnMhz7LjUhCJYv3ke5p7+n+0gWUBQmPogoNAgN9Sm0OlkeSj3rI77GHB11z\nvHhasO4TV72Am9Plcld1WdroF/AIftQGA7ccrAuQQiR0RvOSnymsj/88eYBG\naC4ziZfMmEfNLt4TF+roSYinsqDNHJuvE+qWvv62bx1RqItuMGfOvbnp2stg\nHQhNFQMYaYA7oequuwbIOD4yWiw7aK7juuZIcuLJrgnm8z+OI5u1KxvLFp46\nTQ5G\r\n=izKR\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"apollo-cli\n==========\n\nCLI for the Apollo platform of tooling\n\n[![Version](https://img.shields.io/npm/v/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![CircleCI](https://circleci.com/gh/apollographql/apollo-cli/tree/master.svg?style=shield)](https://circleci.com/gh/apollographql/apollo-cli/tree/master)\n[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/apollographql/apollo-cli?branch=master&svg=true)](https://ci.appveyor.com/project/apollographql/apollo-cli/branch/master)\n[![Codecov](https://codecov.io/gh/apollographql/apollo-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/apollographql/apollo-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![License](https://img.shields.io/npm/l/apollo-cli.svg)](https://github.com/apollographql/apollo-cli/blob/master/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.0.0-beta.1 linux-x64 node-v9.4.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against previous registered schema\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output result as json\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-beta.1/src/commands/schema/check.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output successful publish result as json\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-beta.1/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n","engines":{"node":">=8.0.0"},"gitHead":"ece4a363c4a925cbee0cc5e2ca9eadafe49e1edb","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0-beta.2_1528810781244_0.9112834057591028","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.0.0-beta.3":{"name":"apollo","version":"1.0.0-beta.3","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0-beta.3","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"7764a2350e7eba4a4aee5f3458f1e7348ed7b9ef","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0-beta.3.tgz","fileCount":31,"integrity":"sha512-FObnLozXqcuh2yqy4lmKWWIBi0JxH6sNW+lyxrDEQcaqVcgO+xCYqGzMFa8PDz9zudSmUcpdqDK+ooYXUFIREA==","signatures":[{"sig":"MEUCIQDmEKJTVmaKZXCC6w+tXXRMq1gbeZJRNzOMc0AM3fiFvgIgL2k0REwxMrQ96zWafE2/rVPnvekmw7xGY/+WRLaMNxY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIbeMCRA9TVsSAnZWagAAzAAQAIFluvv0lTX1CKx6kk2Z\nZoJfx5yhIGpCjYNbW4hjhWSq44OwTrh8lMZX0caJ8lHcDskCys+hw6j+0kZv\njhiE7F4qayjjNdh10Trmin1LODC0OJw5BY+5VrZxlMojLRA5xSAjP9DzcR8y\nuTszQo0P+4Ai0eXT5BEvUwdtmOLxFOOJP6znU0eUMZ22hXUgrgvp5r29T72H\n8sdejgvQ29uXf0w9M7rS7R+jSTxjUDxPAzTsVT0N8wjzgGvhLPQYscXKwk3i\nNM2vI8yRvgiZ8i2Rp25OCzZzaLGtIIq8wuRSH84GpkcWanXDJ+c5+RRJ0VOc\nP837mUQiuoPbJD7zD986DoQgaCKKoeY4fvPfN9iS+rFpWmcHr991rCwStefe\nLIfgFTlZ3Vh1HV1tTFnDVzscHszTK86repTikHZSg/qQT2uAoXTxOQ2ogwC0\nDT2yUXg+u82qrB/I1HH0L4nKP4Fs2+70gbmB2F9ZJ1hf9jRvC2dUW4WINq3+\nYZFHZDz2dp76o03Ju8thNQTjodrORCwdCD/mKmglCIR98cv5MRczUYlzAKae\nK22nzG5HqVeevIOOtxia2OhGWgY/a0nSsc9I0hLFav7KeHoWS+zXeG3JuWuJ\nkiGcRLs4Sm91OqroAiZ2/QX1mzvlfub4N7S8TsoY/Gkm7u28eumemswVS2gt\nXRZ2\r\n=TGSD\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"apollo-cli\n==========\n\nCLI for the Apollo platform of tooling\n\n[![Version](https://img.shields.io/npm/v/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![CircleCI](https://circleci.com/gh/apollographql/apollo-cli/tree/master.svg?style=shield)](https://circleci.com/gh/apollographql/apollo-cli/tree/master)\n[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/apollographql/apollo-cli?branch=master&svg=true)](https://ci.appveyor.com/project/apollographql/apollo-cli/branch/master)\n[![Codecov](https://codecov.io/gh/apollographql/apollo-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/apollographql/apollo-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/apollo-cli.svg)](https://npmjs.org/package/apollo-cli)\n[![License](https://img.shields.io/npm/l/apollo-cli.svg)](https://github.com/apollographql/apollo-cli/blob/master/package.json)\n\n<!-- toc -->\n* [Usage](#usage)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.0.0-beta.2 linux-x64 node-v9.4.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against previous registered schema\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output result as json\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-beta.2/src/commands/schema/check.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -e, --endpoint=endpoint  [default: http://localhost:4000/graphql] The location of the server to from which to fetch\n                           the schema\n\n  -h, --help               show CLI help\n\n  -s, --service=service    ENGINE_API_KEY for the Engine service\n\n  --header=header          Additional headers to send to server for introspectionQuery\n\n  --json                   output successful publish result as json\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.0.0-beta.2/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n","engines":{"node":">=8.0.0"},"gitHead":"44596d2679265e726a34bcd533f1a161e3bb0de1","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0-beta.3_1528936332592_0.9882505824643972","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.0.0":{"name":"apollo","version":"1.0.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"14e31b71c30d3f8be7b727a76cdbaa549f0f30c7","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.0.tgz","fileCount":31,"integrity":"sha512-G1Ft5ubA4hYE1wEXTe/dRaYBvWIpezb1lu14UJUoj1tC4iLt3bMMF0NXproPPhhuUWoq5r2tBTWEhRaRDCyFFw==","signatures":[{"sig":"MEYCIQDzxRSyMx576FWHfWXD6p0b+IyiyA6mzeW5qu2mgRVYYAIhAK8Nlci8wIpTUQYYgzA+zHeqP17SbfGRdQ7ugm+Nf2U+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJ9MHCRA9TVsSAnZWagAA45IP/1y/WyjWLfNw3B2CGsPA\nd29d3lJ8pR02TItR0/eBN6SwnACZv2OCaA0e8pSBcUN3iDO+RhwHK+KYHAN9\n+7liABeRiI7ctVFjqMKTZR0/HrNB5FWaRsSbvOXbNVaS042ZDoq6Awj9GhaG\nvmpaE7dn13HBinq+Mlka2n1q4TViTow83JPYOwtt+q81koXWtlAKZ7RZoBn+\n+Bsl/JPSDhvWVTKquaXt3lFQdO4aMGteOyVuVv1i6KW9AXNmaDfTxn6qJ6ZI\nXzV1SMxb46Cj0cWxZlmWuep6dGk2tdQuJImHaPDA+6WrMagqNNnBRfHS18RC\nrpZj1UW23doHvPsW4/WACjDD5o/nUxeFo1MNcwUV4xYKhhDFnTWNIij2x0tE\n/Po3tlB0uCoyyLR+4+A7P0vTM2BgDH8ZaouIz8U1hMzZn0r2oSxaoUgxZFW1\ne/QfwCp4vJv+lkJ+roMLJ/HoDwWxgjW2f9G/HktMnSLklNNVeDX4/LERqadc\n+VdyHoQ+knA1c4VCqk78vzxp+sKutB8p0uZsFLN3cFYRBLwmFrJaKslXIriC\nV1+eRL/a3zzEZFcENTjrJddnq1ovn5zyS4q4qocmnVxAhxm9Ek8euYFzrclb\n9p1ZLdM1o595rG1qO8H00BcSQ2Vtga8kfPVjaxqZmY/K6e3LBp5wr8ZIWMQS\nxy43\r\n=Ctb2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"51a22931b5be052f345d2b5445e28444a488aa1c","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.0_1529336582975_0.7952176673997962","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"apollo","version":"1.0.1","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.1","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f852de90d83168834c18cd811ef067c8531e897b","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.1.tgz","fileCount":31,"integrity":"sha512-/u9kL/xmVxLs6ewaIagqsEOTzV24Yfssvip4EKybjVsdcCQwyWTC3GKQiD7F7xuMpT7qrAaSq8dtCLyuPLDMlg==","signatures":[{"sig":"MEYCIQDtLLwfy5E/GTS/eUt6QEedpUqAPfqGkLb1FDpjYwS5ewIhAIhCFhol+pd5exB4WgCd+rjBcP6KnLDe8U7iAbeSlKjb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJ/lTCRA9TVsSAnZWagAAJHMP/17y+SoR9mJwS4ECNjd/\nxz4jkD5nCGOxAXKA05uxY/hkLF/fcCgh7NranRmYWZ/8cvA2U1sx4fs+rPCi\nPOccacX5WhBhCAD39WOZaYGrjxVsjEt4i+AmtzGE3+UkY5wAHNaR+y6ZhoJc\n2W51A937H1TMSkcTvFc0HxfHzqWMXyiPRR+8xf5AtwSbg00HNB+bB2hPjxG3\nQoQA2/0GlVCa4IhkIMvFILRtwonBwgHew+p3OqV4jPevM2AIZbRI3A4mRtsz\nwAZiS23iCfsg+RqBAeyAwrjhCfTYVsoDT54QmwprJD/+aKqAifXweqipTFKZ\nnJ6Rdtw0njsz/zf6mFqbh2hJC+G50f9v1b9/kK53UqSRuAOCh5n16Xr7rjtg\nTN68LW1B2D57r6OzxdudqmW4wZAm0ubZMdHS/MRt8u073xSoBmNKLTOjSiq4\n/Tn1lgkX+rZAezBugojf8MqFl7n7DNOWXSgWDJnNVKD2P87pr05TApc9YtT9\nUXi/7mjjfkvk47kEAE2jHo/lHuPpXgyz7LqFxuO0c6NdwtgVQNWofe6BpoCd\nRiIPCHTi9yrnfSjWFYohaxnFu5YRc+vSu1FKumPXyg/eiaTyfPUW5IdEvbYd\nvHS7xBEmqPf3YsB8x2rDZGA703IBbYHe1qA7U3MNkEcLxVPljM2Hf9Rs/cJ7\nDljZ\r\n=IWBe\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"4442b2ae9348e0e1aa9772a29c0bcf60eebb9171","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.1_1529346386994_0.6795593233177084","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"apollo","version":"1.0.2","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.2","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"be9e6b6324211a4b213c075abc2d6cfe7f473626","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.2.tgz","fileCount":31,"integrity":"sha512-gJFLyMLlpTfhDs+qraKRIsnIKcVA8Rcva5un0gZbSCZs4W+j7vKnkzJ4XrhNifAnNWxNsOo5ri5Z2xfqJVSDWg==","signatures":[{"sig":"MEQCICnf1Ch9Z1nUQtc9LEwQhJAHzAWrhRjpyWc86tNi1sc2AiBJmy6yhK44rjE6QoHXT5zZj5Bm3XgamXr4ojDLHdKagg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKP/bCRA9TVsSAnZWagAAyy8QAKOApsEFcZPwju4uosO9\nGfqKxV/iB1Xm/tjqq8cgKBubQsOeJ1S2pbfbch/VQ8DU7Nf61W03tP4TLNyN\nshsu0jxnaUBw+ZiSSCLla+9gPsBykbwsDzIZWGOj5+ZFgzUdNJ8dSssPJbnd\nOwM8ZI2YBGYvLDk90kbJDaXyC8pAh3IrcsozHjINjtGc3KOIQjXxWjNzGSLD\nGtUJsqBfrycH+rQ9cubSkJGSRGT+v+0zUXd7hv/pEUbTsS2o0osLPukNIbyA\nUXN/TovqX/z/wtMgcIkTZWlgZ/Mf/8aBLD/tk/H83P/Tm5fttog8p6JhJGbQ\nC1S6chvoi0My9wcf8A4xSmHelv2ifQSYbq9JeP64Mj91427HNZy6M6raBTQW\nQZ3fWAD1XmHoKSbCzxdaxuq6M6Y5anzFS1fYh+sYWu+O3coLw8s4qI0XAptV\nPGpK5FE2Y69vcix4WnuEe5r/Pf884+T1zmbdgV1L4rATBLEiYfiUMGtguuU3\nv4vjSMF+cDPWBf+/wvAuMpCAJhZCXF3jPZGgLdmAAGNXGR/EsLYzHi9r0kwG\n4KQEQAbof8N2Bo9UiAe8DxHBAfAb6sEAnX7uW83vv3KJ/gwVXCFPsna0cIT9\nBLhsZ3VJCTLQGgfl1ZEjGvxcgZp9aeB38WjtpSsMhN9VQwliTzDpq6H5ur7H\nlHLc\r\n=baEZ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"c32c44666c4a8e684f7ccf51a52543d8b9ca283c","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.2_1529413594246_0.38967448615426137","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"apollo","version":"1.0.3","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.3","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f42e432bdc187373e90551a5a8f0ca43ce0a4a70","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.3.tgz","fileCount":31,"integrity":"sha512-6f9evPeD/bdu6zQC2BmYI2X28FJVo42VD4X0aeBLbdaJKsGFWf/HQwM7EJy8Acu2Yl75qADw6n02BFye6s/ptA==","signatures":[{"sig":"MEQCICxy9iFJM28VCg49oMFLWRiD0RukeGaYrobJRckFpMssAiB3gEDQHJDWDZaR06IV9iN36HVyaCd9AbBGksJa6Bd3aQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKTJmCRA9TVsSAnZWagAAMWQP/18rczMs7Am7bIkmXpUa\nQM0ATSqVM65wBdzAww/zoCyV6mk2leDg+KCJ1S8Dl9xhq4Vm7eJ5d67LuULx\nXvkFBNlLSbd1Xlc3o9Iyzc87pGlVBYhuEXsg5Gc7gpjC4GnUF/4ak0UuKN1i\ngveISQEANIPUkhCegs4hPUa2vMuLWmnOK3yZkBCzmZ+bekWHq4VLVinXfMfP\nQMMwC6FAjQOBumsdmARqjbWXoQipZTzPke46Yc6LegHaDyt5lieEZM5xPyB4\nEfiC2I0F2mqmbRffJ07s68TOQUheZWFzmO1omDQ1tO62V8ftGiJCkeyAfvyp\nLQYOei2cbXhOceuAtOd0IBzv/leeaBnp7kbqAZOFijT/XrlNf7rTaplt3DF7\nbTAoaPk5duVrgvmXBSUOSrdM/VvM1peS3xfTBemuPHOpkdOUwGDjA9ykvQ0n\nAeonU3S8FgjCW2BVHh+zEQ7A+wA8sAeEoTED2gejMinwtgLTsePt58u14D+L\nVlLdlmtXYlpJ7efpVjNzolNd6GK4L9Gla2Y7/PTPGllBJzssijwJxUzoqWNf\nTZi26T2WVTwhBJ3+Gd+APvtkSgf21FGk7RbFPXGKqLtyL4wCso0qjtrY6CSV\nUrkPWqufDoKkp4gXUVvzVpoVyrefYohii/rO1+H19cTV25RJ4qu68MGxb9Da\nBKpJ\r\n=Ut9U\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"5d425a62657cc4a62974146160878bab89a0ba30","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.3_1529426533744_0.8671298881025142","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"apollo","version":"1.0.5","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.5","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"064504ff3243247921f82f042222e8d634eb0032","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.5.tgz","fileCount":32,"integrity":"sha512-uEX9EqxiI7exB2cMJDID3LJnc2LDTjlDGiXPvn5IfFPhum1b2djuvwGSKJm4wgttbLm2fzIcZSd9IcCwzJ+/XQ==","signatures":[{"sig":"MEYCIQD+3XhhCGh1A0VexB56QO8nqkUxn5Y4Ni8i4URkEDv8OwIhAI6sD8VQkc+7x/0Cbvgw1H6jShh+/Y8ubSvBXd53bCBi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKv2RCRA9TVsSAnZWagAA4AMP/i9HOF3+h2ZlEKiJ5MVJ\n1MpFx3P5JBd5icUeV13L0bi09PyC+ecIGIyPFx83oJKESTFpoDHxj4MO0Kdw\nFP79xJQ5Te1T2pWEob1MT8/3usBsThkMoeETIDDUY7MOeRw52gAj5hq9OYmc\nvLz1s69NQ1GhE0XRPZPS7uRGlK+VR16RJEENUkGcVL95N5KxAqHRdlIiXVhc\nBo+CMh50/EUey8/hrZSjQHkABBvf28qzipXYy/KFBL5iCHNytiEeziTug6iq\njgkI9Nk1ypZof6Z84L+kK5g1RooW358Qqr0FK7L2eJX23yWXOPD5uZmJvP7E\nFaPkYvHBcvV2n0Ujunsw7NCLFZRV408XrGqX1wjC7CZcEz3SNW5s+PHN1cdT\ncynIZPHmaGyjNezFyAhB4zGUHdLjsG2wc1VXwmhw5cZLjfE83SetHXFPdXq5\nsLnnM62PykdE4EtO5jbgqACbxO5xT5hJDmumrtUnjyyRHTvWlUeNwiIXXZ0i\nsh92jyduszqm6A3eunNr9eK0VvXQRz8llVrR3fIHlASrkuio79s5zHEC5s/3\nTN5QZOYSvS3bBgQEu6uWDSFXrVDKuLYeSRPq6Qk3QzesTnamaQPPO6kfhupQ\nsioLwqLbxsvE8eG6PB61gEb39t4p7J+5aD0F5MtEZx3paaHvX+rhP3fYng9x\nA/te\r\n=pBjK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"f940e17bb52091fde8595e4d6401da8ca5ae073b","scripts":{"test":"jest","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"5.8.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"9.4.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.5_1529544080910_0.8671750875615898","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"apollo","version":"1.0.6","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.6","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"3484786318c96561e8485fbe6bde7f7a256f021f","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.6.tgz","fileCount":32,"integrity":"sha512-c+4Uh7gp3KZOYLOFm5orm//WwPGSPs4eKEj8srVg7w3Cx5j6ur4fcNsWVAT+DP3r21mqH6uobXge4HY1dDszsg==","signatures":[{"sig":"MEQCIGWpDDpxk812bOdpv5lCVNnaRu1TSTGROLSA8vi2uEPGAiBB6xqwzm+prLxyBUkeIkbRI0w0U8n+fmMRjmHFj+x99g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMjD+CRA9TVsSAnZWagAA66QP/inZp3EBdjawekRd3sjJ\nVEPvpHwUtf961kHC/7/fOZdPRg0zcUQYD4x5uHRlyAwUILYiLuFDp6i9nsU9\nA8FNOSvO9SXe/6iLHlbFtoD6R8FroLjhqLjWchIrS4NCIEqtsh9W4VWSoLa1\nGENNFD1RBSKWNj6hCvxEOdVzZyP2rhUOScwq4mUABbJQu8F4Ed+KoHFmtGfc\nPIyFKXLE5WMmc2OyVJxKVb8PDbTnv+SpXilqMqloShXB4lkNk6aI2WmntnO8\nKRpEUjInG4VavcP0C5OmbQVX81j1jSAbO57Zok1WLmxnLouJPoswxSZSb0Em\nO8BRjbw6ZdM3KGT7mMULtUy3BgM7FJz94yBCLf5HIc68Xyh4c+8lp++lESIW\nFVPRxsA5E71+muOj89bsIpKlN3fa8TybiD2aJooeHqvYIljOI9my/evXERwW\n2jdxi3x12vgrRj47okxhprICuseceY4swIADGRkcZnNqUTu8IxtPCl/MC3Hx\nQg0aZk29V14RQ+ZDLTOEarUnhyEcJUIr9NcgDm8rUjQoiJNOzqz+6eWz4PEw\nMdhxOf8sofclmQ3DrrAag7YFvjBfNj2pVqx9l/Q8hG19rifugEZso+SwDXwV\nBaBPPDIowbjahexOtkOoME2UWYcXyHd0UVtKz0AioFQCezynRQ6YpL4RD1dC\ngVxx\r\n=x517\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"0338016a36e15f4cce8ba78eef6eedc6f4379518","scripts":{"test":"jest","build":"tsc","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.5.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.6_1530015998433_0.07684044661291933","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"apollo","version":"1.0.7","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.0.7","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"e17ee0eca960c3e79b011829d338e65ec78235d5","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.0.7.tgz","fileCount":32,"integrity":"sha512-apyByG1QgCqoGzttngdXJtRCu4vXGI4S4YyINxL5XNp3BIUC54f5Vwwm9epx0z8cPer4D1gYVU+3eRwDy/kE6Q==","signatures":[{"sig":"MEUCIFcCXQ6DWoDSrCpp25gjVfbSOkAzqPgoeMJrgzLT9+KtAiEAyQCtlRCLUQ2pQi/pQy9puWsX90TNTy6Kd/ygdjTrNxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMujICRA9TVsSAnZWagAAaEsP/3SFl1ctJ1shACy3xU5y\nMKQ8GyBvdPJrR/ZhDgLbIuP9oL1sQ2EfkmktwbDcyE+BRVYSMy7lEGcaj/Je\nitPbteqTGGQH43MjS8WpYbzcqOq8RlGMmFKg0cSqTW/JXSzfrbj7puLtE04V\n7aA0yxDRXj2HdqCUm3K0ERc+CSqFubuybeIFKpohsZKU+TiMT8WyRN6B/42W\nqC+KrVCbX70K5VfowzeIgq1uWTtG+v2fkK/mm5aY9LBax37HxlDzbCbWvJnU\nW0Eedj15zrFQ304x7IzDlCuM/HxelVBLtBGxEBdCqlYmLxce1BDRVc29NdE4\njABOf8iOw7va3nusAj02Gd+zoft+fSz8UhbuHwt4KrrBFGt1qqKqbOxSkTdp\nriO4dFN6HHcBVX0L1rKQlj77nJ9oimUy6YTiXEGbtFirr0f9PnEM9j1H4gxk\nhzwwuW6EI1fH0y7H+BMG4OI0cWqXkkUsbFC8+ASzgC+k05hqRV8pEdo8AdGe\nrHmUjkHO15tRzl5evrOBngXPs1xiP2K7da1UB7VkRklqWy9C3zvSdiTlzXSx\nWvo1hzhN3oxbThrdtd/+IN8xWa2WpYT7mxesUdiuzN58+VENpSKkEjAdHuzy\nSmG6PTetvI45VW5AtVE1b8NQaa3OutG7nP3zgN9UtVV2A72bawIGSZdUWOhE\nCBRC\r\n=J700\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"gitHead":"b85bb56d708d031b5c5622255d3677e4c309c449","scripts":{"test":"jest","build":"tsc","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit"},"_npmUser":{"name":"jbaxleyiii","email":"james@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.5.0","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/lodash":"^4.14.109","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","@oclif/plugin-not-found":"^1.0.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.0.7_1530063047915_0.20408820289619567","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"apollo","version":"1.1.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.1.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"09603b6ede26975e01ef3be95ec6be3ecaf1becf","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.1.0.tgz","fileCount":66,"integrity":"sha512-a2cdWllxVDzBKECHppRSlQKJeJJAz4d6d/JBl0wiTC6hOtFpk+P4vgjufU8MXcVYmdw+/LOIZk8Z0GUktz3BmA==","signatures":[{"sig":"MEUCIG3Lej5LPERmUe6iK7Nkrymaku3GeOJ4x3kBloSPlYz1AiEAkSp256x0ZpKZGxAiOmbMBMgwevrxM8z8R/QAeDe57ek=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNBSkCRA9TVsSAnZWagAALCcP/AxDwZCWqZlGzMLBFiVo\nO78jZCoCicXkLrhU6iTeHryDvWMGnr23hHXhR4PdhBOM9JVNiR2Xtoc+ewKc\nYcjgCV4TjEMwZw+9RnqSlbe9fOWavuliZAqtDPDNfrtaNFm0xE8PDtM1Q3tt\n/ArOltTy5v2NvMnsxFY9yXJ/+f3HuhNzsFW5CcRczKfEIXYIR/t/9bLQO0S2\nMqYXI9bbEp4GQjAwWVrURdsIyFkEgciGglZ7dxLEJl+3EbQL7A4C/LlBMG8R\ntc66/rReAve+NP8d/p4pJ1IfB2VmVmns4Z2UCheXKssYYu2yK/2Qj6i0PYSJ\nKWsj4y5r2q3VASzgQh2c85Do75ym+xdzDdOGi8wD9aRg3s/39J+jQEQbkopr\nnMl/2pwcoUQqXG2U+D2NbdgSlKava2rWYf9JaOBcOW2ZhPUAft5OjusH9MSy\nXfEDqEnQLmmlf0WIvPDX5LA5GWLc0X/TtTE3n04adgh+OPCVQnFjrJirDc3c\nE7zHow19AIP1pDOpenPxywesXVWThtmdoCTZO4LnEp4Av+fUMz53aVgWZTe0\nmycziG3+IAobiCufUMxR6TYKjtMgq4a7BcZeXVgcujHy+2hFBZMlQwSB0vH5\n7q3snvE3t5oyek669TYLa+so1G+majXKCF8m8fugQHRuPC+/h/u7A5q8UnuE\niZAp\r\n=71Py\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.21.0","apollo-codegen-flow":"^0.21.0","apollo-codegen-scala":"^0.21.0","apollo-codegen-swift":"^0.21.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.21.0","apollo-codegen-flow-legacy":"^0.21.0","apollo-codegen-typescript-legacy":"^0.21.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","globby":"^8.0.1","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.1.0_1530139812655_0.9799831538064334","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"apollo","version":"1.1.1","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.1.1","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"36bd69a19fbfc109b2ae655fcd53377d9f692dda","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.1.1.tgz","fileCount":66,"integrity":"sha512-V67wCSaM0iZPSMYq83dMW7Nu42xzHk6DH+LLeHSwt/O3nNhT9sHBn5t9V7blBCwQczL7cw7enEginMPRexZx9A==","signatures":[{"sig":"MEQCIBpC4EOnRvD849onA5VKRfDXwM5Pbvm96SfnGE2skcpyAiBuAs9RQ5H/n+cA25wI2b3/qMpxZ29RFhN7/LJQ52ziog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNBWwCRA9TVsSAnZWagAA1M4P/2sToSkLio4cIyL8dKJq\ngh9LIYNugZZ/jXJv1zEbEzvUNiUetVwS7FCjKEVEj4H9JjXE9rpItYaZOGXB\nAE065iOxhA6OzmpSSse2wZ9SAfeEuNPEGXzz4yrNBmY0XvXGYQfKXmnfPKGq\n4vuuXPdrhsHOvxakplF2FtNI2uV4IjGGeyEKQAXivrz6TVsd2SyHi9ZsE+91\nY7y8Ll1Pv6nQjIiEol6PmaESGPY3RuXYzBRiP4nedUGXfpXl6UZLkHfjnnaH\nD8hQP+wizzSpjkx3shiZHhDsOF3ULJ4SQsz/ANwAl/Jr1FBrSXNr3hIjwMsp\nsVx3p7OGOIH3y7a8Peg0hfq9maWRjjTPsO61U4lvNC5S3T+2B5Ok6lzHc2fz\nH7PQyHRGsJgHoHmFzgsnm8syfM8yeDNoqEVXKhYhWiThfHoxSLvJxp9J4cq0\nJNi49xKgd7ZcAzbcViXVmRe7PH3ZlHEj+x2/1maPobi6p2W2016RSa8SOENN\nP2txYBr3BpgWxQEB4R/ESBH0q1kYPWB4LmaummQ30dD3DjDgt3BblQeyPZt1\nSrmObocy+KQ3ICRkHUK1+CAzMp7igAJsiGP5I7vAw7GROrgnZKo4pT1oLUDN\n0r9I/bvSLjUA8xCYAfrTssWO2LqY8gVg19mtnznXcy4WPH9VaXrFwmbjZe5o\n+GvQ\r\n=CYsj\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"precommit":"pretty-quick --staged","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","globby":"^8.0.1","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.21.0","apollo-codegen-flow":"^0.21.0","apollo-codegen-scala":"^0.21.0","apollo-codegen-swift":"^0.21.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.21.0","apollo-codegen-flow-legacy":"^0.21.0","apollo-codegen-typescript-legacy":"^0.21.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.1.1_1530140080784_0.3280003224643455","host":"s3://npm-registry-packages"}},"1.2.0-alpha.c03e4b26":{"name":"apollo","version":"1.2.0-alpha.c03e4b26","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.2.0-alpha.c03e4b26","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"b9d1e650896ace65327099dea453266602d8be71","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.2.0-alpha.c03e4b26.tgz","fileCount":66,"integrity":"sha512-ryjO7fWKmAydyeY4d6tFVcKG8bnbe0jvfG0i3rnc+Bw6OZ0VJYddT7rp3G9KEVnBMhlCva0DnfA2TWizxym9Fg==","signatures":[{"sig":"MEQCIGj0jAvShrt/pzxSOYIKK1iE53lidF+4iZrt16JPPxrcAiBJsifL8PUJuU/zz165frD8X+ZfzA1F5B+E1f4W/kN5+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":161715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNU4PCRA9TVsSAnZWagAABFYP/RcpyFGChd9UycX6wtco\nXkG8tTX0T4rxn6Le5g99SN8kjHvtfyrNIYI5apXg9nJ5/DOZHr/w9laPNttL\nPd7VwsC93VlmVeI4oFN/tXzJnXWrC3Lip2e7+yzHL6XhgLt7purxmlW7CrT4\nzDFMAtDfhvOP+3wb1L8R2XILti/MBhSo6l2uzaXcJCCu5JGfJkDRBn8tXTIF\nUf/slClhelI3W2waJptjvNBOh8asMm4vVHR608Gsf8iBm/AijwAqCL6Q3kV+\nX1PqHbxhbvdJDwhe0UchfMyLvRrxTTWYPjJwvIaYZN3xN/xgeA3MA6fkAovM\nkNs/QldXIu8BNqU4Fxb5xF92XDB+UU9yTKSnx8qv831mFFyQv8UFeQiHHxIe\nlcIo3MaFlQSMYuwjLTdCQimjv6c2kgkN9QWz7VhCwAjdhURmq9l6XQRNIgJE\nT9MvjK7rqwVGX9rXBkcqChgcH/V/mB86O5aT2P5p+nvRAypS+3gtqKINWanr\nUAWQ8soeGowGpha5HfcWnBqb2JhtYTNh1VUKMjkrTn8mRJ4JkH9hE6rD6AZ9\nGydC9rMBoE4l6BKp61CSLqIUWBFMC9ExUblas9DpOeL3w7J7HktaQCOnzqNR\nzxEQuuKxLBihHCCNc/WOdbHIJXs1jtZaSWXuGzGO7kfl/xSz7Aj9Oa0SzBK2\naotg\r\n=xx27\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-cli/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.2.0-alpha.c03e4b26 darwin-x64 node-v10.4.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n# Commands\n<!-- commands -->\n* [`apollo codegen:generate [OUTPUT]`](#apollo-codegengenerate-output)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:checkQueries`](#apollo-schemacheck-queries)\n* [`apollo schema:download OUTPUT`](#apollo-schemadownload-output)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo codegen:generate [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo codegen:generate [OUTPUT]\n\nARGUMENTS\n  OUTPUT  Path to write the generated code to. Can be a directory to generate split files (TypeScript/Flow only). Leave\n          empty to generate types next to sources (TypeScript/Flow only)\n\nOPTIONS\n  -h, --help                                 Show command help\n  --addTypename                              Automatically add __typename to your queries\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n  --key=key                                  The API key for the Apollo Engine service\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          [default: **/*.graphql] Path to your GraphQL queries, can include search\n                                             tokens like **\n\n  --schema=schema                            Path to your GraphQL schema introspection result\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            Type of code generator to use (swift | typescript | flow | scala), inferred\n                                             from output\n\n  --useFlowExactObjects                      Use Flow read only types for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n```\n\n_See code: [src/commands/codegen/generate.ts](https://github.com/apollographql/apollo-cli/blob/v1.2.0-alpha.c03e4b26/src/commands/codegen/generate.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against the version registered in Apollo Engine.\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -h, --help           Show command help\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.2.0-alpha.c03e4b26/src/commands/schema/check.ts)_\n\n## `apollo schema:checkQueries`\n\nChecks your GraphQL operations for compatibility with the server. Can check against the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo schema:checkQueries\n\nOPTIONS\n  -h, --help         Show command help\n  --key=key          The API key for the Apollo Engine service\n  --queries=queries  [default: **/*.graphql] Path to your GraphQL queries, can include search tokens like **\n  --schema=schema    Path to your GraphQL schema introspection result\n\n  --tagName=tagName  [default: gql] Name of the template literal tag used to identify template literals containing\n                     GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/schema/checkQueries.ts](https://github.com/apollographql/apollo-cli/blob/v1.2.0-alpha.c03e4b26/src/commands/schema/checkQueries.ts)_\n\n## `apollo schema:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo schema:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -h, --help           Show command help\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/download.ts](https://github.com/apollographql/apollo-cli/blob/v1.2.0-alpha.c03e4b26/src/commands/schema/download.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Apollo Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -h, --help           Show command help\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output successful publish result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.2.0-alpha.c03e4b26/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n\n# Code Generation\n## Accompanying Libraries\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the __typename field required?\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<{\n    __typename: 'Human',\n    name: string,\n    homePlanet: ?string\n  } | {\n    __typename: 'Droid',\n    name: string,\n    primaryFunction: ?string\n  }>\n}\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch(character.__typename) {\n      case \"Human\":\n        return <HumanFigure homePlanet={character.homePlanet} name={character.name} />\n      case \"Droid\":\n        return <DroidFigure primaryFunction={character.primaryFunction} name={character.name} />\n    }\n  });\n}\n```\n\n# Contributing\n[![Build status](https://travis-ci.org/apollographql/apollo-cli.svg?branch=master)](https://travis-ci.org/apollographql/apollo-cli)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"precommit":"pretty-quick --staged","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","globby":"^8.0.1","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.21.0","apollo-codegen-flow":"^0.21.0","apollo-codegen-scala":"^0.21.0","apollo-codegen-swift":"^0.21.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.21.0","apollo-codegen-flow-legacy":"^0.21.0","apollo-codegen-typescript-legacy":"^0.21.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.2.0-alpha.c03e4b26_1530220047643_0.2535126813337374","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.2.0":{"name":"apollo","version":"1.2.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.2.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"bcb29bd41f9f99c0525f8fd39eab56a051743ab0","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.2.0.tgz","fileCount":69,"integrity":"sha512-d681qmnRj1qy9eNOVa+uOsUSYbMNm14sSpeqKI4znsjxlTPrF7UZ5dpdgBwYC9e8XEOLdW6D6o5VlLQYjrFYOw==","signatures":[{"sig":"MEYCIQC6Iq05B/mEAvSMSqJBO6bT5CFu3AmmQIrhT+SSEkgnGgIhAMwBm7AoJg9dGCvXEMx6J6xlSGXOOqKVamqYT8sZonmT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPo5bCRA9TVsSAnZWagAAJSUQAJitH+VNlAlOH+GZ/84z\nmbL0J4jUHKuc0dvMmqzAcq1kWKL/WzsjPO7g+7mGRj2HENvLWIYuGU4uf4Qa\n6L9rxDo5IXt7kDFK2D4KmXYsvib+xwIelUlzoEoK8/cUM8gS8mbpvwJ54Ril\n3D4O5i3LnMJ3yTOXaQY8Q4opIAtV9FT+K68xwtN4bI+tVtaphwuj0GoDKLv2\nE65sC8yQzbQEzc44qnyeaqCsDccjaGwjhHTKIbzwJnqh34GD7Oepm37WS9t9\nOBPEf/LiM6z/0iQqGvr/uCqQmCLrdkNfNaKG6dxW3tO/es6YIsNib6SWprzu\niG6jaE6SlynFJyLmAGZgQrOLpWown4g68ARbFH6bZwql8xsN/48ZnHhDyiOJ\nslio1OfOuPDxXwlKrGc82kYsXGhV46IuV+Sks+bGLugJr66dMfEiyPIfVVH3\nXeA0PsJoFREvGtxIvfum8xYY4IL+K/7Koglg6R3WIQSSXh3t6BODIUe+EfzB\nG6RBN2EsS2mEB5UcWL/I5Tx/TMegKzLQVivzVq9zRjSpGYQdja3rcy1Jym2g\nh6iYCAMqoK2mXPe+bg037CUEPkShC3jSiIGze1uPtyZu2fDkYz5jOt9vYYyN\ncbfwNusYnbEJoLOEbazVQsxjMRh8kS9TzS0obIBZ7X6bxEk25psjp02TLeBa\nQH35\r\n=x0zt\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.22.0","apollo-codegen-flow":"^0.22.0","apollo-codegen-scala":"^0.22.0","apollo-codegen-swift":"^0.22.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.22.0","apollo-codegen-flow-legacy":"^0.22.0","apollo-codegen-typescript-legacy":"^0.22.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.2.0_1530826331530_0.04379334127449974","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"apollo","version":"1.3.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.3.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"59a2fea0d8db7ca60c3e19b463d677acada03e72","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.3.0.tgz","fileCount":69,"integrity":"sha512-7DmYjgBXAAdAO0Aj8fM9pICC29NQlVxaROwgIVfM2cdzYg4UNOup1pbOq0JqRxTSNKSxAw5sRjzSI9HoXPqN4g==","signatures":[{"sig":"MEQCIGxWJjhoFOTF1VhmvT8V7wnhSJY6aLYYD8d0bF0rVvvYAiAzfCoT11F2XX/tnDNoF8FBJrqUMYkKdK6QobkKTUyECA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":174394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ5jlCRA9TVsSAnZWagAAblcQAJNFMQ9K5TlBQOJzQIos\noSYlJDlUcxqzff6m7ZENcDbX8LiHRw4dHVZ8vUZBu9q4RMqmxF8PHYa7uVGI\nrGqASIqyJdKIf8u7QhgjFIXtDHxpjfgt6bFXGKgKO/4Jpy5vwXtZZWrNYDg3\nzndXw78e80bpSBIpYzd3tzjJUtvlaPIWWjoAlrUdq/8vHRpCYQ4qPCkRau1z\n75JZ/Or+YgnEI818bIrVGAbZ0eV0o5lfAbwrVIHDPx9TVdkbVNXE7on7fVuN\ntSwRlKnAsZd2oR1ZrErngH2khsa1t71Rt+9mK3U5cuCHYJehD656bbg7ViPI\nbk6/vCu/T/p9kKbmrCtfPF6CKv7JJsRiLK+ndjhjscj8Bbhb5J1KGKLx9fxx\njHKmoQwKUJms32AKQNtfAriTGsAobxCoYISuILoRWVkWIjQY5+BzzFg1+rzg\nZT/B3skoxAKGAMr6ioPbM4p4pScCX74XRhAoybk518BEARKk0NAeyRarpCFH\nCU7ZKOXQ4sfpH+VQwzwytA9TEqqI4xIx5EUyQF4j7A5Q58sSAF8r6ywRNNvP\nlYd+AnnOZq5hBy8H+xrJYIsEflnQx91spGEtsFP3F1ywL5qU+VUuqrneTmvC\nAMiYWnJN1Sat4/oYOjOkJc+vlCD4E8x06Of+dqfyxAv/BuBiC2K++iFsIWgA\nryLd\r\n=rAay\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.23.0","apollo-codegen-flow":"^0.23.0","apollo-codegen-scala":"^0.23.0","apollo-codegen-swift":"^0.23.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.23.0","apollo-codegen-flow-legacy":"^0.23.0","apollo-codegen-typescript-legacy":"^0.23.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.3.0_1531156709576_0.595657440962869","host":"s3://npm-registry-packages"}},"1.4.0-alpha.80497f3b":{"name":"apollo","version":"1.4.0-alpha.80497f3b","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.4.0-alpha.80497f3b","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"e26ded222e3f08f767111542e6246eaa371b939e","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.4.0-alpha.80497f3b.tgz","fileCount":69,"integrity":"sha512-4biHq9Y3Tfbd4S8NymB/HLdSCB4ghYqK369dSjAW9Mh1Wf5Jps4CYywfhBxQN0Hg+VlIBHkCHx1amFXgyRYWwA==","signatures":[{"sig":"MEYCIQD0SCW8F0/qC/ireE0gTG8+GE0psVIGZ9n3nNv6/O8PEAIhALLK/AYOQtYwhXNyWxZO/nzdxm4Q3RpvouIIUmeA9hs/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ7e6CRA9TVsSAnZWagAAw68P/2tOTQRHxvaeQ57F3m6V\nyYOWc4dd1J9PhuvYqtkjjgQZkJtjnBFQCEidFxRU6GUVXdRjLMVh/MaiOFwk\nn9df0t1c0Ygvm1pHBLQi+rbKmpPBKjMA73li4CloYBGpNUkMHQLZaGpbDGEs\nO+yTLUHGVK+roe/mDkYSpib04QUWevaUifcvNV+n2q1UoN8nvGV0DhvJGZin\nolsj/admTlu6BmIwQrI5KszVMLCjbZEsNyxlwQs8gS7FzZHZR7uoZxFNcwOe\nSZCF7OEIltlbO/LxVU8yj7Omqw3pUYNaUECMf/V4cCUTaPhmOp7IJDkUURha\nakluYFkr1qLCSyStzry1wXvlQN8D1IHdObNNiNyBnhBr7MBmTb05KKPnOHiZ\nCkKIJb/zfrJt4msRkfgbR1ev32kHh6ezvmDJoL+GYNCM66geuV9phhKsSUib\nf0XctT4jQBfnM6Df/kxiQALbIPD4pHraD2blkKZ5xoX5Bl4z7UhtrkGoG72K\nSy4QeLMDLaDyz4cQcwZGjn2vNFwaxAwfheUIVS3ZbTKRdSK7N+os6xLk1Jz5\n6nIwQnGXGcPMqxSPPtc9u46oz2WjiwDeDPwcpu5lpIgHRBkjxJzvLxLXoxXd\nUe1EKlwcZ4XPZWuGS/kUxEYfBfWDHZlNnvJ/A/D+maulZa81mmPHq4lfv1DP\nB/00\r\n=dCNk\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-cli/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.4.0-alpha.80497f3b darwin-x64 node-v10.4.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo codegen:generate [OUTPUT]`](#apollo-codegengenerate-output)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo queries:check`](#apollo-queriescheck)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:download OUTPUT`](#apollo-schemadownload-output)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo codegen:generate [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo codegen:generate [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -h, --help                                 Show command help\n  --addTypename                              Automatically add __typename to your queries\n\n  --clientSchema=clientSchema                Path to your client-side GraphQL schema file for `apollo-link-state`\n                                             (.graphql, .json, .js, .ts)\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          [default: **/*.graphql] Path to your GraphQL queries, can include search\n                                             tokens like **\n\n  --schema=schema                            Path to your GraphQL schema (.graphql, .json, .js, .ts)\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            Type of code generator to use (swift | typescript | flow | scala), inferred\n                                             from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n```\n\n_See code: [src/commands/codegen/generate.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.80497f3b/src/commands/codegen/generate.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo queries:check`\n\nChecks your GraphQL operations for compatibility with the server. Checks against the published schema in Apollo Engine.\n\n```\nUSAGE\n  $ apollo queries:check\n\nOPTIONS\n  -h, --help         Show command help\n  --json             Output result as JSON\n  --key=key          The API key for the Apollo Engine service\n  --queries=queries  [default: **/*.graphql] Path to your GraphQL queries, can include search tokens like **\n\n  --tagName=tagName  [default: gql] Name of the template literal tag used to identify template literals containing\n                     GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.80497f3b/src/commands/queries/check.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against the version registered in Apollo Engine.\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -h, --help           Show command help\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.80497f3b/src/commands/schema/check.ts)_\n\n## `apollo schema:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo schema:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -h, --help           Show command help\n\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from or path\n                       to ./your/local/schema.graphql\n\n  --header=header      Additional headers to send to server for introspectionQuery\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/download.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.80497f3b/src/commands/schema/download.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Apollo Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -h, --help           Show command help\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output successful publish result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.80497f3b/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build status](https://travis-ci.org/apollographql/apollo-cli.svg?branch=master)](https://travis-ci.org/apollographql/apollo-cli)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n```\n\n```\n","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.23.0","apollo-codegen-flow":"^0.23.0","apollo-codegen-scala":"^0.23.0","apollo-codegen-swift":"^0.23.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.23.0","apollo-codegen-flow-legacy":"^0.23.0","apollo-codegen-typescript-legacy":"^0.23.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.4.0-alpha.80497f3b_1531164602265_0.48912442193058303","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.4.0-alpha.478e2f66":{"name":"apollo","version":"1.4.0-alpha.478e2f66","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.4.0-alpha.478e2f66","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f0fc5e924e28566a619321b118055cb91bd45f96","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.4.0-alpha.478e2f66.tgz","fileCount":69,"integrity":"sha512-cPcXr2Xjar9e/drgVM/P68nQdno+8MCeL1ro7cbu1hRBNMJK4OS+xeXdC+6u31xwtqW4LT7Ay7QukLeizDRgUA==","signatures":[{"sig":"MEYCIQD5wIm88Yzu9/MZmzu/e7hYQOrKsz4GY1pT/rS1C3cdWAIhALW6qys8Gqc+lXOmTu9keGAb3ok11Oy64QkSk9jscGPv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ/RUCRA9TVsSAnZWagAAt2gP/0aiFLJflivyREJjigxr\nR9+vTw/TCxr4SMYw6uThl1v52PLRSQyAqXE3UX1yUaGPafzN9xy0nNusJjqu\nSLX5NqyH5NeR/alzfDHU8nuAsuwJVikLcKOSOPZ1BpBCXrVoo3XIr6eptSCz\nR6n9AThucekeAkRqGICAYFVX/mRMDE3Xbqf3g8eM9sz5TU7+lobNXIJ0F/S/\n/HHgWdac35jKJZbMvt67TRq+qMDAjfFsRHlqxfvgxWmGsAURMiNiYdzsmNCu\nRfB6sRJar9+HwX5bEVQu+FqRrtT4w11CzXb4wd7J5Oc3aoz3U+VeQhMJZflb\n08Mo20OCI2nI2oH1XtKBFJbg2XAG6Xlua4yfH5ogKvnRqet3gyEgOQ13NO85\nxkmKI2L4kYV/ws2eeE/ggktx1D3qM/8JbbP8AM+3eX+/LMjLO3eAH5bIaQJI\nyZLWjcgq1+X1M0gsjIHUD2u14gYyCwXMOqbOymID0RGQFuTNdG2jAyJoLu+M\nJ9nX2WrOvU0aCEc5f/nwxVE0bxcPU+nsaDYGvJvpDL6qnPXY8tkeML8YL5Az\n0gSPItF6Ze9Zs2ixFabDTpTOhZUa4NiJWQys4PhdXTQMTNIJIvVXBvCk/eo7\nrkx732FT6FBBZhlDhPab7e5zQBag+BR6RKvcwLQJlJALcGScy87/Li6Q7wZ5\nWQCG\r\n=u7We\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-cli/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.4.0-alpha.478e2f66 darwin-x64 node-v10.4.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo codegen:generate [OUTPUT]`](#apollo-codegengenerate-output)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo queries:check`](#apollo-queriescheck)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:download OUTPUT`](#apollo-schemadownload-output)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo codegen:generate [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo codegen:generate [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -h, --help                                 Show command help\n  --addTypename                              Automatically add __typename to your queries\n\n  --clientSchema=clientSchema                Path to your client-side GraphQL schema file for `apollo-link-state`\n                                             (.graphql, .json, .js, .ts)\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          [default: **/*.graphql] Path to your GraphQL queries, can include search\n                                             tokens like **\n\n  --schema=schema                            Path to your GraphQL schema (.graphql, .json, .js, .ts)\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            Type of code generator to use (swift | typescript | flow | scala), inferred\n                                             from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch the query files to auto-generate on changes.\n```\n\n_See code: [src/commands/codegen/generate.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.478e2f66/src/commands/codegen/generate.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo queries:check`\n\nChecks your GraphQL operations for compatibility with the server. Checks against the published schema in Apollo Engine.\n\n```\nUSAGE\n  $ apollo queries:check\n\nOPTIONS\n  -h, --help         Show command help\n  --json             Output result as JSON\n  --key=key          The API key for the Apollo Engine service\n  --queries=queries  [default: **/*.graphql] Path to your GraphQL queries, can include search tokens like **\n\n  --tagName=tagName  [default: gql] Name of the template literal tag used to identify template literals containing\n                     GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.478e2f66/src/commands/queries/check.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against the version registered in Apollo Engine.\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -h, --help           Show command help\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.478e2f66/src/commands/schema/check.ts)_\n\n## `apollo schema:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo schema:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -h, --help           Show command help\n\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from or path\n                       to ./your/local/schema.graphql\n\n  --header=header      Additional headers to send to server for introspectionQuery\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/download.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.478e2f66/src/commands/schema/download.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Apollo Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -h, --help           Show command help\n  --endpoint=endpoint  [default: http://localhost:4000/graphql] The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output successful publish result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/v1.4.0-alpha.478e2f66/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build status](https://travis-ci.org/apollographql/apollo-cli.svg?branch=master)](https://travis-ci.org/apollographql/apollo-cli)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n```\n\n```\n","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.24.0-alpha.478e2f66","apollo-codegen-flow":"^0.23.0","apollo-codegen-scala":"^0.23.0","apollo-codegen-swift":"^0.23.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.23.0","apollo-codegen-flow-legacy":"^0.23.0","apollo-codegen-typescript-legacy":"^0.23.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.4.0-alpha.478e2f66_1531180116677_0.4523990725314182","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.4.0":{"name":"apollo","version":"1.4.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.4.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"6f98c8a394fd14ec70b1b078ecd712d9638156ec","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.4.0.tgz","fileCount":69,"integrity":"sha512-Tdn5YxIa+BkKVzSK+P9BkPLq2VxJsPgk6Px6zV/kNtcQrUhcewlCF1chYx7GRMdZuSff37tUvTpx5ZaPPl3i9A==","signatures":[{"sig":"MEUCIQCUcVqjNUyiaTd2NIhbgf7FpyUdsAj+lBVDbMXa6WoESQIgRVeTmu/qdVEDq5PIipP3X9LxdFtRIvoIqyQNKKm7Am4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ/35CRA9TVsSAnZWagAAemAP+wYQ0DcyPPEmxKN2Arux\nzA5PZAS+GZOlWszxEDhbfytiJOcnDZwK9v18ywIZZsY4da+ZaU2MT++cHruO\nnofh28xI6iaN/BCIFkVoZROMWtOCQA3TgqicB9An3pjcXAtBRZuMgehTcoAa\n4M97zDJbxSKA3mGyCAuxWIBulEMMc1Yp9Wk3qRg1EUotgQDxJt9O7MZAlCoX\nZEtbCHWAyFCXEKvgvjR3LLfYkaztkmsJwhlfXAmuELoiaWPmgI32UCQhX015\nAmaG0ejT1QhIUDJUZKZzqh+x1b8wk3lGtsK5g0D3631tvOYXqd9maHVSwlH8\nOFnhZC9mW3J0mX53Ql3HMYH2SRRK8ZxlFf4v9RFxh8inJ50MCCSLzW+MHwUU\njRQ1OriHivgyLPltqABrl71NymT+Fu21E+CsYYkNpxSS+Mx0FnAW11qBYjF6\n1rKy1GiSY01fdca4annHC0wV0EV4YJj2D9uFxh4qkNFX6E+10Y/Yhq2OLc8c\nWbyMTC6JzTbCJXQ0A+QWZbH7Sjg/Vtffp6bSWkdM0/63pZif2T/gEJyjCTcn\nQ13/8UpvPBVXF1OpE/KC6Kc7KeXjghbGDTEtTiXQcZOOSN6zu96JUuwN1hyJ\nqs263xfqe/TfsV8QaavyZ/PJSbli0TP/hAzXscxB/6kZwcK62y80exavQ+Hk\ncApF\r\n=vzOt\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.24.0","apollo-codegen-flow":"^0.24.0","apollo-codegen-scala":"^0.24.0","apollo-codegen-swift":"^0.24.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.24.0","apollo-codegen-flow-legacy":"^0.24.0","apollo-codegen-typescript-legacy":"^0.24.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.4.0_1531182585324_0.994287128006994","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"apollo","version":"1.5.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.5.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"9d1b432278648d0460ebc0f4691934e8d6faba6d","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.5.0.tgz","fileCount":75,"integrity":"sha512-6V+irmeDLzJmvOfU2h+aYlnvjxqcLUuHUsnXZSsG8BzGurfGc+y2wczgrNVgCOODAAdwZLhSZ9Y0N5FESw0kzA==","signatures":[{"sig":"MEUCIBjtOcihAKtZaVP9vOjKTt52UxEWQr/oojOj6cDbpPPyAiEA6pagwORhClvOFjTr6CWecJ40xdeglITKSZDHNNM77RE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":192325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUljKCRA9TVsSAnZWagAAGpYP/jFw5RTCcoO2K/S/65KJ\npkEUd8tvA1g56qLOzS3vYRByz01AVFZcRD1k4eQu2zYScx4CyT+MajOBKMtj\nCgOMHGhaJg+gJWTdTpeCNmR2siEp0Rxku6yG68fcNyZ09a1lww/yjOfY9bm+\nUAdUja9S3SwmnFiqN9gbYWl4A7svPjHG/T3fYqZg40mPkI0XlmhhbXF+XX0R\nLXk7fjKh7vMseCGM9knWHSCPiQ+0y/GUHzXlPUeeb3IxAi/Y1LfZByG4j+1S\n5+Yh/zm2gMJm6NF8+U5bCg33oLhzdNQduxyQWjLsIdw6OkD0v76Ag9LSuZI7\nMr3HIkw9hRwZZ694q2h2crcVKgKfdpxP7weCQ9EsOgk2JqQOnFJZ4um83Xvn\nr/ZMRcwc5UCCpoKL3w2ZPtiyMidB8FrTygfCl8nR1OYVeRLc6owCZvi5gCZ0\nACB7nNvqxFXtxX/HOFqXUVh+CHyX37I6Jm2OcKxheF0Z8t07HM8eYqVk0zFp\n+dWCWsG/aNK2Z51nFEAZK3iJgeV6TJLPEy2y9Aer9DfjrUnNvGmhXYFQo1sU\nkQ6tW4FyqFsKjl1zGVtZvpu5LPg1TYLH3ZSzWSsukDEjMwIGFerK+WCrbPYL\nXrUXhsU6O5GhIpDB5PHWH7+5vOnsHgSHqEr8Nv6nfcjfDIQlTHnAMROK0NCO\n+uZ4\r\n=gWOO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.1.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.4.1","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.25.0","apollo-codegen-flow":"^0.25.0","apollo-codegen-scala":"^0.25.0","apollo-codegen-swift":"^0.25.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.25.0","apollo-codegen-flow-legacy":"^0.25.0","apollo-codegen-typescript-legacy":"^0.25.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.5.0_1532123338567_0.2656527856469353","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"apollo","version":"1.6.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.6.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"809e35424c2f9e709a8b971a3f0255c39e773773","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.6.0.tgz","fileCount":75,"integrity":"sha512-J5L7qaFlsOGo4TX4e750gqhM/NB3LeHNGhSUN/6XyNLb768QcaBdzHbOzKOXAYc7aeCQ2LmQC2tWgEkUi726qA==","signatures":[{"sig":"MEYCIQDJ40Fjqc7KEefKzwSF5aAP2YWz7Srt9SYpNyG2Ji1xHgIhAIMz6zHiLHOVog9Oe7WiLKrB5wy4QFeRzxo3qWN984jY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":197294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbW7FbCRA9TVsSAnZWagAAUdoP/2qksN9EbK172ejhOadi\nHFdFZv4dYMe9SIVqyEg7er9ITkzMWkvXRx/j000sMqSChwuly1NoPyFf6Lzv\n0YxNc/Z6X/FDHrd8gKMLfuN4P8L5SyGMaN02+mLvRxY0AjNm3q7gavQ4FXUw\nSJfdEwMgk+sCa1ipYvZQMVT1q/eR9tA4aW/jYvkEhWLpRvxfZ/3RNpX7j2ho\nBbZxYEsGzdZVGURx0G3bjRpAOvsV6KZKtHRJXX3RGCBhyBRxcAETk7V+IyEX\nspEgcGJ9r4auXMDVKgMKTY/zWDE6ivAvdqGjF1kZXmA0zSj1UCysSMSu4NNs\nCCZYkj29u/58qB08AC3APBZ4xjXhgZjoTblYb0/C+dctwxSZQpoFbPCxq4xY\nKt5wKe+SqdEW5B5mEWfm8BOnJgDhr+AJgwJ3CSCPD0eX2stYAeRG8T2HPRQ5\n7ZQCmRflCDTZrtv91iTjIGbV+dbBHLneXed3dB+R1J2UWCLVF3vFNztHjJMi\n4p2wgs4Bno2H+ggWyHI6iHjT42Gh4/YvUVu+OJdNWUKe76B028yzO5fuZuyM\nUyh5tEl3HQR9ZJdnKG9Xj+O9PTaM9Ns3DfGX/vQm7zUkhxkjjV6rU0yJho+e\nK9z3kRaBZrpW6yVhilJKFINjZ3YTCacRv40KY/AHRDO8UfhZfRGj+nj/HnRA\nEddS\r\n=ECMt\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.2.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.7.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.26.0","apollo-codegen-flow":"^0.26.0","apollo-codegen-scala":"^0.26.0","apollo-codegen-swift":"^0.26.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.26.0","apollo-codegen-flow-legacy":"^0.26.0","apollo-codegen-typescript-legacy":"^0.26.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.6.0_1532735835727_0.9859477726135915","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"apollo","version":"1.7.0","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.7.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"5fc2c755ce03d15c6ef00e694120e42a843ae53a","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.7.0.tgz","fileCount":75,"integrity":"sha512-aUHb/pm2yWW4TSHCz5rslt7ypNMmNfUHo2+D150wX8eNQo8ucRCBNrpGgWxKLtxGS4oq03Z9dgAJEFSr3o1k9w==","signatures":[{"sig":"MEUCIQCQ5qHotcWOzJWgSoWix8cxk5DIIXiCd64r0jH9uV18RgIgR7ipzer7S45DYxkY7ibCl9xEtcpJBuWv+YS5+Mqp5hE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":201979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbc0OCRA9TVsSAnZWagAAGxoP/2RgErZACmxRssbD6nBw\nz5qMaymqHzAW4sPDU3tE+9JC/IXDvLgiD4QeI9iviD8beNuFBdVr64eS7ra7\nG6xD5T5y+5xJCiDdo0ArL9b6QvN2lSRnzX9VzdGt4hVsAyuVHZ+zIeCak/vy\nNUDb9+IWGTyHd3/r3I3cVMvzipYLTooFVvAh8/feyEara3sMGBLNVq+nYHIV\njPVhv6tUjQse6jvNazVBtS78w51msIesm/xbwujYt+M9w1rONTOxBEtsuG9s\nvC9aKVJn8bT4Hw47wIH4G4PUjBkg55gvuhBJqPtB8a/aBrtVoRWugxwS1ADo\nLMO/fcxEOdAiuwUkJXax7DBzx0z6Sf16NC9nRq4W/GEN0dphEd4O5+uF0Awq\na+PEom0uuwxUS0do2VEjg++w5qv+OzotUjflluS4cFBPckHTPqF5Stj/ZPzu\nCxPWbecOMZ8Xv07WP0SMjIZxpGT3nqzvtz5w8I/ItxUi+XQkvmfGHdnJf6Nz\nzW2PzWPCdJfQpKuksHc2q/bo6CMQaavyGTDXE6wWGn+PFDSCdWJILepnPSTG\nmPC6nHIpLGaEVlJbA+AdMGmAjRTpOy/i8axoMVPe3/mbn+c5H+HLUH0hYxTJ\n/kma8ytE1jfSxKOvUo/m7qIc70LI+81EnEmSN7xAfBUrETBnL2bDV4AcOdI4\nGpNl\r\n=urFy\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo-cli/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.3.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.7.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.27.0","apollo-codegen-flow":"^0.27.0","apollo-codegen-scala":"^0.27.0","apollo-codegen-swift":"^0.27.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.27.0","apollo-codegen-flow-legacy":"^0.27.0","apollo-codegen-typescript-legacy":"^0.27.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.7.0_1533922573395_0.42081174352832695","host":"s3://npm-registry-packages"}},"1.7.1":{"name":"apollo","version":"1.7.1","keywords":["oclif"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.7.1","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"29ae6095f6a55fce18f45b0b9b77898dd03523f2","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.7.1.tgz","fileCount":75,"integrity":"sha512-B1SWaleFXEetuddSeY1n18OhQFSQakQtQhozFTv9wfwVAr/VOvm1X6SXVrtn0U1UiueSAOrUcwp2FFzAGffxsA==","signatures":[{"sig":"MEUCIQDPw84XPTL2LupWXSStFUMGD8e+AgRTZjFcFLrFnf8DpAIgGUKp2T9n+Zc/IzjTj0bvtFEyjwB3i58qgNuh4jwLyU8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":202163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfgoYCRA9TVsSAnZWagAAYkcQAIISWPA+V9Al6VPuo2tp\nejjXuVnC0FmttWVOrj0mcAW7BkJK14TbrDPhIAgAPLL6uy9NKPMYhg4a+eei\nxki66LBPb0Uy8niM0lqXaAa3HA4fXEwafp2+paPw3dSbcQmLwV7edUlIIcX+\nGo8Sd1El0a+XBQVMeBcUYB0gT2JugNSujj99QbrMMuKmKN0XSsz+tnm6paVM\nCkBKFgzKINLrmKjzMtwIS/v4DrTEj1rOen5RSQI/8IaqXFH6NndqAEbdtHvq\nLfXhn0/dQw+ewUjV5Z5pBFZXuAkScmmMIZabt2dqFc8SDvCWelCDWTrE+aLB\n+4tV7SgSGyvVGIb8ONAawAJA31wshm/8aTaAgFOvSEICHblXYF+V238LrXOa\nDsaHvr/HaiIY+N6SqAp5o6JM/MqbMwvnwliTchYyvpYfSAEigOsZLGF+soPj\nl46YO1f0t2szqJyxBCogxyusOexUwMjm56NpNy1JBIyzhhXKiaQOzI+56siV\ne2mnVmGiQbBbqXhhNQviCuU/UuIPUQMCcw0UpqnHNgJkXVrX/h7UPoaxzGDA\n76FZ6ySPj1aqWAUHc87Jbb/8YIbIp20AqqgkArxwCpwH+94cQFLgK3C0F59g\nthEFwLzshh9HG/FVLRAOAn9oLH7m8Mj89mbzkoNzU6rE+H8yAQbl0mzCNuJ8\nuDHR\r\n=zRa4\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","files":["/bin","/lib","/oclif.manifest.json"],"oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo-cli/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"node":">=8.0.0"},"scripts":{"test":"jest","build":"tsc -p .","clean":"rm -rf lib","prepack":"npm run build && oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","posttest":"tsc -p . --noEmit","prebuild":"npm run clean","precommit":"pretty-quick --staged"},"_npmUser":{"name":"shadaj","email":"shadaj@meteor.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.2.0","description":"CLI for apollographql","directories":{},"_nodeVersion":"10.8.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.1","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.27.0","apollo-codegen-flow":"^0.27.0","apollo-codegen-scala":"^0.27.0","apollo-codegen-swift":"^0.27.0","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"^0.27.1","apollo-codegen-flow-legacy":"^0.27.0","apollo-codegen-typescript-legacy":"^0.27.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","jest":"^22.4.4","nock":"^9.2.6","husky":"^0.14.3","memfs":"^2.9.1","tslib":"^1.9.0","ts-jest":"^22.4.6","ts-node":"^5.0.1","prettier":"^1.12.1","fs-monkey":"^0.3.3","typescript":"^2.8.3","@oclif/test":"^1.0.6","@types/chai":"^4.1.2","@types/jest":"^22.2.3","@types/nock":"^9.1.3","@types/node":"^9.6.11","@types/listr":"^0.13.0","pretty-quick":"^1.4.1","@oclif/dev-cli":"^1.4.2","@types/graphql":"^0.13.1","@fancy-test/nock":"^0.1.1","@types/node-fetch":"^1.6.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.7.1_1534986775383_0.49976952030211086","host":"s3://npm-registry-packages"}},"1.8.1":{"name":"apollo","version":"1.8.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.8.1","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"1ef6da9eaaab6f282a77d77b5b3043e870f53a3b","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.8.1.tgz","fileCount":76,"integrity":"sha512-Qxca1YtThOaufo71E3xQ4sUoI2hR58Y+DXugmH1YcqDQuXBQp4snNyS14LLVSpupEKzDuW1mm/A+cpdpR6vakw==","signatures":[{"sig":"MEYCIQCioJ54AcxgRd4DFz6sLfTmpsSzmLzLCAdWJK2XPNuPqQIhANpnB6HP1Iru2nvLYMzi4dXTv7DzoeCv8ejVnySn7bOZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":206551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiUrrCRA9TVsSAnZWagAAJhwQAKGn1QiE2Eu6XKRcP6lf\nRiICRsWHJ6TNIioDRCpk6uMHQNS/oBckLpTM3J1/z04VsPNqu1z5u9Rkrfih\n9R6Oo2wSpJbqiezpzxhm5mlJapUXakReWEecJ9GvVFQTPxVGSNkXWffR7kJz\niZ2jTvu9ewbHZkicf2ohmZMZ9FU0FqON51E6XFMpy7GU/R6YNwihAfLGccLT\nTnOshLvbZ0dTZF5RLtdeKFMcaFUPEp3KduUHiDIgQD1TOMFqXB8/PgZ9JtqL\nj1+D6PaL+yggtDZ0O58nGMNFeSpMSgEbsn/DFGSXxz8TsHc0EDrVEWFm1nLm\n0S/kkf2viQtmJtE9aTjnzRl0VxDe/43QVjUkM+1aG9CB0s1QzdPmX7DQAUNo\nKygAFyTHP28zQ+hp7bV2Db6N+bJhQ6IltsknoW27AfVKcvEwoYoxAM8sbcJp\nKFlebrB7WUzt4wtm3gxXuqFAHgmB//kM7Fny3PnilT+W8vwla3I5H9sPtM5T\nksxH1Qg23ks4QmSd5lvX+QBygcUrOrwfKVPI5ZMmCNhp6rZii6UCKNu+eqim\nws9K8CeCdM2zzmrLpE3RV9nVCs+Qj9Qn+p9a0Cx/otknNEIWapcLt9ccPKEH\n19w7H/9RyqlTCfs5vElCfjepvgrp5X7ph3cgvA4Bc8b++y58RqJnThJ1pTkp\nBAe+\r\n=WU6y\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.8.1.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b7ab924655149e452068646924d108447ce6608a","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"8.11.4","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-flow":"0.27.1","apollo-codegen-scala":"0.27.1","apollo-codegen-swift":"0.27.1","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"0.27.2","apollo-codegen-flow-legacy":"0.27.1","apollo-codegen-typescript-legacy":"0.27.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.8.1_1535724266455_0.9303586307049738","host":"s3://npm-registry-packages"}},"1.8.3":{"name":"apollo","version":"1.8.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.8.3","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"c005c898f6ae92861b35fe913a85901c2f2b8fc4","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.8.3.tgz","fileCount":76,"integrity":"sha512-rSuIc/bGg//j65ppC25vuyvVVNu6c64LRUpaKzDw5PzCEG6GjEX/yeBUxiEV43GOK1LMxsRyXgCFRWuY6Rt/Gw==","signatures":[{"sig":"MEQCIB7iRjTFYpOr8uTXbxI4XvUq13eVu/ZQcSE6B8i73dMrAiAj5p7ZVRbdEKIIpP+7G9Gw0A/lJbZS4rQCOtd/e8QCXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":206551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiVKmCRA9TVsSAnZWagAANHoP/jECDyGSOhqrWMJg6Kwz\n0sIP1gA2JHJtBuR22jvml6WSpB6efCYCZoLyH+Z+yQy6XOMv32NASGM7+cor\n7gqTgN7r2R5yeClJGWZ1UrsBW5ao0Ky+UlsgdXcLTtwz8+u3DnVJmxfnZEtz\nrx1eNCjINyDx3pxYBhb2tTHcdCoinUaeLkF9s15h1tc1ivgwWMR8xwcclyep\n7bLjHM269qZKsvZMQdUOI37jY4zHVfxXeU3ykpKz0nrWoDx0TqibW3UOOiJ1\nRcKDUO3sOOMG+Qi9MjCRFQxVD8AtsCi6WSWzYZclo2AWVN8EkDJORDlEikp+\nPWYRG1rFkngof9/jic4EJwzXr5iTkbOzhy2aNTjPsDro5dczE+hJHuEyfJmb\nUeYZyJGnibxM0hkz7BBkecsFZTW8fZjFaTWDcaoJAw+g35Im5VdwQYWnayFN\nrETrqyCdJ74wgRxVCu+jDDnuxGFm32CBj8OrInWU+zF/7GGUW4/bdDk2V1dA\n/kcORZy5b206hoVT3iUtM7Dw4HeBilcAixxC9pshid6avzUr++AWR/7mk2jJ\nQOilxtMgYyDNRb/v6yz6TKq6NzPU01MgP1J2Jwmp2M1Fsd9kEQ/5aK1nNhLq\nD36EXqYHkkuH/0iGzt8+pEzfGmrTigPSpTBnQMejpDSs6n8EWh8qQNtNN2oQ\n8/iR\r\n=58OI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.8.3.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"e8d31998beae239ea92e140c670f45412ca0ffd4","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"8.11.4","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-flow":"0.27.3","apollo-codegen-scala":"0.27.3","apollo-codegen-swift":"0.27.3","@oclif/plugin-not-found":"^1.0.9","apollo-codegen-typescript":"0.27.3","apollo-codegen-flow-legacy":"0.27.3","apollo-codegen-typescript-legacy":"0.27.3","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.8.3_1535726245843_0.9459525498204258","host":"s3://npm-registry-packages"}},"1.9.0":{"name":"apollo","version":"1.9.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.9.0","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"5a1f3543add50d3cec8a0340bfde2f212ab6b67a","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.9.0.tgz","fileCount":79,"integrity":"sha512-Vxdt2u9v1/wAWKgM+zcCJupYPErlO+MkPApMdqI5aTbtE3MjA98SXZO4QYJSSxHgyMg2g2W2VUG8D8gmkZLhPw==","signatures":[{"sig":"MEUCIGAkw8sm1AI8e8VDTN8bj/p02URelaH65emC0LYgoMEEAiEA+cfPlhKzj64SKNz0STdM7zBu/7zDzd3yktylVru8loA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":218141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbidH1CRA9TVsSAnZWagAAzxsP/3hMMeCi9MH6rwc57Ubu\ncdxSapSS8Q4CPj4mgDPdYjyQ5QLnnkXwtNuOIet7QC0Owr4tC9gSACIf/OD/\n3VhtqIcP8A8ZX8dh4rMmBCa82FIqvOByUIhnK/kBZIpCqzUoKhBCvOw1YD4P\n83NGKuKtInSJ/DidncJGO5wORBdXbftIQxWl4OYleB3Xz8EGO7HjziRMLZFY\n00P/oXqitL7ExpOcS2cWrQ+M54K7iZ5VeW8OeUnZCGu+2BJy57ryBycpUHHp\nkaWDSvQcEaOLamZsbkzFDkpJk0vI/ZUtlREQ/vtWopzoMolgmStWrI2EzNqI\nXPlCxuEW5t+T7b90PCkn5ha2si/y8jSzPK9XEWXtiLfz1g0hNBFz9yda/872\nmUyVPYVVt5r0MQIT0dugXKHeaPvFjGt9FG+7GjbFV0eg3EI1YLTaAGp1k2u5\nJXHLY87sLrDVBQjCr3SSY/MN594fEvcLs+LvjysnjdemFT0x8D159QGGaQYO\neEW4UYoAljffsuptICwonBZDKBtr8IzayLFPi8ol0oUYF+exCmLWdPt0l02s\nebSSCmBUW3eYgeDxrsoCbWflYKllyt1raGoQFyrNurqclnLgUkmBRi3eh50O\nKS51wxQSCtqWD0O2AQAVgaziWFQyuZ5MbWPIw8vj33Hf2J+mAnPj+oJWrrxI\n2KP5\r\n=C7VW\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.9.0.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"3c0c12183d4384355d0c4e93693dd625b9122f58","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.2.0","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.9.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.28.0","apollo-codegen-flow":"0.28.0","apollo-codegen-scala":"0.28.0","apollo-codegen-swift":"0.28.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.28.0","apollo-codegen-flow-legacy":"0.28.0","apollo-codegen-typescript-legacy":"0.28.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.9.0_1535758837069_0.9993306114992997","host":"s3://npm-registry-packages"}},"1.9.1":{"name":"apollo","version":"1.9.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.9.1","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"49ae91c374f313f959547991267053c73a2b923c","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.9.1.tgz","fileCount":79,"integrity":"sha512-OQOPek9AQpzBs+WlovjNJQaYdxBfbzUoKvLP2E3O6sjUKz/5AVaBvdHWRtSOt5ivALpRj1m8Y95ct6vsHIMusw==","signatures":[{"sig":"MEQCIEsjxkvyUhyDlJjYfrjKUY0lPlpyzV+UzgPSJAFAzMPLAiAZETc8Oue6ozYodrWnyntl0O5m3iL3vjSSe2rkD/rlwA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":218170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbidzOCRA9TVsSAnZWagAANa0P/jsFZaQp07A/GYqJcZtW\nzr51SFObnttNkzkJlauQ3urH7WwzvMm3ClwcXuEFxAnEGdsy0qtREim3z4JL\nbdHsbxSh7wNDxOXXvJ76HFfZkQIa4hoyOiPgUTLJYUXVfhJt9o8VQSkyP6og\nmvvCtmmCCD0DOlSJPowwujU90S/49fcH2IubmlzsDVlsHK/JwZlnXdQCtq5E\nHXEQdRt8/PeBnTb2Xs5pG2caVkmsVVj/HmV4oC+ishuGxxAu9+OAllwnS0YK\nxNXFUv5p73c/JzCCLccQE5izaa27GHQa7jVYI5P/9r1Y70AwTNvwyiAqOfE4\ngmfX5GD3rMweiXYl4ToH+9p6nLeK6ImwGFuavNXUyxyBh5yOSVWqHmRSwvbI\nd2MFYWkbAhC4u3/SYMz3gHn3GuhcK5370KI3n6uE+8owy/KTdWWy9dRYqwDc\nMhjFLXiDtnB4mCrifKht1XuKzFMVUViEWnRbEJ62VOUaqvqKL8HBgt/yrhad\ngFNhWEjD0iNMYT3hsH8h1yN8hk7/XWrOfcGZlgoYUyWN+WwHG0W18yUC+h5A\npMju9Flu1B4Ft0Ibei+fV+SLTf5ckCTniSA69n8LxY/SvuJDZygRTQIiICLF\nKhSfHWJrCPodSmQ22zeYKtTp4lSB8DPVHRSQnLKtEkStWil0ORUSUB+yq1X+\ntn8T\r\n=SIyT\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.9.1.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"536c339fecb3bd2d01e7cb3dc2152833edb497ff","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.2.0","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.9.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.28.0","apollo-codegen-flow":"0.28.0","apollo-codegen-scala":"0.28.0","apollo-codegen-swift":"0.28.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.28.0","apollo-codegen-flow-legacy":"0.28.0","apollo-codegen-typescript-legacy":"0.28.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.9.1_1535761613182_0.8336922422113506","host":"s3://npm-registry-packages"}},"1.9.2":{"name":"apollo","version":"1.9.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.9.2","maintainers":[{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"356a3ee8cad28cc5244205a05c5125ca6ec365fe","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.9.2.tgz","fileCount":79,"integrity":"sha512-QemDcp7kFVp31XbiS0e6uW61gT0UduFvqsX6xQfQJIdvJJAxQm1cmiSNQUEljsbVOzmQ3bUSM75afz2EJndNdg==","signatures":[{"sig":"MEUCIQCkDEKqF3n+LhD+c+XQKj8/XoHEmjaP5H8SW9uwd2KpbAIgaZzAxpdVo73W17VWGNj4uYJ9D5FpkZqZuPHm+BtnG6U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":218170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmYYeCRA9TVsSAnZWagAAO94P/23xr4dRyuus3jK2959d\nuyvr8Kae0n8VQqyjCDtIdtB9zzc9OsMyEM8JSHd8MgtjjRExcO9ClVgDBb/W\nxOnQuOA1X0tdzRceb2CHKnhF8CxgarJWsOHzG0svpO6t2yuBSvAKvdHFkuUy\nqTs9sxBhQ8Oy1/ntwlGj8z/MHODQ8/K9eV4UJi+RM3DTkx3qjHexhftEQa0M\nVMYnKnyGnC8xH4dHj/QbAwIWq5fl+cZwxCpdFx0fUAyQg08ZjNfy5L1P7IJD\nfVOtWClP7vetpKUPyryXiLGN4Sz68BZGuoJmgh7CjT5sopS2PH73V2uRG32I\npzrcSYjjWd4d2S2XNcn/baPL4X+Rc17gwwYfT6EWNIJjSIkVJpY1I7P+bz/6\ngqktBDcthw2AjNIc9COsiHB2XJVtgHJMWG96qklEJ0KiYBU9U4l2eh3URyZb\npe1/K4D+MtGH5iZT93zutQn91AUju7B8p4zniYgEQWjMl368gOkF5/RgqkDz\nDnEnXcz/qfGfjXofkzopHk6blggjo4ZECQdHS58H8nYNfO5fRHRBLWzWteb/\n1fDTEe5jnmrjDBOAXRfNmHNFbnTM+0om8T0ClTDmL05hQTg1v4E4HyTC0C0v\nY8K/61wOilMWVRSnQoydGAUCIebMplHyYx0Jc9AfkqbxDxuMJzjmlBTY69oP\nHNqA\r\n=kHvL\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.9.2.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"a84aabb66438d6c346b989db75574b50b7c1be43","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"mdg","email":"npm@meteor.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"8.11.4","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.28.1","apollo-codegen-flow":"0.28.1","apollo-codegen-scala":"0.28.1","apollo-codegen-swift":"0.28.1","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.28.1","apollo-codegen-flow-legacy":"0.28.1","apollo-codegen-typescript-legacy":"0.28.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.9.2_1536787997939_0.4300367594690775","host":"s3://npm-registry-packages"}},"1.10.0-alpha.9":{"name":"apollo","version":"1.10.0-alpha.9","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.10.0-alpha.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"0423a8bc8875bd131d4a394e3b822932cd3e0983","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.10.0-alpha.9.tgz","fileCount":88,"integrity":"sha512-rb6DhA19HJSLGV88+iXPt/J8RtCKxZMmcqyxGUzciCDskYYoQ4ZWWHZxUCJ51xUUmLcApUbhzbcpuQ5eIL3H7w==","signatures":[{"sig":"MEYCIQDZ4L5zcx/AFouvDbm882N9rB0S5ZgF4EydY+H4pvrfAAIhAN84t4K0GscsA/nZTjvGi7ipYlXzpIg5Yl04nUQ3jUli","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":237300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu6mUCRA9TVsSAnZWagAAtHwP/RmtMEuqLfDxGIea9k3m\nvBcdvU9JFyaTEArF+FIls4fY1dGydhG8ej+N5JUsEbcbdOvW270xB74BkbM5\nogmiufMG5BLMHeugib/VGS08eX84HYnAP5P1rLy5LeniKBQ5uYA/gPaXOL30\nf1W8TsNiD7ELdUXtsiB4JeC4EXRBx/fEa7qbL/5YFrWvX8EwN0MpiQYJdFES\nt10cvMZRJQMobASPwsIpI/jSbgulqGz5+llSaxlTOUevAetXrxZpWUQTVftj\nv4AuBZ5wAmxp0TvkE7uLCJ9xg5wPIBSK1S1chgUplDiYvIkCqwZEjxnNTvfW\nj422uXhLT/0Qvyy6kFaavZ1x7o6PlIA+9URl7D1KFy6ZZFO2wibtIbhiBL1f\ndNZGfX5Nu96Z3LWQMe+8VwrE5IbCTHHxt67w6G6hMuhjWy+kzbGJ6WtM0/ub\nSUTxmbRrtoJ/w2NGax7rhhnoDl9/2fxd2t0xZNQz88k2u+Y0QTt1vvGYs8Vh\nDdHeimYtjADYHcJbMske5zU+N2ucfUQLifQCqP3DVwRJZX/xyMPzP1X4JDZs\nmiPS9dOQY1oj/PTRKit0R7HttBo+z90RmyVJ+NJ7oWbd4ADeVexoP8YLX49O\n8U32RRF5XDar8zr2QwTfypg00D4tQyqjzvjd0and0MS7yKm2o8S4rvB4sT2n\nMpto\r\n=dHL8\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.10.0-alpha.9.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-cli/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.10.0-alpha.9+c102025 linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo codegen:generate [OUTPUT]`](#apollo-codegengenerate-output)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo queries:check`](#apollo-queriescheck)\n* [`apollo queries:extract OUTPUT`](#apollo-queriesextract-output)\n* [`apollo queries:register`](#apollo-queriesregister)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:download OUTPUT`](#apollo-schemadownload-output)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo codegen:generate [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo codegen:generate [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -h, --help                                 Show command help\n  --addTypename                              Automatically add __typename to your queries\n\n  --clientSchema=clientSchema                Path to your client-side GraphQL schema file for `apollo-link-state`\n                                             (.graphql, .json, .js, .ts)\n\n  --config=config                            Path to your Apollo config file\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          [default: **/*.graphql] Path to your GraphQL queries, can include search\n                                             tokens like **\n\n  --schema=schema                            Path to your GraphQL schema (.graphql, .json, .js, .ts)\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            Type of code generator to use (swift | typescript | flow | scala), inferred\n                                             from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch the query files to auto-generate on changes.\n```\n\n_See code: [src/commands/codegen/generate.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/codegen/generate.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo queries:check`\n\nChecks your GraphQL operations for compatibility with the server. Checks against the published schema in Apollo Engine.\n\n```\nUSAGE\n  $ apollo queries:check\n\nOPTIONS\n  -h, --help         Show command help\n  --config=config    Path to your Apollo config file\n  --json             Output result as JSON\n  --key=key          The API key for the Apollo Engine service\n  --queries=queries  Path to your GraphQL queries, can include search tokens like **\n\n  --tagName=tagName  [default: gql] Name of the template literal tag used to identify template literals containing\n                     GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/check.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/check.ts)_\n\n## `apollo queries:extract OUTPUT`\n\nExtracts queries\n\n```\nUSAGE\n  $ apollo queries:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -h, --help                Show command help\n  --addTypename             Automatically add __typename to your queries\n  --config=config           Path to your Apollo config file\n  --key=key                 The API key for the Apollo Engine service\n  --queries=queries         Path to your GraphQL queries, can include search tokens like **\n  --removeClientDirectives  Automatically remove @client and @connection directives and fields from operations\n\n  --tagName=tagName         [default: gql] Name of the template literal tag used to identify template literals\n                            containing GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/extract.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/extract.ts)_\n\n## `apollo queries:register`\n\nRegister queries\n\n```\nUSAGE\n  $ apollo queries:register\n\nOPTIONS\n  -h, --help                           Show command help\n  --addTypename                        Automatically add __typename to your queries\n\n  --clientIdentifier=clientIdentifier  Identifier for the client which will match ids from client traces, will use\n                                       clientName if not provided\n\n  --clientName=clientName              (required) Name of the client that the queries will be attached to\n\n  --clientVersion=clientVersion        The version of the client that the queries will be attached to\n\n  --config=config                      Path to your Apollo config file\n\n  --key=key                            The API key for the Apollo Engine service\n\n  --queries=queries                    Path to your GraphQL queries, can include search tokens like **\n\n  --removeClientDirectives             Automatically remove @client and @connection directives and fields from\n                                       operations\n\n  --tagName=tagName                    [default: gql] Name of the template literal tag used to identify template\n                                       literals containing GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/register.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/register.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against the version registered in Apollo Engine.\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -h, --help           Show command help\n  --config=config      Path to your Apollo config file\n  --endpoint=endpoint  The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/check.ts)_\n\n## `apollo schema:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo schema:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -h, --help               Show command help\n  -k, --skipSSLValidation  Allow connections to a SSL site without certs\n  --config=config          Path to your Apollo config file\n  --endpoint=endpoint      The URL of the server to fetch the schema from or path to ./your/local/schema.graphql\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/download.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/download.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Apollo Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -h, --help           Show command help\n  --config=config      Path to your Apollo config file\n  --endpoint=endpoint  The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output successful publish result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-cli.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cli)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n* Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n* Make sure you have a `GITHUB_TOKEN` set in your environment variables.  For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n* In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n* Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n* Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n* Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"c102025567a1913d3b0182d7a6bb7792237561f2","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.5.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"^0.28.1","apollo-codegen-flow":"^0.28.1","apollo-codegen-scala":"^0.28.1","apollo-codegen-swift":"^0.28.1","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"^0.28.1","apollo-codegen-flow-legacy":"^0.28.1","apollo-codegen-typescript-legacy":"^0.28.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.10.0-alpha.9_1539025299686_0.20294249247554075","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.10.0-register.0":{"name":"apollo","version":"1.10.0-register.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.10.0-register.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"671fc2aec91736856cdd4c7e1e27263fd19a7a1f","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.10.0-register.0.tgz","fileCount":88,"integrity":"sha512-ICWODgmH/vfbK9jLN34P1d/rlq3t4J0jh8UAyOZFb3ctH7eDb+Gy3uyQ2zQMnZLu8oyX938V4BDDnzu+QTlF6A==","signatures":[{"sig":"MEYCIQD6gByhCbUbiSvg+SD3y3qBvlaHCgYUPQcad6E1S0IGswIhAN+STEvSAQ9Sf9qdALwSK+7XAfQLNrPh0LHudQWkUWY8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":237435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu7pRCRA9TVsSAnZWagAAQHIP/3epnkOCnosiULI8ncXj\nUWHhkNVoMbQTyMFEu1L1WybkF16DV9ATH/cjI+hAzawDpqgpjELfJ/PuLQYP\n22AApiDRg/vALJUOlE101QvE7yzS7eHKKXzz46Ax5/ferI10GAdZwhfPRJBs\nzHiDORDb48qbcstS+i2RU+wvKwS+82Jh8U+Spmg7G3Kc1WkAaW9gntFeN8eR\nNAJ3dHBKTDeilWmRoTHqdqDANSLhMNFm1yfzBY2omrQzL5rdVM8myHJCUBbC\nZeeqHKb622IzodA8orllCb5zowITK26J2hgWRl78Ok0+W6zJmERw2RNYCpMn\n+e0y9ew0ABKEzxCplq9pzpBV8KdZ1Ge6Rg56WQWyubaESB10OeSJft9OoRxP\nfpRARJmjFn8rulxKX+ya1/JoOSt77ZK/gQtZi6MtPGLEqiWv3AEg8h27Wc2I\ncKxN7258ASdTphNMY29wOKW4djkacgxUdYP+oITYHl9bo8MTatNyPmdC0ZAi\nFi/ugBXUHA74H7649EpeqJ4t5sZaX8LnPeXPJnAxAiUTbYMuPBWYfcVZYuSV\nfYFfX3xYFchOHa9HFGqZd+h9b3i6sUIaw6zRC5tWoAylbNONSm2sWToIeH3M\n93WNAp3Zjr/Lx105iqlhMuIaMW1Cd8uKphYG+cZMNFCFMMRuHqkSB1r4G3/0\nWZn2\r\n=jUCI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.10.0-register.0.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-cli/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.10.0-register.0+36a3f2e linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo codegen:generate [OUTPUT]`](#apollo-codegengenerate-output)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo queries:check`](#apollo-queriescheck)\n* [`apollo queries:extract OUTPUT`](#apollo-queriesextract-output)\n* [`apollo queries:register`](#apollo-queriesregister)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:download OUTPUT`](#apollo-schemadownload-output)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo codegen:generate [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo codegen:generate [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -h, --help                                 Show command help\n  --addTypename                              Automatically add __typename to your queries\n\n  --clientSchema=clientSchema                Path to your client-side GraphQL schema file for `apollo-link-state`\n                                             (.graphql, .json, .js, .ts)\n\n  --config=config                            Path to your Apollo config file\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          [default: **/*.graphql] Path to your GraphQL queries, can include search\n                                             tokens like **\n\n  --schema=schema                            Path to your GraphQL schema (.graphql, .json, .js, .ts)\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            Type of code generator to use (swift | typescript | flow | scala), inferred\n                                             from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch the query files to auto-generate on changes.\n```\n\n_See code: [src/commands/codegen/generate.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/codegen/generate.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo queries:check`\n\nChecks your GraphQL operations for compatibility with the server. Checks against the published schema in Apollo Engine.\n\n```\nUSAGE\n  $ apollo queries:check\n\nOPTIONS\n  -h, --help         Show command help\n  --config=config    Path to your Apollo config file\n  --json             Output result as JSON\n  --key=key          The API key for the Apollo Engine service\n  --queries=queries  Path to your GraphQL queries, can include search tokens like **\n\n  --tagName=tagName  [default: gql] Name of the template literal tag used to identify template literals containing\n                     GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/check.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/check.ts)_\n\n## `apollo queries:extract OUTPUT`\n\nExtracts queries\n\n```\nUSAGE\n  $ apollo queries:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -h, --help                Show command help\n  --addTypename             Automatically add __typename to your queries\n  --config=config           Path to your Apollo config file\n  --key=key                 The API key for the Apollo Engine service\n  --queries=queries         Path to your GraphQL queries, can include search tokens like **\n  --removeClientDirectives  Automatically remove @client and @connection directives and fields from operations\n\n  --tagName=tagName         [default: gql] Name of the template literal tag used to identify template literals\n                            containing GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/extract.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/extract.ts)_\n\n## `apollo queries:register`\n\nRegister queries\n\n```\nUSAGE\n  $ apollo queries:register\n\nOPTIONS\n  -h, --help                           Show command help\n  --addTypename                        Automatically add __typename to your queries\n\n  --clientIdentifier=clientIdentifier  Identifier for the client which will match ids from client traces, will use\n                                       clientName if not provided\n\n  --clientName=clientName              (required) Name of the client that the queries will be attached to\n\n  --clientVersion=clientVersion        The version of the client that the queries will be attached to\n\n  --config=config                      Path to your Apollo config file\n\n  --key=key                            The API key for the Apollo Engine service\n\n  --queries=queries                    Path to your GraphQL queries, can include search tokens like **\n\n  --removeClientDirectives             Automatically remove @client and @connection directives and fields from\n                                       operations\n\n  --tagName=tagName                    [default: gql] Name of the template literal tag used to identify template\n                                       literals containing GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/register.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/register.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against the version registered in Apollo Engine.\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -h, --help           Show command help\n  --config=config      Path to your Apollo config file\n  --endpoint=endpoint  The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/check.ts)_\n\n## `apollo schema:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo schema:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -h, --help               Show command help\n  -k, --skipSSLValidation  Allow connections to a SSL site without certs\n  --config=config          Path to your Apollo config file\n  --endpoint=endpoint      The URL of the server to fetch the schema from or path to ./your/local/schema.graphql\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/download.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/download.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Apollo Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -h, --help           Show command help\n  --config=config      Path to your Apollo config file\n  --endpoint=endpoint  The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output successful publish result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-cli.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cli)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n* Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n* Make sure you have a `GITHUB_TOKEN` set in your environment variables.  For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n* In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n* Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n* Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n* Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"36a3f2edab15c1ba5ffdf67c7fe2b5797264a730","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.5.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.0-register.0+36a3f2e","apollo-codegen-flow":"0.28.2-register.0+36a3f2e","apollo-codegen-scala":"0.28.2-register.0+36a3f2e","apollo-codegen-swift":"0.28.2-register.0+36a3f2e","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.28.2-register.0+36a3f2e","apollo-codegen-flow-legacy":"0.28.2-register.0+36a3f2e","apollo-codegen-typescript-legacy":"0.28.2-register.0+36a3f2e","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.10.0-register.0_1539029584705_0.07609744377992378","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"1.10.0-register.1":{"name":"apollo","version":"1.10.0-register.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@1.10.0-register.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-cli","bugs":{"url":"https://github.com/apollographql/apollo-cli/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"fd509dc7d4b0977d99b3ae260fa7bf280e9c8fe4","tarball":"https://registry.npmjs.org/apollo/-/apollo-1.10.0-register.1.tgz","fileCount":85,"integrity":"sha512-wo0i+tcjB0diQh4nAqKHFVzCpZZiCPdHvBGcC66ErU2LgZPMmIS/etbI2lWD076t/pXjBKBloHC1qWUPsP51xQ==","signatures":[{"sig":"MEQCICzRmvDDqcN41YvbD49r5PV55z2gSMh2Gynjux9+muS7AiBr+f6xmbMbYi1f+xP+YA1YV+jxSHwuOhW+wwT4suoFKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":231398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvCNCCRA9TVsSAnZWagAAYVwP+gMN1gltuQ13OMNJd2Pb\nmvEe9ioOuJ+1UEyml+VK/ZmZJBHSiGcqvGgiK8L0702i/y7+YaPfC4Ps+nLn\nqAiZZ6V4//ThNTDBEFyScZEDSmdthhYeOy5pvfEy1DnIMXPRBLM033+2TTB6\nng5Vdz8DbVlPiDGiZ8H4e62SFX69wtfPq3tckxyxlVbYE+7AsMK5omYNnmlo\nWPK7JKpvJtiMwUXsUMR3bPtgPWqf+mAfNpuxRP+oTcoiLXLeTE8CL3UDWibU\nb251Gf3xMSRTaFeIqHAYlZivySLLHeheCg+NE0cKoe3NzxOjSMp3F5WYciK2\nKb+Cc/5EqMiaNBsf1DVFjyQjFETO+/sgSrvRQqJ2UeC4gekOIpkuXoGqfSqY\ngZpRlNeP/CK+rVfPaV6upnFEyB9c7LkgjcBoY6sg39w6U1LXeVvLlJOfRD6h\n/OoMHLJMhC4dPx6tb0xIZ06lMnKN8zXFw9CSCJttROJEB9jYh66/F402PxmZ\neL/5md1PzDzkt5bkaPOX112DCsbc0C3c/CRnv5hUaQCPVJVXhWxLwqj18pxP\ngHSeNeKFto4ZMlEBLqUSJbz+XMMLpbwViwRPidd+ji1Sa6K12qqzNGD7Hczy\nBdJjGpdxRJjwWAMS8lZr+w5jdxiB0UIGnF6zK5b4OIIX/Azfsff5gztQ+Lku\npVZ3\r\n=qwBw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","transform":{"^.+\\.tsx?$":"ts-jest"},"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"]},"main":"lib/index.js","_from":"file:apollo-1.10.0-register.1.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-cli/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/1.10.0-register.1+2aaaaea linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo codegen:generate [OUTPUT]`](#apollo-codegengenerate-output)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo queries:check`](#apollo-queriescheck)\n* [`apollo queries:register`](#apollo-queriesregister)\n* [`apollo schema:check`](#apollo-schemacheck)\n* [`apollo schema:download OUTPUT`](#apollo-schemadownload-output)\n* [`apollo schema:publish`](#apollo-schemapublish)\n\n## `apollo codegen:generate [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo codegen:generate [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -h, --help                                 Show command help\n  --addTypename                              Automatically add __typename to your queries\n\n  --clientSchema=clientSchema                Path to your client-side GraphQL schema file for `apollo-link-state`\n                                             (.graphql, .json, .js, .ts)\n\n  --config=config                            Path to your Apollo config file\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          [default: **/*.graphql] Path to your GraphQL queries, can include search\n                                             tokens like **\n\n  --schema=schema                            Path to your GraphQL schema (.graphql, .json, .js, .ts)\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            Type of code generator to use (swift | typescript | flow | scala), inferred\n                                             from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch the query files to auto-generate on changes.\n```\n\n_See code: [src/commands/codegen/generate.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/codegen/generate.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo queries:check`\n\nChecks your GraphQL operations for compatibility with the server. Checks against the published schema in Apollo Engine.\n\n```\nUSAGE\n  $ apollo queries:check\n\nOPTIONS\n  -h, --help                Show command help\n  --addTypename             Automatically add __typename to your queries\n  --config=config           Path to your Apollo config file\n  --json                    Output result as JSON\n  --key=key                 The API key for the Apollo Engine service\n  --queries=queries         Path to your GraphQL queries, can include search tokens like **\n  --removeClientDirectives  Automatically remove @client and @connection directives and fields from operations\n\n  --tagName=tagName         [default: gql] Name of the template literal tag used to identify template literals\n                            containing GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/check.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/check.ts)_\n\n## `apollo queries:register`\n\nRegister queries\n\n```\nUSAGE\n  $ apollo queries:register\n\nOPTIONS\n  -h, --help                           Show command help\n  --addTypename                        Automatically add __typename to your queries\n\n  --clientIdentifier=clientIdentifier  Identifier for the client which will match ids from client traces, will use\n                                       clientName if not provided\n\n  --clientName=clientName              (required) Name of the client that the queries will be attached to\n\n  --clientVersion=clientVersion        The version of the client that the queries will be attached to\n\n  --config=config                      Path to your Apollo config file\n\n  --key=key                            The API key for the Apollo Engine service\n\n  --queries=queries                    Path to your GraphQL queries, can include search tokens like **\n\n  --removeClientDirectives             Automatically remove @client and @connection directives and fields from\n                                       operations\n\n  --tagName=tagName                    [default: gql] Name of the template literal tag used to identify template\n                                       literals containing GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/queries/register.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/queries/register.ts)_\n\n## `apollo schema:check`\n\nCheck a schema against the version registered in Apollo Engine.\n\n```\nUSAGE\n  $ apollo schema:check\n\nOPTIONS\n  -h, --help           Show command help\n  --config=config      Path to your Apollo config file\n  --endpoint=endpoint  The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/check.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/check.ts)_\n\n## `apollo schema:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo schema:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -h, --help               Show command help\n  -k, --skipSSLValidation  Allow connections to a SSL site without certs\n  --config=config          Path to your Apollo config file\n  --endpoint=endpoint      The URL of the server to fetch the schema from or path to ./your/local/schema.graphql\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/download.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/download.ts)_\n\n## `apollo schema:publish`\n\nPublish a schema to Apollo Engine\n\n```\nUSAGE\n  $ apollo schema:publish\n\nOPTIONS\n  -h, --help           Show command help\n  --config=config      Path to your Apollo config file\n  --endpoint=endpoint  The URL of the server to fetch the schema from\n  --header=header      Additional headers to send to server for introspectionQuery\n  --json               Output successful publish result as JSON\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/schema/publish.ts](https://github.com/apollographql/apollo-cli/blob/master/packages/apollo/src/commands/schema/publish.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-cli.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-cli)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n* Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n* Make sure you have a `GITHUB_TOKEN` set in your environment variables.  For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n* In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n* Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n* Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n* Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"2aaaaeae86c2c946d2423881712190c00773bc94","scripts":{"build":"tsc","clean":"rm -rf lib","prepack":"oclif-dev manifest && oclif-dev readme","prepare":"npm run build","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json","prebuild":"npm run clean"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-cli.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.5.0","dependencies":{"gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","react":"^16.4.0","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^0.13.2","git-parse":"^1.0.3","react-dom":"^16.4.0","node-fetch":"^2.1.2","apollo-link":"^1.2.2","decode-html":"^2.0.0","graphql-tag":"^2.9.2","@types/react":"^16.3.14","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@types/globby":"^8.0.0","@types/lodash":"^4.14.109","@types/rimraf":"^2.0.2","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@types/react-dom":"^16.0.5","apollo-link-http":"^1.5.4","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.0-register.0","apollo-codegen-flow":"0.28.2-register.0","apollo-codegen-scala":"0.28.2-register.0","apollo-codegen-swift":"0.28.2-register.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.28.2-register.0","apollo-codegen-flow-legacy":"0.28.2-register.0","apollo-codegen-typescript-legacy":"0.28.2-register.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_1.10.0-register.1_1539056450242_0.9567797558118711","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-alpha.80":{"name":"apollo","version":"2.0.0-alpha.80","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-alpha.80","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"5151e32d0600215e9d3689db0c32c9a172a81430","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-alpha.80.tgz","fileCount":59,"integrity":"sha512-D0tSdgfiwsC97htPGXR4PA8V4E0F+zO63jZsk174R/p3JKCRyMZlTnJ1Zb+y26NYpGrEZfv6GlHd1ls27b01VA==","signatures":[{"sig":"MEYCIQDJmu+aqESaq/QSwwNDDJ7gFPEH14nzFQsi51TwJw0tgQIhAMKb0jfkcN4BYBkNMNJ5ksZq9l2xPR683uOw7HuH2i/w","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4VxZCRA9TVsSAnZWagAAw3cP/3bySvUio74QBIsm5RGe\nwScECS9mlhsJYzZjaDggLQ3eQjNmxAWXFmHrGVCV3TIvxCyg72sh7anxnEyn\nwC9an2vIwpYlT9GMq8t6dHBn3u+RKs0nJFTNI36JsulAuZVQ+HtIGfHRMzIN\nXHYOFKR4aPDNaU7Oc8UvCzV3EevhvEWt0qFpPAQxfO4tPblx1q4/djjqELEx\n5pcow7vX4YNdVl58NXSBVZkyZ3eztShfbc8c2qrQic0+Qb6Yj03+Asu2Pzi7\nS8OPYJE9mBYKDasfhNJZjEttZ5jLE5VOPKELtoAIm9koI0Iet0R3nGylTMMn\nhdn/uXtT9mAfJvHfxbyhzR9sWCHFzExmTsO0sjKK7sS8+5oL5C6hCeGCWrZl\nA/NROHIiJEs1/Wy6yqnqF6H6f362gB1Z6uTbO0ZPYQaNeWsjkZei8uz6HOPx\nT9gaEySUZCRjjzus3RLbsfF5Bkktuwx7UkSrZiioOMRubm5aJCiawOfZDZSS\nr320Qbd/dXLR6O1TIu0jVjdiAuTqB3/hdN0We0tULjI9+6RkXy0q19tKkLCz\n+wfGtuqA37QGDpIp0QuK1bUT2GTb5PnjIQ4wpAkUsvp/4vHK5i0D7pL6Vlo8\nM6yR06dEfPr8W1h+8TMuybPZhKIn/iGyTMfC5jaGyRuN54y7ZcYsl64WAcak\nYNP0\r\n=7GZ8\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-alpha.80.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-alpha.80+1a53960 linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"1a53960af3bc8e081ba98f6a5537fc6ce6380082","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.5.0","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"1.0.0-alpha.80+1a53960","apollo-codegen-flow":"1.0.0-alpha.80+1a53960","apollo-codegen-scala":"1.0.0-alpha.80+1a53960","apollo-codegen-swift":"1.0.0-alpha.80+1a53960","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-alpha.80+1a53960","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"1.0.0-alpha.80+1a53960","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-alpha.80_1541495896856_0.01652222541387771","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-alpha.81":{"name":"apollo","version":"2.0.0-alpha.81","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-alpha.81","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"384bd92713c3795c9afaa80de5dd154f863fba48","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-alpha.81.tgz","fileCount":59,"integrity":"sha512-GbRJqaOOs0U6ZyfIFF/4SnUVPDpZXBtxE6xZFhuia3kTxS/pjCD4C4Op7jmjWRJeZft9Ui3BX0HeK42fxwlrfg==","signatures":[{"sig":"MEUCICE/gOTslOAiv0vx3fUuI6YcemjTROKAodzYZIn0MnWIAiEA5NRK4wwAQL9mSYjYohwFvP1gdYjHLjxrL26Woxf1BTs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4V3lCRA9TVsSAnZWagAAA4QQAKAQP3B3bQuPpnlMp09F\nsa6Kk7U+ZcuDiMy47zlJS/WaMgDkI9cPKcHFH0J4DDnGOvRebeF2fcLfS0p9\n+VmcA/HaM6gENPR3H9jgSJk1QBjxgOIKYCMyw4+12j+uiun6QMADsbyiKkx0\ngAxPQe8sWRgp+YQWDLyFlBE+GlfourPdORTB86k14X0N6CaaBXwcfbkQESVr\nWKfa5bxCwrlO1nvDB2i159IRmM+ZWhZoeVoABIkE94P7PZrtkXuLVTWq80ht\ncsxyGr1QJdFuu5CgGRWyh64LB3otPRoDdxPegoZhYVmwVCa7URaZjxDhaBbq\nFdmmNFoxigD3SLAj3B6jABfl1W/AJI4KYhpAYrn6UQZYJkr1qjYm2j/TV5mR\nryjLwlu+jGqAqTMt0yIxD9kqyy+OMtRLvBnN0v3ZjvGPL6tFCxdRRPLO3QYK\nCDN0UFp5RaYsfSeRVF85YIYfOVMuijmWBBPMFXtVIQxE2JHzD8/1QBeDi7P9\nl4zauNVzLJNE74zv+O4QWKE4GxFDhMKm4K994/eEtAMgNneSkrJfpjhpyQVV\ngBJnspzdEx0H+0VFw1YMfLZLBabycfGa4+3/3XkLA8L8rXK/aWM9O+7ToP7A\nTGLc06MZgiEjm8a9EU6hZ2ePnq7nQMUJrzOlBlSTKfTzJLt6fBIbOoWXVj4g\n/ueS\r\n=fym4\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-alpha.81.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-alpha.81+e9654ff linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"e9654ff4023156d6507e2ca8dcc9d6145cdda4b7","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.5.0","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"1.0.0-alpha.81+e9654ff","apollo-codegen-flow":"1.0.0-alpha.81+e9654ff","apollo-codegen-scala":"1.0.0-alpha.81+e9654ff","apollo-codegen-swift":"1.0.0-alpha.81+e9654ff","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-alpha.81+e9654ff","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"1.0.0-alpha.81+e9654ff","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-alpha.81_1541496292748_0.6734799561330924","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-alpha.82":{"name":"apollo","version":"2.0.0-alpha.82","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-alpha.82","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"284b9c068199285d87b7a99fbaec5598764c9007","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-alpha.82.tgz","fileCount":59,"integrity":"sha512-bRS8Im0QRSmPZ6QOI+wp17KZkGx3mMfyqYSZpCXMOYGiddlk4HiXlO58b+8E1IT29yLMqlMnMA3BJsMVUdgFJg==","signatures":[{"sig":"MEQCIEZRlSxmq63BNKQegHGhZGk1PexELIjQZGlCUaP15s6sAiAssO3HsMt0At1sZ/FhSxjS0xbQHg16AyZW4w9cvebeIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158526,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4WvNCRA9TVsSAnZWagAA6hQP/2JMVI1cMk4b2L0o5hot\niq8DhIojNNoUJ7KcpnZkpnAQtxwXmoGLpiTVC8HmekeMIIfmkV5ZsZBodEHi\nwKdiS97AFwuehEKIAU05d67X5mYhFWUC+DQhIVJXCXOV5JVAW7GWU/i205QH\n6Ogh1tb9pGX/MRsXyuREGJiyQFcWGVaWDx3lMc9L322AEKOh5mMUVCzsFvw1\ni99lJEvXBAtyQYEBBA1BLGVIAQnxL6eVmP/0LQwte/QQavSVASSp58d8m/ny\nTNc9YC3HbRx3o5nCox8EddTdaekExy+ggWDMH6vexmWmhHu//0SoaL2CYKN/\nYATreynh/aFoRqwV53sd52lf3GQhSpk7L51uylnupfdNRb4uR85WxN6ZMErM\nh5JnVe9N6icOv+Axi0fOidvqxI2smyqE15sXvYfFhWwIzm1kKPToJLbPeCg3\nqVal/Jsgx7ab9JDttdBoJX487GO41EQYnNzYsuAITVpP2sLXgwFZC6FXLSdE\nWBtq1CWQqvD6/4dq6LP4/A+VF1miUyJQZPB9gJs3axFTesmd9T9+zPRFoUQ+\nqN0Xnez6DodhlFs6gwc74TWvTuONw/CM1kRCqSkDh4HQthRSs3RZI1yc35ae\nEdSuN4WLE9iWybn8pSPj2S0YITY+JXxa1eJu6qovawpj94sDUuVUXN+63Mr2\nNvCQ\r\n=cFnh\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-alpha.82.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-alpha.82+66d0afd linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"66d0afdaaa9422aa24e20d4f5d3212e9f1a1fc6d","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"_nodeVersion":"10.5.0","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"1.0.0-alpha.82+66d0afd","apollo-codegen-flow":"1.0.0-alpha.82+66d0afd","apollo-codegen-scala":"1.0.0-alpha.82+66d0afd","apollo-codegen-swift":"1.0.0-alpha.82+66d0afd","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-alpha.82+66d0afd","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"1.0.0-alpha.82+66d0afd","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-alpha.82_1541499852083_0.0730756570648472","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-beta.82":{"name":"apollo","version":"2.0.0-beta.82","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-beta.82","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"37c59581b11f779d0a7e637c01b6421b0b03ec99","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-beta.82.tgz","fileCount":59,"integrity":"sha512-i2+zH3ZVhYJtU69WddZ6N3GFou+u2ZSQPeNL1Og/JIajt8Bn6GOxDd/GmMHgm1fF1i3nF/0vUDttGSKJ+HVS/g==","signatures":[{"sig":"MEUCIBgUnns806ZuWTymjSVqI4eXKnfCp4tKnd6gAzqgqPJdAiEAg2X/W8sCF8tOc4Dp0lwZ5IvEP8OCaR7k5/SBlWLLSIU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4Z1vCRA9TVsSAnZWagAA0v4P/1wdSUNzXaVqfXtgcdAY\negIHhYcKCHg8ZgcRG7IQJFXVriNuvfZfQKbbtpRwWT10ZhE49TakIKO58YWK\nwiya3TZM+eaGG6K7//7hxWKQPQ5GqRvK2Xk1yzN8yFUnchTdq15ab2ohP8je\nrwVL6xH+lqby6P4cBfhVFpr0w29n8Lx8zG8my1U3s2dpjU7QW1ytHhJL/pC0\n5SdXpMSDcb7frLqzFty19TB4JswqOVo2FhBpIwcghHALhF2/v9WezAK75KcT\n/TwERmtn2lQW78CbyrLBfF2BzvnYM8nEMaLKAARLpHmYuqOqQrCGdS7vzqy7\n5MQPQxzmK1tXgbBBj0IikSedM0yXYuk+MLg37GIzEiwNiZY/77Cvw5IEM9Ql\n+/SwZi3KEdc7vgM1QBX/K34ifvlazwkkOwCCTTpQKzijhvcvKwNAdW4FS4V9\nxY7Tly23c538vngsh/trck1roluiBVxrVdmmEvxF9xva2hmLyLWjac2LdVOv\njeD+3DQEHf3UumGaK6yBtjecwQzXTmziejSdFAyUt7GG5WH5MGanTk1jNQt9\nuEVm2wnKxoibSVITEiNE1HZtTGAWjBBJL01w2BGyhebMBEGFPyJykVmLOm+v\ngeVGqi0wp7neVz8nDEpBvHPwWvbLU25i/ZB3gouZIIICBXt4mua04/2LIugj\nekrP\r\n=rXoX\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-beta.82.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-beta.82+f1831d8 linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"f1831d8cc035c4a43587ab36b3bd404428aba8b0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"1.0.0-beta.82+f1831d8","apollo-codegen-flow":"1.0.0-beta.82+f1831d8","apollo-codegen-scala":"1.0.0-beta.82+f1831d8","apollo-codegen-swift":"1.0.0-beta.82+f1831d8","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-beta.82+f1831d8","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"1.0.0-beta.82+f1831d8","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-beta.82_1541512559101_0.5219229601873301","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-beta.84":{"name":"apollo","version":"2.0.0-beta.84","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-beta.84","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"04cead61da2bb9ec49b50b9636368ffe40d166dd","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-beta.84.tgz","fileCount":63,"integrity":"sha512-qbTsaszNYAuatpEke3XWwIsre443Ee3i7RlOYF+VGKoCv/BaGvr3Y/um9VSSYxX/lksOZnnXRfNRvX+vzEeApw==","signatures":[{"sig":"MEQCIDviuuC/V4cVvlc1DcuicH34my7L9jDXmMZ8bMHsYp8RAiAQzebthM9fpPYocaQk9EP15V6jNM12Q/WtHWRqXRk+wA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":167150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4gD6CRA9TVsSAnZWagAAsOQP/jmx/yL8ZqV6Z+140U8I\nAqHtqDw2UkWkraakIaAbIwmNwu5FbNqt2oYJmxtWaOIv1MFRQcI+HBFSAVQw\neL9H//87+GOfq58RZrocORCC1y/nhTqvLLo24Wt8hkyG0OBW9jVosBOCLhZ0\nAfcfGpEE5oLTHxjVMrGyJmsuo1OU7l5Kd8+2a3kG9fNvX/mOyrLM3otf4bz/\n8G5H1umcVlqh3AEVDTeiepiGLS00LoJdN9dkG3+EjVnm6sPKyK3Tb+6uCByk\nW/1WwRwHPpSf5+gFmV/nAljkGhT9qvS606zyajYknn6Jjyujo7PsaPdvXXdE\nku4S5n4HUJqL7o3zntbVPYXmX9dlh/sAqIqG0XIjpJpR0g1BUWlyd3Ng3t8B\nyVJvOVZ9PkskQsz5LtYGirulGez1yr9rm1U/UcEwnf40x4XU0eZv2/M617i3\nIYthithBrJSUe2DZ1ieENNZGZ/hfLT+RXuANMUa/hosevYm1J+D33AosI9Zu\ngmyZkvHJObJtkkhO7AsIhJGvMm5wYD5dq86PNSLdnWsg2uMmNF9F/p2UpGZK\n5cQIUFwaKTQAGsyvAsVSMLmkasQaXdDhuWle7G+BFEyboQz6gDjmhPQPrFD0\nqIT5YV2j5q2elQbxMaIaXB1vmLdzka8c7tDuHQKujl6DA2ri0GufrEPfqrc+\ndW4S\r\n=22bq\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-beta.84.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-beta.84+4c9194a linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"4c9194ae63a767dd95a424924894e54944499982","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.0-register.0","apollo-codegen-flow":"0.28.2-register.0","apollo-codegen-scala":"0.28.2-register.0","apollo-codegen-swift":"0.28.2-register.0","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-beta.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.28.2-register.0","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-beta.84_1541538042325_0.9354960353433204","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-beta.85":{"name":"apollo","version":"2.0.0-beta.85","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-beta.85","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"c39d53ef840dfd97a2133f35bafb6437f2b25141","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-beta.85.tgz","fileCount":63,"integrity":"sha512-CzW5lbWKd8vw1ED+ixBubrspz7Yj11iZNKnRFhdvJd3f9aNEJ3RoVCwvsNjVNNC2tCSC5UPtTtrgxab69wwUFQ==","signatures":[{"sig":"MEQCIGS+q8x5glHg4fPGqUk7YddWRr+hNBVsut3blhkeE3KKAiB+GMJyb0zOyvf0U7J4g0rL6bxdQfhbVqPTCX7yJt4Lmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":168312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4hsMCRA9TVsSAnZWagAAmNEP/2REZIWvThwPWlUz/35N\nISdGFNYQfJthtVStOaI2oGS4Dni8ec/38HSbDq7uIBL5ydvWatUXphtLTaJO\nNFm7Dx7VVwuwhpUA7MEZHg1MKoC+BvH7910oR1aYXLxDOml/gD2JvC/X3IX/\nocdbh6Vh4wfjNfqAJr8tZO8cHlZWxDs/JBLyvcqzsZzSt2cWsoW+Kn5v5YM7\n9tLlqGQ5UO4ymzlkIWHzYb0gLb39zLFHYcfFsg7i6uXKm8L9CGsxasGT0Abu\nNepyVI007P9/Y0VlqWQfgFL9gATLAoFkuFpSCe1tyXB6zBxQmjaFTBRC597K\nftolMjkxlNezPPGMsY1vrT6azM55vbcJHZ/xn+j3XpOqKsrBWdwqwY+qJE9T\nVNGaiqjkU+jaxXunJKymvHFrOXTLlcLrO+1S5BngpUHI/wqYw0iAHHC3657o\nsrinHV/CeeYwlcEwtSndEZvHsEryZDOpzJOjYLOjcednavQLnRVdivxy9l16\n2fm+ukVPH3DIqed8zd7T5dXRAnFEFmDb5n26LN6Pe1r+ThssurBODgWn4Fv0\ndB8A2epo7/sWG0fCM8g/D0m5JP/jZWkNnhHPmVuB5WROlVIXsP/f41z+e4kI\nCgWRB6z+YWfkgS79DQhwfwzYQ2QgFEXaiBp7rmAqA8bE8rPFmBvQUl/qp5C9\n3tdQ\r\n=jyL+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-beta.85.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-beta.85+6c0a992 linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"6c0a9924c24d61e5fb9294f2c5ec50d2fd437ac6","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"1.0.0-beta.85+6c0a992","apollo-codegen-flow":"1.0.0-beta.85+6c0a992","apollo-codegen-scala":"1.0.0-beta.85+6c0a992","apollo-codegen-swift":"1.0.0-beta.85+6c0a992","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-beta.85+6c0a992","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"1.0.0-beta.85+6c0a992","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-beta.85_1541544716186_0.06453025473726859","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-beta.87":{"name":"apollo","version":"2.0.0-beta.87","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-beta.87","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"b957bf33ebe22e12182f7e74ea9ba69df4757bee","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-beta.87.tgz","fileCount":63,"integrity":"sha512-kTbMPHmYpUCxw47QCa0qonM6Kd2oXtqelQ5rddYvuAWAtsc1bcC63YbEI+c0mUBErxZmSLj4SaNQDBI7SzS74Q==","signatures":[{"sig":"MEUCIQCL5Edi/oyfE9zexxJddA/gChKmTPLh7Jpu0tcx+UuSiAIgGdU2f5dT/x4Nv/zUp+qQLZi4I9sSKOi54D2T1sZSdF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4lWzCRA9TVsSAnZWagAA7eYP/j/FXOEx1SbsaFcd+aXf\nNSH4/vKfjTmn8eU3j/af62AJjO18fWpkGsnWu7nOH/IUOqC987viZ3rnwWGD\nqH1CVDx6Ne819RCvmnJC8+LR8tf3wYnE1cUT3Qpkem5I+dfeRkgEJI6xHSYE\n+ZkkbsZH1iXHqrDhayhXo6gyeXtcF2INoLqhDNf2SZCIPtMeH7FGlb3qcMUj\nzrExw7kENbIXdZx+DAEEO0pBwtM0CnSvuhnVPNNNmSil6sATUtQTSLbxG8Bh\no/vycAvtQCrus1ktztbG4V6/MX+WSbQZPYGf1W3vBnwcEh2YDcJfdc4hqP7e\nx+vojK3HKO2OfFiArEJBWxU5x//Z651VzEDaFdeqd7JoiHJjO9uuglVMUXX4\nYp08Tj39G8a0wcW5cHVMI5025wrYo/BbWMa599ZLZLyjIozvt4lLVT7keNcL\nFh3fhCUUZRDF/n6eT2fhwRnzpQ7KdwW9gy5lOayVf4Yzdg6wXj8tBlAin0O5\nSkcrTHvog3mSBER0yj520flqAWYgAePkqtxsYNtk4BiEtWfPiKIcoaj++2qW\nW0wGfgbUaOfvtfM4iyEmdiQitsEZ6Cloue+Egu8bzFrZkv90CUXuEviIFpAp\nk4Wb2xS4Eger6It6l77eDFo1A2ubd4AEI5aslaPi2D5CbNHmE1gVOn83cRXn\nyVGe\r\n=PkSZ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-beta.87.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-beta.87+3ed0cc9 linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Glob of files to watch for recompilation\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"3ed0cc963a0114d56f3d1ea75ab3d47f16e4cf95","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"1.0.0-beta.87+3ed0cc9","apollo-codegen-flow":"1.0.0-beta.87+3ed0cc9","apollo-codegen-scala":"1.0.0-beta.87+3ed0cc9","apollo-codegen-swift":"1.0.0-beta.87+3ed0cc9","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-beta.87+3ed0cc9","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"1.0.0-beta.87+3ed0cc9","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-beta.87_1541559730721_0.8042336621252941","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0-beta.89":{"name":"apollo","version":"2.0.0-beta.89","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0-beta.89","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"437385f54cbdd67b42b7275658e5dce654f3f9ab","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0-beta.89.tgz","fileCount":67,"integrity":"sha512-q1q15okPhRLlhFNOM2LV8nmvf9R/Gjus9ikcpyD9srgk0IZjT/ijHCPIK/Te3FGmvNZ5QRQQzGW97dTA+ELmTw==","signatures":[{"sig":"MEUCIQDG68/BXZUz+Rj6Z6N+egj1JUw7Num545YRMvwREqivFgIgZ6YndDSjqy/pzde9QLOZdb2uJIQYMn5HB0QlG7zC1r0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4mfvCRA9TVsSAnZWagAAqxkP/2gO5qlPQElwyvsHMy9V\nJi031TQfM1x36aYp5UtPAUKHeDgQHpy2JYa2ltb7RnRnOuMBsolvc+G5I5EE\nGgpxPzQJZdDoPR/VQlQfWP+8wmQw6XOq2rIA+8N7Ga8nJQSGecten9BhfrEl\nzsrjSW2ifSzGH9zOOF+G3K7qbIQrsDzprX1Tv6BeE+yUhawT7RZCtkTiGp/6\nTwROfUmaTF/NpKTNaFrNxKFCejVTgiOF/CElUmZ3wW81iHa6db0cwupt1BBv\ndC53qE4t/9MWjwDceqSIH7p+5SKc0oSGONFvtsJOEftI9GZxd3I+1VUazc/j\njZBREQ8s3x12L5rdju2+0N5v1PUwAZP+v9I+LOy3tZzWYwzzD1c+S8RDpdWg\nPI2bPXQZaLtE7pqkcYIawKNVbYNQJp7tlRbLK2a4li60aG5xLfXGm2evNxDl\nKmZ103wk1g0Mvus47PTVbP2PN6Y4f0NK4fU3Wwb2lUfmPNwrx42ZpOdFZhbU\n+5kcPeZtZRzCn9FCYi9g37O4xofhUSbF851jLGIPo/DDqe8T0DyAMLQBC4zZ\nG9fdZ72JMO5OXhVzU8ueTbQis4Cfht097VFzkdZZZHe3CNG3xja8+LhNycu2\nafrXRPCs2X7DndzOMjn8H487mrtYDpxn0uKwtdoMEkNg4oJMLQ+HEgk0im7B\nF1qG\r\n=spiL\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0-beta.89.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.0.0-beta.89+9c6b7d4 linux-x64 node-v10.5.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published tag to check this client against\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              [default: current] The published service tag for this client\n  --addTypename                              Automatically add __typename to your queries\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Glob of files to watch for recompilation\n\n  --service=service                          Name of service for Apollo engine\n\n  --tagName=tagName                          [default: gql] Name of the template literal tag used to identify template\n                                             literals containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala), inferred from output\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          [default: current] The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --service=service                      Name of service for Apollo engine\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v1.2.11/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.2/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        [default: current] The published tag to check this service against\n  --key=key            The API key for the Apollo Engine service\n  --service=service    Name of service for Apollo engine\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo Config file. Apollo configuration is stored as a plain object and can be either specified under the `apollo` key in your `package.json` or as a separate `apollo.config.js` which exports the config data.\n\nThe core of any configuration is specifying schemas and queries. Schemas specify information about your backend such as where to get the schema, what endpoint to make requests against, and the Apollo Engine API key to get schema updates and stats from. Queries define which documents Apollo tooling should analyze and tie them to the schema they are targeting.\n\nLet's take a look at a basic configuration file (`package.json` style):\n\n```js\n{\n  ...\n  \"apollo\": {\n    \"schemas\": {\n      \"myPrimaryBackend\": {\n        \"schema\": \"downloadedSchema.json\", // if not defined the an introspection query will be run\n        \"endpoint\": \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n        \"engineKey\": \"my-engine-key\" // use this key when connecting to Apollo Engine\n      }\n    },\n    \"queries\": [ // optional if you only have one schema\n      {\n        \"schema\": \"myPrimaryBackend\", // reference the previously defined schema\n        \"includes\": [ \"**/*.tsx\" ], // load queries from .tsx files\n        \"excludes\": [ \"node_modules/**\" ] // don't include any matching files from node_modules\n      }\n    ]\n  }\n}\n```\n\nOr in `apollo.config.js` style:\n\n```js\n...\n\nmodule.exports = {\n  schemas: {\n    myPrimaryBackend: {\n      schema: \"downloadedSchema.json\", // if not defined the an introspection query will be run\n      endpoint: \"http://example.com/graphql\", // if not defined the schema will be downloaded from Apollo Engine\n      engineKey: \"my-engine-key\" // use this key when connecting to Apollo Engine\n    }\n  },\n  queries: [ // optional if you only have one schema\n    {\n      schema: \"myPrimaryBackend\", // reference the previously defined schema\n      includes: [ \"**/*.tsx\" ], // load queries from .tsx files\n      excludes: [ \"node_modules/**\" ] // don't include any matching files from node_modules\n    }\n  ]\n}\n```\n\n## Endpoint Configuration\n\nWhen configuring a schema's endpoint, you can either pass in a string or an object, which allows for specifying advanced options like headers and subscription endpoints.\n\n```js\nendpoint: {\n  url: \"http://example.com/graphql\",\n  subscriptions: \"ws://example.com/graphql\",\n  headers: {\n    cookie: \"myCookie=myCookieValue\"\n  }\n}\n```\n\n## Schema Dependencies\n\nSchemas can also declare dependencies on eachother, which can be useful in situations like having a client-side schema for `apollo-link-state`. To declare a dependency, use the `extends` key. When working with a client-side schema, make sure to also specify the `clientSide` key to enable code-generation support.\n\n```js\nschemas: {\n  myServerSideSchema: {\n    ...\n  },\n  myClientSideSchema: {\n    extends: \"myServerSideSchema\",\n    clientSide: true\n    ...\n  }\n}\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Publishing\n\n- Before publishing, check the `CHANGELOG.md` in the root of the repository and make sure it's up to date.\n- Make sure you have a `GITHUB_TOKEN` set in your environment variables. For more information on setting `GITHUB_AUTH`, check the [`lerna-changelog` documentation](https://github.com/lerna/lerna-changelog#github-token).\n- In the root of the repository, run `npx lerna-changelog` (PR labels are read automatically using the `GITHUB_AUTH` token).\n- Copy the result into the `CHANGELOG.md` file and replace the top line with the CLI version that will be published.\n- Run `git add CHANGELOG.md` so that the update will be included in Lerna's \"publish\" commit.\n- Finally, run `npm run release` to publish the individual packages.\n","engines":{"npm":">=6","node":">=8"},"gitHead":"9c6b7d42a67ac3093eeac2bb33cf47c239e4aea8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.1.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"1.0.0-beta.89+9c6b7d4","apollo-codegen-flow":"1.0.0-beta.89+9c6b7d4","apollo-codegen-scala":"1.0.0-beta.89+9c6b7d4","apollo-codegen-swift":"1.0.0-beta.89+9c6b7d4","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0-beta.89+9c6b7d4","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"1.0.0-beta.89+9c6b7d4","@oclif/plugin-autocomplete":"^0.1.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0-beta.89_1541564399196_0.6139636263531656","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.0":{"name":"apollo","version":"2.0.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"789f24fd0cc0cc6a4b9f40460d8826d57dfec13c","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.0.tgz","fileCount":67,"integrity":"sha512-NpthEP+t6uoybptR8AkO3uU5IZEnmMDl4FqYw3LMgu3A0ls9sDf2dI1RR8VvgnET4IGH+CmHe6BtZqYKejpHaA==","signatures":[{"sig":"MEQCIFWDaAyZqTptqprp5Yc4FAQTGEz24+QzwskmzsB4BI5jAiB5YoLk+cDNkXia5m6zDKDT6Y3jQBJFAN/m3Rh8IKb1CA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":179362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4wAqCRA9TVsSAnZWagAA1+YP/0f0yctI1YlFQRPmEDDs\ndgLjMzG53/+EG8AK4r4KRdvgMsUhkAYTntVIdCHOVClcjacLEx4BVdGXn8WA\nY48LFQHo6kyZjvwX+t0emOcPhwwll0KQkC1J4GaIHpk/7esiZXAbonPFhjvO\nsW4QRCnRN7vGfYwQibZMuO+L0p7M0xnn67XPV/ORh1rEIyUAVja3W/bG4Nxl\nbGCDu5siahkCNsAsZ6H2Hh0qRcYV0u2Bed7nTfBkRLO064heJHJ9rrd8AjTb\ndwXZU5BtsldIm+cwkBNAYe0D3PPqHiM3NKkZJhB1HmLOs6vwECJuL1bfcrGE\nxTeTqJyByntsEjpXQMc9oIHeIdJo57kTjnKKnm2v6Ng66Jsc5yubRLc2g7P+\nBdkz2KDvWTQX30r4ixVCsjsTJfttLyKLpTRHe/nFpdGnr1wAzWHL/wWuRut5\ntU4h/RBhkEBSqLG9Ge/q8wChADV33FDyB1JsHqQUASK42al3wjOBHw6ZonTP\naqpAH7L2CfSiHjNIbcfDMwo1oMteyxLcqSqzwDgaj5b4eQyWPocym/3uirKa\ncc4Ui+efI7gKb32Dt4ltztfcxvmGbyHPFzcTEuoJoCVtrNlHupFSlyYF3bEr\nFco4hvroza4+OrXk1sks9Ehac7cqypSQYvENgx4bNGJEiAJ8joCsHEqx03iT\nCK44\r\n=m6ER\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.0.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"1117838bfcaee5aa4d70e3593d8653b1e360dc88","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.0","apollo-codegen-flow":"0.29.0","apollo-codegen-scala":"0.29.0","apollo-codegen-swift":"0.29.0","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.0","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.0_1541603369779_0.09975759474578982","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.1":{"name":"apollo","version":"2.0.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"d56bc0da9836d9ea831f30c5f3b4e59689936d98","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.1.tgz","fileCount":67,"integrity":"sha512-cKCaUQ5XwIxrqYW0GSZKkgBZB7w3yBhWGN5GC1/k7/ED0CRkE7zwrryYnbIWb5ZTk7OJrz2mWOGpRsNdeGb7oA==","signatures":[{"sig":"MEUCIDERfriy14n5RbssTChT51X0Ofbzio8EPoaiPSm1i+wlAiEAzFeYQZ3ZXBmkxIiAv9Hws/BALZMaIDqn1KbiyfbH0Uk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb40wgCRA9TVsSAnZWagAAf+AP/20JOm1yoIwb3P4uL0JO\nFCiuvWtuZSYchi5I6LrdmCrXighLQK453RI1Ynj4i4V6404p5C/xw8WGNfp1\naN2JYr5NUMSyQF4yfusVJdpsUhV2o7raUuPTIeFiEKgSvOwZe9yNQX6frCzP\nisQYJL6PXlAT8LhsbAwtjViXKXBbepoWb4JQVfsxZ18mH9a4WXyR/A8PQeDB\n4gV6y0AoB7HEVJAWs45mamBQobC1WLf/e9eEKKlYpiBMKU+rlQoPBlEphG1x\nL7HoEMKayPi/1qxJPkwFxmIhA/HWUPIfd63UKp+gkDV7FN8+K/WG9rVK0V3e\nNYxu3cf/t8rmfG/W90iatCFNd5W0FXfs1W7GSgGULDsn43cEtnRlPdGsjvtY\nfqrjYSQohUzk27JpxDJLz5Y8xXwDQfOh+3IUDrysNGDUwvfiNd1CHCs7Qo+d\noFQsIhkMQOOTs32EoIA+x0ZdvSzI04D/bRfW8oX5fq6N7R/KJUXsyVDNCfxO\nqaSa1f7L2YT8Jx+k5LICVNpKC0di/+xl5m9ckqbGeSvwoZqr8d6GB77pDs2Z\nGQ2bjdwUttNEJe/nAcBAz4zbfXykUGDiYXvtH2Scc1RkdlRKKnDyGVlmTHiz\nKqRTW23rHR8r7bPyq+GbJXi4yWKoxsPZl6byovTUUWSNjyrvPk9iKwNcYfp0\nCdSK\r\n=uIgc\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.1.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"0fa1b2d895814bebc88681523de336bcf5468703","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.1","apollo-codegen-flow":"0.29.1","apollo-codegen-scala":"0.29.1","apollo-codegen-swift":"0.29.1","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.1","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.1","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.1_1541622815396_0.8234519666972835","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.2":{"name":"apollo","version":"2.0.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"127d43608f78e4670b3c395a986cc2663f754ac4","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.2.tgz","fileCount":67,"integrity":"sha512-ogkgWOb2jGEKF7iP5gpl0po4VVbslSjGl8efWq2z2HQrr1pedvyASW7ZKzpuGBmfHeqe4gieA5I8XRbLM8xVZw==","signatures":[{"sig":"MEQCIFEl0bT2Bi9sJdBF3ypiorfeGVOiqIPfnEbA32WXvl3ZAiBCJSifPlqQUMtHqn63MW31VB+pGJfti7Vq7FSX/FIGsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb42MUCRA9TVsSAnZWagAAJVsQAJAVlqYNgZWg2eY3nIl1\nRWSWqftaTBFivmkvkfm/sTiLzffKXJJ/CdqFuigS5n7FvqQx2bIy/4cYAMW7\nPPGURcyIjMn/bmMAosRYRRfuqs+1yKRVdwfxeehhQ/CIWJP0tFJAkOoVfjDp\nabCuDtD1v/bMkc2u8E8NRLZcSNaIDfWZzatzazulEbzAREH2WSkLoaPtidGc\nax23JuA54E/eZjnmPsqenCdcFKiBvVmYvf9ei3SZG4ijbY47+d15MZF2dY3A\nxHiGHzhEtySuO4SkyNM74Bbb6HxwhO2XkP+YWZpgkSSJJithBvHR0ItZ2aK+\nsqJF9kTGEoJJlYoMNKpl2xPs9OJ3R/YazKMf5oadEWVObEitJ3upBlV67L5r\nk6c6l9+1NHrXsNtn4/iRfBEMDXeZvrBhnlJZvmb7sWimbIGwKj07eonO13K1\niridzb3pf03LWXApfNiu1RJE7OLrnzH6P83HDM4FHy/mHqlRWN+JXMnbd9oQ\noy5qgGQvLUy+TvZIhpLz4MOrRbnRml53Vhdft4UaARppNvd8y8YfFpS304Vn\ngCdon3huyhpyt8VRAb2HDob+IV/qLowaEeSZi7s1tdJQzirKgIWW4PrZrUHl\nSTXnogOPgCItj12R0+fh5tyia25o3esJ9I16A3IxeeO+sjm+n0RuyXWVoiyB\n+7Df\r\n=RDKQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.2.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"34770a936109aaedb3f9a3ebcb7d2f12e3031737","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.2.0","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.9.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.2","apollo-codegen-flow":"0.29.2","apollo-codegen-scala":"0.29.2","apollo-codegen-swift":"0.29.2","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.2","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.2","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.2_1541628691378_0.33896251541136313","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.3":{"name":"apollo","version":"2.0.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"fbdceef52002beb1581eebfd9aebdce2f8f53803","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.3.tgz","fileCount":67,"integrity":"sha512-V1mqASVUSBeZ945OSEURgj4GiVMZE5Hx8vuW7nQhYzVlOoO4wnAsmQgDt/Lo2mS8Wh2vXQdaUYXM+keuKKyw6g==","signatures":[{"sig":"MEUCIQDiq1oIPAQ/Kqr5h5Tc8uqGZ/iABjxrDYeOCiueikTnsQIgUsZC6VmqwaCskzZZQNYhOFn8+BC8AwkVpZhg/ExCSuQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":179248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb42s0CRA9TVsSAnZWagAA4zMP/RTJcDgrr5Eu7rXGzVCr\nl88E5HSLOTbQ6YV9SFizti7qQV9Q3+su93WZx1VkHHo+mPaQ5SPvPHBmixsb\ncW5xAb48U/k6gg0gugSjoNwdBRWu7OoXs8eq/t0tL6M8YOW4rTG0y1YQ9fq3\nyGmO1YbvdevFvUgjvJs6HLZsrO5w8ulf2QOK/dqH7tvRYpHLowzePko7D3Fm\nfjmHULTvv0auFBwXOzJTWxgMG//jxDL+/NTCotnd7+ERReFDgiu9GUG1Hqt7\nE/8DyVcglE1qaKw5y9DrZj8KkiZ+ESuXK6LphpYy8R8lYiks2KqC0pVyczWb\ni77NwvZtRQrJgR8tM0I38mbd/LitusxVMKph1+0zLo4mrD3sq+dPGr8iDgjK\nyYlQCjjFDCM9JmH8kj/jkSXD1S58HVffOCu84cZoDz6eCHS4FFp0aTl2PTaf\nfgk6lhKyxMcSyz7qeG9YG4grRUJ41jWV4JeiHCtwo4ZKnTxWul+gugkhSGJP\nVawLtl3ZzvLb7DH4yVS6ym9gwNovTlrxaypxlLU8JNRufJZkCnH0ctCQL1wD\naY5s7e6VJRT7VwWQNXn+78E3LrAru0HDpluJfmv/UvAVjmL518NJouwAyWFY\nOPif/iVE/yAodKEos7e3WpLHTeXZaMVgmpxCl6EvUG2ht67ECyMNF6/z2IE0\nDcph\r\n=c2ti\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.3.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"3c090c20924dcc461de00204faaa260b83cb49db","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.2","apollo-codegen-flow":"0.29.2","apollo-codegen-scala":"0.29.2","apollo-codegen-swift":"0.29.2","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.2","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.2","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.3_1541630771576_0.6251204809614321","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.4":{"name":"apollo","version":"2.0.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"3de66d2097c4f29913e960d3969963ce58d275ae","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.4.tgz","fileCount":67,"integrity":"sha512-PiwkeHhWtpA36Dpkhprbx/t99MCesYudHzT9ttiuHY4bfyv4FyxoDvPqZMlcYAqAPy1ivB9rh4avk/k9pl/UAA==","signatures":[{"sig":"MEQCIEzSt/zhXtdQN8kVx/sAoyqeAPy+45e5EJxKD+BNgOzjAiBkz7w3wE2rjJ8gv9Pgy+dukN5wAtnWGVeq4DXutauBlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":179517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb428yCRA9TVsSAnZWagAA7SoP+waCbtdjOoLPdRklD1SC\n0hIHbhriXA32bvodzrN29xWyryDE7CTet95A2WAU+aB2QMpnrD6z8o/zoBVU\nwBbw2kPd0YJjL+9gAS92+AYAiN6iDiQ0SqlDYd1CQNV0XAhzXoRM95Fjclr6\nwcv0gqZc7SYYNlNtZR3VJg7SNymW3OrJHMQJKoka7h5qKIq3UniIWGOXQmyb\n8F4k0p22VNnVnuhyR4RP+5SPa0kqgaXTNxU9EavFIX4dbfkCKA9nfY5ousLj\ng8nBA9c+A+TN4WQ15RDRD9vW1YzUSUCmu3ZgEbpvKbUuqfzCPZRZWBrhvuB2\nHmbFRa+8pRt/UcP5zi31yq50OlCjKv+UMljuCs9bd3/nn8ebVqtRrF/Cga5i\nuSXwXSWF9IrAhFEX+bW4F7zNL3cKkN3GpqSd/s56GwnBGaozP78NcR6I0Srh\nOO+sp1GFPjf8STiyUNtekEVqwAwOR3eghjWRSYsGQrivLqaUc4JiTiOSfrlG\n7sZ0JQERDV4T5QMm5PmZ1F8rBdeYOM/S4qneTNaTE375NYvR4Tf2qITdSKAw\nlzLw9M61okTMes5nkFZHD4z6hgiZrbAmcvflsrjKxWfe75L+/FGypKQfsMUy\nLkFTLnt4slk3m3S4ZLorPkx3E5/xiA8rC82tYEyuoqUgIUJPT/dEP2Pwh1UR\nDcBF\r\n=kmQN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.4.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"9871b3c48dd1341b05aa7bac4a11ab420eb2811a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.2","apollo-codegen-flow":"0.29.2","apollo-codegen-scala":"0.29.2","apollo-codegen-swift":"0.29.2","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.2","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.2","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.4_1541631793453_0.6837418002470033","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.5":{"name":"apollo","version":"2.0.5","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"652907e05fb905d3e5ef0f340cb74a5300ab1302","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.5.tgz","fileCount":67,"integrity":"sha512-uOG42U+rWg94jAB5o1CsHGas3YCgVzeUm25pRpXc9Lvzw4J+HLz3QHq54rR7zTdD7e5Jq4n2orUkdVJrNtTftA==","signatures":[{"sig":"MEYCIQCtjx4lOWPogEetQ0KZfzz8svbTkJ/oG9+xfH432K9MBQIhAI7/4CFsD3qlWL9H4m8/R0xSXnLRYmuCu1ILS2b2phqu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":179516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4+gUCRA9TVsSAnZWagAA+0YP/itqUUeKfk9NWetyfF+p\nafMmhxs3z0Egy4e/o43fM//fI6jNCmwTd1mGKaeWFY7KX8pLEd4xHUtgqeCn\nQIqjVQ8iM1u2ckqvaGXnEtbKuEKfXScUGrAQwDmf6BEllUcR99mw86/dYzPj\nbPBCiWr9fURoD/9pHIKHljiOWK1h86W/YbWtJFxEFfXkAoNEMk3WWS32j44p\nLmYOAaQNQTsCq1F2Gv5SlgA6Zij+ok0U3IsA9OAUATUa3PMM6Dc5weFLcoFn\nHMzTPYAj7YBh1bj3QSUJHnM+YTCJKv2ZDRWDl/efFIPUNIko8UW+y4SAjlRQ\n5s3QwucrcHy4hFzXjXMak7L11p+9daa8fLHftVU4r64OnIfqc6iLCzFhLV0c\nMnCpv2nt6Oklzuu13URql1c6XhCOFhPrrzAmMnQLRDDAQIBqV8CQDy2mDwhx\nvjaXtlY9ABAaXW9M8o4cAljVaO/WlSf+090CEdgYjYURSOfkgX+J9zW7gH5r\nPcjdWJzED+qoQVPhRXEcYyeQ1W+OHtdEBVHrwPlkliwBCSAPuNN6UESJwu8l\naNiJ+41OHO0GyXuxzkcSBWprLKAMrwqYDo0E2Z+R5VXPvQc3zuI+YonUPbvi\nOqyLdlb0ugqe03Zu7dWMLG4Z/n9NfcioTdbLPPAkluGYzDAVD50mUGcr60EL\nd7Zs\r\n=pPSD\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.5.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"d1e6efac1e6af64f4467e57f4d8ae9a32138d82c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.3","apollo-codegen-flow":"0.29.3","apollo-codegen-scala":"0.29.3","apollo-codegen-swift":"0.29.3","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.3","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.3","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.5_1541662739773_0.899409048528129","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.8":{"name":"apollo","version":"2.0.8","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"faeb330a026991211745ff21be6eb86054b72e3a","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.8.tgz","fileCount":67,"integrity":"sha512-ARIYXoIE/+9bi4VWAqIUIvXxglgF3b9TiKNZ7rjcOgHAvyyX/G2lB5sYcP3X7OGvdsncYAKTWnvn++8S+G1DVg==","signatures":[{"sig":"MEYCIQD4N77JK/hxJ9BmAQ93YfYbBqyDEwgXniVFkOICqfc76QIhAPA1UZFpWSsfazdrZ68q5AQOwIU76NuZeXkUYIXhygp1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":180148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5LuACRA9TVsSAnZWagAAc2UQAJdB4tQ7pnx4PHKeu3WK\nID58DSuAte53FnvFwW7jJdoI+RLYIW/96eO8l7uLatHOl6J/BxqQ9V7nw53N\n/+Khf8hUzRJxcCbQOsxgn52In6qbMc9FZud0DNEyCzx5EcKIaW4uYXHWw+Mq\npld0Z70jz4kFXhE+1vCkYNrrGNRwKwnyrdIgV21kzKk+r+HYtZg+qKTZWLBR\nsX5sfRTzp1DZ7EX/sR7O1EMHFvsl63mIYzx4G1Gr6/Z35SYFts5F1tlrc1Uf\nN4mklg3kyEs7kCr3v+rRe42Ej0CVJippOYuSaOgE6p40JiZc7CiBx+PAWuHs\n/rsgSYTNl5TH81wJi3tcEoIWdVRlGRiftH7VRpBN5INq26B0jH6nuH+aXx2v\nopIV4B2JzY147l6BF8nj7C7shQn9hjuw5MSeV4stK3gMDcTzznuMHw/xdXZp\n2QlXoyqTwN2Gcyx0L6fB0C1omSsZIPFtXLS7jrMKrO7EAb+7D2RAQvZMDnQ3\nVnO+M4SKy2WqaUB0EmFWtB3Xyt1y7byDImueub7sZrreHttCjL7GN79z2QNV\nYY/hMu/Oe+U2TQajlA93GMieR44d9/CVqkJTc/ejJ9esG5Z4S9pjwYjnew6B\n6C3iBH1QqtaNMTNWdLXyTFHcj+LiBo1dokbQ7OUc8xyFxqoqZ2z89IQF8c3e\ndHLk\r\n=HwSf\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.8.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"6d5a6d78c58264593b3331df44acfb8da03ee903","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.6","apollo-codegen-flow":"0.29.6","apollo-codegen-scala":"0.29.6","apollo-codegen-swift":"0.29.6","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.6","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.6","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.8_1541716863361_0.43209119891845726","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.9":{"name":"apollo","version":"2.0.9","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"fde4eef18bad2124ea9dc645e5aa444641f57b35","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.9.tgz","fileCount":67,"integrity":"sha512-8NLuIOUBdWPL3SPEdGXxesGkz/+PGq1akSSZMgfH6Dw+gA61aXDLIM10ynn1xj49JXsjoMSYV50Fkjje/hmu1g==","signatures":[{"sig":"MEQCIFsV+ry3M5/sXQSCggIxIKsaajgakgZHCSVfQP894oVUAiAGKEk8tgzXloi5CtGYR3+4Ia8GxsQwQCoB1lHVopfW3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":180662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5b6GCRA9TVsSAnZWagAAsUwQAKEooT6LAL3HEwPvmqij\nwXJ9Vu+cQrOmV6Fp1jZcQ++Gwv/BQOY7c5ID6ASAdjGxunIxxgdL8a+Uchm6\nHLnd8q70iPICuHexALZM7vxjeCOoc765X55PZcq6AIC5ubOL1EVT31xEdXTV\nv1GlIs9fbDvtR9RDsZ5xlLHDHoAPNJkNQRnQuePjLeiS5EoLdKG+NGAmfDD1\njfK7Crjk5hQBcNCPe4Wo+TxJJdyWa5hoqHL6SOhlntLw/PhUBSjMWSVtZLHz\nphEU6eGLMFSOJYkK4UFdmAFeuoz2Sq1IsIkXKDuNusl4AY5LPe1ss+9WpAMA\npdzMeXXywwjktAuDfpgbsnfzvW5Ifxv/NeKB/0gtuQG3NpzLIAkYyfTY+Ewp\nB0uevtorFumNOVdloJiFol2FkwObiyIrL3Ounv/pgfZyI3Av2YWP/ZjhBxeF\nyVY+xpUJN7zbW6Z750fwM24OJIcrJ7TgUHaPqRPG9aGWjtdvUYoo0Rhbhf1T\n1KtygT49y1voz4VafM/NFx11/IlWvVTC9mc5nFTWlLHU3Mzw5MTE676NAp9U\nm7R42AKI6OCnCfp4OhJxC6py1kOX9lQVsXIOF6Y0Z+MzG0nyk9C+M9cl/1CQ\nVuyxUeekoMVwISoMaV58DQL02UKHwgBypVytFVvKb7wVm/vM6N3Nczqk1Yp/\nOqEm\r\n=s4hD\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.9.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"55a4862aab327461f9877b55910b5188da7996ba","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.7","apollo-codegen-flow":"0.29.7","apollo-codegen-scala":"0.29.7","apollo-codegen-swift":"0.29.7","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.7","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.7","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.2","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.9_1541783174176_0.4301477279559027","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.10":{"name":"apollo","version":"2.0.10","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.10","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"8c3d7f33ea2ca127db425676093af22356c159e5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.10.tgz","fileCount":67,"integrity":"sha512-Fd5dXBmugS+YR/FDBXjnXujv6s52zlP7u3V08R24LtiKBeaK3RIka2R28Fg8u/faxPSJTIyYTxuDSJns6VDA2Q==","signatures":[{"sig":"MEUCIFOcJdKh+johCquew3cOnhJLF7KHyO8f4sBHRRxHPc68AiEAzCp/4s6iL+yCZYbhO3SPuButd6HJnnd/RMfolHgq3p0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":180665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5cYQCRA9TVsSAnZWagAAslkQAIndMUr7mvYJF+FlqtIX\nfkSS6FUepxAT6PFjq2dUsJMx9IOL0cFjGZboS5aIyPj+UUMNbRWyPeDYHwKb\nb0xKbe82n3vG/rvfU6cl+kuknRAPQ0R503fKfk1ao8pbfgjxABrwkk04mg/6\nw/7ZWpKmXelLzH7K+6RbSwv5ctoyW6r5lsDTT9jo55n3z4DYNYVhHStrHknq\nO9j3WH78aErlrl3+4LNk12Ii1ezS1LcjCbGnSejbS7Q/E2E8pfe1wzpnK9ku\nZzS7dojCuGNRQPy2G4a7Jjrajly3i5MjRNZh8OhllxFM18592qgwkFC0+OmH\n2MsTf431htdkRkAGggITFkydaPL4ydkGyAOOhCk0LXwxL1x74TXe9wGsqwZ1\n/5qFBENS8BWU9oEZ5B6GgYm5F8cD5NoDb9cuiThrB8grmVkT5qJqpSuDsfaU\nnPSd7qC2pXVAM71OmZVQ6Tccc79/iNRdV56/uwvkSkXw4XhPrz4/NVI04KqD\n5wQGNUWm/AefMwClGrNXKWBGJ9Pb7G9BLGnzrDfp0uhWi+K9/P3D0CnBfPyb\nFYi4AsLGWgeWAbpdao1L2ZBFj76mQin/hGeL2FEcHUTtjZG1jraR8kfLiMn1\nFdk+XDum5Wr+zZVDurJIyTE9Kg2VXzWpzRYLqQJUc8FbDkIqv9Oq5VhpV2zn\nQ84K\r\n=HUup\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.10.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"47f15d2d489190854d2755af3bf348b7b68cf671","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.8","apollo-codegen-flow":"0.29.8","apollo-codegen-scala":"0.29.8","apollo-codegen-swift":"0.29.8","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.8","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.8","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.3","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.10_1541785103725_0.33229911240470367","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.11":{"name":"apollo","version":"2.0.11","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.11","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"005faf2bb578000550f89c964fc6a28d44dd0da0","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.11.tgz","fileCount":67,"integrity":"sha512-xllPSN/1jNXaLc5aB7JCEh/VGKvCt3IjzH7QSk7Sx/Jc2eUf3CP3n+DqRM0Ed7uqHNHbdI5jNEhXF+rQfJ8wxA==","signatures":[{"sig":"MEUCIAdzXarW3IeM+dwqdMdljvjkVvMi3yRZ3GWcfZZ/mGjUAiEA6q0sbrpvXGmHxT0NdiTAwoNX4hN+i7zqrRydmBD1hAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":181319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5clJCRA9TVsSAnZWagAARGYP/izDbWAQd8AwHDAssk6t\nwK2uxvkJo5dMe3yxpLGtzZUZI+HWXEaqFII+WAOLKuSMcp6cefAfnC19yFHK\neAxsxhm7jtFtSP1BrAUDsB53/0oznoXzLICJIISuIqbxSh2ZpXX5GxwfMvwR\nrrXbT1nKi+c0L4JNMyRwxIZuNYk1wkfI7x1OWXkh8Z6nYu7s1z1+D0/0bw7n\n2++hXbSdnkEQCwR6N8xpcgVpzPy9g3Fi+ue3nUFnpcsNQl+dMTsGzZd+ymuu\nVtpexa4V1iIDgaQue1hNaGYr+VJ4BojZh8cnmyATtCKm3hRev8MbgOkncFU5\nnUzjaEYyGXnjzFyDqve+2m0+XNrqFOu/VAsgsp4jnohRLPCtFDOM6eT/qiC6\nhgcOFdqyt7EZpR+1o4JLpG2fbwaaKd7XoSbBuZEfRTqxmd9Vc3XKkXK6+oD1\nRp0Zhi0AEs44kT8NGugB9B5BEAlWzf8oKNJlOvWKUML9RWsjf/rNArRya3+B\n2YcFi0UD3U8AGpUkz0qItXipRJn2iSAVpD3/NDL1H0Ye1FYPTRsbnMdLR7hi\nqvm93B5PWnPo/hsnAD8tftL+Py2IxPW5PNCr0jZnO0k8FA6tOXd9kiK7Od5L\nzrUESxChho34YfLyeOr/yJetual2NIc5DVR+CqQHTU329erBXD8w8bCSDbpA\nfOGb\r\n=dA7x\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.11.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"6f6ca7d1dfcdafc5b5884514438e4d23364037dc","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.9","apollo-codegen-flow":"0.29.9","apollo-codegen-scala":"0.29.9","apollo-codegen-swift":"0.29.9","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.9","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.9","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.4","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.11_1541785928729_0.1304591404867863","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.12":{"name":"apollo","version":"2.0.12","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.12","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"d858c4dc6134a9b2f1b5503904163cf0376ba92b","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.12.tgz","fileCount":67,"integrity":"sha512-D12SR3IXxbpY20IoB6nfNyWJ2NrRbV0IF1ihJRS5umeyEgRQSAamyhBRmxwHp4E6a3775yd4mfXCq5MdE9CnWQ==","signatures":[{"sig":"MEUCID5hDw2Dg4bdWbrPlcN2vldvaGpyqHRM9A3ETodzuMA3AiEAreKHuz356LN8/OoEvcLFnwZLb4CBWWlEmDB6KHdje9Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":181871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb59h/CRA9TVsSAnZWagAAe+0P/24THmeOyiJjMNGeJFC4\n1BfNqycXBtGtKaTkXb6BAFYiK6e/sLb4iydW2zP2QeZFSNPLruIdCjFqAyRB\nJX1zZbH/arF7+T8NtlB65kwT3v3rLfRhmEk+jEdmnCAM2tBKMBX7RaadZM2+\nALuqEVnVS4hBuldEf+tK+MOb8t7DH81tZMZ0zI8dKoCHLt4jMZwpp2CEMtlp\nEbF0w0fpcPKM9SoPIJJNP3C7vfSU7FI3INFZpRFoX6FdJKChOURfwqScmfas\nIxEga7C7dqoSlJtigY3BQgFlWVjUOUKWOs3wUdrXlt7vV7kQMNC5/nqH5SQh\nPDjwPIWdPntYO6Z24oK6a7Pt28e1NPf3rmNo2ENU4k5Oj+yC1bBDYtGn/k0n\n9u1JhQqcrDumZsAyHPfwTaOQIOUA+R0KQoNQjdKIXH9j/KTjjXHwQ/dfUqqG\nuclfe4eG7KkDc/Kx/M5XLly2Wgzq2g158i92WksGTLvAI4LpecWvLM/M49ay\nzWsqSBuYWwg32mbLACq7p+tkVCBHusda4r9R/UEI/jQCWHosVpkWKhACJzry\n0IgD1J3PbORU1lGUOMP7hs9OcFCTANoTbgCPLIkAeh1wKkSeQVkH11tQUcLB\n8oKbUrWeG9IXX3+dlYputlzMyl75eog9FhUGDMsxE/1ayZlTouzWiKNuw+P6\nvveg\r\n=/do3\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.12.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b03b10cd65dc7002318417f154e1e5cd6c169fbd","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.10","apollo-codegen-flow":"0.29.10","apollo-codegen-scala":"0.29.10","apollo-codegen-swift":"0.29.10","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.10","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.10","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.4","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.12_1541920894630_0.6595612839692588","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.13":{"name":"apollo","version":"2.0.13","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.13","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f631c1c92a86a118e8fbb6b17f7a61561b77835d","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.13.tgz","fileCount":67,"integrity":"sha512-Xe1DUM0xo3lHdP4S5rjKO97ENki3p5H6Qi+wqFPukCqF8VPoq7kC58p1uIxEt3J7UJJWuxJZ9Sd+8f9XqNU3hg==","signatures":[{"sig":"MEQCIDuy4jnUV93MSAV43pXKWq4pUVhogXtjaBZnc3w/7WHpAiAV2rdNqYUgnaxpJm59VYHghddhPI7jzlQfachfszT42A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb59mZCRA9TVsSAnZWagAAbOQP/imJSD34huU6+OpFyFET\nPmX6sG26o5EyD7tIlZWEGGIfZ6XbSVee391MAMBVYJDXxrYdLUHXER+4gMNZ\nxOuT7V+aBJ9UNxwQvfKfyG9VsIDEP+V9vFi854xqCoze9x5V8l2xA7+P5cCP\nKNq5mqmXBGKPHu/6rTcxcyLi+nnxTlwQQldycGIuJ1+RBBglZ9JB7mYU7m/V\nTm2Gx0JmcDUzO3EqpMe6ozn5CKCJv0s+5QScN0E9T3tUiL9lYUENgx/TRdB+\n5EAjKscsse6UJUR3L6IFG5xSvwOeG7Awnr024JfnzgaGNz7rmSWnUc3GuoPz\niCe9htgjM4tCyoZWebFnpOQ7bH1LhQD5K0VnKGjjxE/tIpTeVr3zm33JwhV5\nK3A7AqTLK5/mOmS1xjuEZfVmv7JbW5gl1YpZou5ZEMGMTcb1l6Pg8RCm/aUG\n0i1qVsJkePY66Y97nqd3xYQFagwBhGM3sqmt+4qwRu0iZoF0AM2SyMQ9bSC/\njL4rBf+A/l6cMYIaZPeS3aPJOhgBU4h5qX7m8kLFJU6/FAs2aCKrerYVzO9e\nruxArk6K/EM4VEnHXipFkRkZ39JU73bDSPw2ib6LZ5/5yO9ueRe6TwqfggxR\nKGufKLee3cC6/j87B7BxODxSrgR8xZICmBVT7xKeHnQF+JVeMLwM9Pkajb4Q\nkX5B\r\n=u4Qu\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.13.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"c2e5350acfda5340d847ebc6d0171e6cf1ca819b","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.10","apollo-codegen-flow":"0.29.10","apollo-codegen-scala":"0.29.10","apollo-codegen-swift":"0.29.10","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.10","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.10","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.4","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.13_1541921176994_0.8882771416540622","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.14":{"name":"apollo","version":"2.0.14","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.14","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"931d8dd4aa86a075f57ca0c19009f67417611eef","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.14.tgz","fileCount":67,"integrity":"sha512-OvzFaqSSEGNP54zNGz2TuZfLovPL5zbzAnzycbJftNVXlqvwrrcwHBTceZbLuLY2vxE10WVPKnds7Z0vxj4CvA==","signatures":[{"sig":"MEQCIDRQCl/8kSHgl967xJHA/p0+tGush8Z6OV/c1Rb8hWOPAiALw1XDuKMkzJnSm60HvG5vmW+ouEjCSOIOkxPKf7QKqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6Y71CRA9TVsSAnZWagAA1EQP/1GGlsom2t4xiroM6/uH\nmoiqpluIqmHOlTtIm1q6Eemg8V2GNb0797l3d8DQbWi+533ThkPp1+JgcnWB\nSW5OZMTrC93bTYjOmjppdg/NbPEzH91ifGaFUOFArobtVaoIJi2P3VINBIZi\nocymdNaKR0lzFql4fT2zG4wFJcooweGnj6R1kvWDeSmoDr3UCkdvYdnLBVfW\nNybnfS1Lht/5D79aPWRlfMmLM0RtbPedzPe3Gajm2rZjDLzLMmp6fQbyykuD\nJM8Kn1gwIaGAkIA+/HPoNZy8GVZ34L8jBAnRWcWOTPyj1B7wRmSXvNs2yhOZ\npu1GFADqG/Ut61XBJJZkcvjFC96RpicOLHNDenZhlbhhfrrdYMFvo71ou98b\nfU7pB4sfmUmL532IAO0elbL5gxwmhIuAmi72ssd9Y+hA4r/KG+DY8XgmVhVP\n3bSzZqpAwDUngJBzlS8tJrGwSfqlQlOligu7o9aSWsqBViDS8INzJKZCA2TL\n/I13sf8YY5oG7DzmowH4SPE3cBeh27MihaTGiPieTFR984uALkhzq3ldr/Wr\n7JPkbrKza4rCeu8d7N3c01fEXplTIFW4xiQvfAaQrS3GhNN46k32KUlub3RV\nxS3iqoEbs3rhDa5DXOLmM8lxnWtcYcs+0Nj/A3ud9CfI5IP5s+smuaZBwbFe\nHbBV\r\n=0Njh\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.14.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4e37b450315446084b1b4543679c6f32b82138e4","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.11","apollo-codegen-flow":"0.29.11","apollo-codegen-scala":"0.29.11","apollo-codegen-swift":"0.29.11","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.11","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.11","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.4","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.14_1542033140939_0.5815935119494435","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.15":{"name":"apollo","version":"2.0.15","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.15","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"a409bbde773e2aa6e86c049f0bf4fee0f07146f4","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.15.tgz","fileCount":67,"integrity":"sha512-jwWKImTOCFc7ry9Bzqckik6E7Yz0mbg6/fUd47mR/Z/euFSWURP/r2UWd4Ivd+Vg3+KsPSIKF8tbrnllVZfg5w==","signatures":[{"sig":"MEUCIG17bstFGywWz9O32KfFz8Ln/r9jlsBl+hTFAUW0R3zVAiEAyc4hjWeeCmtrt1mN+7e/zLOu/WCIvitjRQztu6+DONw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6Zm7CRA9TVsSAnZWagAASMYP/j2bXNHlPzyUlOcHNGsj\n/S9igH8WI5/U8brXz3up/IYqYmgC6b+Nq9C2kzJVmlBJbBqhQmZNBhb2YTRr\nYO+QZ6BWu229ufz3aEhHyFJu9g+87dUIXpUpxaWk+Ynj0bZg7a++TTOccHzA\n6HkqS6qZDNwNlBJHPcARdzGGy+r1t3xlFq1dC9Z62uGO1YZsDlcGod1lWPad\nbm58SzM95UkLiU6a/MmLCjR8TEoLm/zQQKc+JugWL1mN/ZqTH3SB4EF2ascu\nM+We7BszyIGITWX8GBBZAWQXprRXInhO11Tpb+MoYeBURxIgdYDbtly3Xy77\nXWfj/wv3GDPZ5Ii/NB77gtC4FLddG0MeWmmL5a8e6I/huCAonkvIYEHuIbxi\n3AA+lP/pe/yeb8GOgU4o5B0332Ddgg/YMddBgcG8r2d6c367Nw+jdSuVtYy2\ndgfcNlqKWqCw8yl8r0jG5UZLNQnbxTBQ+MG8jK1OKjYI+OWSWc+KX7dt3ESE\nVVLmUuhwHpAVd5shkJUIsuDqwsHv6q2q34dFSzl/bHXmBSwlJoSYhylPBj2S\nE4EzK/kTBpKO3M60mHpi/nxaf5VER0QptAVCIpE0vo/s39B/XeLFv+/W4My/\nUeEBTjiK7u0Bl4/DVbt15tv+r2qqO/Cso8WqOuF87s8q+EfMqYuuNiJiGf1Q\nEJl0\r\n=xAfy\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.15.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"af7746f6e2514ebd0be8175375809a2f48209524","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.5.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.12","apollo-codegen-flow":"0.29.12","apollo-codegen-scala":"0.29.12","apollo-codegen-swift":"0.29.12","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.12","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.12","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.4","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.15_1542035898249_0.3291760101395589","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.16":{"name":"apollo","version":"2.0.16","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.16","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"27eeadcff7ba5f0ba70b74ed36c78866c37495c7","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.16.tgz","fileCount":67,"integrity":"sha512-2H8OaxmOYYu+K1AXecndJRGWTzyYl1zmPRvKkpP6ZKqa5PK0E/FQHnLiDc/WxC8izLOozW/vuQvXf3g6mnRIwg==","signatures":[{"sig":"MEYCIQD35Aw+PTg2VXjGMt0sag02aRpbG2DRvNhPyqgSdLyI1AIhAOxheClBeEnVIxXmrSZ5f1ECDDHh7zNDtb5WndCaCy+1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6ottCRA9TVsSAnZWagAAl1IP/R3bOnV78rxipHoVpHrU\nkc3beo/ek+RSCGyIRQZsze/6fDmWu5RknGLyPyW0B+1dB0Edr5akjUnzgvwh\n+Lsu6F57OkUedl+WcxARGF+68Yt14n6ZKJdqYHNAbIvxFQNkFdXp9C5I7qBN\nsUrFk3+LIh6K85H7wYP/M7+CSDGby97/1P3RtW0FSNY0nsS4McrVODq9B9WD\nenleHkJg+ayonZaTrTKrdV80C4ZE8YvyV6aD2jlvg1wQdEMWISHuYjsKTtiC\nZ7OhBn1e1X3/sYZAaMwIo9eMKnBptZuzhJE3NSV/CxqH0NPTiFhMz0TJjgdg\nKbx8Yh6AJLERYrbxwH/Hf0u1+IIDcw6Thq2Cj+v6Ot1010m9AIeYSXaL+1Qu\nkSsqccf4yVdfc5RsRTcVbdmSA1qIitecXkfcE1QjO/8Zj5t2J60zjfFn59Zc\nmYCvtwNjyNrOBOJFCp5B2itbrj8XUPec7+cWtEOaw+ZlxqpsZUM/vvHeU9Up\nlpskK/gr6V3l9YSU2bYnICClN6dYr/1jCqnKDdFKJkEnKryr3tVJOegA1ukz\nfaguhqvmqNhPulps2RlZYeifiCmvV1071nHU0My1RJVKC+TzirLWmXz7puHX\n0VgmD6XeTZVf80aDVIxZ2GUYRu4uQBM0Gmb0e6tqIUNg3kyVvVCzZtxF+ma0\naDke\r\n=ONDK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.16.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"749236eaa11356397a704c1bf0ef338b02658cda","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.2","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.13","apollo-codegen-flow":"0.29.13","apollo-codegen-scala":"0.29.13","apollo-codegen-swift":"0.29.13","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.13","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.13","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.5","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.16_1542097772069_0.9423032764534824","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.0.17":{"name":"apollo","version":"2.0.17","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.0.17","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"e633e3a19a8366d1f518aa7392d78cf254a842e8","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.0.17.tgz","fileCount":67,"integrity":"sha512-8WIRvRcexb7UfwZrvCgOK0NmlwYHknxhnQ+Kx8Q2x37trkBnN2lwCzOsLrx05XDFaHoRcYE/36sDa+Xt992Pnw==","signatures":[{"sig":"MEYCIQCUUakPaLppdsoQ2DWMPEPJMtYmFjGTtE9sZanxazKXvwIhAJuONEN5rDKiKv6J3JVMJkudz7/XwQi/WbqFGgZ7x9A8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6pBZCRA9TVsSAnZWagAAN88P/AujD9OEKWYfsG88zc0l\n8GhXC6jf4Rn+8NXJ9Nw1yFVRTu5klLXUTcuyHXqoaowZ1LNdey7ETlN4f2W1\nNMQnvQ6Xx5JcObf+cBDPc7NgacqFbcEC/Z9BYbIJThZOQypLuWqm7y6Vg7BN\naTdPg3QhrQwD9cWd5ecm3FWFRB7kO4IbiUFuwIRJXbp/SSxYbn08zQ1oNfxg\nowlLciSTJqGFcOdwngvNEj9LHFDBUA2EbesruCMIQqX1hH5mZ03Zr5nkiOdN\nM3TSi/oprR4m4bcOE4Al31FUcc2NhD5Puj1ORnZROFH1HLC1fj2nWsBO68jh\n9cD1ZlEeRDfkDSZ/+UqUXpxbZClaacxHSmCvcvJdOKVaxlVUq3xP40ceszv3\n0hhLfuIgHjKLYD6rJl+QcB+RegRGwaxPNGfWj16c1772XGGRa50hYwyT+tni\nw6CMsfEnGmKeqSOVKGrD3DP/B+WflD0y5EJ6lp5kklSz2FtN2AT5KpGGJhFL\no9k9TJha1sOTuiE2AAMPgdNFgIaun35Yy3TaR8JmKV5r57f2yqUBtp6e/cWO\nHSjp29SR5mjrDEeCm3fD2yrl5KvXz1uYF7EO//rUNR+lQ4y+x525tb9Vs9Iz\npfY0sXOEsIk2q1c7Jr6CZAahw8DzNI+wg2abUiUSARhgXTFDH1yy30DVA6mu\n4NP2\r\n=7VPN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.0.17.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f5c576989fb8e1e1eb3450a7874aba3b7f5243f1","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.3","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.29.14","apollo-codegen-flow":"0.29.14","apollo-codegen-scala":"0.29.14","apollo-codegen-swift":"0.29.14","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.0.14","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.29.14","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.6","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.0.17_1542099033236_0.5359739468390443","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.0":{"name":"apollo","version":"2.1.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"687acc6768ec7d9f12ee8fd9192fb422236ac156","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.0.tgz","fileCount":67,"integrity":"sha512-c1R9g6bwZ89p2/hY9Hv48ZxLnbbHxLH8jlAua/KQqErQj94KDoxlCsIqudd0rB4gaXA6C0zlNFb1aYQ/GW0wHg==","signatures":[{"sig":"MEYCIQDc0T7ZGPqZz/3Kb5pOg9HZk6yix4PrIBM42omts+3d2AIhAMK6S3lNDNcW9L2cdO9SexWEJuaYvFxtjaZ0xsbcvuM0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb630mCRA9TVsSAnZWagAAW1UP/RcA/Cq0DFGYTkR4N88g\nC1eZD+rsdE1TG+x8ta6ap6s12xc3rfsdMCCt4qRm+s+lKEIH/3v4IuNQzjfE\nmfz3eUY9k99Oawua7/3Us727Bu14mdtzlP4Ce922SgIAyiTQiIm0L5lyTrEv\n8IfFkBOY1yK5SIyi1FMjVrTN4HVT+gyDdDgK3UBB1IbpKZJsXCzdz7wL+4tT\nLHNmzaOTFnDax8R3bYTfZgkaTghxWEgEb24869bmA9mQJVgt2a853/PjDbKy\nAdsc5JHwdww4fRR1D6eC3FqzOT3AjeOmLMKFGVDtYG3PbDt7h70XwWilEryE\nQKCTljqdMt+pJHiRPpnOxb7j0MK1TKen/c0DPOhjEQfbIcU1dlMbUROPBV2l\nIIAyQkl2ZlmJdQram6MBrjApxr7fJr8rcS0KzHMQhCnEnbzS4yz63m7bgsAr\n05KT+qfR6FsqBBmuHZpV/atcBajSOteeCgvWmUEaBjsrpF9WlWT4rsArMNZN\nZZ4LYVVaKXXw7nBrmyiJL1l3D3z8bG2xAsPtVITZvlh1UyhoGo6QG+pFIjGF\ngTHSPgwbl2OYpE7YtAhzPqQFhMS78Cx3hTz4vguZrbZRnQMuGjEYO2gkWubt\nzfl3Rz8JgoiZJvP4q2jIbh75byucx6tuV2wddRVkpMu0VXefkuO599+FEeur\n8lBf\r\n=1EHB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.0.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"a2029fffc6fd63d8f3b0ca785d21328afef2d979","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.3","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.0","apollo-codegen-flow":"0.30.0","apollo-codegen-scala":"0.30.0","apollo-codegen-swift":"0.30.0","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.0","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.6","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.0_1542159653460_0.008294296324261818","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.1":{"name":"apollo","version":"2.1.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"5ceba28dd226b39e5add444ddfbf2fc0832b63c4","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.1.tgz","fileCount":67,"integrity":"sha512-PNI0XLet8D2w+rJyIlzvQvrca6w+FBl+JXdjwrqcePL6qKTjSkHe72Vix5bpQs/Ci6thbOASnbEKoSuTgVGC/Q==","signatures":[{"sig":"MEYCIQCbZXujnXp2GCUadM8iBLU50Fb6NckEcwgghyHQAzSzLQIhAOHje4TdBaqoPDbMbh0yz1TDyERvaBVPAk7X2vZNrH9Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":182010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7LkfCRA9TVsSAnZWagAAqcwQAJzYE6/u3IwGSfpAY1ha\nA3aU9rKzUz6XFj1EdIaYOAzMtE9eXM2gJONsVs5gTX2vxShTcgB94TvbScOf\n3y3c10C9gRvyZmX10JIZjH8ly1UcDaGaUf17oTsUWufa+SW8Abd1TSbeHE8a\nDSJxlJMPPh4xCRwz1FEvH55voLre9R8ghjGHDiCy2vKhOTIoVGWMlSHUqAeQ\nSXZpQ/vSkSE0t0ld4Q01spjjuNgpxU8Asye17IwsWRQKjzbyG2Iqr5uL8cxF\noPw+e+NB0EEDIBD9/tvzqj0nhXSbd+FD/Uf3l/vPKTqgR8Y142m6pi6UF0pG\nE/K0/omqPN01HzLkS/fslAMHpAodqZ5hohfqxPprj1wqgABheMEJliox8wnF\nJeVfOl2vpmqvsPdit9ocNsxbk19b9Vv9HNrE3lx0LL9xToql3IVyY0QR09Ni\npG53CnJK+XHGgOCF8yQPsAtjwKvf7j3TLvfVawCFNNQMQGFdSccEJvChwH7u\ncPz0sXRax3zwFIszE1la4fE7rYEsjeXIKj6XhR5IWGErsz7m+0fXcMg7FVEi\nvKDgFS9CiaCePZv9PWgVLt0jmYVq8vWyu7YCWwt3pGHd0HBs/lnk82uKGtZ2\nQ72N/LfPnEg1A7va/WBy7+pjt94QFIIEF/ZimED5TdQj+bZ/BvTyYq1QiYUi\nanKG\r\n=XKoq\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.1.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"dd3e8e51d757db755a5824b05f6ff25957c2cf90","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.3","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.1","apollo-codegen-flow":"0.30.1","apollo-codegen-scala":"0.30.1","apollo-codegen-swift":"0.30.1","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.1","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.1","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.6","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.1_1542240542299_0.4504564158805704","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.2":{"name":"apollo","version":"2.1.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"0efdd1981f8c5e35d5bd33461d9bc5394cbfa94e","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.2.tgz","fileCount":67,"integrity":"sha512-QUXlVxaa8j8seABNfyLW5duvrT5w0uNuMIc7AnyVSAohzsztTSV45N7PvAQN0eHMmDlzyHw6ZNknSTwgMIQ1ng==","signatures":[{"sig":"MEUCIQDgTDpwoynuxa3ihKs8U+f6PcfC1fKIl++Y3+v/h6dsSwIga3fssa6vhAM9l7S+wp9Isq3v6d9XfmlW1sHn9+LW71w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":184642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7j0KCRA9TVsSAnZWagAA1icP/jLl0lRQJ/UnlwuGzW/e\nylNnqDzU9Cs/kAQcuRbgopQck0FHebfST5263ASjdJ+duMCmLu09l2isyfsZ\nlRxcN942SxS8vtO+IKlHp828tmmsgVJPx7IX4TOrnvyUlT1swFJbSfewg7R4\nqPdupRvhgx5ZKEFicNTinQWJsIeBbU9qQM4DWCI0lMkb77YRSZSY/NKjQcgc\n/OyoXBKW3n1pqCT/dOSq9EuuLRDhMxa3ghKTGka41/WxCW3+FD5AAUHsbXk9\nUPom9WjCgLL49b1AQ3zY9tdbIbRxWi1XWgLN2li3RIWauB8lKwwYrRtmvLS+\nEnD84nHotW8tA7s8rFyVXIiQWYpDsoq9rTxSsmQoK784R2lh6rgoHgZV4qiw\nGN5dFBAF3rTi3UkxbisnrtnlxCRLEgAMYJq3DQ4TodiITKtZ202GU0d0thew\nWOt9GoaCOgGSEHnM9ZyLcpniQY7veDyGp2S+haOYMxZJRbA5R/lmfysrqZ/r\n09xzZBNtvQhgX2Wi+8J3XyEr8KeypGZeN/5Ma9MpB9Dqs2/btbsPqh79VDx5\nEXlHJQnaGf1L+69bdHjig34pbzex9evwnVlbeLr7VvEW0jNMCJcx6nN7MIl2\nld0v3G4Hj+jpED8Cz+tDRuNSWLBhmUpx8PJb4ekbS9f0XVnVRZcMzTmDNCZV\nCDXl\r\n=BML6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.2.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"c5ba5e4ab1582006c647c7afb3cbcd257b2ead3c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.4","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.2","apollo-codegen-flow":"0.30.2","apollo-codegen-scala":"0.30.2","apollo-codegen-swift":"0.30.2","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.2","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.2","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.7","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.2_1542339849989_0.05290009844210841","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.3":{"name":"apollo","version":"2.1.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"e91d6646f3d94e35dc383196774d9c8e6fe3de79","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.3.tgz","fileCount":67,"integrity":"sha512-s2NmQJCZM4g3Z4fekzOU5HeRwtP40TawO5ZYUCxFeGYJMpnxOADPMnaFNL72fNA0Lq0MVMYATPHsykgV64oClg==","signatures":[{"sig":"MEYCIQDs0rRXVjq91GSdqnDQRZM1KDNNvrvLYeF+t72Qh6INmQIhAJzHSkLm7BLQ4yNgjE9ZZR7jQ8B8LbUcAr9Nx3YG0Ziq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":189475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9euoCRA9TVsSAnZWagAAIPQP/2fMa5FpG70DIwWMlu6A\n1Uf0sNJbUT+klT1Uy4z5uvQcO65wYUQbHC8b7Y9iAmn8fzR5suHc7ES34JRb\n2ehsBF3DTsgG3Pf8cgUp19nS0l8tVqECLHXQfGbUNkcF0TXEnTZpmh+d8PJT\ncnO/zYWflO6sDZW0jthkiYi3+Lf+qJy7XbGIa5WqfpS0x9XnrPz7XFJhBBKE\n0BqCqtp3RtEhVvHUkAD1ek0WeeiP3+owHz7yBJXyo9yaL2lN3oW7dsnY9AS3\nbhQp7lSKJt/UFnd2qwxsp8nrqxJ5MDfz0VxGmL1azvrOAPwXUOLcvuzYAKQ9\nRYSmp1Akn5+Vjxh87EDTN18lvsQjju5drSEii38g14CjjDXUE4EA3N7j1FWb\nww3aKUJZitAGPZD2F41abVs2MjTW179RLOr2TAHMj8hP3GxKkj+t6n9fHbqn\n3T3RIEDgZ1kKRMstRSNzwHNfQTUsySjRwdY3y7easgSEskclQmc6bGlQHiCs\nCm8a7ghtNIukgo27G+45/oHUfEbtyOMZAzJ554G7Y68S+OrRpGF4z1Skj3Q7\n0d9b7+pKk8peLzBmk920wv26Cwkd6ghf3XHLrfPsFEqNOgZ/HNTuEMc9571x\nhVWZO7YB+q+2VqEV7ju7Uq4m5soH0//+D/p3PKHD3wArfedF/QSmWwDI0n8e\nC3W2\r\n=6957\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.3.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4898efc2c7c44b3d6a7cbf742fbd60ad69e0321c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.5","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.3","apollo-codegen-flow":"0.30.3","apollo-codegen-scala":"0.30.3","apollo-codegen-swift":"0.30.3","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.3","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.3","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.8","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.3_1542843303617_0.21391619776016624","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.4":{"name":"apollo","version":"2.1.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"4de393c81c034ed9822b3d715fb03d3b9c109ba6","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.4.tgz","fileCount":67,"integrity":"sha512-wYxHNvGyDH7yCk73zn8UC2ETL4wTLelALxVg6nkjzNupG1/9mryslWy7JLnL+rntzabP7cEOkNbnw8h6QgpVHg==","signatures":[{"sig":"MEUCIQDmcbiL1m0mwqPRLoheaTZIEaydW0sKe/1zWulRnNDzZQIgMWNkUNufTSoYFXJQLNEKbT28xR1woTsoQN+9KA95oz4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":191216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/SFICRA9TVsSAnZWagAAffEP/3B5ZR+6McYAQ1xEkuwp\nR37PNG2ZOJeXZEdG04XxwgjH+pEdZzWC4x5A6w1KtqVexPFcea6mYs5LfZpV\nPqGwaE03yyt/ClY2UOH3pwcByrCFVtFQlCs94RP51/2nzWBKvHQUrx1EFvXP\ntyFLPqEtFcAYXSdHNcW40pR8Q0zkiNBVnLfo3NNUJED5PHgqj/fzGYZf6g+n\nnCwT2bEQrXksfmC8L9/Ieiji9gozsDrAJnLkchhxPjsjzqKj6r3tYFw+Ylej\n3puU/flo8u85JmgGhHEd18Havgw4XLWiMzhEStnNY+O6ssUmZobiYLFHHjvQ\nyMffn55TqLw2BRkodMcbtdbtDLRZKUmzNfAiFNyOMm6ILPV4XHajEg/DbmM+\ndyheOC6P0O5Sdza1HGD2B1HR3L9BoEojADYkY7qzKEcUyxyUnmzAbdh8Bcyk\nqgt4S+tIxrj6v9sXLckM++MM5m0Xb4kSGUW0n2OxhUBKRe/T2bTBZUJ1ymWM\nWVipQa4/41KD+Eqj9lpzr0+zR3fTRZU6VSz70+0JI75KC23W5K71T2/trS4R\nnYjVi97ECkBv0cDhwsycSXN5oHgy2X3gV1RM8XOMy03068FgJsN74tCaSgV4\nHJF8Hu7LHapjuoGTR1iup0MZ753BpVk5ovppwqZLdFeEUYWs5nhEZKORdijm\nQOMt\r\n=tznD\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.4.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4d1e55f2494c59fe9b9e2dfd54fb2819df1861d2","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.5","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.4","apollo-codegen-flow":"0.30.4","apollo-codegen-scala":"0.30.4","apollo-codegen-swift":"0.30.4","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.4","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.4","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.8","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.4_1543315783878_0.24192706592566093","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.5":{"name":"apollo","version":"2.1.5","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"de2a590c565cd0a996826dc077f692983aaa78b3","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.5.tgz","fileCount":67,"integrity":"sha512-6qpymHMn5LgXbIw1r7h96SgrfFptKloMkD/FUwlh4khGw18ZrxHY8/+Yvv77YUTYLC9wSvT4JZys58gbCF9Xbw==","signatures":[{"sig":"MEUCIBV7v6RkUH5aFeqKF2WAeSWvuyi+zAVyzUXgdpODYF6CAiEArGnCuYAFXpvSDIwFGH0QFMqNX+vUFClTVTjcVTCCn0c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":191216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/UDoCRA9TVsSAnZWagAA7nsP/RPzL4sOgyDFK/ONFzo0\n88AYKdUt4et83JBjJ91NhIj+5QL+0D3ZnXId8lzmXK/rCO1Ses90T0MilJhH\n77wooAFbO0qa33rDinrdnK8yTVucrAu3KiQQpCl347AnaOe7XgUfkqS73EPz\nOvl+9qPZYKNcGK3MB5qFZr8Rl5DdwvZL2ynQDhsQlxWgF9GzQ27JBLcU7APe\nWFZUIzlgL6jbVb4vr1V8ld0fbeLsh4uWwbAggYNr3jKg1+mEtTy29PnnQGTz\nIbcN8LCDWexUVzs2V+qJuJGJPSqm9/F3hfjqMc3EsMEg6ErON+KT5Jc4kWQ3\nbHw8H8V0MRk/7wxDck8rqQ+MueoM9PMB5KCtLwvMAk8/a0mA7XA3/HSpUIfH\n7N74RX99r+RrqVvcLar9kF0c1G4xeAX1agAJUhC1BJ69gEsC204Zqx2LUMN0\nwjqCBRe4FMlXyuQHzUT497wY3Y0ZYjDnmC3ZwCsjysxToQmLrVYySU33wLv6\nJ+xRjk2UuNEFs2FTM/xpDDxrwEtD1E9lgagarbeFG5pxbQOzg5jI6H6pqWie\nZJHbWmhFDhhmwNxr90U2VbZrLr8ou3xOf9Xe3HYny2LDeSqRx6glQeOCJ/w4\nWSPFC+g1M8pU4X7GNRhBpLX6EIV7bwMpnuNAU1SVtBRTCNmbTOj+EZLndV3F\nBpeN\r\n=uKM9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.5.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"790b442a28d2be2fdeafdbb87d5395150db10d80","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.5","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.5","apollo-codegen-flow":"0.30.5","apollo-codegen-scala":"0.30.5","apollo-codegen-swift":"0.30.5","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.5","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.5","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.8","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.5_1543323879368_0.006508923480955886","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.6":{"name":"apollo","version":"2.1.6","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f0f3b9753ac39227bb5dbd029680577e7fc7ce52","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.6.tgz","fileCount":67,"integrity":"sha512-ZR1CwyQXGKSkZ1773k7pXEpZ33sMw309SUgF0njQk4jGpQq1ZNm1EvSM0TD0QxfadwpzHmvMXSIWNRHs8xnW3A==","signatures":[{"sig":"MEUCIHnDuDLXD5GITLciIAqnMtfz9ruUdRu40wvgFC+7q14CAiEApC46BSET7BaftpbQz8ogqc2iZlL+IWxoi6apKK0+/kU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":191216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/WhaCRA9TVsSAnZWagAAMK8P/2d52BlV+loEogclY8+D\nhilqbQPJ/ukh4MyweD/LnlhdjcKCCOXmgJFoE+s4y2acW/PA27HUo70FqDPf\nMXMWXZ8rGEbeLXlVFNon8TkO1eaigxDBobUKFkLQp4c5uWgPrWaZgEFwrAHS\nI24OlvO0yPQmCVVwAHDU92NHc3s6ZxFPgi6GJHRG//qQUlcq0kzriqs6gVbS\nVJY34Td/X/lROsjS6eF9DlNUhuASgkeUwU2lRpQFVdSXZVRo0/Np4oqFmLxQ\n/wjY8Sn3jTNSpZpTmyHCi3vjMYbrRLOhQyuca9V5z6ApjXBy+EMyhARtFhGO\ngZuNAhLHxAor6JtHf4n/76Ev3AnijrK64xH9WXV8RywIc4jBmI1UTqalfHeN\nv7ONY7oPwaccVQ2A+Q3/WxBKvTBI9xhsAM+mMX581/Jiqm1EVUz8xQltZbmE\ntBhu07c2jmV6icWt2gDrf2ABEaVt6axe3MADStrGQ0G3qmtqS9RkNGr3LpIN\nJkVog7Oo6xj/+P+T4rpWi21dvQOtjDvGMw+gAJpWzU0y9Vp2hx6UeGcTttI6\nc/4VwaDW9C2uYcWkKmHiDWoe04vQWDVGkemhesK4ghK94/uD0ihxJlUNsx7v\nny6vxz6tiQ6Zd/ZkXBaqmDSDqgGFcia/OOw67Bi9ERyQehnGR8sYqoLL95CK\nL7iy\r\n=11pX\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.6.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"0438eb2a1d97fab4bd545341560ef83a402b4a1a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.12.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.5","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.6","apollo-codegen-flow":"0.30.6","apollo-codegen-scala":"0.30.6","apollo-codegen-swift":"0.30.6","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.6","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.6","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.8","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.6_1543333977235_0.8107533046476829","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.7":{"name":"apollo","version":"2.1.7","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"c38735c09a68086b7c3690e5dbcf72d4bb1d3831","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.7.tgz","fileCount":67,"integrity":"sha512-kzROWt1y7zdlOBgyzhvVnnEE2mFL96vKcPluX4l5Ekkd2dgWt9ZMzfYLWNPapMcFiT9ioL8qr0bNEk6OIYpjKw==","signatures":[{"sig":"MEQCIGH00SU9eKa2+S8P05wjeMuIrle+NLy+K9pWl87E/yCvAiAyLntotMnJqHDgq3ADvUidysefkIQknvlCCwp80wyeJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":191595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAa4nCRA9TVsSAnZWagAA4HkP/1wrhG028qcbfb9IeAao\nblG29MP04E8ZOfI0qrWt0KaMYybgnwtZ4Ip4Kt4/Uug+Ki6h81kJhLhRP5gb\ngdxyzQ+HVzTNwelroHHNqrqsX+evQ9tRQJ1BFS9z4Wwa+ug4IGk1tfWeztmY\nWx7HLxknoeSo1maFo6VquWHx+wDisDSQHPxgjAudj4YwbW84V8cWIOxvfD1T\ngivyz9yyUwhnF9RzrolzuXJb2vyUIR0ZkK42nwkrw0vvz7wr4UVFsSiXPpM5\nYQDsSQfCF0a6fP795GjxvFb4SnLE2J3JY9K+aGsu1E/WfAsHDCZS4km4ndrk\nlxxrruJ+654DJxIln1d7gJoS4x+NxYTTJGVWT/60B3dU/UvS3TLNMhi+zKyb\nbJZYt5EOepQ4H8tnxtTF/PlVa25Yx5K7xufEeqgcC5cNJpKMBFy4WYxI8bVK\neFn0ANxVnEgUQJ1sOLNh7GYKwDYioZ3aS61BLZJrp5g4G4Nrj5KfYzZRvt1t\nmIRoDonRH/9B7FNAYPCZ5Jn0bbZjoGB7EPsx1OH3hdtNvZfed9POjzJ9g/Wb\nF2eX384mtxiUB42UO+8qCqwBrjPNrvT7ZA//2LsUtAx0EnuO8bAn0vU5XIIl\nXA3u4RW9+8ffv9xNvbQ2KgaQZ4Q4Dzxn5Eqe38hAeDDtDjCDqYXUtaRQvj9N\nv9MM\r\n=5tuE\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.7.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b291c930af4fe33cbb0884117d56565b7f07d4ef","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^2.1.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.5","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.7","apollo-codegen-flow":"0.30.7","apollo-codegen-scala":"0.30.7","apollo-codegen-swift":"0.30.7","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.7","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.7","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.8","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.7_1543613990170_0.1527872072223342","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.8":{"name":"apollo","version":"2.1.8","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"2ef092e0c99fd434e4a3ffea15dae342e7a7feec","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.8.tgz","fileCount":67,"integrity":"sha512-Q5LWcdxB9FwkveGGEndF9slCA+/KAWpnv3H5BKXXoLVV+4yZapKx6A3F3HaKwqpiWoWsnbZlVO9t9T6kZOhywA==","signatures":[{"sig":"MEUCICWcZkLlIU2HrMYUesnhCzDcr6cTAo2UP7GM+ONEsOTyAiEAi3sMKoEH+CfVE3Kj/+lNNGfZWVdCnIB39aOGrH+Ajkw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":193695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCwchCRA9TVsSAnZWagAAZ9AQAJBKqs02hmAgnp3AHrQg\nyV7EdIRuzOMB3Y22fs6pUj5D49fuMtq+uA/mnbuVguXBa27jjJNn0Av8Io/3\nA2MMypXha0EQp674ryFZQ/fK+WQSQAEyxqJGmnEbkbCkhEAeQe1Ilk5eTgo7\nJfoQBInyCdi8+YjNW0WdOhCZtrgdLuc6q7dZ38/2SXMCo0dsWY5/SaaLgP56\nJm21uXik+RrJlgY5QDk77bxvSpNDoLUEnh+EH7nuyjndeK0hmueiZ1Ifi2QX\nq7xByRIhQs+NjRUvSGMPQFbzH7CkxpHx/GXE0VcvtmCn0HYXgr1CwpiLJFIj\nS7D1tB1rHPfxLDQAGdMjudgbvcsdUOcHvjbgnnAX1lCGm+lA2ek1KsxMWXGg\nvzoB0WWUBIbm4uU/TTu6EWZNeD+CDDHnp5ZQN7aPBwvtmrXJ+BqWMNw8xND6\nBtYIZgW3VfM2SzSREswTMeZOFSDo557GSJXyCUyFyQYWid1LtLspJ3ili1oV\njpvTyTBT32lZ0weX3uVRJ3F9KBSPCvneZ722hKlBqWwhHGG19mRs/4V5x1nK\nsvqqySNjJ4CDtD7HzDC4T0iQlVRXHR2sXVrPFzT3lnl0WdT1em2CT2sMW8wM\nIPEftmyVC8K/RF+cuAcOubOxVm37Nvwk8mK2Ggs6iNCVGhfkuB04SDAzLday\ne7R2\r\n=zho6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","_from":"file:apollo-2.1.8.tgz","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f4af14405f41c22ea9ad7408a838f848809d04bc","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"6.4.1","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.5","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.8","apollo-codegen-flow":"0.30.8","apollo-codegen-scala":"0.30.8","apollo-codegen-swift":"0.30.8","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.8","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.8","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.8_1544226592324_0.1977517811650067","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.1.9":{"name":"apollo","version":"2.1.9","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.1.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"1290a849738cd1b1ed3353ccacc7d218366a041f","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.1.9.tgz","fileCount":67,"integrity":"sha512-gkuhPxuMcwfBoT+HVN/XdI3l1fX5+9uE3Me4YvdEskJ4UCOMkH5EScm0WfSA/IpOwPlI12oOmHJu1ICSI20v0A==","signatures":[{"sig":"MEYCIQDwdCsd+wgQF7MV25aaUICRtq3Xf3syfuazS1xi79gdHQIhAIErpbeUnf2BswHxP7aPeVFRAAaR6aQ4Iw40DvozrMbE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":193780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcL+xJCRA9TVsSAnZWagAAQ7sP/ieHky+t8Xxfxmf/Vppo\nvJcMaUwybj6cF2Zs3HysdYC7AP7oq9LYeJnShl2oHx+dVYwh+CzX/X0kCeJg\nZqoiBPQbF5vlHLjRD3D5VItLKnRygEr+4hK0MRJWTepCKRUHJhbJkbQkITMY\nyv8gGnrES9+4q4+CmpK/kwGz33cXC104c1OgXrMYSQopMww3uWTrwY4uWFbP\nS/HL4kmwuZ9teaska+wUJdYcSzqnymA7gaSQgPwtIiNGzfazVKCo0F1K/oZQ\nvGLSPMUFDWTflCYmnQ+rsNo51CCWARGuGPapOA3Q6zZXkKHyGI+5yv81bJh3\nRc4mw446KNdIdml0Ufij8jurheWvj10NANhu2o7n++qliR2jzAzbvnm+cvqU\nXOPqPZ/u2fj7djPdIWf94KHZrrHwxyjJdIggic47UUtyBWCeLiUdzMacl/Pb\ny+Ev7ovEjf1pQdWTuN2GnVX38PsJ+zFU4bQYj0WSwKeWSb8cMTAfdKrG5j9H\nlPIHnO5SDm3/TE5rDB+PgcOvQEvqQVM+axUL90ES0A7Zhn8xIBViS0t3QTKc\nGJh5MGXRP+Eiu9N4cU7ZrwMXIv6Mt9+/O3G1H8XFbIepHda6unQx/dAfFuMA\nmDVe9vX3eLxTPH5swwy68ZW+WgqA7tj3Zc1MzrQnfikaio0lvinixtxodFn6\nH88r\r\n=Xjaf\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"8e70bb806c90802b914b778aaecf228eac0ab9d9","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.8.4/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.2.5","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.30.9","apollo-codegen-flow":"0.30.9","apollo-codegen-scala":"0.30.9","apollo-codegen-swift":"0.30.9","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.1.8","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.30.9","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.2.9","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.1.9_1546644552255_0.9506012926950154","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.3.0":{"name":"apollo","version":"2.3.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.3.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"215971f8f526ccdaa3b83d37cb851920adb4abba","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.3.0.tgz","fileCount":67,"integrity":"sha512-6TLH7/D+f4pfAl+ljGuTXgxIpkOyCcnHiNnBzI9a0X6x/DgiuqIAOjoVFLuOFtMWfdnaT90PKbkrDrwfJTGEIQ==","signatures":[{"sig":"MEQCIES5TKSliTWAekkrwgy2PoP1l9yh+Rr97ULOb808RnCNAiBG1AuzVlm4f1AbCO3ZXrrenbKD8DUczZ26mEpdoSEFEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":194456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQeNjCRA9TVsSAnZWagAAvhMP/2g0OXVdiZxjY2OedZGh\nSCw0cEXoWPjNDol7F621VfHjluef/BSJSa3A7VncCJWn7kfNXc1BfqLfFNCc\nNhvLcS9U/Y48hcSrOBosYNkX2KMJ8zflBaTbzcJheSTgJKHrymnC+IJWq/Y8\nW+sCx0H/PguirIw83njURtx7un1gPgzyhT/tsBS8kCpAPLlrowz8efSHYBXl\nKUeBaCQ1QknttmDJw31w0jNOsi7amlMekrMrP3059gPqovs3bkBjhOV4cNa3\nI50NWIFNumV9Aq3znQeTXvDYgfvRXfJYL60+L1tdnuAK1+zZxzwuopbzM3Ao\nl2aWrG1LG+ra2bsu2zdDdkSRrJGcPif5BsSaZiJuqlqJnI5zP3VEwm4GblMg\n8ZtH11gEJ41eVH1QclH8IE/yNCGikBoba02Mmp78ESUOYpcsbbdk/Nw3E2gp\ntM+CTZbS9VStCLICmL816fEwoi2az74cY0g0PyLNvHQ8a5f4Ucxe51Peb6cu\n7BxARmrHODOs56ync7mVVcpDzKagCwRKeXEdwnXJqp+767pwixqi+tin7J2z\nmdM1mMbuPa9uLjRgQunVSLkhy5zLsMn3PNLY5Bhs7XUvq6cii6pJhDsw96t6\nMAPfAUthVaErpY4GDeV/vVQ+QBb9XaSG7UDtrzFxDNPUEWQhx+o8vVfbKG/g\ntDDP\r\n=+8TX\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4728032af217dc0ef2ec25d208054b79a813e400","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.0","apollo-codegen-flow":"0.32.0","apollo-codegen-scala":"0.32.0","apollo-codegen-swift":"0.32.0","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.3.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.32.0","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.3.0_1547821922977_0.3460242484897149","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.3.1":{"name":"apollo","version":"2.3.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.3.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"759415e0764b0a2c14336af9e9844155b181e652","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.3.1.tgz","fileCount":67,"integrity":"sha512-eV1rj6XCwoCAkWmcGB2lt7hRGvOP5AvSZM3w8J09h8dfB+tQ9tRT/epVZdZFkMozph7ORPFk/M/CgneuU2UvVA==","signatures":[{"sig":"MEUCIQDb3mScVSuCso01POsOQ6UsZvWCWYRhgU/seCGusPSZ5wIgf/Qr3uz1wz9O84jIjUiUiApNfLJcHGGjW5sOyHAQKrw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":194049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSgt9CRA9TVsSAnZWagAASBoP/R4aHDFWb4HztRfx5omA\nPqPBywUelAwHUuJHFuDEvWynI9vFBkq88xQDMcBpHpTSzrHpu56HK0s2QoWl\nY9dNpguIYNpYyqFI0dpp8lbeXa9FwBqqEe75Ga1p/7VqlaVU0Zwfgc/paqY7\n519L15qTKKw3xNPEg15JFNciPvrkiw1VPzUbvD6VBd8YFpHsy3wlyP7pfTkS\nRABFsUW5sbBVFId15elHqOatEWvckb8TjlsbmAB+HKtfqnckPAMoTJbzKlRs\njpxKa5MvxPV6F4h3NngrgTq09GtBRset2lNuyxChR3wEVTKuj/YrcDE8oSW2\nhGo+S+HzXRtCxh4nPLi5aAiVkQwZXqe2sskR9TyxKyM3IJMhYrk8pe3nmZMp\nIp/gXBvE2xO/cBX+vjtu1aa8EZwQ3ZuYuwzzDfNGe7qBYjzCx7+yv4MK5eIx\npn6wM3u1nh8xWS+XPbkRBJyRuL8AEzLgb0NVpaG6tMioyzC2bMjEWTFj30QB\ncBT1U70YtNA3JQCIOpBuzJfZXvWtfdFioVNRGmGh1nFAsyUZO9e+12VEHEjr\nCGIzSi+GOMPRXykQokJ/Rm4zksK3IbFF6QTt+SN+T73HK2OTm5PaWcB/j/52\n1uvwZ+Htk1FJKUMyZntwvzBIursHFF7IJ1edrCkfDhIKHEaux/W2BayiIiJx\nBdiI\r\n=0+Dn\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"7c04335fd2e7ed9fc78c1b22e4d5c84999e10d12","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.6/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"^1.6.17","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.1","apollo-codegen-flow":"0.32.1","apollo-codegen-scala":"0.32.1","apollo-codegen-swift":"0.32.1","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.3.1","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.32.1","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.3.1_1548356476875_0.25840440265685083","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.4.0":{"name":"apollo","version":"2.4.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.4.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f58248eb597cf87efab38c3e5efcce6e55bb305d","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.4.0.tgz","fileCount":67,"integrity":"sha512-4hK1zoDy66gEgMliq8xAdK4w4Hc1Qs6vYhaMUk5dHDZJDI0C/q91g80XSrnf0DpnOALE9C7SlZBU+Kj9LaAqCQ==","signatures":[{"sig":"MEQCIC5JlgFgLRsG9N3chGJAiHxD0Wsc4Nvl8CwkBKeGrylNAiBHVEq3dfeoOz0obV9dmRqhwxfr3SPOYsSXHhU46t5OFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":203536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUkC9CRA9TVsSAnZWagAAk1MP/RUiIeaHZKHXRfMKoxGY\nnEVFEtMmeJkEqIsJgC+Eyq5/fQZLSahoHUBtR3yEp6WLg2nH6NLP4wrWcv4d\n+AN4tOuJo3/CYLw1Y/9oIfVFh9EcBM58Io2wjKttlrkNlzV3VSqU47xVP9mx\nZj7W6tw3U8E5GjTJVtWSQJ1v7ETb46ytdn2nf8kNMvq1Ns0w/TjH0uCVgCCA\neQdOK4AiGzVszXQ5PhTLNZ/Dy0iiViCE9Tra7BKyzk/UYiEFN3zd09TZ1qVR\noZynAHtHfM4jaAUwKkvHz+u4/vN64fKj5Tm+hexQdouj3zQzpxjr77rscvW0\nwIq94mHnSq34STLbVowYTdqsLR4z51uodEivmlZRfy/QvfZ2qz0OuGRyg2du\neV/RrrWKChIb24ByWbGojiuyC8CRmtdN712dtkyH3MyJwMn2ETtmbPJ5oXcA\nZeGCppCdtsG3pUhnxLvVwjthBnROOlOQqpvyCha5qbts7QZKkMwyGK3c9tni\nKqGxKhWykwvWwYY4vVNV/IQlGnVsLVz6SMG/wKNavx+U7PWdN0hKbGijOWv7\nVjpfQXjCDmw9bNQGvsNIQhaQveFyeSsFUs6q1hbqzYQy3aMyMKsrf9gWM5bK\nhA7zPIxVHWT9QWC/V8mR+r/6mONhPhu8+AEpFbxbtO/c0nMusEa8r+5qbsMY\nw4cY\r\n=wz4d\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"a5ae7ada468736856e9a0b7158982a6426909076","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.2","apollo-codegen-flow":"0.32.2","apollo-codegen-scala":"0.32.2","apollo-codegen-swift":"0.32.2","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.4.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.0.2","apollo-codegen-typescript":"0.32.2","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.4.0_1548894397257_0.28751225042912254","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.4.1":{"name":"apollo","version":"2.4.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.4.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"d39f061598239311a7efccc682535382c1830fdf","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.4.1.tgz","fileCount":67,"integrity":"sha512-dxs7p5X9hUpPmtIT7ahqUwnY2NHVMQSjhSBa6LFX9vgHxKKhiGUAPm4bA3tywXXgvSJXLBICFJ5y4zzXiDQFpg==","signatures":[{"sig":"MEUCIQC/56HSkJQbx/8wn9HxF5GJTlUodD9myeaFu9RetjxHNQIgTQT2WHX1tv+5/UpdLljDehoAwrH2++X1+oaWAuStOpg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":203536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUzArCRA9TVsSAnZWagAAkvkQAITaSVURxufN9u0DjRW2\nZ3hks752nFvS4H9TbgNc180V8EffxX1SyweEjfDsvAZgJiz00JrLobi/4FJy\nrSwiKqqd612b1n+8upEpW5eKNqeHrkmu5oXDqTgl1iy5QYtyFOvssn0ylRlY\nsJ3yQRbDhv357HlQF+6TtYiwzVni1VO01nksXsvgvhhMgXcoqEwlSHm8Nc7U\nxtoXRySylL2WW/ybF/57SIo6QqElFv/BHVczBiTOd4hBwC73o/XeI2dEKQwq\n81w+s8Hjs6iqzETD5JPCuKaN2dIrKtPsg7SCrCfOxiGYj3MkbIJLXJpTkn2o\nXPmUFcRhhXPzuZ2noxzSa5Lr1z8xSyAIgpvJXjObzbEFqOnIv4fkKRdJNLDf\n2vEok0u2WXJvH9GY9QklMDIhF1Y60abhIBLklvBoHbfhoXhi5sMovAK5IGK9\nd08jaC0utOz8jWpCYqiXRW5VZ5GikAVfPF4acY4vkFPGXKhgCwNIz0WzDDIY\naJryqyxpc8ZFxsRBt7WjoaIWoT6Vo8M1DUr+gouMQD6LPkISi39KkgDUtIV+\n+CbWx1+5sjfdjrGIQSKNi9v6SJSF92hFbgk7sSVbirHjJqfAgC7T8egCwl3P\nSKb435Dc0jxqvVWam8ItCIvqQfO+zP7YvzBOuzoy4dpo6lif1ygdd1zPP8sD\nHee7\r\n=AfzQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"241b4ddeb8578d9cc296ac161672a97c435c8798","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","rimraf":"^2.6.2","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.2","apollo-codegen-flow":"0.32.2","apollo-codegen-scala":"0.32.2","apollo-codegen-swift":"0.32.2","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.4.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.1","apollo-codegen-typescript":"0.32.2","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.4.1_1548955690314_0.22455147670316178","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.4.2":{"name":"apollo","version":"2.4.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.4.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"a3f00cf4db490df468a3261800fa1cc86868c217","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.4.2.tgz","fileCount":67,"integrity":"sha512-kAHR5g0uRLiP+Pg2ByjSABeMHRR3jpAYmi7qnXMbV22rS0O4rZxA34UxFRqoOU2httj47BYXMCaDDtL8WuncMA==","signatures":[{"sig":"MEUCIQCZb9HFLLXezYoetsSuufCOvn/R4XcNY6mUoxGJDpC5xgIgBHT64TpcgqI3O0GaxGDAipQvdLXOBJWgTlqqAQJIyxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":203593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVOjcCRA9TVsSAnZWagAA4QsP/RJDm4Ju7TINv/azNGuO\nW6/nYAdxXv0bP6rIEX0p9M2d2mosgWSJW9uDkFf/chcl0JspQmjPRus4pnPr\n+KRpQzQElyIJ6LcFUp1cNZUbdD0QlFKTZBqLItSnkgdSfZu9R3O8F5LDCpSO\nVCV+gynr0m+cT2zLx9+QHHXNuN9oX0w9YpZ+vDfIdoxod534JEwRWloytUVR\nfMhORsNnzAPwpMcZjPJci1dXZclFW50ypwcjAMq/e+Dhtku7rtlwDqQhEqMo\n7UGAGXTeFnGB9eM33Z6LNL3j0Cu5dw0JmmFndLkeIpylL0BPHqy/DspAfRza\nCaZsY4KHv+4mJkPZxN9Vsqzh5XnZajajU4c77CQm8M7UNLOefh8CE2KprBNE\nx5L8FYNg3f1mgh/djszuXU9BKrjCsu7NAkYagytM3y25wOs/57Zco8G1kWT6\nlAfe2CfYmIdudith1VhBfa/OHEtJ8/RgCiyKMux4hXFlPhX+kSdUwtTlSx06\ngvPMKAG/xRtAhWSy0S/vaM8Ajn7hiYVuK0E6RsZvJvIZnVKtSM1oiQS+JJaJ\np/ASR5dVJKEdFE/mvc9AUPf1N6WEUFcUV9UOKmv6BFlmVz04db4S/B9K/uNy\naUCTadg8k5UMv799kFJW+bMwRA/3YYit/pL6SaYDgd65gTo3YWn5WNdpIeEB\nNad1\r\n=DReQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"01bbcc5ad738b89af31aeee2be9d8d891d6ad249","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-server-core":"^2.3.4","apollo-codegen-core":"0.32.3","apollo-codegen-flow":"0.32.3","apollo-codegen-scala":"0.32.3","apollo-codegen-swift":"0.32.3","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.4.1","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.3","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.4.2_1549068507854_0.6458420702035623","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.4.3":{"name":"apollo","version":"2.4.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.4.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f58abe518fef2ffb70aebfbef7c21fd0434c597d","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.4.3.tgz","fileCount":67,"integrity":"sha512-Ycy+S2vBlsrLrWVWXhdRrXdxqVlho02LPgiKZravHH7RTabt9gTJ33dhtNnwMhh7UjM4iMxNKTjnzfqV6s2PHQ==","signatures":[{"sig":"MEYCIQD110HSjorc2kXayeeQ0z5yQdDgF0/THp8S5/xl/6liMgIhAM0GoP7uBqifiIbAw1OBc3Dwuz/F6IPTxub95f/nGUjL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":203592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVkeHCRA9TVsSAnZWagAAwooP/0JTZAETanw1oLqh9Q6X\nUuERU52VLI1Kg60HKScrlNU5wQxJ7WdmpErJJXbDzNi6FMKv/xAggp/vhU4W\nVSvx0WvYxQpqz49L183tef/8K7NEoemdNgfUpP4Bu8sfLLabWsM5cvJ57ksN\ntOTrVEno3sH2Ue/VLw96MKhBdteOx28kuDnKwHwn3KSCQAa3KSfPj1mTjx2X\nzwOW0Dtdp8+HxYs+h8gos4bXUnj0K0OMf9Tjf/RbnT11Jn/9CBAxJahzkRby\n/ByS5aq+fhRRGndb8QDgyLZByuaK1y6N3L30hjoEKkDV5pZhqBGjQhzd+yjT\nhkmLVeVgG7485OjLfCQkdCufl0tvkSz8NV3TPSFihZAEtG40FgQxXyhP7maT\nOHjlRwDTONmqL0USv9PxfJFxFy4K7hn4mHV9wrQ/OZLF2qp8xtmSVBadXy6L\nEeOt42LTC1ALqxUzZ5idDFxhJkImFXk2LfaVbdXqyZbJBxadPjfu6QSCIhST\naAV/BoMtajDlL+qMSIn13MbgYXPAwN1mcqlAoARauP2GWt9NyCXHQqpiarne\nDt5ln9Eve11ZDAe9s/xZWHon2rIVGOccMPNIZQ/a5kE3y4W12XfEhwBI4QNa\nlS27ybC4Sni7PIOF7PmJf9tkYi/rzfRdKgkUYG5S720r6ihynFr6h/iPZVgf\n4Suk\r\n=Nt/N\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"115b93b4eee0a162dc597ae734301ac089ea6a06","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.1","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-server-core":"^2.3.4","apollo-codegen-core":"0.32.4","apollo-codegen-flow":"0.32.4","apollo-codegen-scala":"0.32.4","apollo-codegen-swift":"0.32.4","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.4.2","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.4","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.1","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.4.3_1549158278529_0.06226158152760197","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.4.4-alpha.0":{"name":"apollo","version":"2.4.4-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.4.4-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"a4b094ff6f0da1d2a8cd3b5843b976cc982f05e7","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.4.4-alpha.0.tgz","fileCount":59,"integrity":"sha512-BFivxMUzSufFdPbMezy6L2oei5dcppRRfNKnYNkJ4B0en2isM8zgRPHPaotkERnl7YBIOEPyCZLIG7AMVeKbkA==","signatures":[{"sig":"MEQCIGmshF5G0ZvfNCvcwdp8WiCsMOWn3lkEJKIWbxR4xGYkAiAmg8iLKlrnn9szEiLnmJZIfA3BwE2v443QNWkAoehDbg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWe4ECRA9TVsSAnZWagAAV9sP/iuRlfhMH4pvRCVSx7k1\nQ+IWHQiofqyqeey5Dy26doC8FfRIiubR88fdq7z6vT14X8X8maKSOEgzhJdi\nbwBi0UEs2iB2Lz7t/UA4HCQglcPgyinVcF/ic38o1JKchZxcbEhpEZEvvivN\nc5I3Nkyg33Mx0XO5mbKDUV+MQC67560mFDs8DKZnXCibE/UcQ55tGeW33sfG\ngBi4RwMEvgvQJlfWit8zXnuMwya0EIpeQeT5DErOkYow4yXzg0wMOcWk5AXQ\nuYLyEmmr8r3kLEPoN3HDtqrtQmnn519WUa+HFr7dpsWF3KdUCjSJpckkOa1z\nh2pUsOExFum2kmgxCE/A/jGZw5CE0eKjpClWJdrLQifQ+YrVHkKpujYpUM4F\nLs8ts+07oU/tZ3g+k3ATdERQdzvZ/fSVHF2+Uba6fkOb02pALtHEpLIsvW12\nK90G7P5+d44/M0QgFuChBUGqHw+XWdQ34T5+WUFv8Z6op9vN7bkAngfmfv6V\nGTUk0iJj1VTGZFl5B/dKk+gor8WXFqAszTEJQQmXltcArTTg8kI0pTzjU2p/\n+Z00dR/P0dx+rD+OcDPqXOKriwrYEgpTSDUejFo8fC1xxR2t8F+tv4TZwNCL\nFimB6M6+7b6YcBmlrR0tWGC8YkQ1rpRqTINwJmh0fIRL0Iu3wQk/mMrub9QH\nDep0\r\n=8h6N\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"0ec2405dfd93a12a0071e977b797bc8004ed329b","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"^1.0.1","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.2-alpha.0","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@atom/watcher":"^1.3.1-0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-server-core":"^2.3.4","apollo-codegen-core":"0.32.5-alpha.0","apollo-codegen-flow":"0.32.5-alpha.0","apollo-codegen-scala":"0.32.5-alpha.0","apollo-codegen-swift":"0.32.5-alpha.0","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.4.3-alpha.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.5-alpha.0","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.2-alpha.0","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.4.4-alpha.0_1549397507633_0.4427303528213844","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.4.4":{"name":"apollo","version":"2.4.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.4.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"281e1c2b47226e2306fb94f5080599ec9bba044a","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.4.4.tgz","fileCount":59,"integrity":"sha512-6D1M28xpZGtOk38og6237d0ifeNfjMQi5RmTMqmDZLuc2p+XuXn1g7teYOEgzuOhAkl+o10w7lS/EISPITRbWQ==","signatures":[{"sig":"MEYCIQDZhbxSNMmiLCqseAE3Gw90m2plJskrcPIUdGxwqJA1JAIhAPIvUIybEnErgbJtp850ZUmxXP2UfGNxNlDbQcxGoq5H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWiYzCRA9TVsSAnZWagAA8pIP/A8jz0V1E95mLPhFRXqh\nnktFygsnADbA04Og7SqkU7twAKcjIkjjmX3einp24RFTtFPWdBXzjTVREbRZ\n0fbktkX5oSzL9fHZv48dRtXkopYmJuFexw+qUcOYF7NxPinRp7DC0TBH/eQh\n+WnNBJkCszxfyfSsxgpM63giyfH+ycHqIqMfkgk/CNknpsy5X2BFXvjObQom\n2FoYFskc3lUJO0hqXjOObUgXePmgeAo3g9eSYt0Z+fJOEVNRUQNVP5GZDLIV\nFcfCEeezs4Ckd41+jjSh+k5H15vFcW2IWt7v9r9uVkGTuSgAQZ5MohYH9WPm\n2HOcwGag+pVeRbnDyY9ynezLq+D4wy/9lu6f5qKTTTo/YiuOEo7Eiezs5TFy\nsCqWd9PaeSyfiHEyo6w4OHlOROZyfILXUCWxTwuj24MnV8BQcd5sbnOZ86cE\n7KDwXDBg6ychZp3cGc/II+DPe4gXtPKr2oKOSbkbrS1EZJRLOUPgVWn/dM4r\nTn10L2UpN5L4PtgdOY/G7XoHrfBZvd06/FYDD1k8wQWLzw0KD3OR45LQcMLv\nH2p8vWWXFD1xHNgUFUrsQNM5+UWBU2MV7nIvWmCWJzteyzaV0nYsiK3wOxMf\nczWPVk881htVwyK2NqbI56DsH6okrmW1G0h3I6hrLbo1ajRAL41meZQTXH0v\n/yOT\r\n=eHk9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"3ce725e529625e66594a8e35654fa8eb6b886000","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.2","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.5","apollo-codegen-flow":"0.32.5","apollo-codegen-scala":"0.33.0","apollo-codegen-swift":"0.32.5","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.4.3","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.5","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.2","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.4.4_1549411890592_0.9368755365396317","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.5.0":{"name":"apollo","version":"2.5.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.5.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f5a724e996c5d647ac743aea6a11499de23026b8","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.5.0.tgz","fileCount":67,"integrity":"sha512-tjEJeiV/UwWp2fG+gI9jjkmBkogHne0S9IyqHfgcD35Wq/eBzeHQd4wrKyL987r8Aj8Y5cb413gLQiigyYyvdQ==","signatures":[{"sig":"MEUCIQCCEZxL+JkqIj/VSsBoM3FKM1QEqLrZu/yhjMeK26w7SwIgH6XI7g6UzN6l3yZY5Hh5dV2ECh6mr2H7yIJOzbSN5cE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcY2kHCRA9TVsSAnZWagAAwK8P/0heJ0hTCMxkY4eqJb1z\ntClHzR7qIhOQhSy4LdLTLCQTXThXS7M3aFzWwzVjgRZnD+ZkL3mAyxiSqlsI\nZbV7g/YDWGAMra5wVW7ev9vZDj7QQ56wvy8SMLfwPvrFWn4ozyPTe8ZIA70g\nK6wNfctdcCGLIWlq1k2HW9kXpFb8Hv/vItJnQTsNL5qttLNXJNr4I/BR/6eU\nrXaY3d5DYJsKbBRQQN2+xxY/SbOZx+2/rC4+kjZ657c4+4gWUlSJSgCDXttt\nv6IZjLkHZxxim2/8m1KxdUkAuxQMfObm6iD/uaQjXY2pxbNgD3ucmoG4vDJ2\nzYuCfGO+oI4RPQOLXUpF0rerx7RnOGsBXVHgpgkyyfTjtoOygxo4gQhxwssa\nsaYnRIc5RgOZ4cjS3xC6f7c9Cu6kSSUSmRGwUb4D8QfUZjsrBTdL2HxG0IQh\nVsbWtHlG9Cyz40XpiW4I0WaGbEMHCN0H1eqlIbsv08xYnpOFu7+sifHHarVz\nVeIxSFdb8xI4RdfvVcrBEZ4ZFa63kx1cLuRCg834unn2+IhWmF7h00D0sAGa\n09owXU6wrAVdR1wozHTVsQ+XX4zDVIaER7ZlJi2zfnnR8uu5FnXKEJEudAtV\nDmp+eN6s08n+xIGb+J0bYUScxRQbZK9Db/6WFVlclzuutNfcWGcKjs26ajPD\nX6N4\r\n=hbr2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"8d71131c6d23e669eed097327498f62eea6ad58f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.11.1/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.3","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.6","apollo-codegen-flow":"0.32.6","apollo-codegen-scala":"0.33.1","apollo-codegen-swift":"0.32.6","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.5.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.6","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.3","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.5.0_1550018822187_0.07042524706365882","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.5.1":{"name":"apollo","version":"2.5.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.5.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"9d3a014f5db07ff518a11c8c2b101cc252120354","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.5.1.tgz","fileCount":67,"integrity":"sha512-+LFKO+u/t6ZLljU40igVKLg4dnyifryP3STTfOJZCo4dN7QJCSJC7YiorZBmnOHXQuyGMSmw7WOB0WYwe8niOQ==","signatures":[{"sig":"MEUCIQD1lQfVSXxxzB7750nKSfVXsUkUqRicMKLAqfbIAWf93QIgJCbTDF8ZX+r/b3OB6cWASwJZ1JuD6Sf0eaLc+XoSfjk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZtOSCRA9TVsSAnZWagAAEmMP/1wGd/iOSTwKxJpGUE7t\n56AkKWOwJNVzb1xNZtScBrunKG3WE+PVRd6Ft8/sXM4Y5yVC+t3K/2BEj6V+\ns9a5gg6iSuCYHSxByq4O2WOlS8e+RMTRHFueW3xk4cGvLORa9Zv9W7k7Jdkf\nuJuk4RIKw0V1vU3Ymh/x1IhRM3vuEaHaKHFy9Rm9Q9QGVnLuww3LsZuxbB8c\nyxgwNAqnKhiBNu/uytq8yryOeHT7ZYAkETz6L3isuGy4DIwlwCqT9nagTNQP\ntGmkVNlftXvK54SDcbiMw9hfaf6Hb/Cnj7M+5EBOGn0Gf4otygv5gyJPMDvK\nTr19X8Zd+peKwCigtZPdzHWwM+gTXEQzLzEvK3cbbQcQ5P0yrXRxSZmzPss4\ngVKl+PtHwZyJO1E3PlCHisHyYKIlXPeJl8nWZcqO4aRtVTipMn5tRT5ZFp2W\nAGJePK8TJ0Lx+to8PAep3wANzi9r+7Xk2FEgDc9EQsPj2TGdvHj+G9tVp+p0\nd1s/unGonC0Yzq9CMMVqBXarwNqnqQjTZ9ZX2RXQw33wFw5bQGCZtgwep8CC\nOzQYr/zFl8T6dJaSN6mvpl+AMaKqpFN1NOez/jnRUOTGOuDARLpW+l156u/Q\neJYk+9BEXDolab0EjswED6hB/BW6jQ3N83D5TmM7pzqIwzPqRv3pkrOs3OSu\nGTeT\r\n=WFkM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b5cdf815f9d9c9186121b98fffeabd156cb08e9e","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.11.1/node@v8.15.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.15.0","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.3","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.6","apollo-codegen-flow":"0.32.6","apollo-codegen-scala":"0.33.2","apollo-codegen-swift":"0.32.6","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.5.0","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.7","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.3","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.5.1_1550242705148_0.1217676159525296","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.5.2":{"name":"apollo","version":"2.5.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.5.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"1241106a7bf00e5cce259e11837279ac5654e8ee","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.5.2.tgz","fileCount":67,"integrity":"sha512-Cw0w35QpSGEKkA911aC2Qu3Yyk1aGe3YJUZ7gP/ECiunD60/p/kFTPpQdeV+c6g5CEIMCwluaZ0SkwtSoJoHCQ==","signatures":[{"sig":"MEYCIQCvJZuxLfJTNm+1TSpkkvqeYhlJY7Ifh3gY3VjiIWacvwIhAL0UjpjDfBD6X4NEZ3JiTwHf0BcXikHXkUQ09VfQZIUA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdWFgCRA9TVsSAnZWagAA3C0P/2MCkZkFhW3IBICUd8MU\np1MdEOqnuAjwCIg9cVGfP8KPrQI8NYwOt1J/6f6DSROv0eD+M2JbDiflnqmJ\n1NsTPh/k41Cnf5jZwT9gwwL0tn4z8x5QkKp1eHfD1lGHOj2iw3DIKmp58a3Y\n+JUqUhfY+U/hdNsBZ860dUcI/qwWNZKGhjKb6FbQGTtN7kxFP0PejLD9093t\nA2/JFb2CLwAMWgpACcOWDWzfCi4tm60VcbX9RVBnSegn2OAFv5Nldfb7m97d\n8gm+c2kmCcXIX3FWfTx9Pec00HigWxNo7suRZCbbk/omhHhtynwnD0esLYGa\nPBYrYmk3aPbYd2ss8P4tpSdEkK8s4CnFRUHkPE6icAmLP6TsuisxslxqR0L4\nR/PRZ2AsCjOXm4WxQWPjJqmxtRarK4A6vYDh6wKdbTUMyewp6sukXrAhXh50\nMp1FH+0S96rLOPQnzQ+Z5WUKr+wSd/TJ2iB86y1nrAPBJ++fyoeSGYPsLkt/\nBX8oTDGreNxWloVVRCer4cuNgF+ec+GCkQqRBuxz+ukH5Ms0oyR/7dqO8vK+\nqVznSW9vazjJYYgYFPGvcSARKXM5Cyn0tRWJjnDb5Qq8TUrXIak360d9T/n6\nH79+zOJ4qRjWdF4iP9KpsHX5+Juecdnzm/XpxDGow1KtZx+N1aVZBIJnRei/\noadx\r\n=12oK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"e61b48f7ec579a6d9c2468e12a9e66b3fe5be5b0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.3","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.7","apollo-codegen-flow":"0.32.7","apollo-codegen-scala":"0.33.3","apollo-codegen-swift":"0.32.7","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.5.1","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.8","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.3","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.5.2_1551196511602_0.4906141979736951","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.5.3":{"name":"apollo","version":"2.5.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.5.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"d3336ebc841d35b7e1d115506bb318f4e9ae7fd5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.5.3.tgz","fileCount":67,"integrity":"sha512-4t6BMycKLz0Djg21KD/yIgVqmu3dP3nRaOa3GpbbMpnQpppNeYZzlqEIsjN4UAmHIj4EwNNIqw4p9iUA7Cl5VQ==","signatures":[{"sig":"MEYCIQCA3TIRjJ2G4PyUE4tPJybs7i6W9cwzE0bXqedNV77TqgIhAJH/GBSc7vyKxdcoZanHBCKM8i9i+gGZ+c7X7aYbMhlx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdbYSCRA9TVsSAnZWagAA64oP/07BfMwvSvyVDvPGG4nJ\nHiWt0YeF0MCcR4CfUvfqL9B0FG2AkCn2gIMAzgBSvokJL0KxyqZpHlj7AWI9\nb8hdQpWjv9lUVqP7bKRIBVnRWL3FwixeVXj1IuEof5GWLir+7h7wNwdKcy0l\nAixDeQVi1bWyczCK3IsI8MSzAbsSP5K84ihXaGxe2heTWf067YFY9Us+X10f\nP0AX0BpX1QJiZdEY6iQD2lMg0/mu/k5X9b+qUYjwmU3N1tdLMUaHJypb2930\nsILv/ryQOiFbvO3EHirlmA1trb416QhHLWk8Xi7CPuOoxzDyteW6ENPdNk+B\nKvyWPVmnShflL5BNKSMTy9sW8K6CPa4IpbDsTVPeVbo8z9XAGjS3gKZxkuTr\nI0D7M1Svyv5Ad3Kv1CeWJmtLEP8o57KRZVpC0DqfimUaNKzFt2AOOGB1xKA9\nu8jcegU28JoYWW0bfJqMIgXC0bAmOpagWo+MDsbM2PzbWtbUh8dwZdsezrgl\nMReelB3fsB6DI9JAz+rxoH7OcyUoOL59RqgG1qSvIPUkTq2tQOQuUeCFfeML\naAxV7ScT+Cm8/ME2QVTnE55vjGZmRcT5fg1j43+i1k1bJT52v2pbeJf6U10q\naYWUVGpScfOr/f/glZRFBZoUu/C6jwOXCgJhNPbcPif66H09lijI4KGPOHNq\nHZrf\r\n=Fv85\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"0cb866adecaa2b3075ef6fa6cbaa9181a2324567","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"^1.0.1","gaze":"^1.1.3","glob":"^7.1.2","chalk":"^2.4.1","listr":"^0.14.1","cli-ux":"^4.3.0","env-ci":"^3.0.0","lodash":"^4.17.10","graphql":"^14.0.2","git-parse":"^1.0.3","apollo-env":"0.3.3","vscode-uri":"^1.0.6","graphql-tag":"^2.9.2","git-rev-sync":"^1.12.0","@oclif/config":"1.12.0","@oclif/command":"^1.4.21","heroku-cli-util":"^8.0.9","@oclif/plugin-help":"^1.2.11","apollo-codegen-core":"0.32.8","apollo-codegen-flow":"0.32.8","apollo-codegen-scala":"0.33.4","apollo-codegen-swift":"0.32.8","@oclif/plugin-plugins":"^1.7.2","apollo-language-server":"1.5.2","@oclif/plugin-not-found":"^1.0.9","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.9","@oclif/plugin-autocomplete":"^0.1.0","@apollographql/apollo-tools":"0.3.3","@oclif/plugin-warn-if-update-available":"^1.3.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.5.3_1551218193813_0.20871100945842258","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.6.0":{"name":"apollo","version":"2.6.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.6.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"bb28f19d3fd065dd50e913de971cf67f24ee668d","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.6.0.tgz","fileCount":67,"integrity":"sha512-CDNerDArfC98Z/Zdse0TzVGqfBoGMmAOfuqTINapWAL/NeImMVb5FLsCqERy4Gz5Qk92nJJhfGuQ2RegRgVO4A==","signatures":[{"sig":"MEYCIQCTV6lMAgd2t3oGnWcoB6nuXsRRL0Vu2p9yzym7WiQ+EQIhAPiPSR0rZL/kaZyxct9ditN6QMjupTZJjkSW4SI2/zLs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfuB+CRA9TVsSAnZWagAA1WAP/jQEv2+Ss2QrCk3ln3pL\netiqPvFUHXdwgrkrALhWrZE8Tfdp+XqcRAh8iVJcJde309XPGjTvGg50657u\nWHeXOcKz/pCVPlV/wnredt+F1kFTjFGGhILiqbFb4c/W9OHd2j426dOcuYxh\nK0d3kdVJiBlsgBVyh8PqgWwpnQq4j1zalijObm+zVxnB64rahtqOxXHY35tC\nixOnNMuprOPGWd85biP4M8UYgYJvV74N4J9Y2OWIbfv0dAluS7LYNXebdBEb\ndKtd0XAlbCBkB8W+TN//wJoh6r5UzUTnGNjn17JUvrHMfXuhh96+BtQhSQEz\nnZVAcEYkmBWuCme7W/emjtRpE8CG/YHuuUIHSLcGELcwRkknEyEPeWVFjrnd\nolVhX1tBzX+yfFLpgKdf+w3h80Og4CSqQpMhasRp5+zvC7UHf7SGOt4Lzq2r\nArwGHaauMyUTRsVkuusLpUm1tlu4QsfRAwjvBaalybkMB75neWgmn8nCS5eB\nZoktFPb5+oztdL0je/9xgfj5F4iBoWZU8cYzc2q5AeHu4t8J/C+PrtxTevsB\n3CPbMvYqVnWfSwR4sEejPmcAJ/5g+ANVdbD1YNwdWYSl5jLLxwjFuW4YWJC2\nlNOiwhltzC89Ol22KIdWVCzcWgGSY9zsQojdy+3Gayt/IzsbyBPvOOeBMKtV\nrSUP\r\n=mhSh\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"2e586e845f8e3f8be0d4b40bbaff61355d36b5b7","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.0/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.3.4","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.0","@oclif/errors":"1.2.2","@oclif/command":"1.5.10","heroku-cli-util":"8.0.11","@oclif/plugin-help":"1.2.11","apollo-codegen-core":"0.32.9","apollo-codegen-flow":"0.32.9","apollo-codegen-scala":"0.33.5","apollo-codegen-swift":"0.32.9","@oclif/plugin-plugins":"1.7.7","apollo-language-server":"1.5.3","@oclif/plugin-not-found":"1.2.2","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.10","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.4","@oclif/plugin-warn-if-update-available":"1.5.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.6.0_1551818877166_0.24981739609588094","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.6.1":{"name":"apollo","version":"2.6.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.6.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"f0d4acd30bc6ccad3d983ee937019a2da4ff5186","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.6.1.tgz","fileCount":67,"integrity":"sha512-rJT7CVhrnvwZLmfDPshq7BsXzWmqifv0QQ8kSb9MjXWZvRRJ5mkiViS3eiw7gYcQaSEoGh+yppwkqW/0VFMt3Q==","signatures":[{"sig":"MEUCIAw49uZwQpnRkxOhlCcOA9SXM7w9POr5e/nrH2ErZYLCAiEA127dvQ4GA4LHWmUItB3uNxEw80o0uN86+99jNCtE9AI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciRFxCRA9TVsSAnZWagAAxhkP/3rJXNWXK5gHBDpq+0a+\nGJcLEsGrersyRS5YIDa/TUXrKOKSrvalXoed0nivGG7hXtzNl0OxvHxm0QRh\nrMkVxO+mp8RqX0Nzv7xhSWXwRVwF+6lr7PZ4tIAOGTzdVyftWYxhOOaFOC+D\nzeYGy5Hd8cg3zd5p3CFYbXVETjzuELtyQxIPPY7j0as1y964k8gTBndrBPG5\ncMt6AJlCrphFbdFFWxiULpM8cdUbgM60qPerx0oTRCXwVoRab0G0ir9yZJBT\ncNT1LWPJxB8/5YxfMhaRkO+PSmMg6TPcOsu4hYEWMTIMuzDam2v81g3UH01H\nm+oAcSbc/b+95LHpvXqvpMq3UUVsZXJZLY1TWG33QBqtsZ5dFPOYLSR6Z2rA\nlnH6SC4Ep0w4cqjbvC7erXqtwtqR9mah+2s7lHtcsQS6+omNRlwvo70rA2Lz\nzK/+EVQRONOFKN9i38DNpVmWLoATf0QhJ7+VjwP51vs91jFSLd/5vx9Xxf+v\neDMZH/aGU0XHbfVrBg3yyQeg4t0ksEqYuQpTQr34x1GsW/k7N99uY4B2Dtfi\ni7xb8LgoqhQlsmRp9RQ+ewCob7LHQa9v3jWWvAvQjGkKkqyz6gSLzAxRIYd9\nB6e5vV4z/oo6tAGhDzMR0Dux5QK0OYIun9LzqSX02EM3Kmlqk8GGYcUk19aN\nu/QX\r\n=o1Kx\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"0f79f7e9605ec43571bb7a96d77f1575b5468bbe","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.0","@oclif/errors":"1.2.2","@oclif/command":"1.5.11","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.32.10","apollo-codegen-flow":"0.32.10","apollo-codegen-scala":"0.33.6","apollo-codegen-swift":"0.32.10","@oclif/plugin-plugins":"1.7.7","apollo-language-server":"1.5.4","@oclif/plugin-not-found":"1.2.2","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.11","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.6.1_1552486769110_0.5064729368728487","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"3.0.0-alpha.0":{"name":"apollo","version":"3.0.0-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@3.0.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"408925ff80f8e62814cf11d3a1e888e7564f5e59","tarball":"https://registry.npmjs.org/apollo/-/apollo-3.0.0-alpha.0.tgz","fileCount":71,"integrity":"sha512-LXPKJLEF7+6iXOU2GbcTtsCPLYuRv6nqNKH3PiJ81hTdWtmeJDR1T8dfSHszH9hcKJYSXdlEYeHlVLpIz3uXjQ==","signatures":[{"sig":"MEUCIQCm6Cv0dHVK5HIPcTVAsLb4nawNDaQvFWjdznRas40PbwIgYGJONBZyj4+BCv+RlkmRjCcgFDCmutdu54zJlFt9ghA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciScdCRA9TVsSAnZWagAA7iQP/ibH/F8AzfwZ6uqO6jMP\noNcb3Yo5GHtkgdh9WUJ5wt7nSKMbo8zXxx4GHIGSWkwYx730z8c/ULIsw2Nr\nXNCUirmxDUYihWVR7Z4II0/OlcphjK0xBH6vve2KI9+SyB21wok5ylzEctWE\n9/7zVS/chBzj5FlVe0JS+KPZs3jsNSXadqP8YWz+IGvitzNSvSK5k4KACqpV\nz9oFfpJC4g/1Ez8X+gZL0UUIfJRQ0uzZrGzIsltQwnM50o+wjch/2G2KvnMM\niMfsPcnG5NwcsDNJcO5MsMJltdJ3FLi7jPDEbbBlw5t1X7itOANi9EHsX7kt\n0ndXSDocJ1K69jIRXOdADnyxffNzqnn0+CjN3weMbLJb2SSoexiVm+GGIYaW\nNmPmoU6pvv+mf88wx2YgSU+t2FKnd8tqKOqSp1H+jdHzqEJrPHoAYko34Qni\nrNB9Gd9zD3o4NPu+zu6aIoGwjXGA6VhOrPtkOxxIt/otK92riad2mEvHIArZ\nIu+6oi2E6V9lM+4JYv3hxr7PEz4mTqQPwDCmmMlnp9ZrGGWgRiRNqwRDKxui\nZSmY0xpWUtI7+Ks2qyc9/SGkl9qCEBtvGO1pKc/5ihLCnB0DI/q3yFSg1RLy\nyS+6NwLQh3gb/7EJJz54dEuqvAAZA02OYlOG4kfpQ571NIyIkPjqdb8H2pC+\nlCeu\r\n=I6Bv\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/3.0.0-alpha.0 darwin-x64 node-v8.15.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"2a53ca12064b7b5a90a5fc2452c068857548804c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.15.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.0","@oclif/errors":"1.2.2","@oclif/command":"1.5.11","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.32.10","apollo-codegen-flow":"0.32.10","apollo-codegen-scala":"0.33.6","apollo-codegen-swift":"0.32.10","@oclif/plugin-plugins":"1.7.7","apollo-language-server":"1.5.4","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.32.11","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_3.0.0-alpha.0_1552492317173_0.2859783976482855","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"3.0.0-alpha.1":{"name":"apollo","version":"3.0.0-alpha.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@3.0.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"bc39cf2b614fd0e2f1797a2649582550e4d17911","tarball":"https://registry.npmjs.org/apollo/-/apollo-3.0.0-alpha.1.tgz","fileCount":71,"integrity":"sha512-D5XShvpbtpV+lYqE4OpJ+aBVS6HxmqUWmdIK0AbbIfi4of6vNxecuUsQoryZFTOz7k0tbhlP/4Fgj40aGqGuPg==","signatures":[{"sig":"MEUCIQDhkC1GYCCjC3tMO2Y7vVWWnZbiPoDnSAdusfRIlpbpBgIgEsPA1ugAThz1M1TLzKW25D0hKsu52wPxGB/P6auSMKI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciURICRA9TVsSAnZWagAAKIEP/20fafgWgGnWWfbE28ky\nycXxSk3gv0+Z92ZrfDXYEPvwFpiLWj8og2p2735COlaVdd5ab5FxHZZJHEM6\nTgl/C37Olxk6A58qew20aLEcBY8Cs9HmU3+tTO1j+kK5MvbMkUElL9BkeVe1\nNDtN3oMSvgVSanAtgGm0wAwGsAtq/qPzAa/03A61DNEa/b6iWwRdjovOauHI\nHUwh0lnWjLyVI3/5gI9QufhY7OKxDaQjdSAtwszPk1JBt9jQggT1EdffZydg\nlg4REjUvgEMKZIZ61atuIe5+ZX8sIY2AbSL/VmvG8VXG3JLymmC+WMA8Z16/\nG1b9THZm5T61LyN2Y0ftc883WsrE6mqd+4ThoyVgMlqKoEeB51CZ++xoD0Lx\nYKqiuz54JFzqxXBNzhgjKovyQ9VCmi2SVuy5qXdw+UKmNuV+wpp70bjG9QPm\neKoFBB1nOWDQGH12oPsZsEMqoYtx9T9MpeHTQF4MMfgC2l7MJg3726wn8DJj\nBEWSLg7mhEtmif6QUa3FEVbVZB3yaihlC0WV4uuJG2X4RjwxGh+MwUd4NcsE\n66aaHJKeaCZdlBEhZh5kyD4/GAS1uDVZgtSCJj12dw7BGWfREP9U4bch0Exa\nL0Tpl0YzHjB3dYt72lU2G4v3RAqaot024N3pBQ8HMtRvht1aGN+vjCvtIRZ0\nYJNB\r\n=31MS\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/3.0.0-alpha.1 darwin-x64 node-v10.10.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"99fa61d488bfebdc59a6c1d61b9b6c1228bc83ca","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.0","@oclif/errors":"1.2.2","@oclif/command":"1.5.11","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.32.10","apollo-codegen-flow":"0.32.10","apollo-codegen-scala":"0.33.6","apollo-codegen-swift":"0.32.10","@oclif/plugin-plugins":"1.7.7","apollo-language-server":"1.5.4","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.32.11","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_3.0.0-alpha.1_1552499784048_0.9615609198293082","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"3.0.0-alpha.2":{"name":"apollo","version":"3.0.0-alpha.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@3.0.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"079e628683bf976b9ade1a32cbaecd49946ca1a6","tarball":"https://registry.npmjs.org/apollo/-/apollo-3.0.0-alpha.2.tgz","fileCount":71,"integrity":"sha512-lgdE1dLL5z0MThyc11RpvBPaBz6uTQwuB6Y3WwqCNXvhaKVSI500YLajvD6Pgw+pvjRuxsspR1x+6BY3PYOurA==","signatures":[{"sig":"MEUCICflPpp6d7EbekeFDPf0ovnIcgLsFhEqn/7R5SbDOY/dAiEAmkjqH0XXaJd1F8fD02OvjXziPTVBj25n4vczwNJ2QD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci/E9CRA9TVsSAnZWagAAJS4P/1+rcNydr6qfz0vc3SYx\nLry3SfT/Isk2QOnF0lt7ODlUMl7r6GyAoo3ju8L83U2/gG7+rJHpW79RZvH7\nVIZBltF2vNAlD52so2sbkt6k8eqjRAMU4Lhru6S+BDzhBZ+IUJzOAbe3BPsI\nqbZGwuEIrJp6G3WZ/11U5BFq522Bf8xn+lSEzOG4tto8aAKfvRtOQNEEz7Ov\nQ9i9x84Ct8/k1us+v8ACv6AQigKs5QwFx2BoVeGWZDquEp1G1VvVBzWIjpRH\n/Xh+b4nHPkAk3l+r7T/npLfsHNB4MPuR5iDX22ulJosDPkGS13iI0UqV0D3C\nKJe3MxRASt3sSsBiKON43qtjPIwduMdxKXhxgbt9jNjshva2z21mRnPMVkyv\nVJroqaoyX3rnAsltMi0PT122iWPZO+6moCodcRs07fBdbs9Zw/eci3cn1d0z\ncyAQdqvDnDwfuGiU1XbDaohn7C0h1SOg7OAnaRLTsj0WcfsTvKpZGdzX+yWk\nP/EaVpLM9b6NjQ03VPZ7UmdzkmPTCYwVVTZ/q/1bnYTHsE2YzQ3llOUhHzKF\nk2QU4XvS+xZQNXSW6wFcMLOV4BUl++PsP2Zw28cW01l1hM+RV0X9wigWLKY6\nVgGeuLv58qmqp3hliF63z7xqXj7ySWgPLUO0siQzR7JZNAgaMY3Heogygqdj\ngEI/\r\n=27OC\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/3.0.0-alpha.2 darwin-x64 node-v8.15.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.7/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"31eb64c1b0bc7a524f614062e7c9a5c51f688772","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.15.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.0","@oclif/errors":"1.2.2","@oclif/command":"1.5.11","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.32.11-alpha.0","apollo-codegen-flow":"0.32.11-alpha.0","apollo-codegen-scala":"0.33.7-alpha.0","apollo-codegen-swift":"0.32.11-alpha.0","@oclif/plugin-plugins":"1.7.7","apollo-language-server":"1.5.5-alpha.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.32.12-alpha.0","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_3.0.0-alpha.2_1552675132877_0.45719317772941714","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.6.2":{"name":"apollo","version":"2.6.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.6.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"091e41768b786fbeefeb2ed683191800dc367913","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.6.2.tgz","fileCount":67,"integrity":"sha512-X2UBTvVvtnbqjlQo8mick091Kwj5BI70rhnDjT9QxljI9b7Zs4ISc2nNt1RWeMo3wjf4zXunMsHu+SO4qktyxg==","signatures":[{"sig":"MEUCIDJGTTvnVsXZbVQCQN7XjXvDh2MzrZPaZ3EsPYXkfe4gAiEA6ci3RRt19Lhqo3CX5LUdlc04OGYAciGauueVgXEvubI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjBbjCRA9TVsSAnZWagAAx7UP/RuxOiOgctLWo41zLGTm\nV5Z2HinPErmKOfjXADkZ4uyCnzhOz6s6XF9BUg7gWAdFS3zb5TZY9I6lIGQP\n0TIMm7yv9hFqgwjtJ+LzzFvIl10U9yGaPt/ePLDqfuzH+1BtDh0AxpLZIa1z\nnRlGuCZRnTllKub0PehmtxzPaZozHlJizIgeeHN63LIabwUwC2/ob/IQlYQd\naQfovmkDpH1fMn2ASkdLTDbxVhVTZmgAZhEwytCRNH/p16iyFVelOlF6BJBX\ncN7M+jnamfQS74p86HZNyWcvJVPNZBHR4S2ddQKxtBFYk5CJuE3xQQ/JkiI6\n0nAbwK/OvjU17R4oZ8ePs0IKnGUGKZPFjKufDLb8QEepSrogvxujoyTOQQN1\nJFpSm2tVmn+ILY4wy7l4Rh+mT+TGLrN9GOXvLnp48bE8Y7elOATDiXSi3DJw\n6tsOcJtE/e5nOtaFd5cpeWNRGJSl4cExpLvoQS1HHung03PE01WtO0JuUZTq\n9MNAQ4tcfCt9y+OX25A7Z1QG32Dn7IQulwxW1DssnKRtsIT7eIkI+uDqLxEs\n9sWL1XpNkhyt1jYf9URgLx8obzbaIRnEhENBqmd7X4IcbsWX42yz1zyl0Jof\nEgOFp/oPZMejlq9aeZg/2XSwVobBADTmD1LJjdeF0IeYR+F1aJUst1GsCvPC\nd+wT\r\n=Ge8m\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"cc36a4f92257138e5022b2282e3e9c9e730a5df3","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.14.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.14.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.0","@oclif/errors":"1.2.2","@oclif/command":"1.5.11","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.32.10","apollo-codegen-flow":"0.32.10","apollo-codegen-scala":"0.33.6","apollo-codegen-swift":"0.32.10","@oclif/plugin-plugins":"1.7.7","apollo-language-server":"1.5.4","@oclif/plugin-not-found":"1.2.2","apollo-engine-reporting":"0.2.2","apollo-codegen-typescript":"0.32.11","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.6.2_1552684770698_0.32868629845160147","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.7.0":{"name":"apollo","version":"2.7.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.7.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"bbef7644b8c46006670455f0f6127312831609f5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.7.0.tgz","fileCount":71,"integrity":"sha512-SNFUMoHe/HKK/rcjRphSKQJTdXznJX+9bAcsqkr0LEUTbH2cnoUsMvTqDjlHpFxo8m/WL1LsWnuWz67Dq522uA==","signatures":[{"sig":"MEUCIDYvb2N82GLepUVCe64T2UiQEAbSHND8sdSOEJaFP+CgAiEA91I1aSB9kS3vCsOM+wAY9kgWrkCycgj60FF3UoVRNY0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":165428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJco5HZCRA9TVsSAnZWagAACfsP/1eFPiBK5aP4BMiXV2VQ\nrE3QXMjayiBH6ltHvho6CDOz5R57N5tRiC+xfsXsb6lNjqTAmT3+9cqoyboe\nAlG8pelLgcQLeXvk/YQOlbgiAUXZDwheHAlvyyAuzsUHm2AJ8kYvX3Hg9aSj\nebc6MGcf9AH7tYTQAnTI5KwOgLtJcjmdTb1KwL7h8StKZFykrSmeLICtRG2x\nfbsbO5de/04+3q65XwFNlWGhoP0zqTVA5QqDDsbN/bWUyoRWi4BPtKdmm4F2\nHSyFFOfuLBGqZh445bXO6OkxkYcmqz4i8sazWMJWIQ6wl2uPgI3Z43MiLmRe\n9ikQdOliEljNs+oomj/fCS772HCFWCnM9W6CK4c07FIW2yrIrmOm4nqLrRVM\nWF2tFFZ12t61f+h3JVBpN5gEYRFYBTP8c3QCxsjFZ12SgncqnUYjqeNp60Jx\nq2Y/R5KREA4c1Dj0Hy5OyeJ8Lg+5V0w9SXT2UCHCXR4RswCWK9OBbUINMHaA\nH+LzJ9WG/YPrSAwEX5uRadiTEJ/vxM0o8/wdt5sFlcUs0AdzJwyE+TVkftMI\nmvE72RhaLBAkXcEie9/wpzOUdC4DvCc+ztSzWNeu7Zk5JRRIEySVXJLKpwte\nm5fZopcmvqnPTWzBhydfMV276yBroWdq/1gglDbnjbj0Q7xfm0PgoFFL2Zqk\n/Qd4\r\n=g9+F\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"9b97155ca9c4f46c6685df79707999aebcb3d516","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.15.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.0","apollo-codegen-flow":"0.33.0","apollo-codegen-scala":"0.34.0","apollo-codegen-swift":"0.33.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.0","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.7.0_1554223576741_0.7998000729527452","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.7.1-alpha.0":{"name":"apollo","version":"2.7.1-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.7.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"5faadc663d812c6513fb91f5c33f78cc5b5b997d","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.7.1-alpha.0.tgz","fileCount":71,"integrity":"sha512-KD1NSMooYRev6HNVfnvs7u31QLtbyfprdNv3GSh7p40Wj2DqSCH045gqq3vThH1m9a5+aX80gFYfpmNae9BfvA==","signatures":[{"sig":"MEUCIEOMiKSSMKd09jjrz6VJ/mOBAOp1f8tMX+9T+dvXEsDhAiEAiDRq8L3Fna+4mQ0jIqZ1SUrb+xJeKvrBb7skSEtYkgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":165534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpN6KCRA9TVsSAnZWagAAodIQAI/7XcxBDZGt82Bmb7c4\nhQIaO5oTMBQnrrs3AIqtyEcq8c5LbJmkqgPIFsegK34bXEqc3AyEM8MQ6qVH\nUJ6reqXkqZeHHyqb5Fh8BvN1K/8hjxXvfGvlzoN7uREzGXLa4GXafTIDctiF\nt5j48WZht58fJWyW2bnxBCagjVY7UYOD4HbJ+ZDERUoLW0XbJai7ibu0qtAj\nQoZ7EN+BdZK4wBHjcOt6/nEqltP3yXcf5GWc+YTNQfwnZWAHEiolCFSsKXjG\nMnoeiUxeNVIpfav0+ihKWiStF1UJrKmdfm9fZCX3Kd4/2X6c2TefJhH/c5pG\nYWEfaTDrcMZsf8e7rINrCWSRr1DCT2lDmQwWseDief6cT0V4DOaol1O7wXVA\n/YMXH9eGOH8exPmPMnMqR/4qlvVAFMl2DMH14JL8XiUbVKhEeGGxOr3RrPb6\nA3IXe8HUnxOytueIBgJkdRj5sguIhhlHUK9te32iH/CTZKRE2y+KomFo4ju8\nJGe0TCyG2Qn1mxbATGn7aRt72GAk3QxtjAsKcOf2NH9VyxzsV6rR4a9wweLx\neW2/L+ynchrSchjT3ZrydMHi9X4ICDUvbih8XywKUe16cdIn+u7WCOWX+JeI\nTDwUBdc1z2249qqN6F5+1FVQuR2sB9xgCXr0gcqWsnaYsOO62PCFYDdheMhT\n6cIl\r\n=Jab6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"239ef8bf96d59b84abf2894888b76060afc6c8a8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"^0.4.1-alpha.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"^0.2.1-alpha.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"^0.33.1-alpha.0","apollo-codegen-flow":"^0.33.1-alpha.0","apollo-codegen-scala":"^0.34.1-alpha.0","apollo-codegen-swift":"^0.33.1-alpha.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.6.1-alpha.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"^0.33.1-alpha.0","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"^0.3.6-alpha.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.7.1-alpha.0_1554308745796_0.14966419036868728","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.0":{"name":"apollo","version":"2.8.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"aa029415a6e3ddfdc5811c8f47b1291aaf014d74","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.0.tgz","fileCount":71,"integrity":"sha512-P1QYbCWI/wRxi5kuNcmDD2YPeNBYTCChSWLyOigt0suInqm1XQroa3fXHdwXuONxOyxmkyqfvwFZ6o8WQvOU9Q==","signatures":[{"sig":"MEYCIQD3/9Sqw8oggWQ3jcr/2QYOJceWJd9XdKwdGsp3JAw6kAIhAL7ujqKGdYbID5VcNUiSG1iNL5xlWlFAohpe8fjqGAYW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":174409,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpUC/CRA9TVsSAnZWagAAAO8P/RpQtJS33nnGmSqd4gee\nqQVRXyTSSp1e440LYfpHYmDR1uM/sxxb4FdisCnxyRH5rjxaoR1EAlH9h5GB\nj4jjdnJddUW3n+DUbDL4uvEfvkrnKg2YsaDQgKzeUmIu21XXxglgidBuhC9d\nu16hQ5JC9W3BZyYHb6QX6K3rwLuzbqRM2lP7BAuDCcIDnwzV43zf0uJwJNmm\n+hAo1mRg1vOzK34wyr9e6m3Q6F0YL5/zLnfXKaTxkRzjJiKXh/D6GyajC9q3\nHhRsSlCvsu3voMkVcDYUYA7W8j8/50WUFNeNdTCIhVYKQvIPOl9ysGUFPZos\nYnR6CF06ED7MMI6T0Fjho0mKdzEKSGvwW0NJO/7IeEjEfUzo2tZP4YP69zE/\nneVPdoMw4gGITEQ8zbVfoW4M8CLVP5kHMZnWSITrra3HBwU0/CIhluL5ArdC\nsGseHkMvnQVel+cqAKjnkj7Attc3DNdKotEHE85lSD6jxrdPkXbpquyt8Xh1\nxdjozY0ZO4uA+UgTkQSQVfH4O/o6H8g+pyDtx9lgQxnrzZOvroAorlQErq7x\nJEQ3D4fb4azQfz2aCiNum1tspiIiUEPfs06GiAlCY+3WQPk+6chNCJGn8KrZ\nhg4de0uCvqhV4vXsypAm3wQr/zX7QlsDon1fQj5GWPPFyIfBXFmNfggk3bJx\n9Ole\r\n=+seN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"af3d110302b960538d61db817398bb8ada241088","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.1","apollo-codegen-flow":"0.33.1","apollo-codegen-scala":"0.34.1","apollo-codegen-swift":"0.33.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.1","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.0_1554333886864_0.021672815139808677","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.1":{"name":"apollo","version":"2.8.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"d28c7aa650b43feb212458f9509294d71f5c2256","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.1.tgz","fileCount":71,"integrity":"sha512-8zU8Dr4fk39oMmdGXGwSFDtWF6LaIGXL6saqL5bNAhbzgPOon9IYtTE09o4qSlqULMtcm2TOdMZ+ffLH+ft6Iw==","signatures":[{"sig":"MEUCIEEHUJJfsQnwXUG4VblQ/4NDDXE71c2J0nIbeuaTlKuPAiEA9DyRW6AbvO5RwRj1CQs1j2V88F86+XBks/zIH2exNLQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":174401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpV2kCRA9TVsSAnZWagAA29QP/336tW5NgKz/zuNOjPR/\nRBh6CPkwXe9SvGgi7yos60woOMUWV+w7b1/hzBlqTpwYz9teS4VaA+r0Bm6J\n+tm7b/PxcTbw4WOd+wxtmDchH/hQdFL03Y6K1wJh3nittNKEHqy3RQzA/vak\ncog2S4rVXacdqJH1vHd0yTkkQEiZbw0N8NquuSHI5iw0WCaxgLLxTETxAwsg\nPERRBR4vTfobFKuHc1paQQ7uOBhJcHL01dm6+itcYFPhw5lhE1vgM/I4kR6o\ngi5CwYOH3UjeV9y0gWI2NT19BGmj+hW5ICLkLv/IaShosZtPqIVLPehsrS6X\nBLino0HF5Yipz5DfNzoVxn/fxaYBZznXSqTmebSf6kpgxkxm2MGFkSBjZ3mS\nGOHqgy0y0zLDPaxcngPgZbcqxleos3b9AhbqEQmswYuJXB8S16leyohNzBBD\nFFAl2lblmitA8vbtk4Dl7+kRyeJhFjXICPqg/Edm6R7u59oSIjxoXO0temZq\nnpPNM4kv6Phjj/7AXzjAj2l94LVznsWG0MYSHPHDLq3HM64v+lYdImTo+670\nYG8BIsjtDR4+2QftTLJjWUAuP86EkavpwpfMUI1v+WXP94VkyYnfUX3KR2yx\n8QPcMF0v0hwT0SwHC9g+Kff9dxGbZBuceXcakliEQFnzUrSBpvWVMz2ZZIgI\nlhbW\r\n=SvF6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"5ac366c7b9df013e9b47d9da6220d7f634c85dd8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.14.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.14.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.2","apollo-codegen-flow":"0.33.2","apollo-codegen-scala":"0.34.2","apollo-codegen-swift":"0.33.2","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.2","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.2","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.1_1554341283623_0.6730009967755615","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.2":{"name":"apollo","version":"2.8.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"c76b89b7b447a58a0b9ff6dfa0d662aa0fb50066","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.2.tgz","fileCount":71,"integrity":"sha512-1+hMgV1BU5F+K5QocP1gopKm7y3E0P3i0RS33rhnBeImblUsj6tNPmcIAq2UO9mxGVyirn3jJ0KyLxaR+8OcAg==","signatures":[{"sig":"MEQCIFdK/sZVbQDJ2AUn/2ndy2UcZPG6QCCqn66gwZMjrZ1xAiA2VLJHi+dioRgBazLORzriY5RHo7iQGEIxlfA7jx/onw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":174856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq5ClCRA9TVsSAnZWagAAJVcP/14rnaxqqOIF+d6I+V7b\nVkHq0TZQKjJVJOfoQvpv9oPkQv4zILjLHveTM08SF28LVK5sw4s/uhxr7wFH\nqvq/NnM6HgslUv6xfxSKTPBUp1kYIX0/xrspj8BbEg/4yiN3bpNPrN2Yenvu\nwA/13LOGN9Vo4Sqp60QOwrN0FcnFO/MXXMsIEY8X1hxZ1PJNtql10yk/ciUa\nhxSlMQGy5MhTRsmEXkyIk3w3jdaR2tUS3GKp+KRQZeild3pJIz7t6QT1BEoo\nYhajSqsi+Ka/ng8CA4GY6ffNvZAZrV9hDIMLFcRl71mz35uR17j16IYNgjwS\nOrqvmQ5eCsXo85u6ttVxlMmWfmoqn01mtia+wYxc2pJUkTDhDgOdVDVmrvJ3\nnIoKm3klCRb58JQabaBmWPyNzLfDg1PFYM9vEODuF52GRAnJO4Q7pfhzOMTO\ntvqR5S+5wQFiAMHVx/06LOIpj+YmFoxkjf99GPif8LpeKajfD2NnD0SiSwpo\niFIKWfq9d8OZC3Tb/TVQUDpWqwpfILZZ4ETQE02aFjbyZ0FT+D4cX++xI3tR\nCupMmkTvF0oqub1WIIi6RkSqb7pAmWp/eejkpcJWqmowkKbEjUCLjFGR6zP3\nZTVTu8QHBI+jnemU7L3SbLPQa89ow9bElKRwlSJY7Wbnzu80ce6yym9Hry4T\n0e2H\r\n=u4b/\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"485a0922e2501619d4ed992aba64c8b83d3f4a1e","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.3","apollo-codegen-flow":"0.33.3","apollo-codegen-scala":"0.34.3","apollo-codegen-swift":"0.33.3","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.3","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.2_1554747556041_0.48906373097671074","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.3":{"name":"apollo","version":"2.8.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"ebb12e059cc3727185a8db8a926590e95982a469","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.3.tgz","fileCount":71,"integrity":"sha512-qYC2T7qtfGhwd+4KaYzUEC9u8Ag9vLY+SKDf0B0wHedVCz3qDXaw3mzu4p8VJCOUUmRPt0eGfbRYw/zsrxQGCw==","signatures":[{"sig":"MEYCIQD1b6TNK12MejX8slYlh23BpRSpJ7huZKJG2M1fYsc+cgIhAMQQcQfn9IRftsAa/LA+Ade/Bij40JJdL6xojUvpjlo0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrorpCRA9TVsSAnZWagAAG8IP/16Dri4Nhh7/oKmK17vc\nTVLCxnLEIiWFmQLVhvF6pcuxKnuWijXk+jnv8geX6bCz89me7LYf7cHThG0/\n5mgezbXMrRl6xx7Ut/LBdwTYknEus+WK04EaOGgbCVsqujQjAuUx/mZv9Fa8\nIRiFZw55SEIuL/XzfIpYfWCMeUuwmGwBZSy2Qw/3aXfg2xF0TIM7OzEm44J0\nIM41Oz+X1KEe7PwhsE7ybOn4Q17ljhpB6tbBhi1Ixl19JZ4bEZS3vtEy0qFr\nHMoH1ONwcJKMNPcZJUSMEW5NT0Xp4etiJB3rnGRdnkwyavlDRmK4JGg8+jsR\niAXJUhaSCqu/6Gj0FIpGzN7w5ZakhvXcw+FBCYjRyfAzCiwBRNzqds16Ne9d\n1CLyFrW9yq82LgV9lDLAM9Mas0TDYP7Olqdr4DkCR/4cVkKPWeebZOZ+AqSF\n1sdz4xDf3kInDnA2tWTXyP+2LOxf1L9Jy46g3hb+16esLnk3hFFPYK8uMyv4\nSBUZ3a1wBVVYAehphPu1ZMjUoKd/tflauAY6fdAlggA9nPFP9xKahPiLtcBG\nJUjc5EdWva7bBHmwOJiHCBG9IalopeLCHya7iDzfrPCZ/+SmF/JQWtQmwVIr\n3lhZhjZjT1ERk2oDWs8Dn4xxrrlMZrGfIYyryUUodnvvRBv8bHmuTl2FOJZh\nlfRR\r\n=aDNz\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"dcea5c2cb8175322e67109429ac312e1995faf23","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.14.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.14.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.3","apollo-codegen-flow":"0.33.3","apollo-codegen-scala":"0.34.3","apollo-codegen-swift":"0.33.3","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.3","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.3_1554942696155_0.16829665959465978","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.4-alpha.0":{"name":"apollo","version":"2.8.4-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.4-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"81463b153cb65ea28798c066fd54ac222c83ccde","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.4-alpha.0.tgz","fileCount":71,"integrity":"sha512-c2KSIbbiCvooVLinZBbVxp32WidfR8SFCkhpFMrOj+GkOv0Ysl0BcAZMbfRc1CNj9y7I/5bO+ekslMCrGgfXKA==","signatures":[{"sig":"MEQCIC2wZOJ8PhCM9PreHYLFSzY725mfRxVVczzv9q2k9bSlAiBBH8dKbtAXkpDBItfz1eizRYTxRti7DMeSeo08NgKkqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsjRdCRA9TVsSAnZWagAA1ksP/2K9ZBjrJykIVWgKvgFc\npQlr1oGCl9+Z8KPnfWIvZtbNr1i2Bz+RmquzM05EbYW0znhgHy9E/CJL9QB5\njD/6hBUbp1EVN3KLijkm5mzBWXeU+cVkldKGUR8ZsecsyCEGOH9qR819KWo5\nJA8s6tXwxLW2BIb+F6fS5HZ+Bgyu5pJqeWGAeYngHAqRrKmNuj96oKgh68bP\n3Oj0tB5tFStlplZqvxaubxiv4SJ9ikP5058ebA+4wa1i3fq9zQr9i/U7H7fE\ngTz/WZspYJEoDwwk0X3q4ULoGBJpO9Jghev/oS5qFtIWxdkedLmpf/uIk1NR\nn8m9C69dE7KaTb3WhAzGxEUebV3s+kG+Bd5Qvm8dGyjJIeV0TUmMcTRbQNwc\nSLOMJwbZLV579Xa62glv6UKEGGwMV7Cj8aUSUtMtpn2g1ffxZRADNi9jWo3K\nNhntJYhLNBQZ34e4908xOzrQkAIenqOKTVtADAsoPavyRZAsaqGmh32ogxAJ\n02TZTApTntgFKUMVWO57cbXrG6CZp53SAPI3/2gjyNt6WsckxZ4UQWi0EBWH\nhygv9dVSO/Du6pOHM5KPgPqe0ZyFcD1IElbky9CU+MRYYsquMndS+56R6Rmo\nQXTzlpaq46/9C+cwV18O7BBCX2rlkrrxBe8UE3/ftToHQq1LLPf4SeGHtZCs\n7zwX\r\n=ptQS\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.8.4-alpha.0 darwin-x64 node-v10.10.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"f9c06de0ff5a523830758298d00d589b9cbb8eb3","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.10.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.10.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.4.1-alpha.1","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.1-alpha.1","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.4-alpha.0","apollo-codegen-flow":"0.33.4-alpha.0","apollo-codegen-scala":"0.34.4-alpha.0","apollo-codegen-swift":"0.33.4-alpha.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.4-alpha.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.4-alpha.0","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6-alpha.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.4-alpha.0_1555182684677_0.21742009914702476","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.4-alpha.2":{"name":"apollo","version":"2.8.4-alpha.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.4-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"8e0491c40ac4aba82e56e1bcd9c07652715e824e","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.4-alpha.2.tgz","fileCount":71,"integrity":"sha512-R4m5QrZl3E8fYWDiyj2uNEhDjfBr20o8KWUAw2vVd49ozKFeHvWJimP5YcCP/Kq3jvPY+3S2aPkPrDc7w+SC5g==","signatures":[{"sig":"MEUCIQD2EJwc5W7XaLINcUT0CFwdlX5u8mJUpRvuSNISqtXYywIgY8RAZhZlMiDwAiIok98FKcHeOZ4vMYFi4OIeME79f/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":184141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcssHLCRA9TVsSAnZWagAAMFgP/3UaAEVTVgsZV6XbrU2F\n9LDU5qbzcP5WLW2IShc2zVMHm7nTv7ZaFw+48ogmGeewHL4BJF9Vblnaqdvt\ncZWYzPBWksWsvv+WTbDSW76xjQcxWvibnUOXRB2Tsd+FcxeXyl0QS3jsPFwL\nG214FjYJ7gsMIRVbvcVFMKwureDISqfqp1lk6f0yP39skbN7NZ/eKFTr6aaK\nNPxE3BBl/2BnREC/QTRUJ6I062wApwWgQzjaYJyxeBzjhhmuAaRf51JFQ3Rk\nqZYovgzGo8gTL2vS1mRo6YbmvkkTC+S7GC5xLJ0OuSX9v1Fgf6aodGQJZ8wh\nUuC+EEJd5IiXOJFOzocxTzZTM+tHTK32R53ZTrEJrrnAMxJZwEsQv+0L3rTQ\nrwWUbsVi+6JIt1eu3Wb028saBLFXrOKR5bG4FbHja4TV5k4RDT/gEG1DziMx\nPesUlMThAN2WD9EJzABTd5BcNBcIQvq9D3dpb1l3DmCDsqHk3vnjWzrkNfVM\n3g+uOvuS97VMt61oPaod/Zs/CLOqTLNAfqEd2U9yEOo4ZfWmvI46ZdBFazCx\noZR+BbGEHZcIvIqzgQsT58cJssoxI7xEYBzTHyAS+Wgy97SrK3x6p5/VVJIf\nCLwcNKKp49CGkls0XY6PC6S7ods59Fl/ELqwYoK38m1eaQ+w8fbg4oCUjDij\n79Al\r\n=iY9k\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.8.4-alpha.2 linux-x64 node-v11.2.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"e295144715470eaeba797d88b23ce7307232d2f6","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.2.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.2.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.4.1-alpha.1","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.1-alpha.1","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.4-alpha.2","apollo-codegen-flow":"0.33.4-alpha.2","apollo-codegen-scala":"0.34.4-alpha.2","apollo-codegen-swift":"0.33.4-alpha.2","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.4-alpha.2","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.4-alpha.2","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6-alpha.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.4-alpha.2_1555218891154_0.6273884899051898","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.4-alpha.3":{"name":"apollo","version":"2.8.4-alpha.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.4-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"975a03a230c96190e21d871e526068104b560500","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.4-alpha.3.tgz","fileCount":71,"integrity":"sha512-KdVv2XQdEv075lkYBekGxuwv6tHAGjPmkFsGsvOEZ01pvirjk/D1MOJrIOlftIPadhE5UZZgwJuwZW4dBq9QwQ==","signatures":[{"sig":"MEUCIE3sUkTCITQcSngv8MtacsZrGxd0vvORUCigS5uoP/5dAiEAjup7Pkq97+6UXjb0HNx9C5Z4kOb9btgJu01aV3kjip4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":186359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcs+TBCRA9TVsSAnZWagAAY8wQAIjwCI6hOMlNdgBy2pAq\n2gACmkOG50GYdmPy00oBz4hxDDIDJKGT4ZpT3uWJh3e6bjJNgTdCANnTpYdM\nTZ5Tm82FtLQgnE1y10HMDZLcJaiD821YnVtyh3DnoybLrbh1S7W4pkUfLX1u\n4RYylRQiWJl0GJdANucFo4+eurBeYSzbow9YMVEy2iX26tPEXDDha4DWD0t/\n906C7nu6izKzfFq/97bRdAXR4jxVveIwu3cNNG3NawkUxV40CrXwFprqyA7d\n6TpivyOfm5x97gu78ul9bozpPc6IW+zx0Mz508aYKWN6JLEkHbZhwQ4jkfu1\nM6Jt5ROKtzO1h4Cffz049eYkSNTWsTymp38N8Mlt344gx6np6/0MwtA0GBp4\nKZxxbGQlQ95WFLTg46aqprqmOlbLZGVZEURpa3IH9RPqw8Wn3f096r5MD2UG\nW5Ndj3AlKtiYaCO5Z0ChN/UPyaLTxj6Xruda7Bu7Ky54pKp1ydTOKZOAD1az\nO0pHXi89LgoouLAt4QmvTDSI58kortUzYfQ72NGYHY4xuzcmQ0E2xVukzFbT\nM4b4fTI3zplg6DCqyDVOHKAKb48CvNsE7fFaRmTl3ZUvE8ue0DvPuLrDgLsV\nwDavUoRldKvtjxB3n2qsvZaueeMSWkTdVRDUNOeeyAhQHHuffh3b0iSoiDRh\n2Fyl\r\n=igo2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.8.4-alpha.3 linux-x64 node-v11.2.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"b242ee8a653b7c320a487f1225d8ce95ec62e5af","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.2.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.2.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.4.1-alpha.1","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.1-alpha.1","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.4-alpha.3","apollo-codegen-flow":"0.33.4-alpha.3","apollo-codegen-scala":"0.34.4-alpha.3","apollo-codegen-swift":"0.33.4-alpha.3","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.4-alpha.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.4-alpha.3","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6-alpha.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.4-alpha.3_1555293376732_0.1147403107241125","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.4-alpha.4":{"name":"apollo","version":"2.8.4-alpha.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.4-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"559e296431e2349abaafe0f14777e62747ca7121","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.4-alpha.4.tgz","fileCount":75,"integrity":"sha512-4zh+KLP1vDBaXQGT4835Szwp+Fj6zRjyRTVo40yfBWsq8ENGE3pGJnpLKU6MKZUzUImh0SbuUBtofnzxeXV8jg==","signatures":[{"sig":"MEYCIQCMPlgJLQ525qg3Dz4BH3tEl85NMeHQ1GpMtIer7qsdigIhAPBm1Q3BccnOB8dpJMlDUhkuMms7xkClUApUmfdB+cWj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":200179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctSskCRA9TVsSAnZWagAAnIsP/079rKebZIPvAw5+3AGs\n0nUT6HwvSL4QLNZZK+Syt5zPUjA/Zl1VVADHbqWoc4dre1UuT2zYQmpvzYS+\nszUOCnxSZx0KKNqXLt64+jEtvg+RWpkqIjyLc2rckv7qUBWDd+eGeArHTSwD\n3awHPKQUSQKCE3KgYJkjWxFOWG1MqpUg0j5Q/QZQ0YjNHqV20ca7dyF6RmO4\n2d/k5WAeAbowPGzQsmPIkyyxdLm+5+FWK7WpfPd5ANxYsP3LzSoLoY2rsXw6\nwpY0Ea4GbUBuLZdnSknB1DUEOOVrlO0DN4Kdpi4zzsY+hhmMVxlmcBBc36Ie\nsjbVlDjjYFRhrb4gvRsXKPM/nejEYlGiXyrjfGHYa7vkSzN+4FAztKn4965d\nnNkPnQqRXE1jabu331Wdezrld3i9dN/e5LGt+aJM3fcF52LAH2xsaUFfuiHA\nNq1wkZeumqWsyPZwL33jiW6ADoIwbnjFIRXqKYNfi5znJuMggvcSRcjIhLJv\nooH79VeGKYkAJiF8Pbh4yMOlkZyMSGT3Kob/zmM8uS0iBCeZUVTkyy/FoK3V\nO+0XgtbmvLeVfHCyXtHPe1gRphJp/ZUx/+K+K0RN8MIVyVrJN4EzMyGGTGjs\nqdNrJq5FspK6JlzXxSA7Kjg5MIJi2VhxSnbLz4j6nCxwwosps1LMlGCPPM66\nYhkj\r\n=iehc\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.8.4-alpha.4 darwin-x64 node-v8.11.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n  --header=header            Additional headers to send to server for introspectionQuery\n  --key=key                  The API key for the Apollo Engine service\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"86287b10445cd2b627da6ff426d741bd6959211b","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.4.1-alpha.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.1-alpha.1","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.4-alpha.4","apollo-codegen-flow":"0.33.4-alpha.4","apollo-codegen-scala":"0.34.4-alpha.4","apollo-codegen-swift":"0.33.4-alpha.4","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.4-alpha.4","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.4-alpha.4","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6-alpha.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.4-alpha.4_1555376931185_0.33610353503156354","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.8.4-alpha.5":{"name":"apollo","version":"2.8.4-alpha.5","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.8.4-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"857adff619c08922bb754dd91aabb861b691faba","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.8.4-alpha.5.tgz","fileCount":75,"integrity":"sha512-/AVvYEcw5MvpeRrSyzLXTrBfv+wxU3OR/HxzKdLmVe6XgQqufwqNGhthFUVWVgU5ouptNPD0gnFU5mvfU8YNWA==","signatures":[{"sig":"MEUCIHTjrXyKy30C/Orp7bkDPLI6tk+vLpgo/l4JHC9IgoEXAiEAjUl5EgWS9kf6XeMql6M4j7JFJdDYNqf6Ufu8mjJTHUw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":198066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctWbPCRA9TVsSAnZWagAAs/oQAJ8Ko5pd0ZFcH8X9nKQW\nDL9fC5vYrqW+KVJJPPWbgwBSdRMUb8sT0IqddbwcLsjwSwri25t5k3azMjz3\neBTr0UU/nUJJhx3J60/+YX9gCgViIAxwgnMcGHVtbdbFbgz6jBdF7tO9bMKI\nLpNeqBfCe1oUVXspanPmAYDiBed2awF+rt2piEislYdSLa+bA86d72LH7Ksp\nXpLCxA6Jggyfmyj7wZN2/VJt+KPV9hngvp38ooHp6QE39ctvq+RMPDq6oAdE\nXGplaE9NfC76eGrKu1g8UfO3MkkcT5aj4DYaN2o69vS2Yr6xbkmnzr0ZVYI6\nb0yx7ZGPQRtdsYUQn4t+QiYHSGHnu9hjguBRe65NEf69WAEkn0cpaT86YgGg\nO7LppoLDMZKTTD64dd2ub9N1fcP8gK5wNpZajf7fBhUAWzgRr/Zyregdx8zn\nwwqh4QbAPv70AeW+N4FHxhBWVIrp2knoFnrbJotDDwzvfN3UWAIuGi2myOLZ\ng2fxecWuH/LR75cjmEpuQV7ChxXSut7TXireZd2dKe06WvAAW9qeFSXzkNbd\nBuHP2Z94GNk/GZJQKLNpQOoI7NRNhNNY9b2LP8MZ9ScT4tnPRhbijiB1Aq3Q\ncruhAWHbQygwLas1OUh+Z8DCKXh6pGySR4Ghfoq7cgMjl100GeSHhqh9r/mO\njUFW\r\n=K4JM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.8.4-alpha.5 linux-x64 node-v11.2.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional headers to send to server for introspectionQuery\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional headers to send to server for introspectionQuery\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional headers to send to server for\n                                                                 introspectionQuery\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n  --header=header            Additional headers to send to server for introspectionQuery\n  --key=key                  The API key for the Apollo Engine service\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n  --header=header          Additional headers to send to server for introspectionQuery\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n  --header=header                    Additional headers to send to server for introspectionQuery\n  --key=key                          The API key for the Apollo Engine service\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"f90511abaf4201ac5992d107d0628bd6ae73af3f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.2.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.2.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.4.1-alpha.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.12","apollo-graphql":"0.2.1-alpha.1","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.4-alpha.5","apollo-codegen-flow":"0.33.4-alpha.5","apollo-codegen-scala":"0.34.4-alpha.5","apollo-codegen-swift":"0.33.4-alpha.5","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.6.4-alpha.5","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.4-alpha.5","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6-alpha.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.8.4-alpha.5_1555392207035_0.42440633279863604","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.9.0":{"name":"apollo","version":"2.9.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.9.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"cacd747bde51417b33fbdeffeb5ae3bd228da9cb","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.9.0.tgz","fileCount":71,"integrity":"sha512-6x5g8b0wyvbZX6EPRvZA5tju2JclhuELTohqbY4Z8o3taCJlG1E1o5ar9pSC6xcG9F6LBIq14LEKwUflnEPO4Q==","signatures":[{"sig":"MEYCIQC8gG46KSnekBBag+aALeU6C7a2J/cdDeFzJKdIOEe1MgIhAL+lhds+Nlm6UljuBpBh22j52fmy/Lsllbf5Dwr42cNN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwhyMCRA9TVsSAnZWagAAEkMP/080gLqBSmoCjEis3nlJ\nrf0eMDjjY9gH9KkiiOyO5NkH2vaDhOycXvgUULFDIdZQwav5AZY4zyuAYtgZ\nkNrG1gPr63zEcbRrmQtZAlDe5Y4qagCdq51+awG4w/MP9S4LaHI55gebGIAJ\nfK3wtUcaAA+8VKViM4N5h2t72RKsnDy2w9MXQ6Ny9XFjBLfzKFPu8cr0jLBg\ngK6g+MnU6HjMeczTzunWbxFPIgi8vnc9llQjyAPMUBkZDVOvQ2paze9ccOne\n/xIhvB/ViJmAl3BITiCkqDIyfxQ+x4tpkBK6UawyLW70aWQiWsv+VegwrTJQ\nXcVa/D6Vy9uNkTn2oLbLV+MapPdW6F9U9jhcqErxOWMpBYuXKv1BCiNe2mcz\nNjmwmSZNHikQJiEJmiKqCTzA6E86zSZsQwP8huhERF+OV/dfK4uSwSUxpQiI\nYbRBgKMI2Pu32lCQkW6uSSgDC4b6WEok/nTzitPQLT2H74JwQXxP8WgYMLdo\n/cTchvriwKZne6ppWmdFBs/O6f4NgJm7GwCp3JR4kcFAl1QtJyPs4f0VJTkE\nJU1zuKvzS86qUMny3Ss/qmpDFD0hne9m73t6aCwWteUVpbMh/ys3W+G0h1rG\nmdOa1vDC0w5hzxAQlFn60A9f98GA169QGem4ImPDxg5VfAC+PRYHDaFNtMR8\nudbi\r\n=WiuN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"e5da7dcfbbc1298ea9ee91007dac7d1db9330278","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.3/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.4","apollo-codegen-flow":"0.33.4","apollo-codegen-scala":"0.34.4","apollo-codegen-swift":"0.33.4","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.7.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.4","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.9.0_1556225163053_0.8003975947673412","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.10.0":{"name":"apollo","version":"2.10.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.10.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"1c74cedb415c8c441aa1bea60e7829529e755bc5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.10.0.tgz","fileCount":75,"integrity":"sha512-xj6lB36fm4WHcyZMVVFsxI1NH5YnFuUZsj6v5M3nvTvlTj0W8otTaTayB6kNXA1xKRRzzsI6K+lsPdeAOvRofg==","signatures":[{"sig":"MEYCIQD4A/tHO4Vfq6rl9tRY7F1S9fcBy2pjYQpOCZS4i4ttHwIhALEQqyocP/oSHJduxf812AlFJ9hTpbwSTDamrpOxJwo5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":187447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0Y3qCRA9TVsSAnZWagAAKUcQAJpik5YBoKMQ+B/OanJG\njmfjwjMD4SEMTt+YCu2jiREmLF42jQ8UZNkc8iGIxzkvHYx4V1GETYSqeKd8\nlJM3WyeuxHWBwBzdTlusOIo2b85gdljIPegJ3cA6ZOAb+MFV+at7Y+a2UPyE\nRX8Q+uyJ4HRSmvcNeN5AxjEB8q18bijJ62N26x1gw8rPoJREom/KExYKCCLv\nVpmUCod2Q1kdCutOs9Pu2q3Fusf0rF7PGDUc/S6H7u0p9dVji06BgN77x4o/\nlxAsPsT1BeWmBpBiSnLHBN8G6279qFFVcxwbg4XCOybjo6dsDUR9qqx9E63s\nzUvpwFZzL6dByM62+kIXUVifcCk3PjN5F6yU2kF8GiYjW2nw/Mgr0cpCQVfN\n5gvdzm8Yd6NvJuaENk9S4ZAt8DWs2VIIvbT9sg8sFOHpOc/GauPIOgufHhwr\nANF9wwrifKIdVIWCt8u/qwdsP/AyVwsk21DjT6CObkr8u0jRehzUQvpf0xnN\nTIxDRo3kevwFoa+tK9IpVw5HufFXzL4deEN+uVkm7ZZkrRE7Bb8OkpHQNa6f\nLi1nKA2XDED07OKdRKnIypH8bpiB7su6PH8XZgE9yjDojyU3wJgP7SGoj0kb\nLMGcLipTFatrdlex9ss6DATTv2hLtkMlec9Rs+lG0ewRO8+6D1Wv+y9ACptt\n4eu6\r\n=OeMS\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f8d6565d4cfe853fdfdcac51943651906647e30f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.5","apollo-codegen-flow":"0.33.5","apollo-codegen-scala":"0.34.5","apollo-codegen-swift":"0.33.5","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.7.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.5","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.10.0_1557237225730_0.8807410116066368","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.10.1":{"name":"apollo","version":"2.10.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.10.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"cdf9bb3af089ad20d9fc83eec23c133d37f1e364","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.10.1.tgz","fileCount":75,"integrity":"sha512-E5BRf9iC/p1FqeyTM1R0jRJJ8j03+raSi7DApus14+1abCnyBMvtiidOjXAkBVtYWpcfyB9gKMJwgC4fDeewhw==","signatures":[{"sig":"MEYCIQDH69IcNOmSo7RGuezhBsrErYQCY723yDcr0hLTbx3RygIhALwz172RdF3TCEhQfJssIlgZyf+J/8xNBV5ooJweU4G1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":188850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0uYfCRA9TVsSAnZWagAAQy0P/1zlawwfyqi1/itOKg88\ny56VPmVksiFwoJUZLKegn13+AsS8pPEr4B8PRffPGjFxm7vHWmkaUIwWsS3C\nzRWbdRgVrbFgHPzpWxLxseuEs11d0OjA5jNm1JgmiK52DBDkVXBaqvpdzyFu\nSBRHQCDU/7gESQjF6aMGk807X1QoG2IwRjdfDfS99YB1g706AOGvyn4BFjXJ\nW8bTUVUAGTKQcWCGszj7vL3wstZTRX1qmoygQtbp8u/zOr2/FR0oKA70jICs\nFtlV6Meya7ZbDEXcz4KgV2HftjprysfhPrCpIEzZgktLx+IFlSO5W/PJHOTs\nSdrEp2m5vyqoAgd+JHVpVpGeWyv4v9KloFgBhGeO89qeXI5kJP/3dStbcnjR\noXK7uyAjhvqL8WgVB6Bg/cks6U/+T07u7JaWZTUirrz58vNp/fm+HGpuyQi4\nau/q9Nq8khIfDpVaa1zlu4FvvB2ZAtYbBpeAtuQSPRzxiUMgdTn3LQpF6FEn\ns0/Ffqeb9HPbSSCAVFW5EparSYIA+ORQGyFUzUSIp1JxVTObOOrr8SzgYkzD\nPNce7NvipbQAjq43fF6/UZRrSiFiuDmMA8SPZVPDHL6re/JdygO5zyYY5TwA\nGEEmhkUSsNF8j0PaxaUhuTgpm2y+A8Bo+JwUE1pMSyT87POEYEvkyVyeHYXX\nk2I8\r\n=nhrY\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"23fd8d5d1d547d29e8b1e6f41d431805109c64a0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.6","apollo-codegen-flow":"0.33.6","apollo-codegen-scala":"0.34.6","apollo-codegen-swift":"0.33.6","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.7.2","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.6","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.10.1_1557325342732_0.6905408723191029","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.10.2":{"name":"apollo","version":"2.10.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.10.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"68ec69dcfd2e67ca14348d9586fa180177df1428","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.10.2.tgz","fileCount":75,"integrity":"sha512-m/Wmp1Pj8pyYG+XDda0b4XbihgF9kHogoKSWpiXsN5i95lybcVPrcRAkTppnxFHiVLRBZizMkcCosgNfaaLy+w==","signatures":[{"sig":"MEQCIHV7mIuQ0IwBGl7OVPwPwdz9+HWq/0G5V9BUKd7sCM97AiBsixNRIVAyK/rj/Xb7id+v0427RtsNb+aBE0WMrPmVBw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":188850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0uomCRA9TVsSAnZWagAAkgYP/2Sld8f+Je8ivMs4caGU\nq+nBb5QocQzZylMOkPtjlzqAuBw0z03mwMqjt47MKExy95DfGpKsOa+MB8kk\nuYqvZ5XpsUrB+lXOJtzLC3vFqFifLXSgYjCmn/yBxqYJoR+8nixBnmevJxH+\nkk+meNTKi1QhPDOelWnZiGGCADsv9RXHIY4yrXWRLqsLSuS8xPpzFebHOVqj\nSGk/zBb7K9V+cvSX3MP0RF9UeTvfS6PpBj3fIsYhvy2Zr18GCuFsIqF1ZKLG\nXQ5ctTP8Tp50PRWVChLPm4sJ9jRNNfdvnwbd/9SwlZ4me519Z8oDs8C6CzFo\ndO71QwDN9/LZGzUBVsrdBrs7FHUsZSeNvE6V2GVR5FGYFS3DV00n6xHo/xJb\nYa2RVIUANlBQhuX3pL6xJRqXqgEqFwuKB+I8y2mJaS2TJM2zH6DetE8+vBjk\nGvmv6j/0E0vuF8wDoYuJrAmHgV+oOeXDKq1z8eMtgjUXz8CONIl6RxVxVdw7\nzj89Jtnw6Ya8ugrLax2hyA5TzDDeL+/KS71g8xBRuANtWJNbjooEhs+e2kGW\n4DQ94naoKKZ6u0lOa4SP+4K/JSIlMKwQFmrzqODQWyKy7R369VXw6mKsadGt\nMPwtPflrcouNbg5pPEiUhsJOOzXxuPhf8jrvT1+nVeKJ48C6YnqzGj4qWBrI\n+Tw+\r\n=86Nf\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"03acde7af492acdc49c83e2e1d9a05a470a76e6f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.6","apollo-codegen-flow":"0.33.6","apollo-codegen-scala":"0.34.6","apollo-codegen-swift":"0.33.6","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.7.2","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.6","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.10.2_1557326373172_0.8323346311781061","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.10.3":{"name":"apollo","version":"2.10.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.10.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"6d758111b1315503fe930ed24afe34bb482784b5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.10.3.tgz","fileCount":75,"integrity":"sha512-2xiQm7BtTybobllFo6LStgO9CNOWYESH0wiWx38XF5TiIbpyN8tHuSVOn9kDcHUSAxF0dYF9vlkCqfzROxRRIQ==","signatures":[{"sig":"MEUCIQD4bccjCvJWIPowycOv+cCgoZzWUtl+/DJR5YtNchJjkgIgeg3J0BIFePYEw84u9U0XrwcrjV45Kut4gYSvH/q6dSg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":189992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc02X+CRA9TVsSAnZWagAAUMYP+wQH2oLPh0/+cW26xdpQ\n8HVnQ8LZ3vaMrAZkd/tzYqpEmOKj/Z5LCwKzMO4Sn3qqaK7fBdEw75iHFNSd\nZ5zHXNZuMDPLKlABmDNf/C0zsa6mLRed66Vkq861tPRuYVXRE7EYH4FYbjCb\nqpoRWsTGCuGHtIkuPknqbWvOgOZHTzooYVN2YowONAEN7W86Weoa7fVFSiB1\n1tCTnCIfCrFPTwJ3Yj6QS9W4075Fj4E6dHny6Bjl1BLQ0ajajXUbuEVnOfYA\nYcbjxImSFfBC0AIcVDmfru5fS8CNn1nx6P6suYC2xECoQYydXouZ98RvVeXS\ngcI1wn2TOidwpWsyhXq+cBy2rML0kgg4rzCYc+HqZqb+bboza2892YxwDQAy\n9MvzMS4cZXbSBHTXtOeuAPVqme3RK+O5i7GRcDCam2SWNx9GNpYBdFulxPeH\nBhzKIP+iHodDLsGDBTtgg0n/zge9IDV/OHpdHHC4bqw/xm8rpniJxU/r4Zgr\nUEn1d2izjTzfrGmQCTFju+1pt4WJS48L0aziGTflYHEDzSQHUtAKVYfYvpUd\nCSxbMSIHrWkbHtVLML3ApNyBgQaDkjXaPZbWIpRTsoblnhRSq+Vi9XCeU9K2\nZiy6urTz2nllL77sRNT3weCRXX/MTwycAFfZbmqlLsYd0S9joVUXomGvl2dz\n02Vt\r\n=H9BO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f612768712a4eb2f3a1247f6054cc9a03ad6fd4a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.0.2","git-parse":"1.0.3","apollo-env":"0.4.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.2.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.7","apollo-codegen-flow":"0.33.7","apollo-codegen-scala":"0.34.7","apollo-codegen-swift":"0.33.7","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.7.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.7","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.10.3_1557358077212_0.9457115164216716","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.10.4-register.0":{"name":"apollo","version":"2.10.4-register.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.10.4-register.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"957bfdf20788921deb8d6998bcc32a62022f62d0","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.10.4-register.0.tgz","fileCount":79,"integrity":"sha512-qTg7300Rfn3W7V6HhkfrLfkiB7AxUHw4HLtsIyfTc5VJ2TyVCyBHMlwELANOoY56X8va5MOXBAIFHkNGXYnWXA==","signatures":[{"sig":"MEQCIE/neXCQ83Jmr/FXkcfNyyjF/VHpO0LvxJYF8moMzoSWAiAw02fj378nw1CbZ78jtwwt1o/j0nQYrMpQm7mwK7SKaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":216797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1H48CRA9TVsSAnZWagAARqwP/A9rdDQ4gtuhCjSssJii\n3l9/bp9yHyT8VTzO7Tjds2kf3MVEeyklQEN3+LqXzSSmWxYmYUd0aBmEYuIb\nx3DVkH76KLU2MliQEAE/jbRG+7SDhxTipntTrwOZCRPycvxKRk8Cwpn1W5FY\nrOZG0DT/JSxgi+7kKHS65+GafiEcEeDvF8w05yzmtUHa1jgLUb44lI2gGvMd\n0D1XstPdWwtKjRC7SJRl4595jAASZxOaq5UO4MzgyqBRXTx3zXUgNgCaknm1\nnYyRlFhq9/9Jc0pNDtA8Y7nHADAjEIGdXKn62BYn4AhET+0t9doq33BX3vVk\nKCJiPNbeXi7jwUYsArUGt2i1gvkr6ynIYe1MsSXht03Sey/m0PSvFeWM0cNW\nHob4bEBL5p3U1+JWd1DZEmdzs7WRhQmO4LYpelbK5rj5LzMQF5G6a/rZajvl\neKuUBd/xq70ut5GR40d1TBVcVz6bZ5EvHF8l6v82msH84s6ITswNEbbttQqb\ncn/W0aqeWFa+aFMmq/ufM5pRh+9xIjUADBzoIwIaCvuuawTzt8SkOE5/Dr3N\nWKnciVkycVW8Gsg5e4jKnI94DEM8r/gEFTOFvfLhI+Qy30OOh459EtgYIPWv\nHQ969Jit4+fQdan4YzKnA/HylIjb+s224w4/9Q7g6z2XQfIvaDZLfCCIyeFg\np01N\r\n=rQQt\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.10.4-register.0 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"82c315afba1ff6ea62426009b7b5c7ba98456d13","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.4.1-register.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.2.1-register.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.8-register.0","apollo-codegen-flow":"0.33.8-register.0","apollo-codegen-scala":"0.34.8-register.0","apollo-codegen-swift":"0.33.8-register.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.7.4-register.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.8-register.0","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6-register.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.10.4-register.0_1557429819345_0.1715224416309591","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.10.4-register.1":{"name":"apollo","version":"2.10.4-register.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.10.4-register.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"83d13560432007dce901230f0bdd37ea65cd493e","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.10.4-register.1.tgz","fileCount":79,"integrity":"sha512-ytn4DWF4KCnIKXMr7SKP3Jnq8Zf8J4/bF0k84mBvSYFi/HVDqWNxo5t2LbzXFChirF1xwUmjRv0A7vHHfb3xCQ==","signatures":[{"sig":"MEUCIQDZ0IWFatWtAWXN1xJaJMEPPCRyCe2DjZ2KefnAoHrsiwIgTs2g6TaLKysQ8AUwgP6Sli0Iky/7LnJyZ81Fdzgh2bQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":212646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1Iq0CRA9TVsSAnZWagAABFgP+gKyA0c5FbHHwVt7DJHQ\nojwEXM0krEDVwBi8CRyx0Mq+55TSCnXdc626txQCK1L70iCJkTbMDC51lDM0\nghy81brrInNRV2IYuVM+QEH7ViBFJltg2tCCab4UCWBptDWgjRT7psc/FvNs\nxiEshRcnBosQMtBknX21PFJQkZR6TsVdR6TINP7cIbOqWNoJNNk218jD4FU/\nPMSq5H5kfW3/1Xo2Kxyjk2UqcctPZrpyLYpvnyxxYCSAKUEokx693mPpwIbe\n1NRTGTdeg/tsdxGw4Q/097Ia4jcUSuZMmFDDugosw9SMwir71CQEImH3DV0E\nzEzuQzYwbbwP0a8RWBkuX+oW2MX2QjxK5YBc2RkoXtTk4q/kvJNuhn4pIM5n\ngzaukq7MdYNi4ctlp0XHHCSYDJezGy7IEyF6t1qqDA4Ses07P5Oz25jKHIUQ\n7oPv1tjbuV7O0GifbjtLRmfbZSRx0FYdGEjsdkXXTj5RuVeYhetuRUThkI3e\n4Kbeix4VlWsiU8M0kfYYQMn02G4r4PicbefpztSwP/2LZd+Wy/ttV4JVj5lt\nFkt+MHrRi5yUxiiKRAOEzgRsaq+To5I30PW0xVNnO6iAM0Qw6QeoxWb94CO3\nLcW6kDThwTwINwBg8udVOVbPlKAF/RZJpa6QhxHjox8OFjQg4j4+wQ3bHNQ2\nxlAC\r\n=ERHC\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.10.4-register.1 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use Flow read only types for generated types [flow only]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"71cae692656a9899268c0012f21d196602b0d8c8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.4.1-register.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.2.1-register.1","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.8-register.1","apollo-codegen-flow":"0.33.8-register.1","apollo-codegen-scala":"0.34.8-register.1","apollo-codegen-swift":"0.33.8-register.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.7.4-register.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.8-register.1","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6-register.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.10.4-register.1_1557433011627_0.6890346145550617","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.11.0":{"name":"apollo","version":"2.11.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.11.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"da9561c3b3d46d0c87325979444911bffa8077ba","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.11.0.tgz","fileCount":79,"integrity":"sha512-EX2pxYpV1Jv51V9MVHpZghe7ynSJ09pYo1GYczwAzQ8rfPELS2WDrZd5t94px26VA/Iui3INcnUoqU9RN4hNLg==","signatures":[{"sig":"MEUCID+F94wFQO4Rzc1uHA9qf14U2DsEs2mfqrGmCNpjDr7uAiEAvXVFWdK/EPt/YPmOp1luA6fYr26ypsCCWh6Kx6iAJX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":212749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1I8uCRA9TVsSAnZWagAAUzkQAIcxsznottEMDhZRnZVI\nF20USytFb7A62LSvk3kiUeekDqktA+8Rrx1rAk/o24/EVY8bPW8HYMqc48Bf\n17x26lmfrzjC/TyJ8oZL6Akm18dcekAXvREPIwT6RUsqLhh6uvPEP2a/DRFj\nnQoQmaNf003n7ntvPuHUPlxlQxUAdLPaooBE6YSYGMopyJX8+lTycywrYgvE\nh7QqFI4CTqXOzbqvmcA9vdEcrqWs2rQ0bMxY7WdQE49LUiSnnm9JWEsYRrXk\nLvmu/UbF++ayUaeu9D7XBlNcQQ+69v7NwW07sH38gJf0N3t+HovxXMEF9s79\n07feNy5D0lMspJF2pK5NTAslI01rkhxyJmkYIU5AWKA4ZNhX8/UEPczFmhwX\n5Ozd6SGMSl1Wev5tPxYTx2oaD53PCv+sTY0/J81pwpSU9nkQMmfnCvt+PnKG\nEhsFRXha3P3zF/jcc/80bNnvKicZWAE7xQPiFvbYraOnzeKoTLl+b9HgTfkk\n+/6CLtN9+Pl1ZAZDdoWSh6YX+GovBEbLqqatFFeh/GMbh6IenWnfBCX2xbzJ\nR5yWBR81NmUgJYee3SNP8p524hYFn9x7NBJ0w5fP6Uwuyfp3fAJp9tw5Ah4K\nFcIEIA6zNYEdEaKvevnZ0C29Q7hN/hKDxVTgTRMMEjoZDvX0rymFoxepktOj\nPCKk\r\n=mSCl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"25924543ff9f9884d7051d3edf5d10972a33923c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.3","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.5.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.12.12","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.3.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.8","apollo-codegen-flow":"0.33.8","apollo-codegen-scala":"0.34.8","apollo-codegen-swift":"0.33.8","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.8.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.8","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.11.0_1557434157783_0.9745211542180314","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.11.1":{"name":"apollo","version":"2.11.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.11.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"ec49d8bbf729c31c34c719cd959b224267c6b4cb","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.11.1.tgz","fileCount":79,"integrity":"sha512-YCujerinlAaiEVaKeO7B6Kz8SpEzau4B/pgK78sZ19+kzXo5sIjdLHS6Dks9E+xEIupguzxY4VEjsa7uWH36Sw==","signatures":[{"sig":"MEUCIExj+x28WIRq8OzLonr93hcjuevSYsQ96zIV5BXYssO6AiEAiQmyXRtcYp3swAK+Q6VLuMRiQyy8SlX5PAOwIa6MTPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":212823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2ecuCRA9TVsSAnZWagAAZmAQAKPa4YyMtKfRfauIQjUc\nbFv3FV977K1Ll73fB+9sa98D4dpcavjzbfaPQBp50w0wenlT8HBLWaiZEbEL\nH3ZtaEIyLDDfBftdie83VHSMf9oIvW7kUDSF4LhiUm8kkvdtQLbnya7lw14j\nD2tC0DgdBq1qw6/ssPEMm0BvdF3bmZ4n5x1uAtbim8MGhM+cwkByCvssXICs\nPQrdjSiq6kyHQqbjdZ3ik3et8TqMt/BRjGyIFzx0jgHUIP5MB8oL/SGMT51b\n1uvq/plfXufaPJeOKyIueFJCYYErUvgQe0m/VmwMI0tbT2I4NFJZGqtIIuHP\nW1auEvNlvgPwNqcI6orOcomJb0yj6/CmCGbMXD7s2qkjmhoPVPr43QLtg4Bm\nIRONDbSM6DNW+SDUdVAR4sJ0R2yvV5CE98s65rTcSGSrld1anKiBB9u39fP3\nlEcrRxtrQH88/5l0IFVoBIVEwDQwui8NnJb6wJCeROdlf8oE1A1oQTXc261D\nSJbzre5ZIdbUP9a30rcyW34BKfX/1qRaly6uuSbu6V9V8vcydxTDNKJ6ntXt\naXD3eG5wImNulm1DfqgAljZGvFMPHMXyAF/D9j90QHOxY0Gnb+JsSNRrtZiK\nwDKPzoDQHuvY7aeA0YsxWqe2upgwf98wfBIpLRUX3og46hg/yUbAhiqrcz8Y\nEEtz\r\n=eTlu\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"5a1ff32bd0d399921e94c9201eaa705295b42fea","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","cli-ux":"4.9.3","env-ci":"3.2.0","lodash":"4.17.11","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.5.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","@oclif/command":"1.5.13","apollo-graphql":"0.3.0","heroku-cli-util":"8.0.11","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.33.9","apollo-codegen-flow":"0.33.9","apollo-codegen-scala":"0.34.9","apollo-codegen-swift":"0.33.9","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.8.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.33.9","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.6","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.11.1_1557784365227_0.9183951564503212","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.0":{"name":"apollo","version":"2.12.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"d6675dea59a724239f698df50214336c6037871b","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.0.tgz","fileCount":79,"integrity":"sha512-GXZXObZ38qRdjNTTAUVnYgSq+PLxPzsUF7BcG1CmiJyyikQBQgGbf7xN1prUbllr3/eiL0o2OhFF9CzNjSu+Rw==","signatures":[{"sig":"MEQCIHBE0Vy5+H9k+uYFXcOUWl2NcrT66Q8/3iCgVxCTjP2EAiAo85y8nOkO2B2aAlPm5YgGjvvSLZc2/jYyGuIT54EcCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":213767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3eeRCRA9TVsSAnZWagAAYL8P/R0CeZsTDxOPUs3E6Q6M\n5nMBUpSN1ILsNVFcaMTZNjWzfO/6CuLacldFV35oPWYwhwY0K6f0Esp+prUV\n01NVd3qOxPDWCWvkWVOrY9DOsTMrY1Y7EXqZjJQNV0gZrDPdoxqpP7X//zl5\nuasWnnvh4ebMvakWLDhfjZlAtEsV+RliiY/gpi80/mVOZtVBR3N91KTGoRpR\ntqL1/e3mY0ET1XivNDlTU5qlnKMa+PXQbRrWVaL2fiyAg6FpVdWa/2YmH7yP\nWpXyPsKvJPRWhZavSXGv6Q/V54hXZOvlchJ4d/I401CsqevBRxIyKFM5ElwI\nKhaSbQLo5Z9xgEYnpT1JtyX0hH21tiYhB9vysjHXEoscphe14veALO1ugM8S\nvLL5xmXig4vq61DdmlOsG3GLY4zLzhOmcD2ExIIsCfmZCT9811Mnc3EQ9tjY\n0IHtKcdB5hgOuNJ/LcaZmn8yJngGOzh/teJyjnkdK+xRufQ0z7eQVIp0cGd4\nxVJoafZLb1PBx15XBCsIlTUjjFN7mA6OD5o3rfA4p3bFYr6QoLAIFLkvQBLl\nk/3EZgDQaIJuT8K8pqyqHFFNFivpwLKPn5F+pIIvbpUEt5oPzBa+/ycOa2Nh\nv0GuV0ZSOMX/8TLDcATmw6qsODR0RYnZEhIXS/U6r/fPNgLj+i0CE9VGMI2J\nNXuj\r\n=S3mX\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"e04f3f035aaab8ddafd5734dd63f28d7c834200f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.0","apollo-codegen-flow":"0.33.10","apollo-codegen-scala":"0.34.10","apollo-codegen-swift":"0.33.10","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.8.2","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.0","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.0_1558046608875_0.6892236614764555","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.1":{"name":"apollo","version":"2.12.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"ea00e922a2aac8d0659ee35dc92ceac9b2f11562","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.1.tgz","fileCount":75,"integrity":"sha512-D2VDQdd9KD+j6nMpc7MNoX6vZLgzTjOPIqkQltBiIpFqZKmIoDeCbLIYv1RZfErdJdqGPRZLSDJVwiJ1PgJwqg==","signatures":[{"sig":"MEQCIETasUciGKZxxR7C31q6b437MXHJ1mxrEtGrR0KcbskRAiBbgmS+kyY/h6o2CBHgqstViiK4xl4NzJR8gyI1BvJsaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5Ek1CRA9TVsSAnZWagAA/XMQAJfadghEbhQnYted40Gb\nWjIfgAWWLQW7IvcdZ9RxIFVHYfDKskZbn6/s+8v39iPHWouPK7b5zLVADBwd\nG007PEqc1p/XP7ESlrRxab1RqmBKQNER4I2/eI5PaLjfH73T++HpgMSNFios\ngfFQ3UpnlTvULHzMb3+n5MSNgNftG1KVezHiIHL/R1SNSdBxsg+8x0Y8IdoC\nW6bG2YIY1M2dMQiCU62QSdRYduqVMZTsJOGvbyq6IFw6WW8+Zi/4JqGl0e+e\njpxSp6llQC3iNKOOaUHxr6ITHCdACuI6IlJT5WXUs5fLCYIkAkMm15jPjzzb\nERqRTUOTpiupxJ2f6H3D0WUxLdVTD+tTOHlCvNOYWl0QcxzA8FfqC+OButge\n+Ju5+4k4l94hrqmz7s6v7+x1htRWJUbekBGSgcTewxOuEFVtD5eqO4m7/ACK\nbvznIhJ0Tr3arqbDvmXshe0wVWPCkPbdxTFoyyJmWMzdB4dDEUcn22WnLdHb\nqhrNKxF5TjyovbhW7njs5iyqNErUiPACvYbJxiscCi+8IrSDYEb36qdCLHFD\nT2h3OIiu+9Zx6qAEFZnrNGL1IRwBvWSmbyerjVRetRrYBkN5hvgcjWTLQEM5\n5b0lP9OtJWQXP4R2CwV+zwTZThYITwRUdaRqakAzdu9mSVt0H/snrX51cpFA\n/SxF\r\n=wtg7\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"d169218723fd8c9a9fbf865b28f41a2ec74167dd","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.1","apollo-codegen-flow":"0.33.11","apollo-codegen-scala":"0.34.11","apollo-codegen-swift":"0.33.11","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.8.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.1","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.1_1558464820566_0.917934940225003","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.2":{"name":"apollo","version":"2.12.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"494854bc8866dfaa58e2803a1dcbf213885cf898","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.2.tgz","fileCount":75,"integrity":"sha512-npXn6ggt2mgm5v0Pw8mdptPq4nqz+95Vtsb6eERHvtx9oBc+tPkriRQsKDcEOAVAOgPduJpTlW6hIePmxfd6yg==","signatures":[{"sig":"MEQCIC7eht5VBL2ApH3eZtncYeOnFcwW/uMrnroZ6OtMw2LTAiA/THy6U4LjsGdGaCqSwI4GpEi177YRW80Xv/xd+WDkTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5FHpCRA9TVsSAnZWagAAvVYP/jAqAI7vhQEsbTwHbBxi\n+1VVsi3hciro0uB1VulvRm8Gt7p3/MQW6D7lAKLH9kT3YyfwD+PeiydRryNW\nUr5bB4XaIUwShs4v20ZBQTE2To9HVKeqTsVd0/DJoEI1jCi1DL0PEubUNH2Y\nBifHYd5Yo9SPrhGzQ3ZB52aQ7uAQ/3lRWEL9vXRqLBAshbrnN9nWbPWZm2ac\nuNv/Z/lDAteZJK3KPlikUXHfq58ZoBfmv5N7GV1Nf1CCId/9yGJA+lvgmMXp\nSRnDlBeD30xIIvECBgzgDH+z3i/baMeBEfwmnXqjhMGGDx/WXnXK0ITzJipK\nZgMFwN2Yl7NXiuRk5DRbQm7CDwJQAC1nSl7q5RoSeAd8aQbidkAcl8zZFVbZ\neS8JRjQjui51bGJm3T94VvN9dYIqIZ1ydJFW/udQrqw2vYXLkQKobtJ62q0W\nWeJKjQYVTNlxYSCkb3iQx8m3c1OATeD44SdV7V+T7b/E6owAP5zw21uesTpA\nm3lK/k+8YJc5PsCWiTq9gyaD3C7ALVRzNf63t0szjsebbj6/6UKlyGqI/Agh\nbOBTNi8bflDrMMyvrrJIpEfWyMObahFHnRRYmqQzAl3I0Tcp1/8mle0KVs1E\nDLk7tBX+0D+JkVS+l6ld/iqEYfqESd8EChVbIDrSB9zQgZmKX48Ij0dm2kNd\nS+AG\r\n=j8nT\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"1a4ffd7a448142ebd8c5ecbda7bd4248b8c95b14","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"^14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.1","apollo-codegen-flow":"0.33.11","apollo-codegen-scala":"0.34.11","apollo-codegen-swift":"0.33.11","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.8.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.1","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.2_1558467048347_0.9333432955090446","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.3":{"name":"apollo","version":"2.12.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"728b4ed28905cb239adbb4b580b6d1d3cab4b5d0","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.3.tgz","fileCount":75,"integrity":"sha512-KeaC/0/9yvH0J1FCj9X8CiDmROh5IebCIrvhTscw794A82AXmQ8aNIWX6uJqZT/B3Oyy1YaVk3mJzXAJ6/jNIA==","signatures":[{"sig":"MEYCIQC9gILvx0dQMe0JiWtzkt6q/QV3zAXbwtKdIFvO9LUU4wIhAOnd7ak7tbqEtsdy52N8/z0sdkeIjc1D0WQWjfVdUJHq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5cr5CRA9TVsSAnZWagAAQe0P/3DVC9i17NsHCdjDvKtu\n8fQ3+IhwuywOPsokSp+LHgcIjj0sIW1eDBxubkGx6R6hvJ3otiThofbx2Pmn\nChAiQlY26P6hL0gsVH+Brw8Hj279QB8qYHUZWTOwCNd9lP6l07Mua9dwUkaT\n72nzeSVQPQu7NckDXjJlrLm3ZIl/EG7fQ11Mda4FgBQDeuuXvOZRwjtZkcTp\nUx30jimzK0IC/hBvaeXsOf6tUia3RFci4GHYOoNryHI3qpclbS+UE5K85Exo\nd5Torzunbcoizixe5lEqxHeoeMHhRopKohIjMweoMo1Jm+QqviVkgKMu2sWd\nyFKg0LXPD7DaO7J+0CMEqfUuAEtEI0dxzqEMjGHikk6cd2OVcXmTWLSQ8kPI\n/f3oTIaiGUWG3jJHQiY8VY/+F9PExn5a2vsrUtDigLw5tGcSrOzuTNFLC3jN\nTlaVoWkR9swYsFvQIGVXocz6Zg22L5xBTJOyMdeKnR2H3B0upmgZa06Xjcw9\nXdqnL6odRkYGDa9tg8ceOMYPKUCWouKN29hcLhmHLuE+Wy6V12yEXGoQ0a6P\nVKrc0NSPr5k9nwADihHzlI3BS7WcsiFImelpw/DG9MpnuVCwIuvYPT7XcVCk\nbuuok9Ng3aup7x1NX8v57FKcltSdVq1GCs4zaR6qemadk8EEZpM8S/ZtsPg2\n6PdT\r\n=nY9W\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b138177e2ef9191a040d49378fea60f5bb72644f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.14.1/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.2","apollo-codegen-flow":"0.33.12","apollo-codegen-scala":"0.34.12","apollo-codegen-swift":"0.33.12","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.8.4","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.2","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.3_1558563576229_0.9321515020327806","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.4":{"name":"apollo","version":"2.12.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"c1ffa99826adffd03427167c49559f44dbb89714","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.4.tgz","fileCount":83,"integrity":"sha512-5fBb5sbw/tabALT/zQL66hXANZoBlsj18HUZK9S7FPw6+ciGu9z4+roDl5OK960PNcHTFONHJhjw7FfDo+mbig==","signatures":[{"sig":"MEYCIQCmR5C0mJ7ZPsvziYU5KEprVXxYTiOF879EytsuMKED2QIhAJIKonukmgpROlgny5Ho7Eo4LcLtVyAmkotCO+EQw8TO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7ylnCRA9TVsSAnZWagAA8eoQAJZKVW2sd7aJn+DkXxbu\n6OBQhXyz5nzWBxYi4xtaSCPahoo2+qbIl84Qil6nkrDXYaDCtr9qIvcH+wFe\nHKupxhJzaEWKWcK2yv/8+JCVYHJ1G9rKWsONAieVFMdybMYJ2PgigQlB9Xht\nliCXOXTXoJrItpLtYWzjIj7/nRpNfFaiFjeY5dsUV71NgoJOoB/Tsa+g1DaH\nhpOnaWAGOSOXSFS5pTur+9pdguCc3Mi2DLuxGnCnEZ0Z1/DJkwBo81x54190\nL5VoNoP1HQ4bkU04p0OrLBjKZPt4PIwpRyDCt4OnO+JaScQUF6WAPv1YK+Af\n36vZo7AwvY3oU6+Uzg1Nw16XLEWklJO/e7Zm4Pwm0lNemFwFduftgcZWcNhU\n8/eJzSBhSdn2gc2NYPgi3j5b+J142G9XyWDzQ59sDqo0LHZmzT223ijaBxFb\nPcGnnXXFGNP8OMLI0lK9xZGeuANoPM+5yI+j9B5LMnAyCoE06QiKOljfT0X3\n5VSOc7GcwuIpb4cDQI1Ync14TcjWn4sYl+AM4Yg0z3HnnULjsZm+Y3IbPNiY\nuBH3YIecuM7s+xp7YqUxtAt+WaB+q/BS/jikUTxMVhPIPUjB5pE1e9R+Zcgc\nvEDU1qVG7tB7PZ+9iD044LJ+IFN7Mr4g6j9nV6Q/q4HwDXtpLW9aidfD9Gzp\n1Wm0\r\n=htxG\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"07e9825e5c2dd0f08090044e7dda80b96e238d48","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.3","apollo-codegen-flow":"0.33.13","apollo-codegen-scala":"0.34.13","apollo-codegen-swift":"0.33.13","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.3","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.4_1559177574662_0.04339946834654107","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.5":{"name":"apollo","version":"2.12.5","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"3e18f7cf4e673b542775f46ee4f0c2b87c982b70","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.5.tgz","fileCount":83,"integrity":"sha512-QHKXZ2Pn+soJ8C2Qjt2cMJyNuXF+NGdX6t2BIi+JPFeAG6mU56Q0PIAYbv5pr2/YvhHJTrIDHvA1QR04BTJqxg==","signatures":[{"sig":"MEUCIQDtUBSnzkLwcXr+k5XP0uRSYbt+kJNjXvjyOmNMRYQeAQIgL8vHhPET57eRo+1gGPnOTEPZGLwqFGwCJgVa/+wDDIo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8BmuCRA9TVsSAnZWagAA3QoQAIjXzvCx6r5Jf75ClN0D\nIr00Hwg73O6m89nCCgMqJ/3G9qPux64GeD76GH6N9wb/Cff0XeZAodbWCnPq\ngH9cHJhlDvy6qjyrE+W9ZfHimamNMctcqhgjJEkbc/mOpsUPBW95g7HgqIcH\nUjRYZb/20jz+pdqi0DU1NcNLw2CPSPa2VkMIxmx4KznltneB/TwWbQAIYpak\n0mtciBpWINgnk58jPde5FaVzjjx/Zl6QLdtOSmQ/mAR9oDNMk26votd23MbX\n5Sfhp77ZZSFno8VOakRYbHp/ycL/IUIeuirF6UT+sAd0gO5/lNBFqxux5WPq\n1Lm/02JUzzQz7MYjcrohHzyOBfpe7KYoxS5QAA7T4fI9mr8Ka8CqO41kOT0x\nvzKMQCmlRMGrm3gYUQezc2ELZZ2uyarALL6hfmG9mLQEJgEQDsHPh5TIZvVf\n649xzbwZoeFeIncHHBldwhOfW5cDkDFeOXlHLENfd8BIQPavgJFDcH3NpWc0\nffpz5k/hz7wY2LpUxzqkRRXxSnpz1wJozEVZZk69F7y+6V3uo3sK149il8k0\nsPrQcMdfIo3W5BrgxsxC4i2vdLoU1H1dBKQikdnLcyJyOqan0zDaNcdA88WG\nCqZEsFUHM7VfcUv2U4KyxXfOjuLqvevL8vAlUXkLM4D8kl5oMep/OPomWbJE\nUQg8\r\n=3gUs\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"a317d5a67c9761d63a76c0e6a56fecd6177a54f8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.4","apollo-codegen-flow":"0.33.14","apollo-codegen-scala":"0.34.14","apollo-codegen-swift":"0.33.14","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.4","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.4.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.5_1559239086109_0.8211487560319466","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.6-beta.0":{"name":"apollo","version":"2.12.6-beta.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.6-beta.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"9646101482bec1fca14560638c1014923ca741bd","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.6-beta.0.tgz","fileCount":83,"integrity":"sha512-6frscsTxOgU9HmN6x85uTk7tt/KbXOpLnsxDpS6pKA2MBp89vq1+AjVzzefdI8vfsTee0AEEYc2bMNbb1HQ+8g==","signatures":[{"sig":"MEUCIGo33Arx86opzZcE5+dMxsDtZGJ9sTRDKH6OXYGw+IG8AiEAzzbIrCLVU3pEeLkYPN8s5g2nEncJWmYDIohDk+x95fA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8CIvCRA9TVsSAnZWagAAtPcQAIjCEYu1r+oV38GlFVov\nta/ZMh7/j9YT5FxN50H1aoupE39ftCTMr7JNugQ95ppou5WWdIWA+mKrSdJI\nl4vdXZ3o6avz7kCDb9jhA/2Eu8/JTY7YipeXI1L3z+mR744gg98z6OrdjUOm\nnRvKS1q36q4bMzpURd6OJA00ZcnGnbWIuxwZB6bHuuhk1aeDHaQPVqw0Tte/\nmlmyV1spw351QGaY36UV5RufxIB75jve3jDWqEgh0N7HyUyxSgI063aoQb2T\n2TYTfRSO3SmuluROsHV0SJ+sWIIhDoy1Ge/zE51vVWpnlgnQpWPUFMFQoYaK\nPUTJgGTvlG30yxJl1+zS3uwp2i6fANQ4icRPqhnxOqV46xjAgrl8Nbs9L+Zz\n2OkvqCsofL5Rmq8GtYsBUiI/8SEH73RWbOmzpyQdl8GDrhBdd8JZvqfaSPfV\nixUPA4KlLMOSYzQydQB7adP6Qp7vz4TMRHMB7/koeSt1d8MzZfni1nPRC0K2\nB1E9UM5MLo1EtPHa8d6eSt7N3+DfQaqRH6OP6pijeJs4N093OjwBPYagLvNW\niVXcBkJTIVfV5rSUQKM0Q9A4bRhGewVGi44HmAer3fr3KuTO8aAcfjvxLxF6\nLyRboUkrOyYFMAELyJilyPGNQk/RiVQ7cw+KMorXbq2NX/3YJevvVjU5lfgD\n8KGf\r\n=hal3\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.12.6-beta.0 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"095f662ac18d2e2e14eb2669f97e923d087c8fd2","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.5-beta.0","apollo-codegen-flow":"0.33.15-beta.0","apollo-codegen-scala":"0.34.15-beta.0","apollo-codegen-swift":"0.33.15-beta.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.2-beta.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.5-beta.0","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"bundleDependencies":["graphql"],"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.6-beta.0_1559241262986_0.8705914379924105","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.6-beta.1":{"name":"apollo","version":"2.12.6-beta.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.6-beta.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"058dd1c58d679b2dfb881a3e0cda453ef909e6a1","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.6-beta.1.tgz","fileCount":83,"integrity":"sha512-LpUMTRKYSN/BmGhTuFg2Wpu7wwG9+Ur4BLFyOKkxmJDRDj0u/GdgyIUSgc6wLkMrEV5/Qmi9CPAo08xabOfg8A==","signatures":[{"sig":"MEUCIBY3/xRTpBOLjBv9B14I7MdX1OmwwJwSJSejl1Gg593qAiEA3J6TxEqh3rNhPVCSoCfixv7TqoFYORiFShhSvm+ojqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8CfSCRA9TVsSAnZWagAA4H4P/2MxD+Z2/BmRCQc+pc4+\nwZ1SzUWe87Oq/IWasTV3OQLcAhlGilm1jQo/Hvxyrtu35p88JJNrP6pl1cA7\nGz/uHsP/eHYHJdGVdjTUm2MOYcHjzHyE/EGOQXMqhviqu66e7RW9EuhPlk7R\nlzFg+8moXl+CF9dtLoqs1nfVXiq2OpRno4Ka3jAPlOHvcHzdPS4dRfC/rrSu\nQ91hPHP/TNCFWq0S9Hn5c62BjJ34+42Y70RZ/lV8sw2zisX92xdW44gZTm72\nzN1WPXPgxumP8LQ5/gDH9FgEF4gzXPN1Hqzg7QXrty9KV75kOCRHVxklaDWt\nak6BJQPMTpXaPHzE0oc87+1RwI24DKpRNzH+cXBPlf8r2dn1Yb/Pn8qlPFBb\nINV9vOGzK4lvc3s89Ksb5j1nhqfFHFL8/V6pjnwpv2Uc5UG3Pt3PWA6ji6m5\neW0gS5OCx35PTRdja2nIH5rGen9IYO/lXhbbRO2YUi8AE375ECBZDNPGMBWh\na4upSs/GRa5uxNBJv9GsUGP1fLm1H4kN9PmQxWZN1dnmac0Mm6LtXOgc4bGJ\nUD4DtwEkdd9ztRMffsYymiMgInjQnmYCs4+bt3Yb/uTbR13VmsLKART34zf+\n1KwOzscr290bwsopil8cscUEDrxQQ59k5qNz1MVlp/VS929NcbpB++Mibq07\n44G+\r\n=Szpt\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.12.6-beta.1 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"0c5c5cddbb1450923bbfdf7ee8d16c621d822859","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.5-beta.1","apollo-codegen-flow":"0.33.15-beta.1","apollo-codegen-scala":"0.34.15-beta.1","apollo-codegen-swift":"0.33.15-beta.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.2-beta.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.5-beta.1","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"bundleDependencies":["graphql"],"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.6-beta.1_1559242705103_0.1436766116868886","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.6-beta.2":{"name":"apollo","version":"2.12.6-beta.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.6-beta.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"1a34ad256a91913a890229c9e81efc18b397e230","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.6-beta.2.tgz","fileCount":83,"integrity":"sha512-wyENE9N2oGkhXlxyuPVNX0oSG6Cl/TP1bDVwuHVGHIIL3onr6Jy6TxV1ZBUIPl70UlOrrm2+EXDr0InHaSSjGQ==","signatures":[{"sig":"MEUCIQD3+ldcwXGgwNL11X8VsqpGzjJCvrmyzte8a2AAjjTCBwIgS8OC4Zxu71zSKklAfHXuxW0a5TIkF049zv2hXmb3Vts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8C0dCRA9TVsSAnZWagAA35gQAI13nGhw3GkMdlPn2CWR\n457Y594ggqoypbQ6YnHRFdoHViInZAfshaehIJ+nsxtKjBjZ9hQINQNHP68C\nRf01mb2OwO6U+aj2Gt92k1CylvDtfXZZPYAye9MoYpI0ZilvliPQFX57DUAt\nz1yCirtUMWWKt5nbS6gVv+xv7FPrF+Wtn2TP/22tfjKAsIJA3oZZ7jcVQjMK\nbpDuWtq74mDhcEnVD/PpF0feAWrDksc6CfcJQOdFBF4NqnzTGt6Uv71mAg7e\nWBcTE2wXfa0oelsk86sVu5Q1Jn3zK7MrD4uLDATNkhaAo+OrA1Y0k+jlo1mg\nOf1nr/0RHsFShpX0qci5ZqnbwM5e8645ggJXLAlrBs82Hx1pKCdZoPrcFEZM\nlOeqMLVk5Z2eGCP9hbafkZzbYF7BNSgIZ2tHWGUUgSxoC/pGiO1SdZWdUtGC\nAJxN/PQN8GuvWdtsncxZt7GIAzQ5TVUGsKpvdSgxgAJHqMJRH2ynGYzj8jh/\nosb0K+WnSlCC2Cokq8NilrBuzT5So5WWsZh/7Td/Ik0VeTls9awkpFdTWHER\nrPcft2tfMIvJJSqLjXVuzNKDVKfn1d8Te8VrDpCq0fY3bS8PFzc1lMAs6pnv\nYdQCN2ZGesuRKf4qaiYKZF10gDvPSX1L50bYDNUHeBnTxoSsEkd0MlL/5e06\nt5Zq\r\n=G+7H\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.12.6-beta.2 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"f590cb45c95766355f46f2fd8805e15453b761e1","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.5-beta.2","apollo-codegen-flow":"0.33.15-beta.2","apollo-codegen-scala":"0.34.15-beta.2","apollo-codegen-swift":"0.33.15-beta.2","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.2-beta.2","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.5-beta.2","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"bundleDependencies":["graphql"],"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.6-beta.2_1559244061007_0.3986746445432452","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.6-beta.3":{"name":"apollo","version":"2.12.6-beta.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.6-beta.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"79fd63b80dcf01d96f12eeba2e49ef1124fcc517","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.6-beta.3.tgz","fileCount":83,"integrity":"sha512-85l24boSdUAZGUrlxWbad3BazVWKKC0Qab4w6XS0eFRjxHLjVQTi8lfGPVUedOqKaPFGDRiXocuWbm7LOaFpKQ==","signatures":[{"sig":"MEUCIFrptHeSujM7PJBhpSgWThiKaR9TWxSkuaiLKfRrHdSnAiEAqDmmoihwbt/ZEgFalZ9HQvnscfBkyYjfeQ6llCvH0B4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8DCTCRA9TVsSAnZWagAAN0IQAJ7dvAHseNwIC3rkvVk4\n+4BC2r8xhCI1NHvymSCDPZf2pEx0MgrJt8GKeWC+WFXju0kKqy2cJUrkOABR\nHZZPn2Ql6yu4vZTkLg+8ML4OLcqhdznFTxepaIWNUiHEIhUayVbuYui5r1jg\niD2Uhx4V0mdhI4xta1gporRnsCWkVt4BOAnhnZ0A4OXL3kgu0oDeFQ62FgB/\nOQoLhoKSMyOA2KIzFlr18Bvm+KQErWurbNHF1b4pHY6RC8VU82zZ5TFnb0/v\noFvhyIDnhJV6Gezq5/q32d8F///AkJFkKcTPdCk4QR3Y+8nQF/pThzgIq+vk\nVzpbTwcfPz/710pbTz2P5pLjSdQOKCEhobFUz6irNf+IZMovIQ6a9HV0IJAg\nxf3BUSQ0KmeFmkc8SebAkjxEDhGBMIyOEV0mvJE/aA9jVu1/zVPuMX/uyeN3\nS1cZ+416Oy4G7TA+/t7ufp90hpXqMUI9iJD+6S6a1z6WX0h2n8rlNKNljutx\nHhFtk//PEf5tPe7TT7JKE4RFzSYEwLdrRXJQFV1cOLsohUuqp3fgV7/akzcF\nXTQmjKs9yXXYTZTKwrwKkvlx9xH9fM8/G/tXgBE1BogoxozgZpHf7AI4OujN\nQ/i81RJ+KojBoPNA1EvBWi6qlfquJQEiZxuvcDiqynkIgZFfAh+f6SSSKts+\nzkK5\r\n=3bR6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.12.6-beta.3 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"cd446c2e6c3fde45f8dbe34aeaddd77db63cc6b2","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.5-beta.3","apollo-codegen-flow":"0.33.15-beta.3","apollo-codegen-scala":"0.34.15-beta.3","apollo-codegen-swift":"0.33.15-beta.3","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.2-beta.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.5-beta.3","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"bundleDependencies":["apollo-language-server","graphql"],"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.6-beta.3_1559244947076_0.943441132091043","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.6-beta.4":{"name":"apollo","version":"2.12.6-beta.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.6-beta.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"0645c3fa9431496e789233fd0a33663076528dea","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.6-beta.4.tgz","fileCount":83,"integrity":"sha512-w/2XvxUp0Mr9imAdTar/TJlx0tCsFqDwj4FuBJUVzNffK0EKgwZnamIhtytmzz71pWWso/0KuT1HIvUmstIR/g==","signatures":[{"sig":"MEYCIQDr+3BktLwC01olLhNYM7PoMUA2egQa8vA4hmSuR6xGswIhAIDXNDC1H3xmSBn2JvecASIssBrE5no3YMPoVUCBa8bG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8DHzCRA9TVsSAnZWagAAxVkP/i8DqbSf1A3+kzzeufo3\n3HR5XXlNVfCGMNFICTX8jeOz8e/hiAYHKWhDl0xsd0OuFfrY9z4UhNEI8FDk\nP+UB9h4RKiFEpOOlOxoXhurSgM+ZDmz7pLyIqGd3EcQGBFILbs+KcUEwxAbf\nBlmHDjD+dU9CQAuv4cuEGnVxR7Th94tkrvdMyTInXelIdl+JmwR9p49sNGnr\nozbc96OfMTGrPoSSm96r9LxLGrFZMBRuNbkI+QP8hV/oSA5YZZKmmnIBLWE8\nW7/GJQ6dp8zYy8VClQvP8JvTfmAzcOck8mr4KTAUD/bnVbXeY/qo469d6u+y\nkXNCgzrE2EUIH2hwvMJWVmtkDIbFalHeKzJCfbvodlRV4sQ+OS9qCD0UhHrh\n3wIPLfLyn30JnZmYVQJUCf0HjJB+z1QXDo0ZcEZtgseWj0cRqoGgzftXJdNX\nMRVRpoyUvnjlpSTa7SViUgTRpcMozAXjNp5cT71fxpZKJjnVmEIa9BAZL1Kt\n4Af4MfAu6zKaEttnIcttx4/D07iBwd2VKDlnGJByxVd8K5tHEYGEQ1kYt2kr\nUmjhosF2aHHd1qyd6Mcg2hMbHnhbXUEN3CwTBY9WOprhnNfLJ9jdBA2CXu3f\nUvy15Kmf9BRwUTd7JKbaB+DbOhEJhSJno6mfGUkKN6MbMt5lvhHUZYGvQuul\n+OIH\r\n=gKu3\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.12.6-beta.4 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"8d160c07c79daa80a303c5cb44d650b66fff8d2e","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.5-beta.4","apollo-codegen-flow":"0.33.15-beta.4","apollo-codegen-scala":"0.34.15-beta.4","apollo-codegen-swift":"0.33.15-beta.4","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.2-beta.4","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.5-beta.4","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"bundleDependencies":["apollo-language-server","graphql"],"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.6-beta.4_1559245299115_0.1333584363697442","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.12.6-beta.5":{"name":"apollo","version":"2.12.6-beta.5","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.12.6-beta.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"3b106f30d99ae75fcf9db5320270ff2ac183aef8","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.12.6-beta.5.tgz","fileCount":83,"integrity":"sha512-UM96jjDnDGil3c6oU9W80J515H6z06VZha8vf9TKGZUMllu6MbcwS9ZTm9CJ2Fn3OCDu0vQZZ/FEqr38f0rA8A==","signatures":[{"sig":"MEUCIF3ct3MK7t3lFudRt9+YsFYxTGjGhlBgKC5/OLYI5GjWAiEAn+8m313XWJ5wlKdpeNt69jZyAL+eyJLNokePcpeHQQE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8DTXCRA9TVsSAnZWagAAYPUQAIDWptan5I7nbjVVZkM3\nhJUFGfnzQLGTZjEkSuCKMz1kuCyqEhLVwwAVgmU1MiIaJcjNLK6rVhR4OfOU\nMxjUOaFKkY3pibCGeO/CRJ9MdTYYZpYM5VnTPFJ+OzVgL5FOp2NhSRHc/zH0\nTrUZg1JHpxJo8hof1KiuJSW8BY9+rw4iOzH8EIrFe1WPEllhSpzUf51UKWJa\nFM6QXJy3j9q6dpdSOQHcsbmxSYC1iAfhe1NOFXnQ6hPt0KjlpIO/gx37c+pf\nNSYzReErDawseEc6hcibB7W0xJ934mBgaS10GEgQ6WYc4egvVsb1lBWb4D4K\n8lqMbSmN2ozrD5PLcx3GN+aJOSCec1OFTEHfcvxsoBdjGuGa890ppZkvxtr2\n+Z93BuU7h4UKJCgmHkwnzsIVoHMtbjMhGC9NENsbwYn0tfPHZP+NsJT71ya7\n2qvRgyV1TxvEzjKcxoeDwQpbglPfGuRgZTAwCF5KTN7vYaMemLO7sTiFTki/\nEJsW8F7rHrof1iBy/sPVmZRNqAxcZisEII2l8RhXc83jFbA7hzHW3nOHabFn\nNqT60GQOxrBfJeR2lc3hs1FyXgJRz8O8aG6HLJP+/bbOcTsm1kGZb70eiq3l\nIqnE0b98qmKadpoyEa/5rjkORyS2XgtOXxtaB9Y/vxon3NZpwNJ05Wb4Hcrc\nswDV\r\n=jQ1/\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.12.6-beta.5 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.1.6/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -f, --federated                                                Indicates that the schema is a partial schema from a\n                                                                 federated service\n\n  -t, --tag=tag                                                  The published tag to check this service against\n\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"d1ef304d334a213bf4ee6c9f31ab192bac875b1e","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.13","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.1.6","apollo-codegen-core":"0.34.5-beta.5","apollo-codegen-flow":"0.33.15-beta.5","apollo-codegen-scala":"0.34.15-beta.5","apollo-codegen-swift":"0.33.15-beta.5","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.9.2-beta.5","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.5-beta.5","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.4.5"},"bundleDependencies":["apollo-language-server","graphql"],"_npmOperationalInternal":{"tmp":"tmp/apollo_2.12.6-beta.5_1559246039128_0.6718986225309129","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.13.0":{"name":"apollo","version":"2.13.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.13.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"1d8c85fad255d465fb607e1394ee51798d310f38","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.13.0.tgz","fileCount":83,"integrity":"sha512-RRkYzaNIhHeITeTaPERQOq2OMttSS6uDowjtRnTaxxiT+NK9VnyvNMqJHcaKDGmUMTLANhaUP3J1hceNqfb4nw==","signatures":[{"sig":"MEUCIGW67RgF9Jqt8xGn7DL9+O06Rz4Bqw1GYbVn6g2KTvHsAiEAkcoQt4SlncbUnYaAg071CETlASJiKQb1Pd2bc1lNQZ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+qtJCRA9TVsSAnZWagAABgwP/RovSO/tw11kC3kJnnOi\nhr6/6q51Ixe5N1elIb4odbx3uy8kQtXyKf/K01KW17+SNWbJrHVWw8L60/Ke\nEeWbS9mCIsPTMXBhFb0jEoPyoC1dIhwzKpX5hlLfbyZ7oZeWlGYIqO23fnSU\nDh3g/AySfE6fbpTjXP786bNmG4smTMMiyVevmsRqTV7qlwuCPTXJqxhUFuAd\nS2tai3P/2xbcPdzMTfQMrZ02UVoXaRg+DT998PA+wExsn0La2IyAsuzx9a/K\nE/mSWrVEhHMQKWoHw6tNyZp9R4B1OSL3F41dF4VVIfwGv5D8uAc/FoGF7Wy6\nipxKefgPQ687vmkP0VC1ntACDJsK3da43/9Xq4gLwHl8YZDpMxj5Onkdtv8U\nmksekmpwKzGzUvWTu+lKKK33yKpsl6cGiEUl68GffQ/raQTatPQGIy7tyv60\nH5YBnWygrji5tsVSqOyamFRMm9UGLq+4x0Grj8FsPfAXpPYayd3JMIlFnJbw\n9MtghEnVov/4gzcY1B3wLzu0/kmddjY3JyxeygSvztBdC7+Rbsh/ooJu6hkF\nxuAJwZ3+MIwTcuaMM8HioekPYHzZOYEZPJkUq0GfFMTs5toVhn3QnNUrOjja\nj4oHTyuh/e+s3KlwXSuDkVI1xHFJP8Zy5uFigD+K/fflB5c4W+rYvYmxUtLJ\ndMsf\r\n=TdkK\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"978e499d1ddde32b4787407bc680e1ce650b49a8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.14","apollo-graphql":"0.3.1","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.5","apollo-codegen-flow":"0.33.15","apollo-codegen-scala":"0.34.15","apollo-codegen-swift":"0.33.15","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.10.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.5","@oclif/plugin-autocomplete":"0.1.0","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.13.0_1559931721017_0.48781559792809026","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.13.1":{"name":"apollo","version":"2.13.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.13.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"7269107540ff37a1065f0416ea029174c7dbd541","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.13.1.tgz","fileCount":83,"integrity":"sha512-gTdaVlTe/2KXbjqYOD3+9t7pMIt8aOanxNxG5YJ4gY0sw3151oJAQU39UqK9JRDnGf5XfLq2iD5hTwdFxSPb1g==","signatures":[{"sig":"MEUCIQDOD3Hi+H6hxZG6nEvnUOlNu9ZlewpbikzuVWCtT10ffAIgRjOYZ5G8V6uwLHqL6Py6diDegF8QCWT3cnzsd4r0uF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":219452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAE3WCRA9TVsSAnZWagAA0D8P/2mMLPfQOR3+LTnZFed9\nTuY3mi1Ajz6asU4pI6lI7qgp7wf6Aw5yeHzRNGgs/3u1dyFt/hqtbb5NNU4m\nMr8+C8Ed6SBVNO8kUVrcCtl1PdNCosur+4trnDBtMuQvajHeExzNMSBtGOcB\nd/J+1EkeJsW7oQgBSdp/T3RRNLbWR8Z56AMa0nsaNcLJOG/KKg2zX4pO6g8z\nZ4OodxHv+sXN6m2Gk4V+KRcZTpKfcYE5d+6kNgUsOFsNKbMTZKtroSRNolIQ\nkzKzz36lcrDau0jrcpIQCqsAQwj6IKj1js9JoXulDcau1VPNCtjAv8BjtIJw\nbtFQJ+yQhe6/1hXlkUvoahPLD4zWIjgBKnR5ibrGalWzcCs7DUQP+wj8QXf1\n0ImEVEu2LtqvC6GG/6nUFGAUCKJ+/2eJQsqQTgjlVlyg39WINebgyP9kRTZh\nzHkFublOn0ZAr8v4FHUcrJeo8CanTUN1fLH17ZluOZ8kJU5r3uF2ux4mUr9Y\nZVL0CegNiEHLD+iVVpEimTJObZf48o9GyLvtiFd83b6Uu2HwWRqecsu49guK\narrD6l2BhtKkHSszgfTHyXbkywoMuViyt0JpTCxuDg/sXOa3zLoZb10Z2d4Q\nutK4f2db//IYZmDgLx6gAlLggML41Xcrqgxcq+qnN6gnCIHh2XQeXYDMcqWe\n9DwL\r\n=3YgY\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"7cdb0d02f929e3fae0788425a52817123bd08e61","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.0","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.14","apollo-graphql":"0.3.2","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.6","apollo-codegen-flow":"0.33.16","apollo-codegen-scala":"0.34.16","apollo-codegen-swift":"0.33.16","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.10.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.6","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.13.1_1560301013165_0.2089884102535291","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.14.0":{"name":"apollo","version":"2.14.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.14.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"acc624dd470b68138f48c08ee4545ec351bab1c7","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.14.0.tgz","fileCount":83,"integrity":"sha512-5xHNH+4BJQVZyCeK/FGZy1SLSIR3kwM0rCIMeiFNmVB4mcm4yrW2JhKrJqNtr/JBCp7dsgbBMKyqKHNyPXSDsA==","signatures":[{"sig":"MEYCIQDEa4FBCtAJf8e5J8fr0txerV7vNXOVHj/9WQq0S7YH8wIhAPJZiO0GzSpEmLkiOeP/8QJNZwR7HkxD8e6r6BzXlsFy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":224794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEk3jCRA9TVsSAnZWagAA5pMP/2oWi8Noi/J1bsxizdeC\n75CpCuPXQMPpgqLUC6w4WknTGXaFxQgd03gcCCJcLIZRGhk8Mp1bglQ0Pqpv\ng//HlRQmurvU7C30Q/7Q8BGnCFBzbR884I5RIP0P8DKY5yneEwj92nHTcbwb\ndMVjK8zMdVMt3ls+DbnQ2JIKN250DyHHZJeVxQhUOoT6ZgCJv2dLFPIEKOnl\nB+GoJibqjAoHoOfiHqHvrpNNWfpoDcbKM0slHx52uVINdpUBFT7E9j0BQeUI\n1PAH+TtMrq73b/BKn/sdSLHsAjNeia7LvJIO8OZo1a7r0DFsWfi+TFv8d31C\nBuT+nsTkpBBdrCQLKGd/DS+pBQxi6kaz3/t2Fpk6aMkmU60diDwOG3IR9isi\nh9JoVShLcQ2GO2nP+tUwU64gfCD4kcAeclEd/FevYwKMGdEkelBVNxANaJq7\n0yWcB79UStKbh6TSEf17LvbzDd0RUBKhlYGoawsZd7wiJv9AglBVJv7pgfuT\nQErZPYRNbeD24iT9woy8nSI0PyESpgfWHVWxGpNYl5kpkdRi4wxKwNHbYBIe\nNR+Y+IC9Kw6kR6oIBeH9rn5ZPvh9u7n31+bl8KgCLEl3bciZ0QUw4+B9Thnj\nJiNDTANUQsngJvPqz1lX5f5W0dFsaei8quItHbPFcGeD2wRpUqtFWudkWECx\nPEnO\r\n=pGkr\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"39657ed4757ba14c8e53b30bd07a828e67aeb408","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.16.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.14","apollo-graphql":"0.3.2","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.7","apollo-codegen-flow":"0.33.17","apollo-codegen-scala":"0.34.17","apollo-codegen-swift":"0.33.17","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.11.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.7","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.14.0_1561480674333_0.9203721905912583","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.14.1":{"name":"apollo","version":"2.14.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.14.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"143dfaa16c2523c24cf2bbf9c4dc3fb8f4ca9771","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.14.1.tgz","fileCount":83,"integrity":"sha512-S8sdZRkSQwCyR51242/tA28U+7zOzaf7YV4yqrWCfF1j7PVds9hrbWw1JtC5l/HMoRmQQL5ZKXO5JHZX4EwK7A==","signatures":[{"sig":"MEQCIFXxA/1P8mbRhpJZx/ei9hKrC3TMT2KsEwR0wDwwR0wpAiAenMck2kbjiqW/WsKKY8RWtykd3s7kawazciL3/cQziQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":224794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEpHUCRA9TVsSAnZWagAA0CsP/1HtfcSX0pWYlAbGkzz6\nmadMWRIsfF7+hy3FL3wm+So+ddZuJCXHDzfaqT0UdZLDHXjdjbqME+bJ2d8C\nQZ5ckOSrrl+/qhPgadOJXMmmlpxgriM4JleM0x5CW0YXgbYFAsH0YE00EAkR\naw6YZy/R4OlSGQd0+mWuV7j7j46FR3We/wcODuLqytz75IrVmFYomTYbDoWk\nKnY6ZwdLgcBiRL8q1ioNkI3/mkFSLDXK6UtXbxfRR5r3+5Lw/rIbyYrCsciO\n2yyRJRoz2XbkXFt+gnLdZ3JswNE+OmA6WLyKEXOvuiRY5Hjaw9XM9wI/RJVW\n9qfB2d819EzR2G0wadn/YpRbvVX0bmETCfsjlNyKy9Kj/+2WZysoZgeYwmmj\ntGsP0CUlfD+k6sSmKWBzKA2nqCeEK6/3gycL2PIwDOxGqPFYXemMRkXKjuvd\ni5l7FN1a3wqxvthZSE7oAhJNfYfiZuia9UG/AfcYI8GonTCPAtHWkw07afcR\nHKtd+AS0OW+rrMUILr1E3+MiI6PVWaJeJlqk9g1vG4k2UnqsNETxNyMuheL/\n7YXBvBSxCSVrB0IpFpqsVcX3sFs+WyrGRpOFpzPYr94pBhidvDs49LP8iTAN\nrS6HiKL2DJsPKka5oiLmz8Z9zki2AgXQbXgfwd2D9T6znUZWgIDig7zDC8Of\nShrG\r\n=Tbls\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4b641a831438ccc2bbd23bf4294d9273ea9bfd6a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"~14.2.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.14","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.7","apollo-codegen-flow":"0.33.17","apollo-codegen-scala":"0.34.17","apollo-codegen-swift":"0.33.17","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.11.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.7","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.14.1_1561498067027_0.3443309561812671","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.15.0":{"name":"apollo","version":"2.15.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.15.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"17dfdc6edfaf54eab0fe9963ab2cb06ed0d188d5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.15.0.tgz","fileCount":83,"integrity":"sha512-EQDrJ4aEcZ96AO5BXDaS4v6GwO8T1vKlPg3GMM4WUo5gZKPKsz1QqwJb4tE2uoksADzdvO+Jd91c73eOxBWTCA==","signatures":[{"sig":"MEUCIDMMpNYgo0q16Je0/F8zhAGfWOLE98E8ZM3OKQ5L45CEAiEA8Ci6CwKvSdzT//oZVvD3EebsAr7vYLkcPoFOG6jtAj4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":224813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFPcmCRA9TVsSAnZWagAAqlEP+QFtvdsc9kBnFTR6MilQ\ngDwePRZaj5EHpofDScWCfKffTev+jBnFFVBsdowBPM0/HT4lKgdDeCATXYtp\nf1aZZEk9e43+MEPGlVa/VTzYG1gg/3vqxp3Nx4PJkRsN19yo2Y+LxgEBDcAi\nOF8Ye54mhO6bkJjvyb6o+vbuUMKipa40A74zqTVgUE/ab26UYsuRcKFuqZxU\ne4CcZgfLmWDZfY5Stb8V17vizlbDWvcbAB8ZIvFoDoSVhwd4uPj+BrZcPXdC\nPFxx+VEPygRt5vvax2TNlHloDcYyiJUW91DQLkbbYqaPEjhtJySAOOCMhQ+1\nWxwgOCVRrWzT05x/4rqz4xH3EvD8IKcbrQP5ZXTaJDs6mL2RkP5oeHfhskvm\nSly0R81I/56ZdNjtxLqQ9B6GclMkIyFZS33agkCfPJy0fq6M4CtpxQiw5A5a\nC11/ytrFRQEGNtD3rh+oSUW+blwEn4B0nh2xdsL5VfU5Zhj16ooI2FI9/CXH\n/d8Z4g30JHH0QDQt0W3UueONQkrh92zF5XXFGnwYby2PfHsqDzcL9W0Bua1z\nfKfYCrMiO1ineaFSQavIwks7Gu//TyxvkSfMN4db2Rz7eCd1DYhDj1BzhI8g\nzzQcRamTH5u/e6mvI5g8eSDHKlsifALRrJgcKvIXu0KK7wnmONa/CktNv/Qd\nsctm\r\n=/jK6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"481e1098748c837eb83029487ddda45e7c379a98","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.14","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.8","apollo-codegen-flow":"0.33.18","apollo-codegen-scala":"0.34.18","apollo-codegen-swift":"0.33.18","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.12.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.8","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.3.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.15.0_1561655077546_0.1438777751765541","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.15.1-alpha.0":{"name":"apollo","version":"2.15.1-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.15.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"ce2f96099e8cd2955d68cc8dd18ff330aa7d3b9c","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.15.1-alpha.0.tgz","fileCount":87,"integrity":"sha512-d7L5TZZSsH/QGIwpo72E7Cn/LndNEyMwAj/nvGsZpxtSlBujXwdvK3sgOfnG+ebZbNFhxBnmt3g7jeu+PByj2Q==","signatures":[{"sig":"MEUCIATNyNHAw78a40NN25nb7X0WIyyy0ur//FfS1DG1jtDdAiEAhE1fV8UkQaD6HeKJfXgjE6OfXRP6iM3qZcRCKrzA+2Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":236208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdK6zWCRA9TVsSAnZWagAAnG0QAInrQBTm0qIi7lBESWPi\neHdhZyQ7C7ZZ4IPMTpJai+HU3I0H88L0KlPtbrcEhfSHJ0+eAAR0JWRi8V4n\nQPvNxHhs9upslLGTw+/+FrURclJjKObTUWfD0y9FEQprkGWxRMZiIkhqabdk\nve//F7sNpjmHlayT+oaGKebl42VX8aN0zb9/7OY1YMWCfwUcWyFQqsosJq1x\nKGFs/bsyBtl+46ZfPkAIZ1frNc3AeR+96g5kqYUFQHA3vsYxbiphJdV1WbWC\niZE6iCDKvPkQTF/eHnxE66NU8wlvLnVZKbmL8jpYbOK3HE+jJ3dcJc7cwlaO\nXeH/xvlYEMtxIzhNyigRcLP1w/OiKbYVO4NRCNUh8DJ1fbXlp9UM7tzlCw47\nFh8gzu2wzWw06MILnCYKqvMEJBNBzG/d7cbbMBsQmTNxOfXJ+tZazPIDcA0Q\nw5sS+rdApASLh4cT6A7CtubodMA/q1b+Q3d5mfM8Jy8rY66TihGqeV68TNk+\nJLvtoSmn9YNbg8vfMXuBMkjAzFu6DF5RsC6gCP+9vWDAwl+12YkbS5oeiPU+\naq/gUVyR16E3cmR6Ka8IRPQejDitbb/XbFt/9e8TQV2LtfjdD34osbniQ0nK\nmVIC3r4AgFOG4r9AA1KprUpITQ0L4Z04WZRsd1KE0jjQqvTpZG3BPowRftb7\nJMhM\r\n=Weab\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.15.1-alpha.0 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.0/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"15bedcb389a42d259afc2b1580f92cf9b6d5e975","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.9-alpha.0","apollo-codegen-flow":"0.33.19-alpha.0","apollo-codegen-scala":"0.34.19-alpha.0","apollo-codegen-swift":"0.33.19-alpha.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.12.1-alpha.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.9-alpha.0","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.3.8-alpha.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.15.1-alpha.0_1563143382034_0.21407732601477125","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.15.1-alpha.1":{"name":"apollo","version":"2.15.1-alpha.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.15.1-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"b10c3327ecb4ef332dad96b2262c23912fe4c5fd","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.15.1-alpha.1.tgz","fileCount":87,"integrity":"sha512-q2tK4BNwmj+y07J3XvgGGpnXjkf2FEbys51IktVx3OACbkqc9utdjgryeRQNC3CsN1yYVf4tWbN+xj0T7fQCVw==","signatures":[{"sig":"MEQCIEm17fpjzHZRsbT0JH9ubWaIg6zDf7vGbJrVsEMa3PwcAiA4KNedpsao5CD2Oy5hixbrjytsmEI+jEEdXVKJ4fEOUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":237819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdK8HlCRA9TVsSAnZWagAAhWYP/iRggqmrWXNzOBiYP+kE\njNuQYOg5lS66xky92i9oYAoJ5falhGvl+7TYNxxXxzbT0wf8XHBeI5toreGv\nbpE5KEMFgxplqk7BqnVesFDWSLroe8WcqQvlXBHOI0DxOh3g/oOpoa9uw+AJ\nxlnbKB8lQVHE+Xe7FTX22HgY6Y7hMO/XjNdxgdTa4x4IkeCyKscOkTep+Kcd\nra5BHzK3dGFrSJKYEE9nvKz1GnSb7R2rv2iv0usoIRuv6rcKO+0t0tUSy0yq\ntdxqEFDwzGQCus+TjnvOCLbNoS4P/PVf4u/PMsNqGhjk6lBe8N/1tHxnjPnM\nHgilRhtxZ1f8oJrgHbPiE3E46CSX4zCCWTs+JmseIAinYmacp1jbLKO5UG0C\nXEL05FbU85VUKkrrrn10cmr892ekXWSreR8+5Bd/FM3zzT2vF/9tukHUx1QH\nSqxibMyRxvFjauSrcUFCe5MV2Skxq0CtxDRHQIb/TN59CsPcWVUqeT7Y+EMI\nyDl2r86ke6JEr13T73Fq//pZgIKkUFdwBoJwL4Aof7etZv+8Ipf9Sf8uRTYX\n6eMod0+tHUq4V+0qmW7mFJPE3aozcMdc5TeTl8boadrPYvgLyuXUPQDG3z9j\n6iu3biCzxhKQj5O1YUvc5Ke94cdLI46y78jhT8Fhxp9u+uprs1TkIYkbf1DJ\nu5dT\r\n=jFzg\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.15.1-alpha.1 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.0/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"28d656d4b4039dce1537eaaab5877e53ac5d85a5","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.9-alpha.1","apollo-codegen-flow":"0.33.19-alpha.1","apollo-codegen-scala":"0.34.19-alpha.1","apollo-codegen-swift":"0.33.19-alpha.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.12.1-alpha.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.9-alpha.1","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.3.8-alpha.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.15.1-alpha.1_1563148772791_0.4761909974059313","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.15.1-alpha.2":{"name":"apollo","version":"2.15.1-alpha.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.15.1-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"59274b124f65a4d6f34c5bf35731b5b73eeea99b","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.15.1-alpha.2.tgz","fileCount":87,"integrity":"sha512-t8EUaTa2X6iJ45tuNVJ74gu2AtW/nMC7a3h/MToffQFJr8Xrkv1qLHLgbgBI6P5KJ0p2/7ysNqE0LPd1+ClBVg==","signatures":[{"sig":"MEQCID4kzTS5Fyy0myRYDM7+r7ELK74wLHW2yq+F1vMDv4X8AiAaH0teuCT2BbHc6+LxBuYGGaX96pMm5YD33h2j+cWu0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":240167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLMy5CRA9TVsSAnZWagAAEdYP/ivv9pjxdAl1iCPAHDFX\nOojC+WloNVFdDyGsUdbC3oAHBQOarvZXvogz1Bf7thljSd+3DtDrRS4zwCY/\nv7pQUqa07OZGtayQ/CRXVMD7AlohlW796EOWsNwIYFO3hhcez001lo6+mu4i\nv3JygGKxH7+6tIrBwByPg2b+zghLPsv9izvQdawoRfoLmhsfdYIHl+OnF6e9\nwHs5loar6H+A2FBXaPhrXq+7DqdLnKgF2TcyQsDKozsIxjjPOno1UBV/xd5u\n4RlIP8qhq/oifSU/Cw+KsV2236meVmdwN3sUnQUkAkK8Rbt2ASmB+hSPKtTm\nH8Ul/CMtkJdX6O6x6twFfSuR2wqF4t5nBEAgNvArLiaJo9OzFvA5jrQar7PM\nnOeIeQZz72j0WUwjU2r1+ZEsq54roWqO9xves+INIUz/POqZJTLIg/cOxYRL\nbiUTaKEHGPiIW6HKSpYbQbskm0dSsKbXA9f+/alu0XJyQqIj3EOAkYVBoSNb\n1dXVCaoyQtpPvNW5hkmaLhYwqezrAQGlmwIe5V+aPbt07LC/hk3nwsfyniyN\nktb3Bv9KK1Xh/3euzCvMCYaN4UjwNJQlG8dbGnUowLZXW6I2ev1V+YpUapCu\nvw5OedNgI7G4UVqE7tfMfmlHUUm5EnQ88e1UTqIx8i9Z3LZ10keLDVZpgA7b\nCKfC\r\n=SfRP\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.15.1-alpha.2 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.0/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -f, --federated            Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -f, --federated                    Indicates that the schema is a partial schema from a federated service\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"00f60192738a6eb8ec20bf0e69d89f68fd7f5fc8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.9-alpha.1","apollo-codegen-flow":"0.33.19-alpha.1","apollo-codegen-scala":"0.34.19-alpha.1","apollo-codegen-swift":"0.33.19-alpha.2","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.12.1-alpha.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.9-alpha.1","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.3.8-alpha.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.15.1-alpha.2_1563217080094_0.2357082167651936","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.16.0":{"name":"apollo","version":"2.16.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.16.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"7467a93e81c5ec31afa82b78f2ec3ace84f8a207","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.16.0.tgz","fileCount":87,"integrity":"sha512-yStTQ/YDaDk/IY3YeRhhy9sfHdqQxRmVoV5zinLKUeCRxxarxl7xOTz0jcyic1YKF36TObn3QMPPJ8CRg5XWKw==","signatures":[{"sig":"MEYCIQCNmvR0Vl4uIGJUq10BjVnRoYx0+VhqxSnOJWwFCJfX1AIhAJjoy6k9AY+46frorzLTOmbs99rytgYt3/0iywsErl1R","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":241902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLR9HCRA9TVsSAnZWagAAIn8P/R+VCCFchVMarZB8dEK9\nQH4mGDRN/CDilA6s3qBDypyeHlfhawOFfDH68OcR5dqhMH5onf9kMXw+DOPb\nNVF3XhYVMKvhMePid4383bkWiWTWl3zhYd/hwysa54UAR08xXCs8adUa5FH5\n2sIF5zO45CeUmc48nYzCQnj/bpuvnFu4TxnyxRSTOMrecI+nj+mEx4VJUrk6\nfqclC6YSro0jkdNKiYancakJNYMa8BgfVgkIpM6Rm5Q8JeH8BAdUJeW5SkIa\nXED52GvuUcJvqyy43pWAABQj+BsNo+uXgvapgKuh/A5ZMbuVce1dVSe9DAa2\nxYeOSXx7H5vEpQnUfsK3XQRaTMQAykdpgp75RS+32444P2T5kQeCVad2klov\n3eyVrM/1xXJxdIxhEAWM7ve5OFL4HhtL2sb3ENmxDH6T5sJM2DP9treybQYP\nIuqN3AHthmJ5elsmFRNIdEusCKb/7Jz/59R25zu1XAnozda+Mh04z5AMufb4\n1zrk0xB7VlBYiUUajHb2jhd4w+0WE+ywdeDfPniG4hHUczhr68WLsHObMggZ\ngnXwJ69I6vfzGN0eXAD1+F+Edlg7FZC1zA18TcYl3BBOezbKJrRuYYNpHnER\ncC5SHwyzLFmS6hXfne24dwRRpXcusbgEI6wS0iau/nu8KbDgSlp5sSsve2Ml\nwUPx\r\n=1j99\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"26b5e334784a20f3fd0e0a73c4b280ef55bd5516","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.9","apollo-codegen-flow":"0.33.19","apollo-codegen-scala":"0.34.19","apollo-codegen-swift":"0.34.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.13.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.9","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.16.0_1563238215074_0.8957845614146116","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.16.1":{"name":"apollo","version":"2.16.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.16.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"bb752141ad88eff3a96e1e27cb4385807e163c10","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.16.1.tgz","fileCount":87,"integrity":"sha512-71x1Cn5xpcxbmFyaM8ZQpnjK1KPUC+JNAzmzfQd/680R/m1+ks8WiAI5zfUN9qH0JOMBatXlG0YsAgTf6y5Jaw==","signatures":[{"sig":"MEYCIQCf+6qULcp2ZZocwZKIywgXpv3YX45oazE116CX0f/KZgIhALtgOvddv3kABEMugKlsXoFIoanEDCCsBi7bUWEgB+m4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNgI6CRA9TVsSAnZWagAAbx8P/09wI/azpq0gMlQxQ69a\nVwTGDiHTjQpc5s2jOBOnEbvgYnB2frAu+KDHSCqoLkZZ6pxG6133wDnyniMv\ntSTxKx3mfHPvpjYfN552To+4sjLvVNDvb0ZAjaCzFu/leZ2wwN65DpoS42xx\npED0EIwrELt5amqZOAqVS1CdFylSOyFObyK05YB8gDn4018OrFvskGUVkXCY\ndK9AHnxlwfKtAmzEK7NPJfxAsW4+tqTLRUHifxMLjsT+kl/Ma3YMa7lUV8Ub\nyQA77S9sgVa58mP6Xp/2xq6QP32gyQRQ13h6Oo+4HmZhyamL/B2kCkGpkqiq\nxWXLbeAu3+4uBn0qHptSOj3iXhr8L7NSVkTTwOaHxqBcqSZJCcnL5AH2QGt/\nu6ZRMWTJTpzMevF5PB/pXV0B3x/8BePYEDwd4dd0kT/94fFmgfJSocIcYuVZ\n47rhaOUIXnLl7WMZXMRkVKpEcGPURVQQ3pCkwqpEeMjE8cZ7GzM05/1uSrSy\n1/PVqD8B0bFOg97gg/JhCvLUTO4dDbtH2h76cE9wK5ymHuyDWW0bGE3AANqG\ndSYtloe4HOKhCPPOq3pWZMktxCihP1dqD1e+SI5syZNz9BJ2HlhMZ2okUt5p\nUkRkXgTnC1xd3mvDkuhcTYNYjpOXaG5AO2qpq5EKYW8ONqecpQQs59bn16vI\nOojy\r\n=Qqa5\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"39a3e0825a689fe3e571fe37c112b118751ba8d0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.10","apollo-codegen-flow":"0.33.20","apollo-codegen-scala":"0.34.20","apollo-codegen-swift":"0.34.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.13.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.10","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.16.1_1563820601800_0.23278489607272568","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.16.2":{"name":"apollo","version":"2.16.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.16.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"faae71ea7d8e9e4d389593417f794ed93f609074","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.16.2.tgz","fileCount":87,"integrity":"sha512-l7X/zVD00pS1VmyB0m+sfrLvIqxHQhQdrVLYUq9qMpOcEOWNwTXbjJhYPRrVU0v4JF9wBVoesjh418N72Tpj7A==","signatures":[{"sig":"MEUCIQCmSf1PMo2WopC8oJMXoEME73jgjbzxKxW32PeAWI2vJQIgINXAjbbzTl9LMPR7q4+UkM6GdPADHZflicfDSncyZ3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOi1ICRA9TVsSAnZWagAAa34P/iduK97xkrPjkrxc71BA\nPDS9zBIv/SSf2x5D+ZCOGTS1jAKepQAm8Lg8kR8/EH/ABl99+Q5Z0Mxo/qSr\nieUskMMStYmfUzzRxPb1+CpHafvfN3V+YTorE55QrS/5ibbdnvEwgdsnh+tN\nQIINNFHSnfhyXZxzMcTsLoJ+pLj4TiUmqVq+74sHPTnU+Gsv7gkG6xloBJah\nrzHlfn1dCZKEcOJtDRpn678pw2KwlOl/57KOBoyxXY4+GSkuBSK3VtEQOdyR\niOco0OEhMBG8UazwI217sHTg7RUU5f1pk/TX7USm8jDxuZT8NXZiuhX+eGYO\nf9Z04gnAqrV8wSUJcSXR5xucExi+GQr/28z/Yx7+/MhmNPrmhJovGtKxvHGH\nacsNSbtyTvFJvWJXXEhoMZBdzEiY/dl0K90LSBecdzeni4b6JUHv4DqRXdtg\nfjjSgMS6oomur1JsKNH69f7I00PtrqWeE2mzrFSLikoVVY6R8NqY02GbIGj5\nFXyEuaXEizDgKAAQ0rBwv286rbDKwi3S8Pnor3iRf++ADCAuD6Kav0UlWP88\n5kQYUr/m14r3XflF6UJmHXG+ay4tIDmBtVXAdIcXWNfhKlRfvZuWs5jEnQbG\n/HgQKZocziDExErCbQGgynIgsN0N0oeItC1KZuOJHHQmABGiF+C5wV89A5O2\nF6Mx\r\n=8HNv\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"3045a688e9be52f5eccf060d8ce34ea71f2b135a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.11","apollo-codegen-flow":"0.33.21","apollo-codegen-scala":"0.34.21","apollo-codegen-swift":"0.34.2","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.14.0","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.11","@oclif/plugin-autocomplete":"0.1.1","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.16.2_1564093767280_0.13586928317190905","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.16.3":{"name":"apollo","version":"2.16.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.16.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"6f4e3681480db0286832427b566e581dab97f907","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.16.3.tgz","fileCount":87,"integrity":"sha512-Y2AcawM/NYdeee/jUcVS8hzIYblc9T4gIiCMgR0a7/vQGOX3eGp4IgLvr3ICiPogANZDFOMJODJ/1N8tXmk0WA==","signatures":[{"sig":"MEYCIQDUrNPcguqWRtpTRYMSziT5SuYnLyKwGVZZHCGGdX8ISQIhALcCnETIbtbqH8H+UN+/5i6oBvcZEclCewy0zGJMfQu1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPg6OCRA9TVsSAnZWagAAZVoP/1ypByXzG+LNQZgDCA5T\nNn6ncNxXFGr7ftRDAZiqhBcBdpeXxNynGCyXlUFXsbGgmAjmlHIHEWMSUNE9\nsg/oYts6E/vc1sN/fRxYzQhssom8wy4FQtUsLcHCmjQ9pJ2UxCwH0G5vhjJk\nf0ksvjhN28imwW0D+WF+NBfW2ZE0XO6GcxN5TAGTf60lY5MPHf4IU21qEwdD\n+PUNbayaQDl53fPiJof5NvcQUq1sa5ArHUEhu11XaXSyeGXA41xmTzrQTmdr\n08wqFwO5zz7sYfchi0I6UxVslHpPqsIIJqaPuFvtdykM6kIdbk4j4qu7C+1E\nIGjz4XT51iJFiYbzA+InV+pY6bSidS4OgokekZWge5Du+1XHiOVgFlpy2fVw\noIVk6rKvSVbkSl05nKx4XPPqIJxKSi3+cLHBauLAnA/XuQy9CRf3vnz5bpjc\nxC9ZjJWphsSrD8VhPU7G7anFvInTr2hEPQQMzJlw9bgycLQ/v1SFx5LGIzvD\nhESR+VSpIVnI7XkAxZjquRRt50OvEzwvNMdGFRQjQxzE9joM7r3Q9fYAhfYr\nP6PCpiQUC51icUy4dfAYDsqUWZ9aKT3fwar5ZlOsyGrAkvRajjuo6STJC4Y+\noas+lHuANIxGb1zDDi8EIe0ufr6Og9KUtqBurBLpA7ndUPcaNcUHUdAyIGfR\nuHKr\r\n=wSX+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f22bf0da47ee4aa4c047e25f6e3ce6c176e3d449","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.12","apollo-codegen-flow":"0.33.22","apollo-codegen-scala":"0.34.22","apollo-codegen-swift":"0.34.3","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.14.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.12","@oclif/plugin-autocomplete":"0.1.2","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.16.3_1564348045161_0.6051417850472913","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.17.0":{"name":"apollo","version":"2.17.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.17.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"06db5ba638551962ff53cded489ad6aa08172a59","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.17.0.tgz","fileCount":87,"integrity":"sha512-/7plLEGnDfY0BtatLxR9b0+28xclqxcQ3V30xQb9uIMTRet+J2y7Xap9VdkEkfyJZZK/Rs64dk2IU1PgXEyndw==","signatures":[{"sig":"MEYCIQDFlrEY1q0dKue1jtij+EXSAUhiH2HSSapWsKIfM19gJAIhAK74nXQ/2n+lWMb518PhERtMy6eLNxgCXitCDu9nRShO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSC3zCRA9TVsSAnZWagAA4vMP/iKFr+4SVNLr/GeGwQ5o\neLjXIenqlYlOjyj3O86DZqh5OGjOnNDS3UKAyKi2wN92uVjT7KuPJgUbhv6z\nPlA8LTcluEzB6Nyz1ob2MqNOTnX8lBRw+IVwl/1vaDeQwa/kSkWUqTHm984s\n7qI+9VsHByojPopAcUoAvEaWosv/AgFUUN2sVvYH9RnOD/ot7tuktZ+agkZi\nf2PUxkTVPgsNGKVbdYKDjHrA923gsY8u1gl021uaNWpnQ5K7W0f5UDOaXUmp\njCmuw1HTnJRTjl0ZCtTx+tDdvv5Fd8Dwn2VIBKXgN2i+3ZQt42CvJ6plBaWO\nTuWvoPiWfiuQNTzvACIlo8pWUOUfsz7FDtOpU1fKR3fpiAr5VaPzDVjNXDjs\nSnitXyD4EkybxBhbn16uIbsOGIVeAZM11fpOFd53t4vv/1ySXcARjQZc6Oop\nX7t7DV1TcaCprn3BpzWvRtQ/zdR/8DfmoiMlocr3Iu4iA1v//q15Kc92CrwD\nBtbgJ5b4vg48KLU5/Zz6TPkDyU4mgkxUYLY/ag/f/uCEGWOVPxWfe1JjbCk9\nYaPY20Vuh0ps74jay8ou7x4kXaniE01vcGWiMb9L/AgL4Hrw4yfrcOPgXX1l\nMlZAPuBEW8oKUTO0YQYS+YBA4ku2awaeknxfIYjlHUXdq7v5mVA5r3Vxr4Kh\n2mDM\r\n=vi1V\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"7469a6b1e03d320d2498a3904be601156bfe9986","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.12","apollo-codegen-flow":"0.33.22","apollo-codegen-scala":"0.34.22","apollo-codegen-swift":"0.35.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.14.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.12","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.17.0_1565011442517_0.8485654613468889","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.17.1":{"name":"apollo","version":"2.17.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.17.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"cc618a8df85201ec927ff3ebb9f37dce8c67f841","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.17.1.tgz","fileCount":87,"integrity":"sha512-x6pi41YrlRhUg0hc1kcrkiN1viYhW+YAYLGXTeH5mQwjmppKdNVuA6AHuBqfKS3eo8SCt/F57MTOk8vf/D6VpA==","signatures":[{"sig":"MEQCIBCStVYU8KmpCj8DnsUj923YLRGQVDN6PSyBGa+J0ajwAiAoC6nQye0Frb++Sk0aPUE0q4YnjZ1pOyKxAWx0SqXWbQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSIUeCRA9TVsSAnZWagAAKjMP/2HLkCmm9DmE/5Q8yfZr\nOFoOb4fdAJgzCqs52bJSbYlhOBOnk004i0Pp1FLHJkJrArNn3bd+5T0XbEzc\nkdr90UQL7bea0Aau6B8bifWWe8dPJm7c0x0GfHyk491CZ9j3hmmLGdcIkYXt\nIVOIMXLrUmUSVRX5O3k0NfwpVNmoNOrjm0UgEBxvi6xAI+QJ25Hhxd0N9sD1\nPQNCr70W1zwdGCTZdM7Bqha3uPo569f8pYKeUw2y4XeIsyFL8zHwxXJ54FQq\nAU1kwaXhwXxGwUCoCB1ut0meGpUulvZHOS5Rc7cwqTBZaMgAvLSw+ap7XZqk\ncPAM3BD9V1RDFX1IDVRObIUbZq1kb8AANo28a/pi1baxgnZSXpKx09Tpjzuk\no6M8wdxb/Jnhj5+TJmEptVFXlgJWiMGAx3fgo7WOMy6Vw/jdTA/Tz7osVdq0\nVqWs3eAk6dkADgZSO5iaFFK9QpHz4vg1xp+sCUdp4Y0E1f3IfxYpuXYx0eFw\nZdK2GEkHUh9mRaGs9cTF5hu/6ZoM2rLRTnV34lFJRQk+eXHRAL0YmUJdG1Nw\no0o5/V16SzXqxNXl9HWRarZ/R8D7yFb0rV/jthGreV+oO9Yvcc88/EAFtBYm\n4GZWetKtz6u/hHAiFehU5B9NzG+W8sbdk1cvWL5AUoMugZ4sXuDxGCKZD7jT\nnlL7\r\n=ycqx\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"6e71f0cc0573517dbd29bec260e2edf62d295237","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.12","apollo-codegen-flow":"0.33.22","apollo-codegen-scala":"0.34.22","apollo-codegen-swift":"0.35.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.14.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.12","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.17.1_1565033757568_0.7864859937196984","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.17.2":{"name":"apollo","version":"2.17.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.17.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"dbd8f2932da2fa9910d0730b681cfa295ed0f7f4","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.17.2.tgz","fileCount":91,"integrity":"sha512-5PJ7f+jE9KB0zgHfMzcR9SHrG8WNnI0hRwvMETVyn3b61h1g39OTfXFjJX31x1dwvt6MEWnLjiTHfRgSJNcTyg==","signatures":[{"sig":"MEUCIQDm7IIlOvtAkwk69M8OHFRkKvXFgGk95t9NMZiuJeSDsAIgS1ewby2q6IGn+A8oSGuYoYIGkLaJmUuWuK9IcVIeYCY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":247108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSqEeCRA9TVsSAnZWagAADaAP/1b627pdo0aieu76IO2n\ngnh+XiZgoSo48fEo12nTNSmpPzlCmQgvGZeXYnTTU+jLx7pfeulYTRjQgDwu\nylKySGRVFGwfIcXfYaCECWC7JMa9x1kWPZJ7gjqBW0llwlTnV+zQm7b//4UE\nMBpq7WVIhONDNBgmK2fONrOxcp8Dz9Rjpj8JgAUSPExbnLhZzPfzsJTvxT8U\ndxjxRi+Nz+HlcInbtbPNACQd1g4J8xzdYcawCusbIKFoGF8Dm/pAqFvpzEOf\nChaC8Oh0/IxYKQ7XylOCOLIKV0Xo3SnGAF9R8wrUhSJpxw7t/XX5OifjMrxH\nbcAMvP259JAl0KDwBDAcFTLFfrfBcmnUzUSGUfEa/mQF8qOxcWwzhaHh0Ynk\nPAQls0YiD9Sj27oW7Ignq78g/DyT58K6+/6HEGfmCBORLjXjKAoK/IeHWrpz\ns+u0/I57Bmj2gZ+fNla8f1cH+14vbkek41b9QbyHa+Xc2Qan0HmKhhj5JzvT\nZbVdxC/gh1NXoLNiPX9ps4NDXn3TLPZ2tRw5t2SKEhTDc02UWvGUhsxvhqC9\ngIFV3QfzPiyrG2PHuMhTVTuQ4HO8Dk3VbhlNjDcUk8Q/iAhgQVd2xdK+qXge\nj5bPkxS4uKqx7NyjtKvoKdKOnsyX1pcMcVi7icqPIIVmkjz+KpWpnZLmtGsC\nXmL3\r\n=Bjgp\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"1f2ecf75a9402d62a152237f249850cbdea7c5c5","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.16.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.12","apollo-codegen-flow":"0.33.22","apollo-codegen-scala":"0.34.22","apollo-codegen-swift":"0.35.2","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.14.1","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.12","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.17.2_1565171998032_0.9956355876801937","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.17.3":{"name":"apollo","version":"2.17.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.17.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"707d83111ada3b71c7108fbdec330fa9cfb491ec","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.17.3.tgz","fileCount":87,"integrity":"sha512-J6QQ6+pHFMunA3ooOJ+oR7mzLQgqxKSg6Zvi/NFdbu/pPMRR8lgeap4nRY4+JCPYSW63gK1LtrnGYjEAhIpSfg==","signatures":[{"sig":"MEQCIAdnNi9aju7fB3+F8jelL/9coBxqIKk77B2P8sKYHoltAiBzoYNuYwGHUEkfkCOawnIz/qUJeVzEQWXrMF8PshRdgw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":242041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUaB/CRA9TVsSAnZWagAAIwMP/2S03JPlA3maOEutoa0d\nIO7+RHLqvsC97sBNDNBThEUF1/FpravFVxngIeydzCG3e746UUbzSO80k90r\n+yXMq5aX0WE2fapJJ7JXWCGVWX07E9wTb3LFRb2WGAPlNk8YXITa1oqLwwum\n7Np9FENDHmkQNkgWz5+BGTapcM2F4ZfhHeqibuXjx/BWCmRzIBWMksjTUfoa\nDFe3nFiwZUH3ha1A3rFhUq0NdMV9grf6AItKaXAhxe7QhuvqKoGExRplLa9T\nDoFOlNnV8ywmqtrmcOwAykWY5yXEHgjbRpNVy22OiClmrDTcrax33CQ3kBzA\niH13NnSCY6Jomlv2d9kTsK2kaqlLTBwPkLv+nNKlAHM34LkjL6vyJ8oPsh/Q\nAlrHVKc5uMid6T1XXEVyHytVMMIyydc03Cmtd2QosXja+/i+4jCEUwzxwvLD\nschERjeDRtNM1a0MS0TocwLKduCq6jTnNAtvHDmmorFkSCexdev0+kL7hmbq\ndnQwH9EwG5+4xhW0NGce6rQ5apdhz3O/yx4ioyi9whUjzHCYuIs3qpAAh1FK\nd5Nzih+O454Wra6XPGHQMUNa9gPFiJ4PJ7EDsU/4ZAT5y2fWsL8w6+xHP4hG\nxXz8ohvuta7ze6MU/74ZvbrJ6719EiJftg086iputMq25x0RXUV7DOcjGHb/\nXY/3\r\n=GJI+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"df8fbc4ab1d4ccb602e68aa87293b4d2b98e4efd","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.13","apollo-codegen-flow":"0.33.23","apollo-codegen-scala":"0.34.23","apollo-codegen-swift":"0.35.3","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.14.2","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.13","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.17.3_1565630591128_0.5120759707731448","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.17.4":{"name":"apollo","version":"2.17.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.17.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"497d5ec71a1253bdff46eb6ac53ae2ab010fc6d0","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.17.4.tgz","fileCount":87,"integrity":"sha512-sAGDNmeS4AT17QpNa9A0bIA2eVqHv9Up7TtV+Jt5xgHTU5t44kEH+HO/h7LFcdKLhev2SEUFCSf1xA5ud+19Cg==","signatures":[{"sig":"MEUCIQCqQ437+f/UFLar+V2ZzBBUv02ih2sP1g780uDqMcvjFQIgLb+2WL9bBc6jnHraaZd8JStGye6fKHS37TyTLVDjjKM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":243341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUyPvCRA9TVsSAnZWagAA2/wP/ipxpfuBVXVvGyKnVFvf\nF9uL1zG5K6CKMnxBuO2tqTeq/4eQLFtG93M91o63bj6bL2wiIAF3fpmDu87I\nyP5ej/+L1Bq1YigoeM7R9BR4Mq9AMALyVlf4hoZ69wqU8euVLrHl5uZ2YjRi\nd961VBkaPHjvJhl47Ne+fPjHYkwlSKoyRAB6pgM+bpGbDu+GVkBY/HBJZ26L\nF56ZXYNk1bArM8HqAvcr4lAhtp/MNfnZHqApWAJX2dZrLOGhm5RKgCaCVtEU\nf03OmKtt/ue6sEkWNiBLicv4HGOXCICZpBk2tv3EmAeeIVcx2QTubR34wFWK\nYW95AdiYVJT3ot9NbU1TtZYwAjk12msGxSlt+rLk+2apjlsu0q5BOBCXvSUH\nARIiiSCzaJJiA2/pL4IV4LQp1VAALsi0AAFgQET4l9KIGryJAJteCpxQBAue\nvodkGTUQjoaTWSGVBSDqCPaNIam735WP7lPCSVda+TmaUY1HMiqy5Xh000H+\nACkdAP9hfTqJIooHz9Pzm58J/9cGktHGNzN7VhLMrpzVm/VWdf/u6XjruqQJ\nWbht1D4M6y49YP85EwMeTIg6A9juOJF+RhQ3Ep9Scc84lKhGTUTx30KmQBBD\nXp5BmdZk7b3wF8FcXwJN+zeoD91XGpg9Cev3s6U0UDIQYF9MeE9fgG4UHgs4\nDaDb\r\n=NcwQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"5053584dd15b1f96555583b9ba053b1ee6d65795","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.15.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.2","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.0","apollo-codegen-core":"0.34.14","apollo-codegen-flow":"0.33.24","apollo-codegen-scala":"0.34.24","apollo-codegen-swift":"0.35.4","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.14.3","@oclif/plugin-not-found":"1.2.2","apollo-codegen-typescript":"0.34.14","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.17.4_1565729774161_0.021261840897069506","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.0":{"name":"apollo","version":"2.18.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"b0209f5bba6f678a2a9da4d11c22892308080846","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.0.tgz","fileCount":87,"integrity":"sha512-wd06NPhF0ZcQ1VZVipmuu3MkZPoAjGE+TYQ38ry4YJIljldL2Jx9jFR2bbqHcbzBskM0cRuuUD6l0aAZmMlJDQ==","signatures":[{"sig":"MEQCIBdXU+xeezbwI/gBd0DRK7glSyLa0XHV5H2vUt3JJ+7eAiBAof7/GSJBFhsEmHs93ZXv+ZWdmmVvO3neYroTmBGpwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":244469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWrPSCRA9TVsSAnZWagAA+/8P/19x5b9bkUMB5dI4dR65\nYcz8KKzZ69xDvk47qAuhls8fjGvGEDSAmT9CcrlZMQrkgxfsSV61F0P0qplx\nqnF8wNH1afxpt3O3qAT2Y3KPFoztFtJMkIVeswxJagzAdv5j12z5wkfOnBkl\nGbJpAF5O/xeHp7uhKGE5cQweQ+GTr30y8E1fz1jkQ49OEZnRTSBWoo84nHH8\nKoak8GsBx3LSq0g5j7EAg1RazMHNsvTOF8cOnrR8bL583B4KeF7pWtJsWM6e\nGYdT7/8w/tTHfxwCCmPD9P8PLqhWzL3NdluXP4EkA+yj1SRXafOWklSb1UAJ\nuVXh6lR8NhEBUDXfuU4LtnnM8rP206BGNgWtbSVwsxc/dllMufu4thzaM4pN\nblIAkT3CNdfG+obpR4oOchQbwR1rx9x3i7VV0zRSO3GUiMJPLSrcvC0jkztW\nWZnr/cnrhMw5rhixOkoyryM2L3Du5WfPNwlzphO5c5uhwRRa8noUOX2YMhZB\n1gLt/6lSggwAJoFPqhS0mteLHqpVwHUWBBrApEydG9dHNcTyyIsNQrqzqS7J\n3H7wF6mM9DvjfNuRrEzVr5YXHdbMXS/9K1JN9P3zajx0Z9H6GUesdKjAl76T\nSC4bFrqEuuTjPat8K9qe3Et6Kp2iaTPiaklmWQBpF5YPOkV+s1FWVWhS37os\nxwyV\r\n=jzgE\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"d15f97d91b2fbcf45ceb00fb1517b6a6bebc4d61","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.16","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"0.35.0","apollo-codegen-flow":"0.33.25","apollo-codegen-scala":"0.34.25","apollo-codegen-swift":"0.35.5","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.15.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"0.35.0","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.0_1566225361554_0.20712957591200865","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.1-alpha.0":{"name":"apollo","version":"2.18.1-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"b08a20697cac870108218313f9861cbbbe6eaca2","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.1-alpha.0.tgz","fileCount":91,"integrity":"sha512-k33kgjJnfFV27bJep2LpVX1PGHMk4YSDCKDarR1YAonPQanv/gc6w2orIS+PMZLaVTCpDlM84kQc3ZRlK/J7og==","signatures":[{"sig":"MEQCIDun98eiuSsjBi+YLo3F2Hj6cWSuFG9R8miiMyfSzDZeAiAB6QOlq6ugc+jxo2/Em9MaJQmJLo5eR844CBEvDpKYkg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":247430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZo0vCRA9TVsSAnZWagAAao4P/3FjUcpgOEB10kbeEjS9\ni3NOhA7YKjzh2BlhvttekyEO+enJMvDppP7KD3EHukORm6piOWdZ/HGfbzsP\nRHkfpw7iKgVS7KbVzbMfOUFGYsOwj78vGzuG6nDDZ6TjiGfrW6qNXvPBl0IT\nneSrUK8fRF7w/PthO8yCmlMUSNOirD/tQPE6PBxkPAjIwdN4uue4bWsLYryx\nJBdj+WgI+1wcrQfe1itD83iuljqVxNGxY7b8u2ivB3sdtXTfl8biXghacj9s\nSWAgvkxkmRdV3UpPQruTlI32aPuoOScXUiYI3IlKb59vNKY6xyWbYTMKzBXO\nc/U85Je9Fg0WYz3VFZLXmAsrqacP7VlHCcaYpKb9DtBsgsTRAnhG7ltbwMpf\nx9WnxsrSc/+OBv6831VszGYf/TPY1+2cz+cZLRF+976yoFYJyX1GZUZJMOna\nqiCVThYKcI+VdyLzHpwZRxxlB+iFB4YKHEtFkbs/lmqyAeG4ipBNMjQuNcm6\n4xuq2xkNM47dPAoK6uS3ScMPzYr7nLJ5IEpFftGqeyFXn1eyi9kt8LybZRoi\n0gsAinxaV/p4f1pO4WDR9meNcyn453MOFiLNh3+VnCX/AFVHkDSsinjpKaSm\nc3rU+PDt5BIX7VRkDpAYUM9oTjqyiX1tP8e+JGPFcn349MXSxs74+O33ycok\nBfTb\r\n=XHsY\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.18.1-alpha.0 darwin-x64 node-v8.11.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"fileExtension\" to modify the extension of the file, for\n                                             example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n- [@trevor-scheer](https://github.com/trevor-scheer) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"3182a0e28c2df083ac171a605a40478e166bb3a4","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.18","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"0.35.1-alpha.0","apollo-codegen-flow":"0.33.26-alpha.0","apollo-codegen-scala":"0.34.26-alpha.0","apollo-codegen-swift":"0.35.6-alpha.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.15.1-alpha.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"0.35.1-alpha.0","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.1-alpha.0_1567001902660_0.6572281027892817","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.1-register.0":{"name":"apollo","version":"2.18.1-register.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.1-register.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"020206b7d4b64211d17d62b5bbb569dcdcb550bb","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.1-register.0.tgz","fileCount":91,"integrity":"sha512-d3vrL2whRHfRiCeZ1MjBweGsp3kstdi7Q9LvSqP4N8KgpLMBmSGltRzFnvW13fqQBotq5jRbjXlW99KTMkO/BQ==","signatures":[{"sig":"MEUCIFb/eXilC2TzxPJauX92oy4IwqquC1FMs/+VYdSgMUCmAiEAzAnywWc+bECJj4v0Wv8l5Tlme+FpdpngX8OHUlVpkR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":247715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdco6JCRA9TVsSAnZWagAAZzgP/iGMagf/Xaz1JGgSExlQ\n9tZEcZQ7ExhAbnrGk/rEnq12WlZK/p3A9RvEWlE+Wp/tZgZCA70IjrZ8O4Nd\npKpYHBnFYF0MJJezkQ1+iY5nyML2LxhkZFuDe/tfszwTlAzGnd03cjeeFWja\nuPLqxvxAjxs7zaheIGUZXlLaOXvUphiaWEZ4vpWApAFqI9w8kDK/JTtE42kC\n09fpNfKT9dpgqqwtU8uOQNdXc1yrLgnlMOGuUUPDRq3Y2xY9bbdX7utLUgDU\nsPfx6KeQRqEygXgOCJRb52QTSNi7gBt7+BjGNajmZqT2XtNOjIT8t3ocqnWY\nbGXx7XAfSmfY8SrW7liGFojNaPWEUa7nNH6BGsGivZbmMhBb5KfOPqTJ4EFs\npNfNOws6v52+X2lPToGPt4AMEf0aHLXHqckebnyzF82jxIyJ+F+lMZe8pQAn\n7LhtIB1NCGYgp4Y/ieUqQbJECsMhASQ69+st7d9jNFD4PJ6pkbXI8VSAvQcm\nCjiBBLtcIQg3v+fyclluvD8S9+pQKln5XtpJpn7eNPGxzBhCq8k2ESJaumub\n6cFUy/L29vxr7kXXvvthf6WDSRGe5BXeKmfew8P3BrxN2dJ71JLw7ekaUjph\nTN1FGjNrL/2bjGw2AjJjMfaR+JyIReQhntWDE0+RCVjIRB0uWBQjgbBkM1q0\n7Bes\r\n=CnW3\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.18.1-register.0 darwin-x64 node-v8.11.1\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"fileExtension\" to modify the extension of the file, for\n                                             example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"c9790110ee474ed174b24ff26c6c4f16c41376ea","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.11.1+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"8.11.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.18","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"0.35.1-register.0","apollo-codegen-flow":"0.33.26-register.0","apollo-codegen-scala":"0.34.26-register.0","apollo-codegen-swift":"0.35.6-register.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.15.1-register.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"0.35.1-register.0","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.1-register.0_1567788681137_0.558288344510985","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.1-register.1":{"name":"apollo","version":"2.18.1-register.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.1-register.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"96e88c10f134d6eb48b2596a7eb9b03eebe5eab9","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.1-register.1.tgz","fileCount":91,"integrity":"sha512-emZRK+fy7WdfcFk2Rr507+z3kW4Gzp9CBpaMOvqOIgTqx29E0aWiSVzhp4XShh0CoxSD8d5496asqlikF2CYug==","signatures":[{"sig":"MEQCIGqLW6I8PzJwf8fbln0VobPMmLVo3TX+gIee5sLm9BjWAiA1G9xP2PNNa/YLn6oIe3sfzLfscb80w9O7+FxiRfo0Ag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":247777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcpg4CRA9TVsSAnZWagAAzsUP/AwwJBYSytS2D/w9si6u\n63OVRzGmC9YFgOGnPpkDV07OkEg1lZG2FPbGnd6p0io5ERaGvy01k4drkjBy\nys8OZwTffIwBw3fyKW8Zn6A8QIkcIEGkv2ZJixewlGe8kplWaF3H+bIjBjiD\nPuos/mMdhE2CDuZUNRzlP6MMn99RE/G8LEQW+98Xrr6tWHomKbkbhAC03uRF\n7cMLwHtjlWal668yVQ1NT07XInujykt/jszuNERJbUXg0OnzCfY8NnKC6oXB\nwDN/t1v2ziNmFKqT80CE7pcSr9ZkAPwQJ4ImYMQfT5tTeYYPeBaSIJvAVm5e\nUKuQnmJy4PNnSitpinDYKNrE05a9yaz6mXSG6WfQ7dSH6Vw+5sjUbl78xYuO\nfjcsx66/5Q4n6+1yKAymF9sidbkLi9BAtbHmFp0+3WZKSgbE23IYKazHp073\nfuOWGRrI5ko7JfE48mZkpP7DszdU2Dv/CM59Gr3onosTAYljdnNUe4zIpB25\n4jAjixX9KNxI13WjmM0+IZ2ISSncg8ijokNcpsWNKhSQiei7yy6ddqGyPRFH\nPLA/HDVtLUDxnLzFKZ5b1qELUQpmiEfR+nFlo0u1adHe8QcvoI/gxfumiJij\n0rHeytin8U50LkKo03b37sj5ScTe4gOCVdH25fauIS3r1XfmlN5ojRi9y9NK\n36uv\r\n=V2+q\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.18.1-register.1 darwin-x64 node-v11.14.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"fileExtension\" to modify the extension of the file, for\n                                             example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n- Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n- Run `npm run release` to publish the individual packages.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"cc67b14f4f80a9a37ff8b0d87051192ea360cdb0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"11.14.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.3.1","git-parse":"1.0.3","apollo-env":"0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.18","apollo-graphql":"0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"0.35.1-register.0","apollo-codegen-flow":"0.33.26-register.0","apollo-codegen-scala":"0.34.26-register.0","apollo-codegen-swift":"0.35.6-register.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"1.15.1-register.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"0.35.1-register.0","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.5.3"},"bundleDependencies":["apollo-language-server"],"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.1-register.1_1567791159966_0.8533940803877156","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.1":{"name":"apollo","version":"2.18.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"16b55924f064c7b9327e5001d206e061334723e5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.1.tgz","fileCount":91,"integrity":"sha512-kBzOTD76PYyQ9sWJ1uQAB+eFWvv7+63qzeAoiV0OFyjbH6LN3sm24qD2KNoaQhT5p+hArdpDeHWR0EVyaO+jWw==","signatures":[{"sig":"MEQCICgbcjdqykiXAgV0Nnwa7HQXmgfZCp00Z9GeD0Lx9yAAAiB6Dj/lGE82DRHYB9usNop6loWaoZIkAIzdG/kEjSvbCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":247645,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddlpmCRA9TVsSAnZWagAARzQP/1r6mlWOt3CIz7Md4Gst\nzOAtNYUlmP8p7Xh0Le9bs48AMnZpc39HArOugW0OHdrBAvklpMvmD3BcsUW9\n1qRzWYSdbsDivncSHZseMGxGHBoWeD0bjNHLvDBDY7fCKEDNuuSoNMQmoGOq\nEqyOCF+ncbA0XM/I7SQc+MkSnixF2herS7W22q3BH0OEcRk3f93QC5oey4vc\n0KX8iU824d7hIQaKd2gosCD/ixI9XhRHKWWqZsyxhUllCyGsH7N46V3Z5iDn\nIrXQIgebUMJp3Gj4fU6zfvTmeS1/cTnv65P5n5DYP2Nc25sm3bLOi6tTuREm\nw9bnDa6GOUFcDXV8RqdD37xhRF8NeUYSuWX1yaOLUTTtCKKGh5RJA8ekywGj\nJCJZ027at7a7V44OtHipC86h+030MmgYwuyzitc0uP1q/gTftYHHd94k0hhq\nLxqGYidvnbvfOIdm9717EocIHyVWgwiR4B/WmDLt1K6ujGWLia8MWV8YsfXJ\nFMFUUHJEfbQS4828TQMMMHFjegOQbqX58r0BWGEmYerehb/DYnGFApWCE9Jp\nOGqAYrfc9QHNseTTqxs7s7EMj7Soaspln4pD5cIfdB5D/YwHeUTpOUhwZp86\npb9pLZAn4jLILq4rkXr79rBG0fqhOATpu5NpBzy6iXZMzmSf4hn8PNlQdIJ2\nHKDx\r\n=ggja\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"ad937df63ff8655eed6a4e632a398fa6d724986d","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.18","apollo-graphql":"^0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.1","apollo-codegen-flow":"^0.33.26","apollo-codegen-scala":"^0.34.26","apollo-codegen-swift":"^0.35.6","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.15.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.1","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.1_1568037476994_0.4183646783021795","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.2":{"name":"apollo","version":"2.18.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"a7e7a7f91895762b4ba300dbe2bd3ac0deaf40c1","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.2.tgz","fileCount":91,"integrity":"sha512-rE2irx+Q92PYbm4TZsSJciTMh051tJgpVJ4smIVJR6pXzQXBJCOdgM8a4JK2K78tuc4UWSlLSI95taaAf80wvg==","signatures":[{"sig":"MEQCIBm0ZuEK6T4C/Y/38NZZeocYojbsJ1FiUEi+G/ah6wnJAiBtxENg7mGe8CCMH/2bp9f7qxOqyrgN6NawGpIbJtV56g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJderMuCRA9TVsSAnZWagAAnOwP/AlsrfzNExfXaaNQyw6R\ny4yGxcHvvNtnXOrdPRRE9QPjh2TZGCVrFbM9NJm5dtfd1DchRH65QY3qq8M2\n++hlFwt/Kj19wUZrpqfdOwwiYLV4qfglGwYlunBddtOKEIgNFStz0ZSAzu9E\nFYIm5QxvxoQHSOHY8J0qhE7bQFfYB+9Xr9CPTGXL0wV7Nj2oE809FlggUUsM\n9N29rxS+qtIwWF6ku+fnEMd6+w+p2Szm1tL5vaRIDy9bMM/lMpKnVcvo89pq\nNkZ+h6i6Opdkrow+qpqgb35caVZEmghwrQ9BJhyksVEPcplDWTtEZigp4Php\no87xJzYxm8b0jALQLUvLL7dhvxmlSMrIgIG5BbuBsSLuEAjLb17m0yg1yqr9\n9U4SDiTFQByib4dlwyYVO9pUakiWTulqFVSplPdWsHBh4TtPeh806cOP7QSz\nQu0C0cLnWxFfCXINOPHN4xVmH5fCh+OEid5w28fIrS7Vv4FAw3ArjkOKJfC8\nRTOOi6HFpJWznmPNktwf84QTwTaAMFUSkucjAMhwIrTjyzSbe28JGO7ScUHt\ncwltYaPe29xF2iKYSrN+iJccuK1gQV1NxMrDmfCgO8NxmkskWCQBfP57ocwg\noohg9+cA31KuVpJEPvO9CaeP3AYu/G7+Y1ygU2s99m9wiCBZkY5hkVph3ms+\n+yPT\r\n=zU8k\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"ee51af0a82027104fbcd95c3effb810c89a43566","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.18","apollo-graphql":"^0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.2","apollo-codegen-flow":"^0.33.27","apollo-codegen-scala":"^0.34.27","apollo-codegen-swift":"^0.35.7","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.15.2","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.2","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.2_1568322349103_0.8282009082557211","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.3-alpha.0":{"name":"apollo","version":"2.18.3-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.3-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"d9b1eea76c1db28640542223fc25039b6a2e8e8a","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.3-alpha.0.tgz","fileCount":91,"integrity":"sha512-yQuassaZlVhCcgPbey9Ol7tndCLifdh1MsACw9UNzUsL8fps5dXpX5fY/wLf0XHYItPQDLL+y2vr0SPvqERPkw==","signatures":[{"sig":"MEQCIFQ0r+mBNrXyKRsCLv7sqysMTfG8dbN7uWhvKDfYIKZNAiAZvywZjNCyh6Xf+fGtDEq2GgjTSpJIHLb5P/O6QJ9Wgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfATjCRA9TVsSAnZWagAAtfYQAJfn6L9NNvZ9MDDkYTOI\n+XAR2WqX18RPwIui2LGgj3d8kZZV4msTKFHcDuV5E4DxIImTNMAb5ojIUy4Z\nqwXgiAoWKcISDdtP7fg/jwp06enbIfXYfYasByTaujITqJ9oyll28ZG/AePf\n99J0vbWlpwsvGGaIYaMzOlOUC7FcEHwju3snXYoOi9QjBxcIHCbpNRRtu6Nl\nW1tH1D4d/+6w6tIWuLS4nExeBVpkuXIl9C1Td7ArKORiO3Q19eKck2N728Lj\nsKZmRSe4MDGIwTDp99XmBPBV7TZErDSwDt/iYi3shETIqbRpHPKfyjGamyFm\nOePGXYhrVPpkUByQPnBQJ6CZDrjmUJqzE5XPEENMg8ODoEJp9Runca1FwUfm\nO45h7foaygVLmeMA01v3TvzEm9AFT1gu8AoXya8U3GjZWf+kJOsA0Oaujpr1\npoHgJ+nNjAYPkyA4uNIldTjI4tTRhH3B7XsHqAoNAmJ1E7JEGCzbuDNcyh9r\nfYfzLqrjwQf4asmGJQhPbzLZ3L2YKyvOxqTUvau31KJySTFbx8Go75k/kAlm\nLnyrgd2R00L3zf+eYR8zGmJzRjZbpae0ny/islN81ZHU/kmji8MEKJL2LlaF\n59du0seOTN1iYz+WIp66SLavKmFsXeTvMnArxAi8yddfkVgM+3D+1SCAXsdZ\nL5Bn\r\n=Zzpk\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b244181f1cbf4555bca73a10aee3900b73e72ec0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.18","apollo-graphql":"^0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.3-alpha.0","apollo-codegen-flow":"^0.33.28-alpha.0","apollo-codegen-scala":"^0.34.28-alpha.0","apollo-codegen-swift":"^0.35.8-alpha.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.15.3-alpha.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.3-alpha.0","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.3-alpha.0_1568408802243_0.23678408028085296","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.3":{"name":"apollo","version":"2.18.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"a06d8e2f3096e235ca20ec98c8e14bf5131f053a","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.3.tgz","fileCount":91,"integrity":"sha512-NxlW4WprImYQcQvBCM87nrMV5RuhF7cynlFxnk8QIYhxVb+o79/h/b6Cs6jR3+LGrBPkY+GUKz04aO79RgHP4Q==","signatures":[{"sig":"MEUCIQDdogyZPL9qi/v9WEDDNv9TiDsFhRJeo73yNqYHM0waawIgK9L7H+AQ4BAp9f0iwtuk7N246OYICpDHTsi/ox8U9vU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfAtJCRA9TVsSAnZWagAAZh4P/A6aOuw/pQp5rUFnGuKk\n7uHC7U3agAZ9zzubBhIS3IWGcvQMl/50Pqeqy5lWvTYDofXVkUD6736clKLu\nOe28WSIVio8v0diOfU4esAAcO0PDHpLWFeu8hEyGn5lBSLvqOf2Dp/immAuz\nWGmP/5RRAd/8YR0bTItv7YEE4lArj3v0MWVtfCXrUNdwqdOVR8d5kCg4JGcT\nkYSh1Q+ExlsNsNS8hNUlPCs/VDEMUIX7/TdL3zD1Y2xptA0WLOwudhWn7ZXX\nzYXhY5tIIQ8p+JXJuX7KDvr6vfLcvxVcFKv/f8uw/LbryR0E1zdRL+3GQ1Z1\nMHHBZQWjf9tD41fLcwpcTsMbmT/+bGj4tXheJHWgllWPalLr42hjGntHkF0M\nGqa8HhAGCGwQXdvkAcbK59POl7iqoeBKW1GrWzZayHEnplxA9+H3U7g1LEjH\nTD0FIN/kBmxZxqSAD17HG6TcLejCnZF9R7XZEvqtcTZoRWAr3Y4HDpW+FmYQ\nsYc2pdnQGQNLasrMUJ4TbZeo/eqPlHAui9lPlgNjGJa5Ra0BqA/9aw4Kpk0o\nfbidRRdIpQwZEhiE2KeDP9f/3/aPZcyCNW4VPhS38bpjX4cu0qabRewnMm4O\nSEL7q0Wg2x7uSpQiXjlR6+HFL/Wj55SEAObj0hH+nDKN4BLZzIptXobHRbQC\nSGNa\r\n=OQ0m\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"32e049c93294e75c943d439aeb07da33c84b67cb","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.18","apollo-graphql":"^0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.3","apollo-codegen-flow":"^0.33.28","apollo-codegen-scala":"^0.34.28","apollo-codegen-swift":"^0.35.8","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.15.3","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.3","@oclif/plugin-autocomplete":"0.1.3","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.3_1568410440219_0.2724937564527614","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.19.0-alpha.0":{"name":"apollo","version":"2.19.0-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.19.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"874409f8cc3992fd8af2c429d7ba138584546575","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.19.0-alpha.0.tgz","fileCount":91,"integrity":"sha512-isoHq1kSlJtQKEX4OKL5p19BODRUtMO9A5p21wQoTrsxjXFy+OTXh2B75PUBqeG+0/eH9h/bYr7KpQSTr9Rqqg==","signatures":[{"sig":"MEYCIQDwZWkJ0ws5L6o9Pg/qLPP2drQDBYvQ7kfHl/3KrKBNdwIhAKRuD04f6gZ3llsbAay4D2bxMCCMcpa1iMbVr01iknzZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgRWOCRA9TVsSAnZWagAAwDwP/2kiggYeMuoLeNVgEjRi\ngNKHIhDWPKqEX/0OA7S2p06jna2nfMElCRTAaXFbiWunimQ5RVaQcbaYJFAo\nSRTTH0trBZM2AtJGoHNL/4oHQzmcEDtf3iWFYjI9Jgo48MaFnHM6T4A5RqpG\nGc+cDKrH7hA5HLy6pQHgs1QpqKXoflDmXuLv3fzt1d7mozdmy0/X04irAqKD\ndzl3P/J7YPmAo0RewnGsmkE57BnNw0I5Ii8+7K5RzzipgZfP0WTbi5pQ7kGU\n5umUGPhE4MpJR0XsglsFCSK7Y0dNCPA9J9GGflNr1yY8HlF86LL52uswp8cA\nnoritJlFQwGHc4Rhidm0Ctu6hqPS8YKUTGwq2yfegpKG+nJ0pOk2LAlz2h1T\ntgR6vS5oQOGVI1ArnRrF8WLs70RyigVhnmgSY/ouDtioHdOR59NTBbk1EIVb\nao68UwpWDdaO0zhOCAqvL7JsNq8+Y06NduK2ynjPoeUiwfBzsM1+sUpBjQx3\nrG9MnTWYez77+kTAmiRJkRT6lRvnSelMIt3kjrx8a15iJtU2vZltG+zO2kWO\noCkOQTvHLqeAEgQcGyHstuWJxEgPmfM/Zeci8gMM0cJzMCqpT9umxVHuqNAU\nr4OOriKM0/Iw5U4cwQkSwIBb+ZZRe7Oq99VBDS27ULjtSeE4i+PV62TWkopg\n0o0I\r\n=y0q/\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"30419c480273dc0d14c86d4d12a4a63de60766ca","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.3","heroku-cli-util":"8.0.11","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.36.0-alpha.0","apollo-codegen-flow":"^0.34.0-alpha.0","apollo-codegen-scala":"^0.35.0-alpha.0","apollo-codegen-swift":"^0.36.0-alpha.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.16.0-alpha.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.0-alpha.0","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.19.0-alpha.0_1568740749094_0.7592379248093957","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.4-alpha.0":{"name":"apollo","version":"2.18.4-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.4-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"b058b2ba8132355bd0711eaa5f1400fc3de17372","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.4-alpha.0.tgz","fileCount":91,"integrity":"sha512-Ib3pe9tNjYk5Sv1EyEDzqVnHANQKpDMDu2xozD/AYCg+kmHzLMzFa9FWDFJEuujrBxsK+Gq1unobucsnz5jClQ==","signatures":[{"sig":"MEUCIQCGoB+en/1Kz5PxC2z/yzmLrtO+8vNJxQgap+NsIa/spgIgD++1pfTMYPEWxVFo6FHwFFhX1/Gf4U2jXPuJ+tbl1Tw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjgz6CRA9TVsSAnZWagAAkJwP/j0sGNqWqweKREnsQqas\nCIWcQTs4OXH9tGs/KzF812HP2MTmhjHyE/a9cTmo2pKy4t0Ig1DLyal20fNY\ntnxX9+Gv/JbeUR6C0dJ/Hs1dw2Oukr9xJdudZ8m9bh/X63FW2UNeWteluf9p\n2+mutSmTCC9ffu/YvhKxeqDqBVNCi4qe/nbZwLvp+IhCrOX1MyFXwsn1jmGR\nEhgSWZGaVTP7u3u7PtFEUTvU0QSDBkw8k2ylSJIJDIbMPmxEVVYjBBHVaV38\nK9mXKgApIiGlmQaeX8jryW11K25JyWyyKovc6QIJ/3A03SfIKqGSrJknLSZe\n1n0Yf3wKi7vP1gRDTuFbeBt9Ep3U4ieEAuoqvJHm8Cx9DQSPxDqfa59ANVIp\neGuOa+mMD97NkWD4IOQN4+DjjeqJmaX6B6LXCQVem1HwDQM0iaj44cX9rQ66\njEIqNBjyCBt28xmihe6lWTK7hn7E8k4vD1LLesFd/U2n1vcEoQ5SsvQZBaZc\n7fHZ9ho58B25cZl3LN/bkOQxtydg3BDh/2Ngl9IX5r5XfeeaXRA2tFqol5uv\ndCtP5eIJilaqdNcZJaVlBW7PFv5DW4hNbMhhT35dI+p5heaKmQG8Jqs71Cjj\nduAyLuvZr+8HTfkKuwUWENzOYd9LvfbPJDBiaHYFN8OZEWSpdz34DVliXHpq\nT9Ob\r\n=BGq/\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"2094ccc96dfa99abbe93f791a744e21e2a310e58","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.3","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.4-alpha.0","apollo-codegen-flow":"^0.33.29-alpha.0","apollo-codegen-scala":"^0.34.29-alpha.0","apollo-codegen-swift":"^0.35.9-alpha.0","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.15.4-alpha.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.4-alpha.0","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.4-alpha.0_1569590522219_0.43953813273840026","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.18.4-alpha.1":{"name":"apollo","version":"2.18.4-alpha.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.18.4-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"46ebad179c84285ee378c35f3049c555c9954425","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.18.4-alpha.1.tgz","fileCount":91,"integrity":"sha512-IoaKwb7KDTi49itA/F59fwyWQFn9rn+aU6xH98k9vjJ4SjN6gXX43zkWlGwjug55rZKmp4p30HgyXNt46iOMxA==","signatures":[{"sig":"MEUCIFxr9S7+KR2XOOAJ1HE001SWYj0zjFh0s8QKf5faQNM2AiEAhz1Zg2aR9eJHfEiYQ82opSU+ONLKJkBJ1sYaNiDOoOI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjkAzCRA9TVsSAnZWagAACKsP+wUqLmIVywNTCliscis1\nkh5ZNIi6JsStiq0ao/nJoOb6yDxVtT/UGfqgCq5vX79YbDETfkS9/xG5rgd4\nbtM77MsWP/5/SkopQIHGwmPNmPHKMyTDrxe9hfD8TdUOgSN/V/vW5ppxBj9l\n0jN3b3jDLa04ofH+/Bv/10Avz+IZoqYwyxGihxwQGoxRnnXPVh+5d9XJo73t\nWB2ZhT5ZjOMv/Zxx+qXYKWEWPDq4/3/iAubVk15Fsz05ey8034tmVo3JvZqA\nRqioB0WgvEmC5/kCFQC7Da0m7UQbZ1tJWm0xHDfXPeXX8VE2O/P8V+JkygxM\npnJAINKwEZbLveNWFr0oJAhWmLqJg38Evh81Y/UMvdyhuSQU9VIDgLEDAohL\nGylVPzBkNfIrfXSorsV3nr2g3BSa52LWzHJ5ZAmz5Qbj3/wBp7sFT2xiM6eQ\nrwJYYKvayfo+PANY//9563jeXwuecvSPqwAHXZORrxZ5R/YTpzf/mDX6HC02\n5fwr/LZPLALUIrYBs2bHt4WOkG9HDGg/RXpxSFJrfsHBE6/4SIV9Pk+jRJWk\nV07p/2ugq0kckS9jrp7c2Z9igAymry5qdJuL6arqHYsrdfLGfLd9F3+frfo5\nNV2SLch03OXPabb1CMj0HUQmk83R9iVHM+Ye7/+rmbydTOCYEZJvsk3jIJHW\npnRJ\r\n=rQzO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.18.4-alpha.1 linux-x64 node-v10.16.3\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"fileExtension\" to modify the extension of the file, for\n                                             example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"4de4a6578f3ac25302dd91d3bba481c42271121c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.3","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.4-alpha.1","apollo-codegen-flow":"^0.33.29-alpha.1","apollo-codegen-scala":"^0.34.29-alpha.1","apollo-codegen-swift":"^0.35.9-alpha.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.15.4-alpha.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.4-alpha.1","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.5.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.18.4-alpha.1_1569603634395_0.6865453283470659","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.19.0-alpha.1":{"name":"apollo","version":"2.19.0-alpha.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.19.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"bbde96c0a9415aac18de94bc4a5af1bd62dafdcc","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.19.0-alpha.1.tgz","fileCount":91,"integrity":"sha512-5r5yG+HXYFiNpPF/JHIHXb8hohXjN1pC/fdkXTP1wlT5CD7Ru5bRBnGt8q5MstOfPN6V+sSQUC45Bl+yJaPfGw==","signatures":[{"sig":"MEUCIQC0x7GYCxmyCjrfCNCGmHY5WGeZhZpRIAYSj2xW7+r5qAIgYeqRNC3UjU3DHHCHwvpycjaVlTaMAliArTXYtnmvhwQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk7SBCRA9TVsSAnZWagAAnYcQAKMIWIP7ygMBMJbejBDR\nZZKZreTQfoeKNS46gA553+xn+wqOf0RTr+D9Iv7aPnrWY1ytzoEvPT5qRxjk\n4H1ZWDbE8sSVuN4TDEEz7XF/eHGfGfh4mx5OEiqTXS4cLE9Ume/l07A0i1LF\n+FJd8VoCLxKcpxLVAw13fLnw+DIs/UVv4WFnft2Ir/R32i3W1UfXU+6s5ktU\nksvuN6HwfmoyJYE8IMFTF8EoPsw9PctRyVlpNprkDiXVoFqTSHEvdlOze/j4\n6ScNJ1wq9YfeVLxY7Ycqe6lK49wqYNmkJ0fYo7KsI4T+nNN/7DGoBknTs7ZG\np0MSnLpEICp0xE8tcfC20DbVNJOXrbHV2i8HCmiPC+Vp4EKVWuEQi0XhgJsj\n8X+SUfd9Vi3CAn1x4BxzXcngwx7Cu1RjJwq03/RbpiCfUdnaOaT2iq8OXO8K\nQYCuHp5Cwe+wYkSdK/9msRL+06imUORpmLQLdN0ty6IX6/gKEezOlI9oFoku\nzBMSI19GW3qf/pClC5IjeIii+zprUOm7TyVeMJv34qUnM+SmqFaadoORaNUM\n5N5ZBoW6oKkf6u/PUhyekbSzz99dzn0KfFvXQ8V2r21H4aOVMkXYkRUHJIAg\nJm0X6etDwzURxdmMjb6IoscTJyh8BYTaUOYTptbMfKP7fuX1RU4BeIZ6mmF7\nhgZH\r\n=bbvP\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.19.0-alpha.1 linux-x64 node-v10.16.3\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"fileExtension\" to modify the extension of the file, for\n                                             example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"fcdebb92d55861e6d47d689b092727ed59e87154","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.4-alpha.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.36.0-alpha.1","apollo-codegen-flow":"^0.34.0-alpha.1","apollo-codegen-scala":"^0.35.0-alpha.1","apollo-codegen-swift":"^0.36.0-alpha.1","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.16.0-alpha.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.0-alpha.1","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.6.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.19.0-alpha.1_1569961088661_0.45671323329000235","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.19.0-alpha.2":{"name":"apollo","version":"2.19.0-alpha.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.19.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"3d35890db62b92d10f022c08342fa18bf157ee3f","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.19.0-alpha.2.tgz","fileCount":91,"integrity":"sha512-/5ID50Q4yoVwpSnmfcOkmNhYew7jSvLfsh3c4S6L4ipDlWezB6fLmof6+yz8o1sflvnKiafNldcTSETvR4KPGg==","signatures":[{"sig":"MEQCHxQzAZtpECmUb3cEvAKsuYtgR1sH50aLaTL+j1tuVj8CIQCpoK8x52l7wu+vMzIT1QJKB8XhNNLnHLsjkp0fPX0YVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdll8dCRA9TVsSAnZWagAAzXwP/2oyutEK9H3qYnyRRaE9\nfK9o6rCELNMUOZumNC8Y4rIDjeKSivbF9KoW7sLI+JzfbFtQtaLFIc1gChz/\nUuLXYPK92yW63wWpaQUfDOogNA6jnJj9d/fsUu4mgHSdxTJqxXdtDbRrBqLE\nRxDap6EUIMZ9e2WYo2nHO9OMXL/i2qNqpwLTWRWcqzBPCYQWKfNWKjxk+AsB\n++sit6hs4p+iWPdeDePh3gCLPzul7aHHeWv90Jr1QbyRSYc2isyjpvW8+pJK\neJf+inCr2JoXAEqzpnCqpaAtI09AAW6CXNKF+QjxFMMJqCX5jwsJrqRlewKF\nDYm58GR5FUKxZBT41mI56o+BTL+fjZMod9ZwBlviqgpzcx8n1BoCka4o7Lo4\n1psNAtniYXInVVOO/+mMi+GE4W5kCPTEL69q1bY7mkgBnfsyMIa8lE1GD/eE\nO/ckDBMwTm2HCAxvQgbfMkALzHPZntdAm5Z1T+wiCIOCtvOTT4voB9jtLtrF\ncY5fXKOI3yeFlJLb11FVK3GndPkovfKgsW6APfx0oaJ+Te4XzWa405AGF1/4\nU/+EL9zI0OIAXzeJBo92VlxIU7hRT9WJrmJRW2wdplqXZCGOKSOF+y2kWI0f\nDLQa4ykY6k3au232aWkGucOIMjmuXNWwsY8mV+tIYfL276FPsw5GN8RD67Ob\n/mf2\r\n=rqgh\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.19.0-alpha.2 linux-x64 node-v10.16.3\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n  -t, --tag=tag                              The published service tag for this client\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The url of your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"fileExtension\" to modify the extension of the file, for\n                                             example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile          Path to your local GraphQL schema file (introspection result or SDL)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from engine or a GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n  -t, --tag=tag                          The published service tag for this client\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The url of your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key for the Apollo Engine service\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.8/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n  -t, --tag=tag                                                  The published tag to check this service against\n  --endpoint=endpoint                                            The url of your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile                              Path to your local GraphQL schema file (introspection\n                                                                 result or SDL)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Engine and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n  -t, --tag=tag              The variant of the service to delete\n  --endpoint=endpoint        The url of your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key for the Apollo Engine service\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n  -t, --tag=tag            [default: current] The published tag to check this service against\n  --endpoint=endpoint      The url of your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key for the Apollo Engine service\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config  Path to your Apollo config file\n  -t, --tag=tag        The published tag to list the services from\n  --endpoint=endpoint  The url of your service\n\n  --header=header      Additional header to send to server for introspectionQuery. May be used multiple times to add\n                       multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key            The API key for the Apollo Engine service\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service to Engine\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n  -t, --tag=tag                      [default: current] The tag to publish this service to\n  --endpoint=endpoint                The url of your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key for the Apollo Engine service\n\n  --localSchemaFile=localSchemaFile  Path to your local GraphQL schema file (introspection result or SDL)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://bit.ly/2ByILPj.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/references/apollo-config.html). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the (Chrome inspector)[https://nodejs.org/en/docs/guides/debugging-getting-started/] or other Node debugger of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"1bfed44c322324b183650536f9fbe75412740c9c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.4-alpha.1","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.36.0-alpha.2","apollo-codegen-flow":"^0.34.0-alpha.2","apollo-codegen-scala":"^0.35.0-alpha.2","apollo-codegen-swift":"^0.36.0-alpha.2","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.16.0-alpha.2","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.0-alpha.2","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.6.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.19.0-alpha.2_1570135836815_0.4239932971368343","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.19.0":{"name":"apollo","version":"2.19.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.19.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"2e4f5c1e8d1d754d5d6b60c761a84f52d063b909","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.19.0.tgz","fileCount":91,"integrity":"sha512-i9KvKC3GJU9ZQeUqLCp+wXgVkn9d7mQhXNafQLIN5z0r0iOIXukioU8qSrRadHCSLFcly1/CqG5cnf9l/97TPQ==","signatures":[{"sig":"MEQCIEp/0Ak8uYi2jAWcijR3ISXyqpUUBdUlyZD8LUXv/C0OAiBdqDWfd66BThve8tJFjRFBSyauntoQHmH1GQW2QsWQZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":248125,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl1SNCRA9TVsSAnZWagAAtpYQAIrBXLM9qXiovjZiFSwG\ndDFwpXOwv6M0UZdZyW6AYdPNFSAeet7nMhWUJhBJr79TCYVaXM4EP/kNpXpj\nZ2c0rEmLAKPE/yugoJ5NyeueC2BngyfbbWEGl5/3nt4p0lUVETNAC7en6jVa\n/RzLkutYPAS4J4xNZcjx0Tx/9xHs/2kSVC75crX4mhW4eKVymZSGY0BJOg9k\ntcWTGliAzLjuScvmlPJU7b90QGpUogVOkWDXo5rTpTsqJ5oVyDvDuBDaUB9h\njAbNViVcP/Ks/LAxp70Qp1g1wpdwg4WvfnwyarxcJOT2aFhhiQTJkCws8swQ\nX95KHUBKaevbcE6MPrKKZozRSZYCTgG3SKfHo3aozz+W4nHWiNtMQIdbZ0jy\nT4USHnlAhEF9RoY0g6JYSaQwcfopObJQjeo6XVMWwRdWd1KUKErHOxAxBHLY\n9nBXhFsN9LzPVolN7amHiTO5vaiWe1zCi2zf5Xxmt4TVNyZJLtdKXNVmVy+F\nks/OsaPr4ieBvNHCe+wu3RcWJafDYJdHj0HGFQ/DqFqjYSFi2b2of2UgwMz7\nlvxl6RRWF0TonuiKqk5rSoV3xt58WKovdUh2p2IxC59jSpHpn9J/1wFUz52v\nzxB3Pm2JNiR9Mc9lSvng6SqMtPudMwlo6NLYYwjPwsSXHLN0uplJFmy9g0iA\nHGI0\r\n=kR08\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"910896a3a551559798758e2ef563967cf228d76d","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.4","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.4","apollo-codegen-flow":"^0.33.29","apollo-codegen-scala":"^0.34.29","apollo-codegen-swift":"^0.35.9","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.16.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.4","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.6.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.19.0_1570198666368_0.3979071117996096","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.19.1":{"name":"apollo","version":"2.19.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.19.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"ac75f996084adec5df3e6c82cd7c1e6cacb9bfd5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.19.1.tgz","fileCount":91,"integrity":"sha512-RRg1hEyjpE0y+yTjUuaGILngsCGpojA5Q3m2EpGcZMe4s434v34Wrsu0cg0YmqAi+3fVXWuEwiUK+8Rj1JpJmQ==","signatures":[{"sig":"MEUCIQC9pErcnUKUDEhPFbZ3STZI3y7oYFhF21YwwdFWuOyKeQIgPoQath5PXi9jpBYIRp8D0zHvpl71awyarLtQ0StwDX4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":249619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnlFcCRA9TVsSAnZWagAAxRgP/RDpqwtaa31+U79y39bp\n3NSSN3cpIRNo7QSdLmUjPotAi7XrnmeurPvxd6B30Nw+UhQSiufKBhLO+JAZ\nWpxeyQSPO0Ye8lq4XVU77ntsB7mk6H0OtERNwm2y2JCFhdFj0I7zYEt3mgtZ\n2NXe46zNwMjcwCW4Fw/QbjDlJEByT/nLjsiIiqWCJWZo8LeluAN75ZPzD3Am\n1U1JQi9H6Lr2z97Pimrz9fCZzGhW64ZE3eaKguENeLZM4zxwWMKR8JcdjwJQ\nbGlOjaPIYrpXlULr+KkXEdGOGYJcf7y4V01ow56DA2U/cKqmayVJ7W+bcX+3\nm4+r9hgccMJhUViurkb8wZJYQ4DmPXil5GWoRhJtyxtOMAvJ79mKFzP0fk3K\nxOlar0dojvKIoJEpYZMSrdtu8PbXdJSnJO/XxeBV9wBoiLXfPcyomxraFgnW\nsA5wAK0jRHiqyBZygHY5ayTDquQd7MBTR9CMk/r6FTBdfhi64KiGM0obFCD+\nOI3K+tx4eEEFfIfcKNmFXJJE5C6xiioYwjjJhvdXexvSjdgwk5mt6EuSvcEy\nA2U/c/mj3LZtDXhHaz2dgxdBlDVlQKnDQhFy78l++L34hkhaVUzx8xqs5eZF\n/1odEI+FEhFtSzn3M/Qlu1C1shNiM2QR0j3bTK+w6eqwQm9MqDTkEuT11j/G\npbyB\r\n=lnF1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"9bd51ce2762a14d65a28ba8c20aa48a0ab0e45f0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.4","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.5","apollo-codegen-flow":"^0.33.30","apollo-codegen-scala":"^0.34.30","apollo-codegen-swift":"^0.35.10","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.16.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.5","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.6.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.19.1_1570656603898_0.754471732930585","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.20.0":{"name":"apollo","version":"2.20.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.20.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"a951c249c6de31893b8d7f543b2906c2de2037e8","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.20.0.tgz","fileCount":91,"integrity":"sha512-qlEFMlZQh2oOL4W3W9MNxPMti8KMf/nwcDNjGOX2DHC53jTd3cEFbbq94eVowLuxQbtTRcSthlpJoNr207aOiQ==","signatures":[{"sig":"MEUCIQD5E1OTz5FNlZyduQJYqS5MTmgu/XwEYaZTuCVWfmc2TwIgFW/EWtMq2/5khxz7rSTs0W+rrl71lDv8kJTTrj4chhY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":249882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqOczCRA9TVsSAnZWagAAHPgQAITD7f+124hxnLake8mH\nclwStoUvuhHFOKyVNJ/BndECzJj8T19rHxgqN8ERhx+CsbulnPEaAqj0J4nZ\n7kkLDegqpJJbZuXJ8SjW25hsYO5cGdEs0eOiDXptjtPnYbbHzlQoCVNMSRyF\nZriMB8pdY7NyZuPAlTL00olmyG+9U/Vcl6PuV8ab4LqcmMfR6R9tbjqZT+NL\nyMOrGEyCTcl4qXhLwteHnmONROmQL1EDdj7A2CXTTF1PwNtYJbb3+lTtc06D\nX6FChjduqROHz5R0nuqajbCAX8v7GKWcENEu33Dpw7d91NH9h4NII70nKqBa\nrMVuOd115+IXtFEtpLYRXDKs/gL/aUIFM9+QhFRGW0ITK4F7GuKsGgFk2+hr\nK5/tyCjM3PofVjMYQC7vr/bgbtdP0j09YZj0OeXecqFUaoI73VKrTr0DpEaC\nfmH+QGRXX6yfSHVOGhBQwN5e6wHCmgGfqZCDGB5bBIpPSw5k+HEb7BxFY7JH\nlK1OstXygLBY40zyNlJWkJD7UBsGJKvQ59IJyqYWqpMtjXZkx5ZXfRIrtFGu\nQREkGQntaTelaW/DX+heqPV3jIPjZdR0sCNQvscO5JlimNh0tvnS3mJz7OpO\nlPxyNrjBd0GLhDLa7UztxVRq56Mo0SisVV8Xq9+TEYefW8Ogpo/FwkeinNu3\nGDuD\r\n=XodP\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f8aee537316b056501e4090a55cad5f3d0ab4704","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.17.0/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.4","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.6","apollo-codegen-flow":"^0.33.31","apollo-codegen-scala":"^0.34.31","apollo-codegen-swift":"^0.35.11","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.17.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.6","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.6.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.20.0_1571350322498_0.566417811284895","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.21.0":{"name":"apollo","version":"2.21.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.21.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"a456315d4e22801c807ed4ff526e8bb28e2534a4","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.21.0.tgz","fileCount":91,"integrity":"sha512-S0PzWA6Ja3E68/LjG3D4wbOW5BiWo+PdST/TZD7n4TjRKV4eeMONEd95OSv5OzMMYaLtHSRq8xZmQEDe4l0NsA==","signatures":[{"sig":"MEQCIHcBquAQBDrOt/ONFkx0xpu1z+EBWUvzpbIH86OB8LfcAiB5p4ai+aejTkXukf+NESrAsiGe4Hk4EItOATpiH9ky3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdreFWCRA9TVsSAnZWagAAY8kP/33jDAgbcZvWGNGff26Q\neUNb3/DVV+hdavVJw1wqyBk1ZNfUo65OycrLnNiGizeLrDk0BlsKJI6xurUz\nqpqiffciPp+huB504AD9TpGXBmrYml1ik+adJqN1GXqagRWyasVBE7Z342kp\nYoZ1kfdSjbeCSGbnoaJ38WYGrR4sZrB6ZelWBxQJxTy5Qo8TJoEnAI9i8ddI\nQueTHBXlDdYCVGZ9Sk1P82THoAreR0dICV2N7QzBhbnk6jUM/3uICTIIMDWX\na7GVKZP3uJpEmOjcVCCS3L+8K7hB5Zh+4yL1oIDn/UhoGGutUbBgp5nPYwAD\np59nUW3ae6hT+yRBN3VAEzMqZQuz7aq8HNqDYhgOPiV+5skX2r85py4/ID02\nu06UAdIwdHpvGZBVTeob+wABfE9VhWE4fKY5Co6ou1KjhCeQa2lcjOJxUZAD\n1+3Ga4f7Q8/edb23ZhGIRuhaA4ROdDzGhcM2jGNpAPlALKqhPbltwQsSBr5m\nJcG+qkWmmlyFURPWweBfekJxC4MZm2z90J85sOhOScQXuAbQz9fqKiJBQE1e\niWfjuS7W5oaHk1PTye28FsVqjyPX+ph0flbk1pSk1GDUnQ+C7geVWa1yZESf\n+S3B3hHKRZF+3pjFIGORysP+7TXryWwmXUFbkmgpeBI06c/pxGeUe2Sxh6qS\nzFuo\r\n=rFeg\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/","/apollo-env/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"e14dbe22c4d1dc45e49c035891f3ec81bc846115","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.18.1/node@v10.16.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.16.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.4","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.5.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.4","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.7","apollo-codegen-flow":"^0.33.32","apollo-codegen-scala":"^0.34.32","apollo-codegen-swift":"^0.35.12","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.17.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.7","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.6.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.21.0_1571676501179_0.3543934142073639","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.21.1":{"name":"apollo","version":"2.21.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.21.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"996e6e572cb9dba981fd54926c218d0c8f61aa01","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.21.1.tgz","fileCount":91,"integrity":"sha512-bpQ+ToZS2HPBYzRCnv9hTbPmeuJZKDhOFy0EzxQhTPQPVqGkm1KZqFmFJZKdlydB6+XwIapdk0U1Q1utYKuXkQ==","signatures":[{"sig":"MEMCH0S7mInEa377skbfUw2Cp18ThjTsgFiTwzDgR1PDckICICVp06U5wOkPClPxMs3XRRTs6gUPo6Y4K9fZUtfgDpuI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":251333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1VKQCRA9TVsSAnZWagAAjW8P/RpFdb63XBJhW6+Lz90Q\nLweP0c8WqPQ6NYuvecr5+XqCDc5+O7u2/Ws2C7RLRoBQ2FfjGXV1WIpGZETn\nf7JKem7UUthIxi3z3fuKGwTmtIyUtr7y1Wok6ezQ0LdR7m9RzLxEaXMkUkVr\nkMU8CnuuasPyGgD+OYS1W6U5VSgvhahI6qJWgKxwZs0EmcfWNpcV7uRwWSrH\nlDHuIVlWYA6sCgRWOkkebsXcXVJwc/VrSxwpV6/8gCo5/PkC+CR8oCTlAsUh\nFOf2kOFAmrPAErso+lvy4W9fHFNZqEXg+X2iAKUSW4S1M1Jll8DDeLBPulsD\nON/kYJ66VHShBARWkde5clfwmmGp+aAq3d7FWdheWn7/cc1vFD7OZ+5VsvoI\n0JbPl2W3I5GAMiMPfLwEMcQ4WZaH6urjrYOlHU59BW1okCzJc9bizcfKop8P\nOukCz0RmQzj25ZDZl9A3LMHq6SbOfM1oXtgM1XxM79C0fv3oocNSWbQU3mCU\nLmDaSERZCmyB8shkhFZPwMl1XqlQMi3Dvtca8Vdrhq98+XbYNmokkx/LFTXs\nZxz2CDpF+ZInE4bqMKViKBF14t61ue/UxPWfn4V5igUwK7aUN9TCpGUN954e\n4DVDWH+z7JjV/P6ZMil5VurfuoA7jarCngTo0cx+aIQnYWP6xhlG0r4pmpEe\ntMH1\r\n=YH3+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4eea9a99d77e426e5fd03594fadbb4ed6d716da4","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.18.3/node@v10.17.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.17.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.5","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.1","apollo-codegen-core":"^0.35.8","apollo-codegen-flow":"^0.33.33","apollo-codegen-scala":"^0.34.33","apollo-codegen-swift":"^0.35.13","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.17.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.8","@oclif/plugin-autocomplete":"0.1.4","@apollographql/apollo-tools":"^0.4.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.6.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.21.1_1574261392282_0.8921031507145958","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.21.2":{"name":"apollo","version":"2.21.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.21.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"./bin/run"},"dist":{"shasum":"2031fa7187768e918dec811e0bf2102a4cd32226","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.21.2.tgz","fileCount":91,"integrity":"sha512-RhiH3ffaIvobyDf3jXUmeIWvFCfxXwCYTU84hfRClRaL4bTaTd8T2/J5eVbcsd3AhPRbi4HJPxJBge4ewMepVw==","signatures":[{"sig":"MEQCIFjbsRoyW+UjexutNKVY+n5xV2S4oZL32h93wgC8nFuJAiAx49bDIetshABj7V3TgBUIHTaGyyXc7Kl2mM0Rw3O50g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8Wr3CRA9TVsSAnZWagAAvnMP/3ezW9I0jbLuloq1GUCt\nYb0lu+PLKV/Ywc7kSaWV+RJ8wIBga9kg/gNGMmXXH8LxosTANf5kLJV4ZwF8\nJoreJkOgdd0lFUavbbmUt++UHxJ+DPuM+VPCe8DeXjdgbIRTJcukdl1a9QJA\ndgB0Jgaz1ENukrj/nGfPx44K97e78OxsCSvEILozRWiJQkg96YX4McJKd01w\nxa0hNZcsJoHAPBkFirRlz0vGGtp8QaAJ57UQdaYEHA0K1mtRlzHKYZ3dQ1UB\nkNzzbzq9d0Hw2POkMsxeSi5SpNek/Ztb7/F60L4MGOugslGIkvGPEaOBiIrC\njVAzRyG4/swTdx0g37Xmk+L8TOkFs+MV7SsqDkbpfs6NBDNJSCrOx22fnY1g\neTZEyplE2ejNMEMwcHQlTUeFi6cfRqF2B1clQn2PiPAQIpkUs0Yhgkuyau2k\nT6dBmF1fHPQN5uLuy2frjQirhv/NJLhxf1SKpyCrD+4H2s9Sy/uWxvNs4WdM\n1B8wTm2n44HHhGQ1E7IgbsF/5rK0WCMMgST+TDiTisc9D0BvFVJTXNAZP8uS\n/Fe/Y6tQ9NFUpX7GOZ5xp4DZ5BkBB05e+HX7vpul5J/LyVaNKed+uhuxiwKq\nsutffNkgMy+cp/zLw3ougwJ17ihxZViyd34Vv2iC6sR1NsdyaevzbOmS3yiz\nH8tg\r\n=C81k\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"6d168194f3ee0563b4105b41a39f39d8c1fd80e8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.19.0/node@v10.17.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.17.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.6","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.2","apollo-codegen-core":"^0.35.9","apollo-codegen-flow":"^0.33.34","apollo-codegen-scala":"^0.34.34","apollo-codegen-swift":"^0.35.14","@oclif/plugin-plugins":"1.7.8","apollo-language-server":"^1.17.2","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.9","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.2","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.21.2_1576102646788_0.5085763241406582","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.21.3":{"name":"apollo","version":"2.21.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.21.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"e4dec2095a9120b8b286662f1d07525737800e95","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.21.3.tgz","fileCount":91,"integrity":"sha512-f7G9RTcCqmsLCeL9Rem4/tGC9Ar/nQrECxtp1oN+lR+ImV+5ZqpmSLLHUzxxngxlrYEQors6E7imPhdkEl6hRg==","signatures":[{"sig":"MEYCIQCmEwk5etnp7isP1Uhx4efptSPTUa53CygMIJT+TanryQIhAMAutyLqrUhYDnJ5b9f4/ThdsuiiHM4AahKt5mODWjHN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeF5gJCRA9TVsSAnZWagAAfBoP/06wUyJHAmIsMnT1Ci6O\n8N/vx8z0vDqSH01vw8tV36vvPxJ6hRHIipMDWgDDljVlV7AHl6WEhA1wjrM0\ngzrBHRNZluAEAUM1wgqj5Rjjk3O/+o4ND43NBdCwnlGzVMosA0er9BQB1PXF\nT6/6Mag6LAB3793IPZMIJWc/u/pYP9zCDzF7prpnPNNxqJpmIDcWvRMkU7ke\n5I2vkykJI+gbTqoCG5lzYIaZXvrJUXQolb5Mdu8/PDCjDZQ0D1sl3l/Z1nV2\n9RSk/x+oxnbni14CD4bHS4jiUYYlQQeoQrpdtpK4n/uWdkDSAzZz6/GqqjUR\nKsfbiWx538GpJkBXKepmeEVPj61D/q9abtGMB6OwO9noMHudQP+i/X52bkg+\nMJzfyyb57+KUXn3hCvo/HJUoirBcyg05qb6hwrGMOtAui6EXzG4O83cIrY0P\nIZgwF8xwK3K+V3VuWcznjqZf9qWo3DPXArSqW/qMNdKu/ACuZKIDoBJSC2LR\na+Lkdl5u3U93frUn5JOlIdd0L2Bpc6MT+kkcZf8Sy4y3xNOiNu45Kje/TH+G\ndu+bbKfPM2aqE53U+sdj2sa0SnIafX4xg/v2O8Kzi7kdm/6MyQdhMr5G/t4y\nwub8CEhmPBpaOHlm7rePX9B9ci3q66mZ+KLeTvYSpk0bJ4AEIMc7BHovX3X6\nKaAA\r\n=dPVH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"89241f8cee5025239926682f6da00b9e5cc11797","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.0/node@v10.18.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.18.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.3.7","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.35.10","apollo-codegen-flow":"^0.33.35","apollo-codegen-scala":"^0.34.35","apollo-codegen-swift":"^0.35.15","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.18.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.35.10","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.3","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.21.3_1578604552598_0.5345243681274123","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.22.0":{"name":"apollo","version":"2.22.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.22.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"fb92fa9e1b9fd4d72f72125a10697f3e46cad558","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.22.0.tgz","fileCount":91,"integrity":"sha512-9Xmfdx/q0YU1LkcZIV1chAy1iY+bNTsgzamhw71gMg6qto94qnEYBX531Cv+80V+Bx6/f0ZGgofmgPPJx4KCTA==","signatures":[{"sig":"MEUCIQC288bUvieFpCN+niQh6ctDjNAYuDO2MhZaP1E9zWN19QIgSA8wA9YB+sxJwonNuLQTttuHlYyUsIVMSFTDMY1iH1k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":252869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeM0G0CRA9TVsSAnZWagAATo4P/0Xfqmbc6fpehEi0IuWN\niffzQHGM9BMRVrNCxFLK2mEQNrhq4+9m6tAcJUesZYy+BKH38RLA7dPSkWVk\ni0F1PtT2JNB0c0zFYdusJPDzlx8a0dLD0Iv+mFPqdpfVPoXCZ61DH1VmCSLQ\nQbKZ37Qu5OXSPSmYXS1Z26Yh3L56aWFfBZcdtPxczPnwEYhSt6NmqxHcHr9Z\nDfeNI5cQk+WcWES0CXDvEb3r91HGbknWJ+TvotSN2snnlbTk/X9SDpD0iWh8\n20cKySV/xRU+vpi+Q60lLzanwJA0uX72NfzDl/jNCgN1frq4dusoQhle4K8H\nvsAgGuZhgSBJHEUGwjcOlhjwo2e3sVoQhNpXFG9KAhk8ln+0VkdjuDIyRy19\nsL/2G1CpkaKwX7tsCXlLdYKIFO42bNQBYtKHwEO7itQ/EM/ZOgaBdthY9zCL\nbtr2neCufYmyFVdCV64Q14mJ0oi7WMfRzSjodck7D69oPH3vNdBZDFq0Wfc1\nPOGJZP6LIFu0FIZD1Bi8TJcXX6pSbTSB4BlzodwYpAKdsJewbWSRVZyW7pNR\nzRFL/FxrlnuE91+yPvfs5XqVXxvAgn8B0Q4Up3apZBrZdjL0c64bXU8ueOck\nWmaSOxfyQ01edlYQkRH4i/bb4+1sVJBopTeLb/I5QujB2miz8Gs+hXKwpwhw\nGVXq\r\n=WrH2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4336cd27480a3bbf363e63ea179b1e234d017812","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.18.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.18.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.13.3","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.0","apollo-codegen-flow":"^0.34.0","apollo-codegen-scala":"^0.35.0","apollo-codegen-swift":"^0.36.0","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.19.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.0","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.3","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.22.0_1580417459749_0.6350528719719697","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.22.1":{"name":"apollo","version":"2.22.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.22.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"6d360d2f8fb4e2caef17051e2d5ea592ef1dda6e","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.22.1.tgz","fileCount":91,"integrity":"sha512-FONVPKvK0gg+loWCh7KOAAa/HlvbKcR7pdiC3Mtpohe3RWKqKb/QLsBPHjCgz1mjVyVL+05Cv/SjnQ9WHUO6/g==","signatures":[{"sig":"MEQCIBoxkB46DD3S8SRXkUPedFLETK3lmvooIE4/n63ExKJbAiBTylbkVju53EHmnnW0PIH5+IcjR5g63rZxuj+WbW0BBQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":252892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRZ68CRA9TVsSAnZWagAA9/MP/jiFgHGv5Np5f7LbEdQk\n/gZqvNqJZAGb1rtgpzpHD/wgK3BQe3x3a9Pe1T0kZAZUfxgMViH48Z3gKwu8\nOezd28We33uApXhF+V7k3Xx7fAC6mfsOCI1nZ0O13Wdin5P5ayRLq88OqhK6\nRccGkPX024zrtkpTE5sRhcdOOkfqmgCanePI1Tq0T257SvbE/BRmyNcE+eTA\nCtT+AlVq523Y9AH2w3WuAN17d5tV8VVxxn5qO7ePJSi+o0l0ZbQDkMdctxK6\nH5HKwA4F6k7TS603J1aGhXlv3UiBdaWACnr1Ifb0loZ/In6s42gf7jru5l22\nj2Fs4scVFmwwQ1aBTrtHy6TOzq+b28Tz+LOqy/qZS2Qfu2Hia0yXvYIm63P7\nWEXdPoHo7Dlg9+E9KZTrMBbN8gcUAY/tmAM2ulBs6er1jCT8IoF9r6fY36jI\n4lyb2rLEgxvRUqv3RkNcugj/st+3ak5OH1HU020Fmio9gp/yS+Pedef1yc88\nX7rtH6BRhBk4Za2FbucXnIOxIaKc4QUkWVJYvo4ImjmkIcfP2EYtPcTgbonq\nioG3vqlQtf9tB6i3ZVjdI9Mcn6BoXboA/vZM2rIvK9CABGe+Z45JzVuG8kSW\nUkSIGibcGAynrwQr5YROBabkdkoifoPTJ8ZqJbngo6LT8A4HjgQjnjorYW79\nGY4D\r\n=4+Kg\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4953e0f74611fbdf3a51ab2b34eecab6c61dce3a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.1","apollo-codegen-flow":"^0.34.1","apollo-codegen-scala":"^0.35.1","apollo-codegen-swift":"^0.36.1","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.19.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.1","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.3","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.22.1_1581620923955_0.0982462470791361","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.23.0":{"name":"apollo","version":"2.23.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.23.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"21b23fa781cff6b7ee1176d5296762e58a608c2b","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.23.0.tgz","fileCount":91,"integrity":"sha512-X6BKom6trsIOpn0AuH811HWMi2DyL/KvQ09yd5h2V726SD09jhzaNrR/1m/3RI7bVRTFHK4xncn1V3Z8KKRduQ==","signatures":[{"sig":"MEUCIQDg6bNIn2WPYzk3mu5Cyc9IPKfr63x/p11Pp2yrrTT99gIgbu+Q40/m/39j0eA0Qhk9jy6R7dZ4AeLuctQ/KzCI9O0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":254952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUE+mCRA9TVsSAnZWagAAJhEP/3TuyVPjnYZQBbOrZ2BI\nvyfKMVSNMWwb5t9lNSn/bJSAxhNO8ZYRDfaK2wLN0wDbk797tUOsZFhvYFm4\nkrBW0XiSdm9FWq/h7T1WJ328mKHnwgDwRmAaZwXV3Mwy5W+kE3loan3xkgQv\nVHq/fTak9V9FUCr826eVrR2to+HXV7l+0I2meFU1dmqLPs5t3WtNzaVaZrcc\nb7QvqNrLxVutM0cXC8YZvi5Mpc0GU9Tiyh0zKBESwLaLCx0CT4kK49csZfFP\nzMMcX2pr33MgZdSUTDCBMFHi6+KOl640yzHOy4ImQs2B3mnEpNY2f/KY23OT\nKUDY9eq1GaAizB+itANoJ44B2Tm2dUT2b/96149aM0bjFUC8bzMwIRdX05ci\nyCgvk4/j2UTVfjKyAbCh3Xp4/pDd6tYH9WU1bypKYJoelxCR6GYiQhKxJiE+\nyVtVlpZi+R4xPr/QllyjxPF7fT1+m1qldLzfo7rrvys/yw3g2CDM92u6Dhbx\nZUhxsM98NN8BEDSfWyZSToUswIbRXDLUl91ghxLAS3EpbGV4a3ZQp9GQjD7r\ngV4HS2be0pFM09wExAbFdmLecDFLRJnWQuES8z0jMiF7hNTLkMxA1RDbXHXo\ntLP2dHqfSb5X6mNJWU8hHzV8NumS9HRYQr1qXUxnm8foF83EhuBlwVdWYvr8\n8LUB\r\n=SNvl\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"cd569559938378eb32dbb62cc55071a900cac02f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","mkdirp":"^1.0.3","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.1","git-rev-sync":"1.12.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.2","apollo-codegen-flow":"^0.34.2","apollo-codegen-scala":"^0.35.2","apollo-codegen-swift":"^0.36.2","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.19.2","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.2","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.3","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.23.0_1582321573287_0.6696468785887799","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.24.0":{"name":"apollo","version":"2.24.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.24.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"22fd7a8aa6ce19a65da5d0c27cab763e2d107a67","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.24.0.tgz","fileCount":91,"integrity":"sha512-KJ9IfXtfQCZ1R6hcmLUGpBQWi/hCZXuuJEWUdN5RvUKz3wojs+ZjKTHCBh+8cp1ZCo195mmmQeSjKe1pLVrvUA==","signatures":[{"sig":"MEUCIQDA7TbheNEJGtOVimV/XpdOGxzcrtm/0qshorC+coiknwIgUeP0rH01EFMNIuaRvJxxYt9yxOE3YddN7DowD73cVrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":254952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVpBaCRA9TVsSAnZWagAAAvIP/j9QwEbiu1JwG7hnV7zl\nyHUdbPg2QEqTpqvLf9De0rA2JDoFSHiecL6P3bt9icFVdJO0qaM9/PvaXI6p\n2JDWbeoFzQjsNwIVuhO1pr5IJdKqEbfYwtZSjo5wOnifsqLk21K3gZrW32rV\ni7j57GxQHjHrUFxFI87bLk93umT6AxzokftoHRkqdyy6GWh7kIUMqUQJuOWA\nx6JyznmRe88MX6dtIZExvoyvs5eIXtgl0Z3bxnl7989m6PM9t71bbHPlSrxf\nWeYAAa83k4/tXUZ8exBeBDEU/Thy/S5okVc37OKoF9gVe+eWBsrieJFZyg34\nzHk84UIJTmSlNQoEtPwFKopkw/9GmU7NR8lEUN3+hiDt+cknmKr9e1uWZr/P\nncGpsnlmepLDzUR30knb5K0y2aGRqYz/CkY6Oh2ZBX/ioGobvbouXd6IlmIK\nm6ruG1ColOImVlTrRc/03/Wr+3nj4YwkukwUruHNepmJDGYEcJmZP+R8g4KA\npNJbto8/TwnUGtEJyTRf1UypuN9e7f/VF2M7V8S3SJTawy0DBW6mGelRi75g\nv7973UksK875dsConuPHLFxIoayaPkhNXtdyg9r4eZqwlTntUtCfOrDrCPaa\nfaz94SAaM66s705U9B/vEI+WVlov6JF8ZUXQS1x5W9sPgmzadcfAYVJQKkIv\nl71Q\r\n=xneA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"6196dbed0330d29c4b2e84dee62aaf7454811ecc","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","env-ci":"3.2.2","mkdirp":"^1.0.3","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"1.12.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.3","apollo-codegen-flow":"^0.34.3","apollo-codegen-scala":"^0.35.3","apollo-codegen-swift":"^0.36.3","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.20.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.3","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.3","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.24.0_1582731353427_0.5035673324230989","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.25.0":{"name":"apollo","version":"2.25.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.25.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"dc6c49c615b4f12fee648613e4755397aa633d93","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.25.0.tgz","fileCount":91,"integrity":"sha512-+y/V2HtuSQBjupTJDS30nn/3urml1YE1sAKRK/bkwJLWAkGxNk2M/2vrbSnuASWv40F+K+NaLkveMoNaBL5L3A==","signatures":[{"sig":"MEYCIQDg7OGBiaboarNKH8yG7Afq3/aVPSsZp7S8xqZsnTUclgIhAN6+QWAfeVJ6Y5QXHzkq8bDN9Mxzrm2avUt09sQkVZzk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":256360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYUnBCRA9TVsSAnZWagAARrMQAIikqSRaWEKcGGEuNzeG\nmAl54B5Ubqj44RreX+sLqSg0DdezWHuYlK8eZ4CCrVhrK3vjm4mG5Ci1Jvdg\nsgxNypDmak2Bfc9UXiw3PmFwSwq6ZsSSUF9rFBKVBkXKdkOwOuBZLloRBOow\nB9wIhJDgzycjqdNjOAWWT5wucbxM7QmKTUkGbRXqoRXmHVo2sJfCy7l5ldm2\nBQ/K2EvO9zdldby08aTadF2ky2R8xz1mqZyQvxuVJ4GH9nS7IoM/Y287wJqI\nvCGvlMRmbcoaZJsjKymbBejB68zyp3hcTfe6xre1IHqHb9MARZD/YNrOldhE\nezY5aE/wyU6b0V5D/MKocuCuc3nEtO8yOMWzt4nukkN3qPmEk9yk5enwXexy\n5d4s25YIYgHD7ZcKuE5iyj+lsgitthcipYWvmaY2tsXxlLM8PmAf6nnq5mzT\n6tw08ql6esXPimNHNmUM6BiIzWxWSZeo0LtwUC75LdJfPxzJZzK/amtoVj6n\n9VbC3jN2bUug24zeNxRYnp6pvF5qGx5jyBZfLHxxUdcgp+CpPVH/ZXYrn/bi\nLlfYur0Sru4YbFP/boOuoGChrx7IybiBehc8iT+pyg+Aw28/vMFsDOkpb74G\n4A886NdlVkBnOW0pK/+eTEK2mP08mEkMAkMhyQdFTCB8NIVM5+T5Cjn86UV5\nodPI\r\n=7ugc\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"34efe6af419119bafb3a9aa5cc07c8290d22d2b8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.2.1","env-ci":"3.2.2","mkdirp":"^1.0.3","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.2","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.1","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.4","apollo-codegen-flow":"^0.34.4","apollo-codegen-scala":"^0.35.4","apollo-codegen-swift":"^0.36.4","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.20.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.4","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.4","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.25.0_1583434177242_0.738060313386776","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.26.0":{"name":"apollo","version":"2.26.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.26.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"f8274f22517ce9e3cfe5c4d0ce9826e200755cca","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.26.0.tgz","fileCount":95,"integrity":"sha512-izis5eXpzEwboj6nP/4ifkne24ayQ5ioBpO3rAmz89+XIaFqAiejrD2rFen+w/1n6nL1oUoTAwJWZRhSkguOhg==","signatures":[{"sig":"MEYCIQCNQWiJlcG27YoAHc/hTN2z8HNqqbWbFZP0X90sghlcBwIhAIEZFnpiXOd57Q7IW7CrfgwDyLhY50EeTSgefFv3E1+4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeg4qbCRA9TVsSAnZWagAAvbwP/ijr1dJnQjP4RefL3aL2\nDotfX+DMqb7GYdw7YsDM9wBhuVueVrehX5OfoOyw040cUn1Z0eAlYMByHj3A\n1dGdqeDO/wT6529FtOioiQiun5oKVS3O6G3TT+W9o/6Q/Xl9YliWrFAu6XWz\nas6ZubLw8m/NdHRL3sAl8x100A3EWIyuYi0bzjhsBFKZPwWGFi9KMgGk7tx9\n24VJH7D8RVC4FyvAuUG5Kel73gm3bJgHF10/kz263pxKNh7LstxCLY/6FIfu\nzFql2zRQuCGN86VvOeLAkQFEhI7X1doHfABpElj7kgYU0toNB+JpBdtWsMIc\nSVx+OKLc0RJIV+m1YB9EWtlNXRT8wJMLDtihwfbhGuWi6l/BLTrvKq2/+av7\nxYRPhlimlZgx4NUXCpEfnU1o+N1TIPWF3mXkko8SYi3fg9s8G9aUoNRhCXEO\nIuNTE2ocNPTXLPD77Xv35xbDI2uF5pXUylNosS/XogiHAg2uVo9tNLx8kSs+\nJd/5/3ZVw+Lbd3fno/epnRIkp3eXN73ZZW2uOszYQ+yVVNPWRWhqx1vDFgU7\nJqwryxLE+dKLMZQl7Yf4kjbyLX0OBFoxyQTGT2QCvDkz+YFtDzqs+Xh3dKzc\nT65u5fMXd6PJNlZGOrs5qqR6yKhflqbnMV0nIY5b+vHqwHcbvjTLDsQ10NsX\n4B1s\r\n=7jG1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"010706bb2333aef474d1c69d2f48568c138b080f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"^1.0.3","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.2","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.1","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.5","apollo-codegen-flow":"^0.34.5","apollo-codegen-scala":"^0.35.5","apollo-codegen-swift":"^0.36.5","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.5","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.26.0_1585679002781_0.7750694796421611","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.26.1-alpha.0":{"name":"apollo","version":"2.26.1-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.26.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"df9e8702e1e41eb086293a0152118a990b7bc67e","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.26.1-alpha.0.tgz","fileCount":95,"integrity":"sha512-xC8RkjWvT32I8cMNQwsEL0fvqtsfpPpRLHECOYU3Hopa5rTIsXAGdTHpvkKxJLqt1yeKxpbOYTCndF3028JS4A==","signatures":[{"sig":"MEYCIQD6oqnqSdoSBkdtw4iEjXRTPO+Nq08xAdUjjjWd4RpCSwIhAOu1nbo0QwvtceZxDPIWpQ6s3tmECHHs6WoH+XTs6MxO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejLXTCRA9TVsSAnZWagAArdgP/3lD6Arm8g/mo6hVWH+v\nG8rWnHIQN2M8uNtuQN+2F6nQ5uteeyaBVsj3Yc9//HAPNjN73EKZ8WIsPTtO\n8Sc+NNYBfsarD+oOATE1ai3eP24X/ECLAMUiBRNrrkPtT6LDZKfbk4+XNSH+\nmQ+MTCBEucA2DMjhaWjKTeoh7Vm7gW/aGl4vLromUXze6BE/G1d7RcvImhab\nj//jWwYZRfU77Hl2472A0Vsd3GFOA11AippfBmCMdrP8wyqQyryOvFxfpg31\nCZd7g/r5HUqeEjmOfsPkguCBIOOZruz5yBCq4wevcUCqbb8Kp04alVhkVA6z\nnNXhUCkbjIFv4TnE4LSqg/anHlyBcc0F082l+xJf8zCa6aiZgxEJArCDXrL8\n0FddfbhR4//YpjNQxrr1yDkHZHGO4sOKMG4XUDJplbcrHc/ttVR7gHJGpDX9\nZ5Sqnrm4R1RxXqM0rRmn8WL6rFYqirKbwkBALQp0KoKvbZ5NXqTgcSPSuUWF\nZ3/UB0Z/+wB6gm7R6LueFJO+U17woeNKwecjSZXP4xSHn+Yw3I9e54sqtW4h\n3HT81J8s/2ySlXivMwgGA6vdFO2n5xWFTczu2bMsW2ndPm1vccGdxZpOt8k1\ntMGrAUGACwpPbSg3L3GKkwSYB50O/Z4zq8+lXHIMXSRfkAFXC6D8VBdgUsVi\nImdr\r\n=5IZ6\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n**Disclaimer**: The following API documentation is only for the latest version released on NPM, and may not be accurate for previous or future versions.\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.26.1-alpha.0 linux-x64 node-v10.19.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Graph Manager or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n\n  -g, --graph=graph                          The ID for the graph in Apollo Graph Manager to operate client commands\n                                             with. Overrides config file if set.\n\n  -v, --variant=variant                      The variant of the graph in Apollo Graph Manager to associate this client\n                                             to\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The URL for the CLI use to introspect your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"tsFileExtension\" to modify the extension of the file,\n                                             for example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile          Path to one or more local GraphQL schema file(s), as introspection result\n                                             or SDL. Supports comma-separated list of paths (ex.\n                                             `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --omitDeprecatedEnumCases                  Omit deprecated enum cases from generated code [Swift only]\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow |\n                                             scala)\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from Apollo Graph Manager or a GraphQL endpoint in JSON or SDL format\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Can be `.graphql`, `.gql`, `.graphqls`, or\n          `.json`\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --preserveStringAndNumericLiterals     Disable redaction of string and numerical literals.  Without this flag, these\n                                         values will be replaced with empty strings (`''`) and zeroes (`0`)\n                                         respectively.  This redaction is intended to avoid  inadvertently outputting\n                                         potentially personally identifiable information (e.g. embedded passwords  or\n                                         API keys) into operation manifests\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -g, --graph=graph                                              The ID of the graph in Apollo Graph Manager to check\n                                                                 your proposed schema changes against. Overrides config\n                                                                 file if set.\n\n  -v, --variant=variant                                          The variant to check the proposed schema against\n\n  --endpoint=endpoint                                            The URL for the CLI use to introspect your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --ignoreFailures                                               Exit with status 0 when the check completes, even if\n                                                                 errors are found\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key to use for authentication to Apollo Graph\n                                                                 Manager\n\n  --localSchemaFile=localSchemaFile                              Path to one or more local GraphQL schema file(s), as\n                                                                 introspection result or SDL. Supports comma-separated\n                                                                 list of paths (ex.\n                                                                 `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Apollo Graph Manager and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n\n  -g, --graph=graph          The ID of the graph in Apollo Graph Manager for which to delete an implementing service.\n                             Overrides config file if set.\n\n  -v, --variant=variant      The variant to delete the implementing service from\n\n  -y, --yes                  Bypass confirmation when deleting a service\n\n  --endpoint=endpoint        The URL for the CLI use to introspect your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key to use for authentication to Apollo Graph Manager\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Supports .json output only.\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n\n  -g, --graph=graph        The ID of the graph in Apollo Graph Manager for which to download the schema for. Overrides\n                           config file if provided.\n\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n\n  -v, --variant=variant    The variant to download the schema of\n\n  --endpoint=endpoint      The URL for the CLI use to introspect your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key to use for authentication to Apollo Graph Manager\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config    Path to your Apollo config file\n\n  -g, --graph=graph      The ID of the graph in Apollo Graph Manager for which to list implementing services. Overrides\n                         config file if set.\n\n  -v, --variant=variant  The variant to list implementing services for\n\n  --endpoint=endpoint    The URL for the CLI use to introspect your service\n\n  --header=header        Additional header to send to server for introspectionQuery. May be used multiple times to add\n                         multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key              The API key to use for authentication to Apollo Graph Manager\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service definition to Apollo Graph Manager\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n\n  -g, --graph=graph                  The ID of the graph in Apollo Graph Manager to publish your service to. Overrides\n                                     config file if set.\n\n  -v, --variant=variant              The variant to publish your service to in Apollo Graph Manager\n\n  --endpoint=endpoint                The URL for the CLI use to introspect your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile  Path to one or more local GraphQL schema file(s), as introspection result or SDL.\n                                     Supports comma-separated list of paths (ex.\n                                     `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://www.apollographql.com/docs/devtools/apollo-config/.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/devtools/apollo-config/). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the Chrome inspector or [other Node debugger](https://nodejs.org/en/docs/guides/debugging-getting-started/) of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"955728758685f48da46deaf9e52ccfc342185f51","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"^1.0.3","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.2","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.1","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.6-alpha.0","apollo-codegen-flow":"^0.34.6-alpha.0","apollo-codegen-scala":"^0.35.6-alpha.0","apollo-codegen-swift":"^0.36.6-alpha.0","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.1-alpha.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.6-alpha.0","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.26.1-alpha.0_1586279890592_0.19722803342929263","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.27.0-alpha.1":{"name":"apollo","version":"2.27.0-alpha.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.27.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"238ce3c1a1759639d7d435cba1249985faf43c64","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.27.0-alpha.1.tgz","fileCount":95,"integrity":"sha512-RTgMlxJZFnux0romSSD3n/rlewgFuGrY5A4ON6Jwlaehsey/vgzbYo1ga56PMIhllXlYznBgpOO2OrAg6N3Qeg==","signatures":[{"sig":"MEUCICaxn2sw7egaEDufG+z9eH9ufuJA56FHrOwwNkk0MGbvAiEAxrKzSeI5DhvIj8eerAqJa/Bjo/PMak9rDMVgd3EiV/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJej0YeCRA9TVsSAnZWagAAeKgQAJnzm2Cuo47gNM9b3FX+\nwBoyloHbiHS0xXtS7WRsWa3hh7q9Igpu5DwDDQY1G768Gk/jWeMDBj3GREhv\nL9sghoTqTrvCXGHVV3cwe8gidMIEJbvPnUP3sUU7QvkUApgaZjftDwjGXJy+\nYhCYICgNRUgAbndozNZAFZ54kGAWMFmK4a3Sb+Qw6zWGgERp0tc/nfSdlhzg\n5DXEbKclF/n2lwaoEfYKFh+Qw0LGI7VN/pWjyoaVxIflT6SBbFmSvJdNpE/G\nEi8IN88r+iDC1OSxOQLt1FCQ1+v0jS8So0yB04HXqhPZh9vap/jfwMK7gFza\ntEHxtVfrO5/E6xWXd6eA2/QYZFnC8cpxblEvHADyA7ZWg9DPcb9E2PK58GJt\nN0mT1COV/0evuLTug/Djt5VkEfy+jydFMawLACL4VlUqs+vUo+Zh3K/wRO1I\nAmty5X9YV92MrtEhMBBNOiyFFKT7UJpKCzsQ2lMnj9VSuR/YfpxXNE5m+1JD\noIel3X+lq+X8qgxyxnHbOf5Y79K+d5HQD6lTOEFSI4kaMiICgWRg3XT960+c\n+Sv0zgvksdvK8e7BlNerr9ULrB89qUnqIiA7eTJpzeMJGGVcGJ8qStTt3uQ1\ndHZgqLOVNp5JnOGOTiom+K2yErlgYkpRmIKW8kxFpWwBb3hGqeCcyWBC7RZK\ndywt\r\n=nPF5\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n**Disclaimer**: The following API documentation is only for the latest version released on NPM, and may not be accurate for previous or future versions.\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.27.0-alpha.1 linux-x64 node-v10.19.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Graph Manager or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n\n  -g, --graph=graph                          The ID for the graph in Apollo Graph Manager to operate client commands\n                                             with. Overrides config file if set.\n\n  -v, --variant=variant                      The variant of the graph in Apollo Graph Manager to associate this client\n                                             to\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The URL for the CLI use to introspect your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"tsFileExtension\" to modify the extension of the file,\n                                             for example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile          Path to one or more local GraphQL schema file(s), as introspection result\n                                             or SDL. Supports comma-separated list of paths (ex.\n                                             `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --omitDeprecatedEnumCases                  Omit deprecated enum cases from generated code [Swift only]\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow | scala\n                                             | json | json-modern (exposes raw json types))\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from Apollo Graph Manager or a GraphQL endpoint in JSON or SDL format\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Can be `.graphql`, `.gql`, `.graphqls`, or\n          `.json`\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --preserveStringAndNumericLiterals     Disable redaction of string and numerical literals.  Without this flag, these\n                                         values will be replaced with empty strings (`''`) and zeroes (`0`)\n                                         respectively.  This redaction is intended to avoid  inadvertently outputting\n                                         potentially personally identifiable information (e.g. embedded passwords  or\n                                         API keys) into operation manifests\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -g, --graph=graph                                              The ID of the graph in Apollo Graph Manager to check\n                                                                 your proposed schema changes against. Overrides config\n                                                                 file if set.\n\n  -v, --variant=variant                                          The variant to check the proposed schema against\n\n  --endpoint=endpoint                                            The URL for the CLI use to introspect your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --ignoreFailures                                               Exit with status 0 when the check completes, even if\n                                                                 errors are found\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key to use for authentication to Apollo Graph\n                                                                 Manager\n\n  --localSchemaFile=localSchemaFile                              Path to one or more local GraphQL schema file(s), as\n                                                                 introspection result or SDL. Supports comma-separated\n                                                                 list of paths (ex.\n                                                                 `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Apollo Graph Manager and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n\n  -g, --graph=graph          The ID of the graph in Apollo Graph Manager for which to delete an implementing service.\n                             Overrides config file if set.\n\n  -v, --variant=variant      The variant to delete the implementing service from\n\n  -y, --yes                  Bypass confirmation when deleting a service\n\n  --endpoint=endpoint        The URL for the CLI use to introspect your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key to use for authentication to Apollo Graph Manager\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Supports .json output only.\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n\n  -g, --graph=graph        The ID of the graph in Apollo Graph Manager for which to download the schema for. Overrides\n                           config file if provided.\n\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n\n  -v, --variant=variant    The variant to download the schema of\n\n  --endpoint=endpoint      The URL for the CLI use to introspect your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key to use for authentication to Apollo Graph Manager\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config    Path to your Apollo config file\n\n  -g, --graph=graph      The ID of the graph in Apollo Graph Manager for which to list implementing services. Overrides\n                         config file if set.\n\n  -v, --variant=variant  The variant to list implementing services for\n\n  --endpoint=endpoint    The URL for the CLI use to introspect your service\n\n  --header=header        Additional header to send to server for introspectionQuery. May be used multiple times to add\n                         multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key              The API key to use for authentication to Apollo Graph Manager\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service definition to Apollo Graph Manager\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n\n  -g, --graph=graph                  The ID of the graph in Apollo Graph Manager to publish your service to. Overrides\n                                     config file if set.\n\n  -v, --variant=variant              The variant to publish your service to in Apollo Graph Manager\n\n  --endpoint=endpoint                The URL for the CLI use to introspect your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile  Path to one or more local GraphQL schema file(s), as introspection result or SDL.\n                                     Supports comma-separated list of paths (ex.\n                                     `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://www.apollographql.com/docs/devtools/apollo-config/.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/devtools/apollo-config/). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the Chrome inspector or [other Node debugger](https://nodejs.org/en/docs/guides/debugging-getting-started/) of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"6abbe9df668372c1fabf6f380f06bb440608b658","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"^1.0.3","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.3-alpha.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.2-alpha.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.6-alpha.1","apollo-codegen-flow":"^0.34.6-alpha.1","apollo-codegen-scala":"^0.35.6-alpha.1","apollo-codegen-swift":"^0.36.6-alpha.1","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.1-alpha.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.6-alpha.1","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.6-alpha.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.27.0-alpha.1_1586447902042_0.8057904647033902","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.26.1-2.27.0-alpha.2.0":{"name":"apollo","version":"2.26.1-2.27.0-alpha.2.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.26.1-2.27.0-alpha.2.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"9cc75335b83e2be21e91d2b2acede066d20d2ec4","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.26.1-2.27.0-alpha.2.0.tgz","fileCount":95,"integrity":"sha512-bmnXrmWS9jGudr9JiFB1aUiwfd9ltvun3fxsTR7/PL48KZ/nZ7zf8hvCR9yEdTZFnwlEtPj8vznm6Y9E2lav9g==","signatures":[{"sig":"MEUCIDJ1kL612gzXrzqZuhywPrDo4mneneWgwEJ8MtYoXjiiAiEAlGllPfvUOk+zQdebDrT4X1HRdOMC0wit+/ysNruHyuA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJej0+NCRA9TVsSAnZWagAAc+MQAJoW5XuPcdCy6AOF5Dv+\nzxXWlDqEWdJTumxx2yqV9ToOXGH9WO/tOwzg7aiotdLPBJd+xqscK8KM4hoW\nGfnj/wsjsaKWUAIAU+cVmNrKuuBq/WzFhWh6ocCyrXuvgn2o9hKW8/Ntorv/\nhjemyetH9hF78Rdjs94orY14LQQEtijGyCB9YQ9pfbbAsqQybaMg3yI0y7FY\ngA5APxFMdA0UfA0sdAiirGRgMOFhdeMr/QptDP7uDwbBLpuo+5Hg3s4a6rrh\nsyPyEwQyZkB9xLvy9V4KikUmfSJU6jAO+S+jXK4go6xI9+56NtCsDYBzh0Fc\nw5hV/N0AhERpr24n7MYMO64kYSz7JIF71OHi43WHJCYEBEKxC+6jB93QM7Yo\nRrMlJ9vMHPlkfn2KThJfII9YZVA36tts/cXCf0oKhMYr91yOYIpg1nRgNHE0\nW+yJ15fgtKYalZH6gnZ/uYY8EODSNw6tkVyRESOjlT3iDc4cf7hEwVuTwETE\n6eSFaWKM5+Qzuzf/W6INp0Mug3TRxe/0muoHvYGexeWgVCfJI9ebVELXMX9/\nJ6sUd9chA8KxWr1dO6scXmyu9JM8QllPopRxTJ/sY9jgOGfzzJQprl3TkRN+\n85UZF53ZyoWYScxsNPUtWYZTqOvT1d+LZ4oHDJDRT8ptQDjBv8IbW84fd/RD\n25EH\r\n=h6PU\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n**Disclaimer**: The following API documentation is only for the latest version released on NPM, and may not be accurate for previous or future versions.\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.26.1-2.27.0-alpha.2.0 linux-x64 node-v10.19.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Graph Manager or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n\n  -g, --graph=graph                          The ID for the graph in Apollo Graph Manager to operate client commands\n                                             with. Overrides config file if set.\n\n  -v, --variant=variant                      The variant of the graph in Apollo Graph Manager to associate this client\n                                             to\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The URL for the CLI use to introspect your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"tsFileExtension\" to modify the extension of the file,\n                                             for example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send to server for introspectionQuery. May be used\n                                             multiple times to add multiple headers. NOTE: The `--endpoint` flag is\n                                             REQUIRED if using the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile          Path to one or more local GraphQL schema file(s), as introspection result\n                                             or SDL. Supports comma-separated list of paths (ex.\n                                             `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --omitDeprecatedEnumCases                  Omit deprecated enum cases from generated code [Swift only]\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow | scala\n                                             | json | json-modern (exposes raw json types))\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from Apollo Graph Manager or a GraphQL endpoint in JSON or SDL format\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Can be `.graphql`, `.gql`, `.graphqls`, or\n          `.json`\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --preserveStringAndNumericLiterals     Disable redaction of string and numerical literals.  Without this flag, these\n                                         values will be replaced with empty strings (`''`) and zeroes (`0`)\n                                         respectively.  This redaction is intended to avoid  inadvertently outputting\n                                         potentially personally identifiable information (e.g. embedded passwords  or\n                                         API keys) into operation manifests\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send to server for introspectionQuery. May be used\n                                         multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED\n                                         if using the `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.7.9/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -g, --graph=graph                                              The ID of the graph in Apollo Graph Manager to check\n                                                                 your proposed schema changes against. Overrides config\n                                                                 file if set.\n\n  -v, --variant=variant                                          The variant to check the proposed schema against\n\n  --endpoint=endpoint                                            The URL for the CLI use to introspect your service\n\n  --header=header                                                Additional header to send to server for\n                                                                 introspectionQuery. May be used multiple times to add\n                                                                 multiple headers. NOTE: The `--endpoint` flag is\n                                                                 REQUIRED if using the `--header` flag.\n\n  --ignoreFailures                                               Exit with status 0 when the check completes, even if\n                                                                 errors are found\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key to use for authentication to Apollo Graph\n                                                                 Manager\n\n  --localSchemaFile=localSchemaFile                              Path to one or more local GraphQL schema file(s), as\n                                                                 introspection result or SDL. Supports comma-separated\n                                                                 list of paths (ex.\n                                                                 `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Apollo Graph Manager and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n\n  -g, --graph=graph          The ID of the graph in Apollo Graph Manager for which to delete an implementing service.\n                             Overrides config file if set.\n\n  -v, --variant=variant      The variant to delete the implementing service from\n\n  -y, --yes                  Bypass confirmation when deleting a service\n\n  --endpoint=endpoint        The URL for the CLI use to introspect your service\n\n  --header=header            Additional header to send to server for introspectionQuery. May be used multiple times to\n                             add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key to use for authentication to Apollo Graph Manager\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Supports .json output only.\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n\n  -g, --graph=graph        The ID of the graph in Apollo Graph Manager for which to download the schema for. Overrides\n                           config file if provided.\n\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n\n  -v, --variant=variant    The variant to download the schema of\n\n  --endpoint=endpoint      The URL for the CLI use to introspect your service\n\n  --header=header          Additional header to send to server for introspectionQuery. May be used multiple times to add\n                           multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key to use for authentication to Apollo Graph Manager\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config    Path to your Apollo config file\n\n  -g, --graph=graph      The ID of the graph in Apollo Graph Manager for which to list implementing services. Overrides\n                         config file if set.\n\n  -v, --variant=variant  The variant to list implementing services for\n\n  --endpoint=endpoint    The URL for the CLI use to introspect your service\n\n  --header=header        Additional header to send to server for introspectionQuery. May be used multiple times to add\n                         multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key              The API key to use for authentication to Apollo Graph Manager\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service definition to Apollo Graph Manager\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n\n  -g, --graph=graph                  The ID of the graph in Apollo Graph Manager to publish your service to. Overrides\n                                     config file if set.\n\n  -v, --variant=variant              The variant to publish your service to in Apollo Graph Manager\n\n  --endpoint=endpoint                The URL for the CLI use to introspect your service\n\n  --header=header                    Additional header to send to server for introspectionQuery. May be used multiple\n                                     times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                     `--header` flag.\n\n  --key=key                          The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile  Path to one or more local GraphQL schema file(s), as introspection result or SDL.\n                                     Supports comma-separated list of paths (ex.\n                                     `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://www.apollographql.com/docs/devtools/apollo-config/.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/devtools/apollo-config/). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the Chrome inspector or [other Node debugger](https://nodejs.org/en/docs/guides/debugging-getting-started/) of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n- [@jbaxleyiii](https://github.com/jbaxleyiii) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"bf4a3ecb5b738c8f3cada960b3037dc6d833483a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents.","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.19.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"^1.0.3","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.2","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.1","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.6-0.36.6-alpha.2.0","apollo-codegen-flow":"^0.34.6-0.34.6-alpha.2.0","apollo-codegen-scala":"^0.35.6-0.35.6-alpha.2.0","apollo-codegen-swift":"^0.36.6-0.36.6-alpha.2.0","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.1-1.21.1-alpha.2.0","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.6-0.36.6-alpha.2.0","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.26.1-2.27.0-alpha.2.0_1586450317429_0.7123313735033008","host":"s3://npm-registry-packages"}},"2.27.0":{"name":"apollo","version":"2.27.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.27.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"2fa56f34ab239de5a1047cb17e42019f42b36c0b","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.27.0.tgz","fileCount":95,"integrity":"sha512-yA4/DihmCuz+8k1zsHCtuEslVtAY1oc9mCv7YLUr2B7TVLgbEzNNzNciMbSa5SIczt0S5I+tr6pBhMYPgsLN3A==","signatures":[{"sig":"MEUCIQCoqei9ji/d5OR0yP+5Mni0fbKTtF56nHv65D4PdDyAcwIgJPhvO+PQFfeWLrGgh5IwyYJ8SsboHrnxyxu1n7uPiTY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekNxZCRA9TVsSAnZWagAA7QMP/RtbH597CeEp3a/8cNih\nj93oow4mK0MVTgvC6WzRq/eSAsZwE6WH/5bTF4FnB+KoUMv1SGRWfYW64/KF\ny2NJVe96JgHRBI+tXfs9Un0A+G0wuGVyEIW3N1UtI8hyeHhCdRwjA9ttwvjr\nPDmMga9bAquJ1aZlU9eVB1CbgplMG4ITd8O0nMBdnbKct5wxhwnDcWxGd0df\nl8eWygDcObkzYyhimMmDKIJX38gZ7J7iRZpOqYeaINNFH3u54ovdt9FcbXvq\n4yHarsp6gk+aciomcgCTxwE7/y6FVKP7NsLk6sJxdEuW3cLlBiTHBkd2/3dK\nVg6M0Fcstfz5nN4cbcBGST5iZEFCuCxlc21PC5gyXPsJxavV1KEX0XSn5S6g\nb4fiqOr8tGdg6GRa3f1npvvWQPrfoNrmFrd60fTHaEKiTmeg/SQrH3ftQVR9\n3BBV5y/COo54HIz0K4nPOt74QXHmbXHK50Xi2meidWOHMCxRWxkCUqewLUTA\nBxH5DrQkyeOMO2cc0GV+oXmhoTMMI2xjO1Ngq7ry8iA/wcWoZltSq3f6+wCP\nRgY/NLXJM2PB5VRvP6+z9MxHUtW4okBI1iFHrSfkJbopLLD90GGcp3MUwOSX\nffmJa6Zv+5zct9mcUOlVGoCzkF0mLFwFYoVfsG+rOIoCsMD8ow8F6mEyKyy9\nfY5S\r\n=ncC1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"ec9579b229a653b05601b20f67622dec0f060bf0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.20.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"0.5.1","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.3","apollo-env":"^0.6.2","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.1","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.6","apollo-codegen-flow":"^0.34.6","apollo-codegen-scala":"^0.35.6","apollo-codegen-swift":"^0.36.6","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.1","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.6","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.5","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.27.0_1586551897007_0.028581650798661373","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.27.2":{"name":"apollo","version":"2.27.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.27.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"57e601136f025afbfb4a022cdef7f9619ccf9d61","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.27.2.tgz","fileCount":95,"integrity":"sha512-vrxm/K9v22lFjUWLZJqJVpDmrL8yW+wepIngbF0GKGrXtGMX7syFVDfzylUQlvKg0F2jtaW90v+MDpo2/+SCrA==","signatures":[{"sig":"MEUCIQD5txEyNdiF06KWdXHn3j/x06nj8Hdwdv8dphvdFaLD1wIgbe9lwvKXImEqXLboU+u30JqqJRx4VvY5w+eW/0zt/bM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemhY1CRA9TVsSAnZWagAAH7cP/i68NALXFF2RbZMiUccT\n2PLJ1wY+sm1+8n+pZ9OqbLJI6rCFQJ7wj7Hgm69yXGJukHY4rUPDwcKcwPoA\nk1OoBDgaUjzzGmymTiZWncAdacWOcsx6PGsBsmsAsmzf6xnId3HJwray6BJu\nvWL/SSjOUrA56X6Ghazulknv1a/xzqmtknXo9HajplwHn+YfoMfHzYSqrzw+\n5Ie/VDVC4ywZM6I4jLtGmvB5ib24b0yR5WIxQljIy4WNgO74U8XwVyYjof83\n9sBxNIqXWWxuHcbWyISAKHKhtThaBWYmT7ytZakfmxuZnXyc3c7fxyijLc1h\nNZbGnf1eTu/lmTP1PqN3SaYsASC53Pgnjsa0XL/jw2jW7F2AbdCsdSrmKtg7\nvajyrLl1BllPBRTpypYk++Hd1nQOQeFAgZPJ3jXGjreuIzx9VJhrTknEIf3O\n5jRAFXlEIXNhqBNDKn9/QwsRgnPKOLWOkoZKUasm5AQ94qlcn/Va561/ctZu\nboseu8IPuvp39q2qO2LnXOi6qzZkOyXSW1hU/idhzHk6ncO4zUIXv/pFRK9D\nD6gPHcBx13UoGbCpKr9rrD0GHu5VFvBqEri478VxHngKzu8ezF5e8D8yCP0I\nNIFQlQeWmzvxx80u0SQl9riX7rVIUHZugEPhddBCL51A4jsHM+CNXYbe4pAm\n2TrJ\r\n=RTDL\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"0bd6c257519fee6d836dc1c833cdcc3c60266a60","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.20.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.4","apollo-env":"^0.6.3","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.14.0","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.7","apollo-codegen-flow":"^0.34.7","apollo-codegen-scala":"^0.35.7","apollo-codegen-swift":"^0.36.7","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.2","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.7","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.6","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.27.2_1587156532473_0.6919733556660645","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.27.3":{"name":"apollo","version":"2.27.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.27.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"bf3da0903dcc1a78708c144ed49b15c5ec4e8bb4","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.27.3.tgz","fileCount":95,"integrity":"sha512-9GWIdwah0o4XiNTGcoc4JIflBYf+3+JflKeqS3YfJ8uOzUPGSaFIt0Z42p43TJ9ALvJqnlcYy/cBCizihne3Xg==","signatures":[{"sig":"MEQCIHuDhyQXU0RFaF2otp1j5ABiqk7KoaygemWSZh63ePFEAiBxeTfCLcOcMZMuC79dx74e8LCOJrY+8sWXGDofLkA0qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoFHkCRA9TVsSAnZWagAAIvgQAII2ecAhN4xTj52v4JAc\n6l5qLocUouR+CQTEteiYUxCa1HMprSwTQZ/A20n5gLQwQsOmYghkaQE0DHLW\nby29Nh1MK2NHSc/RsBCGCG8Qi9fIBzIpA1EEIWPuKO4o7GvYgok+Vjfo7MHO\nT4OxWbP1y2SJ9HZumsMkjnY6AspCpY9otdorLtnQ35QLGVUW9lbR27X/vTfM\n0H5a1rl25NMAMGvBKM99zTEAJs9dtij5wTKWrrHKYsa35rzSG/ncKYz4D83T\nil1Tc0mtt07iw4axBko37FYiZ6kh50WqAXF7FvNMH/0MPUMO6pj89Nh2YYfX\nzH6J1qq97CrwTakkU3sLDeyJBY4oZQrhlvoTuD7STKeglqcZ/a7MEANzU9YY\npTONcXnfnv53t/QqurybjwdytZz4DScI/nuQWzpD6GucaLm6vuRLKRGwFNK5\nbflnTN+261Dluc+QvDZV2nqCqPBjc4CxwTb6UBlf5C7zG15s0RrXjORHeHET\n1K6r0aRC/FZ/yflFfAnpveC1IPmpPJCD8Zx61Rqt5PPm+/2DSbzRHIgjH4/3\nCm4r6+1GE8VBpPM92+0jojJccLbUfzZgVC2O9Tzdi02Vrr5ZzH4gVxGe3P0D\nmDEdc2nWt5yAa35wnSrFDVitSi7HWf2PBx1qw7hJ1wLyBfONiNJW3SV2Dj/u\nYwWE\r\n=YV2b\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"ba640f68fd6f45bab0b628bbcc236ebfbb23eee8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.20.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.4","apollo-env":"^0.6.4","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.15.1","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.5.19","apollo-graphql":"^0.4.3","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.8","apollo-codegen-flow":"^0.34.8","apollo-codegen-scala":"^0.35.8","apollo-codegen-swift":"^0.36.8","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.3","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.8","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.7","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.27.3_1587565028158_0.9033978235008229","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.27.4":{"name":"apollo","version":"2.27.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.27.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"7f0c63d5512ee1912e224539accbb9187cbc1ec5","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.27.4.tgz","fileCount":95,"integrity":"sha512-cLSN3Kc32O/zAtSwZ71SspE5RUQ3pcaSpQTgA5K1m9KUzhwPbDAkUppMMjNr0vk1dx9X8ZHSe0w5NK43kuiqcw==","signatures":[{"sig":"MEUCIQDqan+K+wx7cOOKG3vCQcA5GYqGCjnOibapNSXxhWI91QIgZNRsJFL/PYEPca5BPkKUCxClow/HerfDUXquwlKuN2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJestWyCRA9TVsSAnZWagAAcogP/0jedUOSd/+7bN/yVqMk\ny2tpPFB6MbC5MQj+kd2qT032PDesQNoazucu9OR9KptrZWceVO4/mjZ6skTd\n76HBwJEcJsW/31KXJyYo8lWjLCB46vphyMZgvw9heX8P/YqfrbWuDeQlD/5g\n+BWVLOpccyIfHt0cHUbx8Nflx8B3ZYZ4y/m3KlBe8mvZa6ZC/IkaN9zdMHrX\n66oYV4g9zo0dVCcjIto4XXpVbiQm91bvb/a48zF/H4OUVOgdkxP+vnD+Y9iY\nwwSpXRLkaAoJ8EwpP1MbYfuo00GzSFKT/D8W/K+lZJ1qz+AnivkrW8P/865/\nDc+NG6Ul0Z+d3fYYzeHQDSIxo2v9ymHgTpK8Y9OdZtdaIR+PbtFPNq/161gG\nd1WnyWRw4RZzJSkO9c1X0w1orJbEK7pPyoi6Idgp0FjzP8xOnl+i4InduruL\nSfpBy1Lgj2ekCRjlQZxhVaC7Xupyeq16jaLis/038GGvUk6gs2PGl9+tS6Aj\npvbERlgQS2IWZTrYtKrqxobf7OUsMMqYqb2ux5+5upumHuTeWKUfKr9i/uup\nOGB3Q+zy6jE8u6t6zSeVA7razw3NHVlAVImlCpLvfYjuN6Y1XxyY80iDOKWg\nV8NDri/WqFg8NdNtsZ7xq7pmzBwzxMlv+iL5FC1hylNieja/4GSZKYYmSYpL\nmw+t\r\n=F47G\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"7cc66acbbfc681da0491a7868150deccc7ca368f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.20.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.5","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.24.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.15.1","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.6.0","apollo-graphql":"^0.4.4","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.36.9","apollo-codegen-flow":"^0.34.9","apollo-codegen-scala":"^0.35.9","apollo-codegen-swift":"^0.36.9","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.21.4","@oclif/plugin-not-found":"1.2.3","apollo-codegen-typescript":"^0.36.9","@oclif/plugin-autocomplete":"0.1.5","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.27.4_1588778417851_0.1477856782691751","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.28.0":{"name":"apollo","version":"2.28.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.28.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"b96e0e5f9312d65d006ad7c8a4c9571487873a67","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.28.0.tgz","fileCount":95,"integrity":"sha512-dtgkWQi+x36mUFKq3HSSANrVMycyrpeGR/cJsisogzAkJvqFS7Pk2CWCNlrOV9HU/UmHBi0ecBLC5xOI7izBUw==","signatures":[{"sig":"MEUCICbZf4/q8bMEXhYjggFqSzdJpe70jPSvTSwzNk8VFzQAAiEAkQ4JXTLF/chnYxSsI6H9CQHEoZ6jG0C9MCS2wsGZxr8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexUSyCRA9TVsSAnZWagAA7z4P/2NGoiKUrc1GV0tK46QV\nIcGr8c2j0WC4J4lUXhbMSe3IJgMdj12i3Rq/BxnBYyyV8yDAhf7DQs7zRga3\n22s/SPzge9tLYUcAHVEheZ2dWNGfs7OSYev3m6FR12Fh4nR60GL745s8BWna\na2jC90S98BgXNQEYjVwoeqKZZ62jlQl1N003szi2snnaNhRE6v1CmRRaiHoF\nQpWNACbKtEUM+n/TD2aoekVMJ9SoUo4SOnlVUIB2LoUIzBd+3lY6Yj+uflmF\nAiDgk15KLj+bsrm/AD5dRRYXD6Sb5qDl2uBWT3NU28wN9mB/pX1J6iDZaCtV\nqHCWC8qxVSwAIuf6OLGuWIwrvmUdFeETGclOuRQ+n1MVuXiLutb+wCEzaMh/\n8D4V4E2nSE4s47QdzQWHFw1xtZt+3owLqpKaEAr69IqwLZ2EHbHIY36NqT2m\nNsoyfnsqRxyUItNLFxY/biMDqkJ2dmJ0JVjXT3uC3AHBJaFsEhAYEK6fwGH2\nembBKd05MKAtEjhR1kT9piZXB83rj0jSYQ9qCrN14dWMjTrrtZA9QbjjA9k0\nS+85VwRYTFemFfkG+812bAEWb1V73YL7HYKIadTZgYhedw5SfcSUqa+jgXns\n3xgFswS//+RsVxdctBrEzuk/f44pqH7HgN2nXk/gHwNTT++a5RufknM07zRC\ng/Ie\r\n=Hozk\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"512e670e7ff948cda98999f020f575edb6c3529c","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.20.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.6","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.25.3","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.15.1","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.6.1","apollo-graphql":"^0.4.4","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.0","apollo-codegen-flow":"^0.35.0","apollo-codegen-scala":"^0.36.0","apollo-codegen-swift":"^0.37.0","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.22.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.0","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.28.0_1589986482358_0.28189670530406974","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.28.1":{"name":"apollo","version":"2.28.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.28.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"29780e71b29771566ac6503b9b63faf159e97b77","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.28.1.tgz","fileCount":95,"integrity":"sha512-gMWG+mjF1KJphOK3dGfdHw6fRYhPdpMiT2AL2zmxMEA9uGGfQZZwPocO/zpoZ6Gw1HViluKrOg1eXxdh7sG9rQ==","signatures":[{"sig":"MEUCIBQkmvrmYIEPu6Tvqh5K66BRjpv1RYJmg2628rxcWSKnAiEA+Nfu9DIpcRKRR07GiQ4cPw5mgmfCX3Jh0vhGaL+UCyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":274388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3hpUCRA9TVsSAnZWagAA1+sP/1GDLaEl4f/brcBWMBl2\nDlkcpX0NPisbqzdQ34Divew6+IZwx6oTiOnWoQ7LwCwaJ9ooKFcqkRfdJpMP\nAtqDkTSgV/ECMnjQNyIA1Jbe7eTahf/9vkH/nkdtscMcSfzttrt00kD4ebqU\nyjq/HqFfP71V0lxoL1pdlNfKBnAUcqLuzC3ZexjvjbzpI8v+NhMSsTvZrN7m\nLMWF9/b1WwHxUv4iV3IIfy5A0gxMSHUJgV9VGELsmtHrMjctPRQfJxURDDc1\naFqDq1vDbGmLlDkO664WZfo6ugqVoJH24nBdFU1LqVdCEgIcR38zFqfvzLX9\npVjZEMWKqQ8uW3/LF+Kku/Lg9EF7bz3xChCPZ7ITssIPkLoPwXtmhxD4aR0X\nuPkH543vGPL90x1TkPYGnfVnKK9U394FjUqeHCqpVJZU571pOSIP0iqMIbtz\nkKsXwaxAPOTXaJOfh/Aj1irRVEpimIiiQ2S/8Sst3HpAdzr2ZmVnClnqwBFx\ncKFQpiRXHanI4IeM7/g4wOOKIDOreiF+9i+hQWkpINGQXeI6IpMLqi8smAAV\nXLdxXPXC4RvNGlG3dpfR6LcU85cHL9OeUQ5VuRJ7vPZWTS3z/xzSZlWOWUy+\nUo1c0DWMmQk048Mk0LOgCw1ujeMZRFKDmoc8EZfM05+VYK6oGJFsp/RIZWyF\nc/Dl\r\n=G3Oj\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"e2cecf8b9f4f55009bcbbd1b0c1ec6e92173cf92","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.6","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.26.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.15.1","@oclif/errors":"1.2.2","lodash.pickby":"4.6.0","@oclif/command":"1.6.1","apollo-graphql":"^0.4.5","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.1","apollo-codegen-flow":"^0.35.1","apollo-codegen-scala":"^0.36.1","apollo-codegen-swift":"^0.37.1","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.22.1","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.1","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.28.1_1591614035817_0.1602942185880183","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.28.2":{"name":"apollo","version":"2.28.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.28.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"3012fd36846df88473fa02792a6b9af588ac9010","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.28.2.tgz","fileCount":95,"integrity":"sha512-UcQIj6+MKcCSEH6la0G1SinIV8+Q3AM9x8Oryq9YXRcwjJqnOYdq1qPpmmTG+SlR9Lfxpo8Sv+e16QuSBFVQNg==","signatures":[{"sig":"MEUCIQDL4DOBEDC5feJyPFKltXbniK4HCLLnpgORB4UMfEYUNAIgA+g57gzgMJRPrCrklVPqLe9WlFbrIzfFzO8fhkVh6ec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":275546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3kmfCRA9TVsSAnZWagAAJtEP/0fBL2uTuVeSAtuFWbN6\n/cM8XIc2ZTXQVX5vqv9LqRpvDduzaQ9DS9XfcelnfZIKN/2B4fx9GnRyY1oK\nwYSPlCEmkQ+Ka4ACx/5imljtI5/JaGdyxjnk3qJYTpr20BJH5BcdKYwLwpSK\nSHsqf7jAIfHlaH/jvi2qKn4LfXUmnr84DnuYPBmyIPb/gbxmD6qfvL/L8OiF\n5CCaAUouHpkkzGTV7gA5sy8tP1J+SUxxg8F1o/zBZaKMHdruRSVb+nPExIcz\nwBKxO56b/Lc+DasznxzzcjPNezHrtEQRYoxrxV1o4gKjsPgPf8U+Ia2/fQep\ndk8WsOV8nClKMQzaoopiRMYoq9ajFMfJkIrzltM7V81pUz97GbqbuKw5je1o\njKVNLpvt0+Q9jQ+ZOG2wUWDBNbEoENwXZi2+Y8L2e6KLc+s+YDEO8gLjo174\nKv7JXOVAijTBxpcfAFC+1IyW20YUa/As9elul1xWOZZ+JJ9flhA0ltqcRgds\n1b2soOknp5iTU3nK6Jd9WMrJN/T7klr7Xi8VSz6ofJjJ0awethQ2VH0dXAbP\n6C+gSUIPptsWQccrlr41Cf3GwTJGLGiYOA0zpoOCAEd76RVyj8R6ZDi1v/0T\nz3EmfloChglO9cAxaqCy0wOspTdBvLablpTUZNozoYNDE6xqAYvQN+xWGkld\ngaQt\r\n=Qrs0\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"e6cf1d37a592ec809097e13ee3d7a3f8b6d0f87f","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.6","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.26.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.15.1","@oclif/errors":"1.2.2","git-url-parse":"^11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.6.1","apollo-graphql":"^0.4.5","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.2","apollo-codegen-flow":"^0.35.2","apollo-codegen-scala":"^0.36.2","apollo-codegen-swift":"^0.37.2","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.22.2","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.2","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.28.2_1591626143027_0.09798727840622545","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.28.3":{"name":"apollo","version":"2.28.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.28.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"ee959469b9b828dfa616fb8a69ef021b77a6f4a8","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.28.3.tgz","fileCount":95,"integrity":"sha512-+X1RqODYOz1VPO0a/6tZpZiFQr7K6z0ZSm7H9oT9PmuZ9TMC27mwOh2N0i1p+OP+6JORKh8lHmjMvle+doZ82A==","signatures":[{"sig":"MEYCIQDWnI8dEwz/u4rI6ce4fllaRCa/8abv+vtnzLog19MV7gIhANYqXgnUYrc1sHZGa5Mp8hOW97aQ3HGlX5j75hcKvi+z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4lzECRA9TVsSAnZWagAAIrIP/2UvpeMUBWazX6m8x38G\nhVHRmYh7Ql1Qm+8dI6pDIdFDwvsoMS7upPqW+apWgeGeWSomRsn2sAk+vQJp\nVvInlBLiVquIYgJ464OMYlybMfzZg3DBoqrCoWL1RRgSMz9QKN7ifFtptfjP\nOs8pbiXsrp9Zi1NO0oHZ9k5LW5fkXlArSBeCio7xYlhiL8iGxMh0SHqNVBEn\nw9qNT3hm+LFDCh42JWI7rWEoYF/9NR4+/ovad60UH8q6sg9eW+y0riv+bs0A\nPJdzKUb1bBR7QkQgRbJOF/Nw7nkkIsYqf760PlRvZeg7grclGxbQLwW1byCx\nQHFD0TcV0ijx2sZeygFpbkyNxHpC1ghVkg453SqWq0o31JxQAwkaPbV7FNf6\nIvVh/9JaNra9Y3H0JizU8MoOQElbeZow4+RRF7/Q60hwIgJIsLvlTz/ti/rx\n1nT41u2k7MFTKDF/hxKaRK38EF2+HXhgnhz6qNjLv1C2aKmWEafwLWMu9vXV\nvll4xtRgk2xvd6dReP2q42jL3fwlEm50a+D3uOsP98WLD4hDiQVweidHtVh0\ngb1QX2WdPGc5KQpxvYEb9cF9hiHhZAgEyCVWcgflBlbRva/5psIdpWKOY4E+\nFJfYKmebhTdlNA0MQtxdzIQwtOO/VzvGsICVhgnnsjQP7JYmN/wS0n/+xVjx\nQmkC\r\n=awn9\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"fbf7ca3957926b153b88c4c91ad91c84459fc31e","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.6","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.26.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.15.1","@oclif/errors":"1.2.2","git-url-parse":"^11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.6.1","apollo-graphql":"^0.4.5","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.3","apollo-codegen-flow":"^0.35.3","apollo-codegen-scala":"^0.36.3","apollo-codegen-swift":"^0.37.3","@oclif/plugin-plugins":"1.7.9","apollo-language-server":"^1.22.3","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.3","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.28.3_1591893187509_0.8928542953833569","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.29.0-alpha.0":{"name":"apollo","version":"2.29.0-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.29.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"a7b29e8b2ce380e712f121ac9e045a6021cc652a","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.29.0-alpha.0.tgz","fileCount":95,"integrity":"sha512-u5e96I1L39/4kWYNoh9TovKXgfv9CJoqs3G6VZMHJsQJonOG/5IAK2EfnmOQXFtNtG0FNd7wQf0PFfwH6URezg==","signatures":[{"sig":"MEUCIDjaiqYSPFd24gF1woqm/4CZDY+ghqIpw3700gxJvGjMAiEA/Np9LtETIlHluH6pi13l0VdWrIG+ogAfnsQLWMKCx7c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBO1pCRA9TVsSAnZWagAAnrIP/0iqadCJsOcFujWhyV+Q\npnCWl71EljXS9ll6HU22eG/u5KGnReY8xFglaz+ReAzEEAb62rKzBdcAkjck\nMWl3ckFZkH/6mWH/lE+EhEVAV5OwxfIFC4GVptL/rmM+kas6q7Bop1GVFzq9\n9iXG9cO8oonpyLHmIe/R9RIsvHediqiPwjYvgOL6ScRxzJTfnX7hSfgqGfm4\n9Tu2FCXVIwgs4elJFhxPttAuFaUUK8puIbkpf3y3po2ps7amddZ40qd0auFh\nid0Poqo40aNxLfe23q6rVIiLU+oJvX1/bC+KTZ6Nttj5ea1zY/2mFKzWTbfN\ne2jpLfUOU5zKWQrpmunK/ugmRrfV4Dd21izZnuRUwBqL2tqBV/lB6sslf63j\nSEz+/WvW9kILs8C9W3/JpBzaIorQMmM/6BZFLRdZnuBLQAJXXqiUhFfEx7GH\nkzaUKVdaOKjKlgTyn8jNhZ4Dn2AtyMfsrMm/99WfiCfU4LbC/bGQYypwXDRR\nzMhF2Gh1YCZT5EeT5F5IuAPchNZLS0UcFgT1WWP4q3/tlBUyHGU6fe8N8uaq\ndc/328YKu660BjOg/n0BvepIE+ZdHIPKZ1Er3rZhMkdI36mJWUhw/ussoSTx\nCaWcIERo/DU4gAVFTitr76ofJiWtw6bq8VR02aqeDYsrSkPzBoxyLoBps8x/\nHQt0\r\n=Mfmc\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n**Disclaimer**: The following API documentation is only for the latest version released on NPM, and may not be accurate for previous or future versions.\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.29.0-alpha.0 linux-x64 node-v10.21.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in Apollo Graph Manager or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n\n  -g, --graph=graph                          The ID for the graph in Apollo Graph Manager to operate client commands\n                                             with. Overrides config file if set.\n\n  -v, --variant=variant                      The variant of the graph in Apollo Graph Manager to associate this client\n                                             to\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The URL for the CLI use to introspect your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"tsFileExtension\" to modify the extension of the file,\n                                             for example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send during introspection. May be used multiple times\n                                             to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using\n                                             the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile          Path to one or more local GraphQL schema file(s), as introspection result\n                                             or SDL. Supports comma-separated list of paths (ex.\n                                             `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --omitDeprecatedEnumCases                  Omit deprecated enum cases from generated code [Swift only]\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow | scala\n                                             | json | json-modern (exposes raw json types))\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from Apollo Graph Manager or a GraphQL endpoint in JSON or SDL format\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Can be `.graphql`, `.gql`, `.graphqls`, or\n          `.json`\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --preserveStringAndNumericLiterals     Disable redaction of string and numerical literals.  Without this flag, these\n                                         values will be replaced with empty strings (`''`) and zeroes (`0`)\n                                         respectively.  This redaction is intended to avoid  inadvertently outputting\n                                         potentially personally identifiable information (e.g. embedded passwords  or\n                                         API keys) into operation manifests\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo Graph Manager to operate client commands with.\n                                         Overrides config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo Graph Manager to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo Graph Manager\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.0/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.0/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.0/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.0/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.0/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -g, --graph=graph                                              The ID of the graph in Apollo Graph Manager to check\n                                                                 your proposed schema changes against. Overrides config\n                                                                 file if set.\n\n  -v, --variant=variant                                          The variant to check the proposed schema against\n\n  --endpoint=endpoint                                            The URL for the CLI use to introspect your service\n\n  --header=header                                                Additional header to send during introspection. May be\n                                                                 used multiple times to add multiple headers. NOTE: The\n                                                                 `--endpoint` flag is REQUIRED if using the `--header`\n                                                                 flag.\n\n  --ignoreFailures                                               Exit with status 0 when the check completes, even if\n                                                                 errors are found\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key to use for authentication to Apollo Graph\n                                                                 Manager\n\n  --localSchemaFile=localSchemaFile                              Path to one or more local GraphQL schema file(s), as\n                                                                 introspection result or SDL. Supports comma-separated\n                                                                 list of paths (ex.\n                                                                 `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Apollo Graph Manager and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n\n  -g, --graph=graph          The ID of the graph in Apollo Graph Manager for which to delete an implementing service.\n                             Overrides config file if set.\n\n  -v, --variant=variant      The variant to delete the implementing service from\n\n  -y, --yes                  Bypass confirmation when deleting a service\n\n  --endpoint=endpoint        The URL for the CLI use to introspect your service\n\n  --header=header            Additional header to send during introspection. May be used multiple times to add multiple\n                             headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key to use for authentication to Apollo Graph Manager\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Supports .json output only.\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n\n  -g, --graph=graph        The ID of the graph in Apollo Graph Manager for which to download the schema for. Overrides\n                           config file if provided.\n\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n\n  -v, --variant=variant    The variant to download the schema of\n\n  --endpoint=endpoint      The URL for the CLI use to introspect your service\n\n  --header=header          Additional header to send during introspection. May be used multiple times to add multiple\n                           headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key to use for authentication to Apollo Graph Manager\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config    Path to your Apollo config file\n\n  -g, --graph=graph      The ID of the graph in Apollo Graph Manager for which to list implementing services. Overrides\n                         config file if set.\n\n  -v, --variant=variant  The variant to list implementing services for\n\n  --endpoint=endpoint    The URL for the CLI use to introspect your service\n\n  --header=header        Additional header to send during introspection. May be used multiple times to add multiple\n                         headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key              The API key to use for authentication to Apollo Graph Manager\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service definition to Apollo Graph Manager\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n\n  -g, --graph=graph                  The ID of the graph in Apollo Graph Manager to publish your service to. Overrides\n                                     config file if set.\n\n  -v, --variant=variant              The variant to publish your service to in Apollo Graph Manager\n\n  --endpoint=endpoint                The URL for the CLI use to introspect your service\n\n  --header=header                    Additional header to send during introspection. May be used multiple times to add\n                                     multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header`\n                                     flag.\n\n  --key=key                          The API key to use for authentication to Apollo Graph Manager\n\n  --localSchemaFile=localSchemaFile  Path to one or more local GraphQL schema file(s), as introspection result or SDL.\n                                     Supports comma-separated list of paths (ex.\n                                     `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://www.apollographql.com/docs/devtools/apollo-config/.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/devtools/apollo-config/). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the Chrome inspector or [other Node debugger](https://nodejs.org/en/docs/guides/debugging-getting-started/) of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real engine API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"1cb2caf85fbf8e2988068386b70f9565d1dbe82a","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.9","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.27.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.16.0","@oclif/errors":"1.3.3","git-url-parse":"^11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.7.0","apollo-graphql":"^0.5.0-alpha.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.4-alpha.0","apollo-codegen-flow":"^0.35.4-alpha.0","apollo-codegen-scala":"^0.36.4-alpha.0","apollo-codegen-swift":"^0.37.4-alpha.0","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.23.0-alpha.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.4-alpha.0","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.29.0-alpha.0_1594158441360_0.9677980039081258","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.29.0":{"name":"apollo","version":"2.29.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.29.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"7e69a7c145f4dde7b2dac2329811ad256be021ec","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.29.0.tgz","fileCount":95,"integrity":"sha512-YElFsyN1cHzIjOSZURHJswlBLK9lsCJeqcK0RGH1QflHjaO9IIohGo55vsWGXGuHzxMtfin1YUAHaWF/+LhYPg==","signatures":[{"sig":"MEYCIQClD+vOdrEzuFooLlc0d5L7YtOH31xZ0+bEaqhcGNmc7QIhAIieFTbhkWaDYkBzPgQCIofzSFZnbxLdT5uAjiZiX0TL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCJWWCRA9TVsSAnZWagAAC0cQAInnWPLmoZA0UfpkZJNP\niL2Uxl0r2rTyqVeI816Lp9Lakj7h2vAvXrHTINv3vVRilCDS04tpORtoxl3z\ng+WzFY6XrCnHQDzBlX4epMSBHjl47mg4QWauWNBJ8AC7xiCpycjzX1EvFYov\n1HFFZIZfMYeENi18Mw0PI6/8qkLl+sXCkV2ON2yEHQxFtfQ0EZD3XJXrw3M7\n3WLiSIJ6Ru5Buh+LuFvU2lLdOTCDEZhjlWS35CHol8HPgSOjcy+f7LqFHCc+\n9vJ11UYiSjJiEU2o2tdxrR7pscdrqZPG06J/QqqI/i9leA4KBjygx+Y189eE\nLVWNUug7SJxK4bAuiQMyesK74MizzmTL5yrBXPNPDn1WVuEeghlOBrXyJB1a\n/FNrVAXcvYFg1EhBN87zvsHxuSrpIauUjUnYtDDVaSfHBtIgkyvrydOwyTqd\nU588T0ciFKkO+sPd2PbOLt/8DE2fE26Q7D/3FOC2Fw6tXzodVSxUYDfyUEd5\nvT8v1mQcWYy1hKWPTyFFd9XAKG3nsx9fFB2l78byOLlEiUvE590wWv3yVb3v\n25KudXC3jQjw3SVCLpjNf3nERGgkdv3F8AJYquEFapQuCf2X5OP10obR/Ncv\ntnuUnU+bqIV4Ro5ftpz+2phbYz3kPWx1sx168i7NOpylyNn7cwHfsZ6k3qII\n0Xrw\r\n=CqbJ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"c4cf4973f895d4dc4dc78f771785bb56f11ecb03","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.9","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.27.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.16.0","@oclif/errors":"1.3.3","git-url-parse":"^11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.7.0","apollo-graphql":"^0.5.0-alpha.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.4","apollo-codegen-flow":"^0.35.4","apollo-codegen-scala":"^0.36.4","apollo-codegen-swift":"^0.37.4","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.23.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.4","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.29.0_1594398102129_0.04363283275206986","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.29.1":{"name":"apollo","version":"2.29.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.29.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"862bbda0cc48c67f455cca0636d927a31e0373d7","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.29.1.tgz","fileCount":95,"integrity":"sha512-2wobALKlgjQsSPEjP4jN+ceH7DnZdOkcY28owNP6v1hdPhsznOdc0AYYvR9dMlb+NzcBqTOlqJekFUkzfM00Ig==","signatures":[{"sig":"MEUCIQCY9gcWHyzmEOiykcEGzGfpDnudMwzxRHNtusGbOayqfgIgGzUJkMj6aicn4b9LW9i6k+LaymDJgzOzrg+KjkRicAA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272454,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCJpNCRA9TVsSAnZWagAAPaIP/RKJCFM+SIeZcUDsjFIi\nRlygIkHY/oZxlGF55XUb4rQjAtJoJeLIlJW3rXQXrZWKI8Gmouk+Oqf1Hll0\nYe3PfcWwmlDqoERztPyFjJR8g5fWu8t/jBWODmCj76ub7vzcAUvu5xZBbGyp\nR4bExxtjojrqXl9QRe69CXcEONY9Vr5VV3fslURN9rKC9CQ3caE7G36dUH9r\nU3pcfHBCHeQCIxhICz0yEBTf1dRcwNzjRFkj8BYWaSSHP0hcRuwiTZmzDdLP\nnCtpmQyIrw/ggDSMVsYuGRh20IGlJX/vPPF5JS7rJdh/X/fxLbPB2KEqXOdu\ntyA9OpRSCfybaBFn3EDmOEUk/EOi3nzfAaa3aXrLK1ittb2OyYXEo6K+91oE\nauDeE53WLW1SXOF/pxXaeypY8QEu/+9o6rrZJed3vhR3WHXBqEAxoxmLmAHD\nxi/W5sNZ5uTqWtQPAAmiT+YsSD3yiJgsFlQ/Y2imOxoEobtVCTKfIo3tLgAU\nZ0CyE/HrjRnwdrOv0z+K3iTf+j/5UoLWlmEkmU28XqzYSSTJrmo5UTeUyIcX\n91KkbBa9TnXODe6u9Dd5FogeQsukqF4XOV28C6/6Ci4GFfsGzsp9/JabvSow\nYcHclJlqC2KIU4/7duLpXaVeRIoKTodQSSaMpne35Grn1j9SL85/8ycARKX0\n0C3y\r\n=LwYw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"034200dd7ec8c5e4054f4571a813548a499a517e","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.9","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.27.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.3","git-rev-sync":"2.0.0","@oclif/config":"1.16.0","@oclif/errors":"1.3.3","git-url-parse":"^11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.7.0","apollo-graphql":"^0.5.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.5","apollo-codegen-flow":"^0.35.5","apollo-codegen-scala":"^0.36.5","apollo-codegen-swift":"^0.37.5","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.23.1","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.5","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.29.1_1594399308980_0.41102256809252946","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.30.0":{"name":"apollo","version":"2.30.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.30.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"d29bfc73ca9089f82ec54bb0b310a137e1989e3d","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.30.0.tgz","fileCount":95,"integrity":"sha512-lavRq0n2wmpKZpoW0p4nclzKFDuFJfV9MaC12rb0HOV2lMMBxVt2MJj2YLZzlsTIyZiK34Q5pYFx17plIqKQyA==","signatures":[{"sig":"MEYCIQCQGUVorhjE477iX55+9RqK0EjdHhBk8KlDMztNDExKZwIhAM8ZEw6GOJfC53OAZ7Y6cbFzRyPOuC6ipickxxwhcwsM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":274381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDeHbCRA9TVsSAnZWagAA9vQP+wc1J1imy3Aa8THZnTjE\nt7AHVUgNbBbEbKw8ZlBtjKDQq6cYut15HitjmaIhUCY6W5tOl9/NFd8JH4y3\nMww99rPjz6flR7/KQZ25EANfLwiOSkc1zCQLVnY+WK25cygcN1phvNjVxDtj\n3qc9ZIF04u/YBiKVUA7HTktVKD6fDz/93U+e4p3AiZK8iPnQnz1OWRsq/dwr\nph81AwwxK0OuiWVPQGV2lQyyKWQG4/A+6fxW6w+gLxLtCmFJcOlz8dmQ5T4q\nGPGrV0Mw2ZuJrW371My1joxz2DQOjrzwMeVg2ISHNdOkTjuikw7+7f8FTJIB\nQnu9Put1y8uRX0oXQYgGB5o8/tjmiXgSRcgN53zW82MYP6wK9nnaU3aZVeYG\nRgaRErMd1UjFkCBGuWxCpcQ1jM+T+tNr372PPpAFv6Nt7nMPreKneMxWqgWS\njlub477y7rndyXPGqJi0jAVdvU/Zt8Yvmx/0flrFncTY3CmLd9CzzZH4pDfX\n9ODYzmBn7sGiuNtww9KkkJ5z4oHUKwca7V1gGAnJkoGDkWJMoFr2fXZdz/x/\n8FaPOCzeQM4bGIJQaripRvLbME6HP1IAJEab2fTRoY6GgZBIqCXFPsKlxOrT\nqzOonvwz4ESozQ6VrFAhVhaHaR7RRvKtLLS5p+G/SfbvYI+32Z9Mznxdiqm8\nyyjp\r\n=FOpx\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f20429346b7e0e5230a65f26d9141f3526a3aadb","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.9","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.27.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.4","git-rev-sync":"2.0.0","@oclif/config":"1.16.0","@oclif/errors":"1.3.3","git-url-parse":"^11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.7.0","apollo-graphql":"^0.5.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.6","apollo-codegen-flow":"^0.35.6","apollo-codegen-scala":"^0.36.6","apollo-codegen-swift":"^0.37.6","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.23.2","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.6","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.30.0_1594745307223_0.9539503385874628","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.30.1":{"name":"apollo","version":"2.30.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.30.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"cdf88c4fe7450d63fecd873af60061ff0e2b10cb","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.30.1.tgz","fileCount":95,"integrity":"sha512-poh2tja2U8U5bGMxfPQjQP1voz2ZaNm/attwC8zpobdeLoT43LeQfFSTqCVmCMZJAfbMa40Cb54yV66DP2w9fw==","signatures":[{"sig":"MEUCIQCjWKOokR7x1ox0hAKTrtiF2wh30+mYy+VXpIfeMGIQqwIgK9QTzCqLStLwPMwzrEDdVOVDFeWmnsdUQeKhgYoaqco=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":274396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEMHjCRA9TVsSAnZWagAAvPIP/ArausqFplOW5ZiNlHmE\nuHaqBEiTdwx9ugLnc1dbm6XHhWabHpwFyLt5bJlZUWdJe2ndH/TH0FCNs2h2\n6P+zpY7wIR/3mROflGex8Ny+c4e7WbgPP+kMQFI/ioewH1+RGNOygIgfCRTA\ns5Jk0DX5LkqfS93IKyJPOXZHCU1PveKxh0vCYAL8s0x3b5MbKdBvNjAdwQHp\nYpiYBy5YaFdG7xdkyl7Pn2rZFdK+Ap+npkBcGsvvDzYJoxCtREX3avrBr9Ud\nHP+yok7dzdzK627xfTOgYD+yIUQXLOA9uB9/qLUka8xqwoAQXeSgKhm5RZYO\nJxJG50vE2h/8lkWPhCpdkAt1xsGxa8T09lnVS58r51eEKyn70DibTJpkuXg6\nlvzEzTrmEuc51xz1N62xsSjcNZq3XKgN80HD+dwyqBqCU+9T3bTh+Qi6wjk4\n/fWWgZqzELsZwkGKXKJ4n4+IMw1YrZx6tnWQ5g7geC7K03saxhZoh+wab1Tg\nR/5/9asHJXA1yr2sXCrbUByHxkWIL7DbdoaTWyzXVYrspS8iRVKETYd3VRKF\nktBKyTvGmZSQoJn3I3wfAmAUIr2TQIPaXXbEq2sGEaiClNjPtF8dgXYUPR8M\nDqCm2fruvqB25BEHaFK5MGlWJzKWtttZiVxbBJeZokhjJOVgq36xoZGm6x31\niV+F\r\n=e9fZ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b379201dc27eaf6a4c16329ee11380170cc719f5","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.21.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.9","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.27.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.4","git-rev-sync":"2.0.0","@oclif/config":"1.16.0","@oclif/errors":"1.3.3","git-url-parse":"^11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.7.0","apollo-graphql":"^0.5.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.7","apollo-codegen-flow":"^0.35.7","apollo-codegen-scala":"^0.36.7","apollo-codegen-swift":"^0.37.7","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.23.2","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.7","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.30.1_1594933730667_0.7988822584367481","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.30.2":{"name":"apollo","version":"2.30.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.30.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"e36990d154c0f7cc7bd07483c297ba68a8a30527","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.30.2.tgz","fileCount":95,"integrity":"sha512-CKQVvfjbeFPVew9q/dGuRNpohenK7oBTKNnwDs89ImEGoPDd7BpXRQUu/mNjUANoDpd2ztYRwO+ZxxVE8P4+sA==","signatures":[{"sig":"MEYCIQD4lEGI/EH7c0FLzQ0ilYLLEt06shzk49FOgknxA2yJTQIhAOBG268KvnCZI+3bvlfSQDtPt6ZUV+WP7tSgbvZurLni","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":274395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJ/JxCRA9TVsSAnZWagAAotgP/1MxNnv/EQldRr+ciWOs\nNG0M91jnbB+8a3nyLIE2DAqtuCk4P25bh77sV1DU0sma36UWs2RUmteOnhFQ\n/XfAnQcHjOZM7hTNnnBPINe03k30NcOQBm58oO+yvENs3bFjNhJPYpV/gURp\noX2UBrLPF6YnRbAHp5WHQX+P5dB5URdEZ5ChIitZnckCnalI8cjUaRjizyrf\nxP8ToM53MOlB7g85/Cm1kStRDFvrF2yi4Q42TH/pPNsHVZRGGF48XtFihGgD\ngv00mStkbGzKyfOd723PAG6NCLcQ6AgolsdDdMyNQbbvzNviILbkzr1ot6uO\nMHm2o09sH7xOTVkPxM+olCAJrhs23rM3jlsEfY9yCRbDQo6ExmCXMedpfG9T\nsfie78aaa/qhqcz5rQ7ZoTnEera65z1b92j6p84q1i9NdGiO8x+r2mYJpfhl\nixOuFh04vRAYCv+hDwz0IKwLzs7TI6iT59lRFGmsWoLa8JYzao2FteAPR+xJ\nB8JpeT/dKUjQj7hBXOaZfrIntbW4Jy8G0BTArzjHEOktmR1h1B9kqLdFDVLW\nTldt+JkecXnHaWPesg+WrAOCTFIPtbcl7P5G33zjpkL9/sbXaCLp18zwMy46\njv6JDjBLqC2fsL9yV7+SEQ4ZvNB2rSzClaTgaTSaMI1/WQ49BHovK1rnlG3J\nI+S9\r\n=oT1g\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"9bd122ec7f9ed48473816a512e70ae5d532945b8","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.22.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.9","env-ci":"3.2.2","mkdirp":"0.5.5","moment":"2.27.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.10.4","git-rev-sync":"2.0.0","@oclif/config":"1.16.0","@oclif/errors":"1.3.3","git-url-parse":"11.1.2","lodash.pickby":"4.6.0","@oclif/command":"1.7.0","apollo-graphql":"^0.5.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.8","apollo-codegen-flow":"^0.35.8","apollo-codegen-scala":"^0.36.8","apollo-codegen-swift":"^0.37.8","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.23.3","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.8","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.30.2_1596453489022_0.5406055714094431","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.30.3":{"name":"apollo","version":"2.30.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.30.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"35da4be87314ada673fe516d383e0592acf77b25","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.30.3.tgz","fileCount":95,"integrity":"sha512-5X0a2PaMOYUWhk0DIRzzwu18j6WiVWIvgmciQHY++QV+aKngspXWeqAn+mugSkwkC/GVycl/0Jv/OCdnemE7Og==","signatures":[{"sig":"MEQCIGIukFyXYegd1Czp6qEocygM9Gt0huqmj8SN9HMZVi4pAiBfMx3xZVQnL/GJGyNkzUQxRQDIubeDWUlCOlZrxIM9jg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":274453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSSnaCRA9TVsSAnZWagAAiv8P/3IqYgIlHN4JC4BpiF7l\nBPj9Sz5CbGbeLYjw8HcAcsYhg3TtqVhIa1WTNyFgIkrCIepSU4fB/1MPdbhY\ntGmL0/xFgYrAV/99gAQmrJb7Z59xf7erqeP7xjQuP1bt6LYiWcAGivmxWYm/\nZn3rO3vPvlD4fhfwq8gn2Krc0cjTANY051hnTr/C3U6SgqugQ3bKNy8HTQj3\nfuj05rcOCCv7BG1JVU4S7vGzHdNmuEaiMnSzrIYzBhLbzXQ/4ElBpU1bS3aN\nExjBmYyeMJD2IZgRVMNLiBuHnYiFYerBkPRddQ4uEoV/j4VUfygZSs+JA80F\nl1AJXgOAxD39d60Ze56xldCGDafUsWwVI0XlY9SIBEyA/v/IVtfdsRo2it7S\n6cBptWEEl7VNYZRL8INPVdAq1SWUBQKqBnJfw00RI4m6ExETMw6XHgQKz34x\n8gqapObB+rRch64he9QPAx9hTkJgLDcSjj99T+nknCZTNz2N20oWp0P3Mygb\nfi+Ote3uUYS4jund+/3+i0kMlOfALzUNkvtE7a0t2lJ3wq+BVAhL8y7UIksd\noTzKPAKwlQOVcg7TbDrL0NElVhZ2VTSsLBXRDWgukebQVPlT3fzmuOh2erX7\nAELRjrd8fzLu0nO6WgEzm9tr1PFaRRvaoBJra9P7SEfNwf6gRweDrj7R8Eyn\n2Q7v\r\n=bnvo\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"05b6a0d776cf91df3cc402d09e2007220c5b4a25","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.22.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.4.10","env-ci":"3.2.2","mkdirp":"1.0.4","moment":"2.27.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.0.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.3","git-url-parse":"11.1.3","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.37.9","apollo-codegen-flow":"^0.35.9","apollo-codegen-scala":"^0.36.9","apollo-codegen-swift":"^0.37.9","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.23.4","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.37.9","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.30.3_1598630361632_0.787234462963436","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.31.0":{"name":"apollo","version":"2.31.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.31.0","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"ea777b53530bc0bef4beab1fa0b157ad498c8271","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.31.0.tgz","fileCount":95,"integrity":"sha512-galQp/6UAiP+Aa2WtJZPIPPAiQqR6Um/fe0cOC8wu3c1BmXF2fHzjj2NSOv7xqAHZPyBRn/ixIe0aVUy3gcCLw==","signatures":[{"sig":"MEUCIQDiwt+lmpYW2T/XvehZRaxB/UV93+H1T0H5SLtpnCSpnQIgKKtpHhhNChgOphL5r66+HlHR4LQtz9frzXTnarjNbqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaZNnCRA9TVsSAnZWagAAGQ8QAJgo53l7sKvpSXmG7Kq+\nECpHF+NJNCBOjdhIjVfe7VrXLkVGsrPYEEfTClRGW21k8hS+sz1TX3c2cMQL\nfMF6091Dbc34ZT6+VVjw8wgmDKqxt432Na24u0+PpUxQLI+frOAVF7K+wgx9\nFi/FONVITCbzrFkNrmUlPV2xQmMJQQXFziWa9xhN6Tt18ezn7A2uFna4qWoX\np0mrrYt4ygmv9s5OZVWIOO+cFfXJ60fub00odUcshpn4Hnln5ZHrrcZijGUG\nFaSh3foN8GIiTalxBsQiy0Fo9nsF04lTN2aw0DC9VsjTqZ602Bp2zzIdr1ip\nJMTwe9H6i4GzpWGlFgMnecGE7IWzr0iPcGR18b26MxPshZcXk0Cj7QWPpTYH\n10FB3npUlLAqEZyqJHhnLHLW8mPG9XJnodEZAWFbd2ABzWAmvj4twQiacFqW\noPD4KJZct+077zgQ1BQJvmOJak+dAq7gIoYmt+bp6O4SO79PDY/s8ftrwJ12\nhdkgJbB0+Xoc8C3OgyjbFZ2HFX0LfCYlQ8gOXnaciErQO5pWnxs92LjezW2c\nkBAWP2/frTasqI5TFSBRYyeUl6zxiQuqYjHwe96QW19r0MOfHnJ9Y45Mt/e2\nT8Yl6AfDbSr4wqwX0DwYP23iEMUMfVfisp9BJkkgXCUA6LwuKO/fu6LZrybM\nbpkC\r\n=e8XO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f514d9bb4771115c5f26c9c521ebf71c73bded61","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.0","env-ci":"3.2.2","mkdirp":"1.0.4","moment":"2.28.0","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.3","git-url-parse":"11.2.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.38.0","apollo-codegen-flow":"^0.36.0","apollo-codegen-scala":"^0.37.0","apollo-codegen-swift":"^0.38.0","@oclif/plugin-plugins":"1.9.0","apollo-language-server":"^1.24.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.38.0","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.31.0_1600754534396_0.004436294509998717","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.31.1":{"name":"apollo","version":"2.31.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.31.1","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"a04149d1bdd309cedb374531d413d53ee257bc45","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.31.1.tgz","fileCount":95,"integrity":"sha512-qx64LGc09GSwpEIUbRJX90zq6ixVsgo6ZPGuCsDTY83Lz5ITMeXIs7+CF/1oAU1IzEI+YRMVsFTkK2aIBZzSYA==","signatures":[{"sig":"MEUCIQC/IW8yrCedAAVgC/EKO/Qs3aULxm044/c4XVSlGEQZRAIgCEnJ2HdV7ySqZDYSCu6meFDj0pKOHP5xeuZ214mdLv4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":275762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfpIxxCRA9TVsSAnZWagAAR0EQAKQ33KF++1+L8+z2BXLl\nvfgetfzt+mhM5cgLd4KSxjlrwt3UseXzLrG9RSLStJenjNkNra7y4U89ThK0\nw9q37Gjwfk2rbtjFGKu1Ng5ZyR1Re9BH8i2Z/81Bzj4giCmltMjW8nB71Cg1\nU+oQ8y1BbE17mZhCTgm3+VSGGy/1I3Vin0GNCMFsIa56s2xxAYgRezSCLpGl\nSPB9A2TflIMK07yABNZALq7S4yi5qJKYPuHWrvXr5yklCxco4dwWxOMDhws9\nk5jPIr4MqFabg5sXc23FZm105PQw6xxY4ak1fPv2tyG5lGjduJ1QspPmah8r\nj+AF92fJ+fyC3VDodUIDFqLehqH+e2JiSdvCCQlXRiciXlhw+LCfOPLffWmu\nH+nzYzpg2oonfZD/p7n8KUcvFtgLA9tcyI07hG8EQiMZcbWlXTMvpqALYV5J\n4Hgm4YhkeAaRqauFVvEQv8dYg7e79Sy334W8Z4mEOWHRA2QwUwAGhVlvQuGe\na8280kPSFVh3uzgwLzzdvs2fowg2L4S1FI8Ih1lBGYSCHH48OIm4Ndr0NGAE\n2qKCSTW3fpKOW7s1p4Fl3FiVrXZmH8tEZtvoEsLXhCYjE2UJ+ws0jiarro2Y\nDixnFkJet0IersOzqJgkE+WcXJ+Qc5tl1s5xGWIDFObtbJXvl7EK+bClJWFT\nbfc7\r\n=PHdA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"fc385d9d90a85a5dc042b3f0c0c86a176f23fa75","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.23.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.0","env-ci":"3.2.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.3","git-url-parse":"11.4.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.38.1","apollo-codegen-flow":"^0.36.1","apollo-codegen-scala":"^0.37.1","apollo-codegen-swift":"^0.38.1","@oclif/plugin-plugins":"1.9.1","apollo-language-server":"^1.24.1","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.38.1","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.31.1_1604619376940_0.22036685007030288","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.31.2":{"name":"apollo","version":"2.31.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.31.2","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"9a9153e95731f110c539656b900266cad72ced47","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.31.2.tgz","fileCount":95,"integrity":"sha512-LzN1DplRDBZf+5+UIEnINU62iEZx9kX16MbFNOZWj4LeGRRNHacv+QzdcNLRdWvtySCrFdS0MA4NyDQ48kRELw==","signatures":[{"sig":"MEUCIQCTgOZmo8kTVrTJURd+ZQ0/RKmIuKwtlMnzU6SV470dgQIgCNvYBnmF9EXV5qTrhlABBBMk5cW3vkXsMjBAXNH8JyY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":275762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyAKcCRA9TVsSAnZWagAAqKMP/1GK075rI7thg8kRhJ4+\nTzGOhu7tGUV5IxdOxv8Zo9GO5bumgRzuk5kDzj/yHLbnr9jS15b6dFWhALhg\nZOk6kyPD9BwatEESlGLu8BdmkKtwEjo83Tbt0wbJgdFO3C8srIWAeWjD9JMX\ncTJoEI5dGkgGzhXTnvQQGN9uueJs20TdC29Vi3quW3Ym2676W6g9aXc1k0ox\nIz8E+pg+Z2pKhmPMAHk09tacNznDhJ6vHRom6JhRI/+grcTPhAumECR9OFn2\njMfIf3/JxYefIfZyqZap4RhX3bK0RQ7/UbGmHsRzoFs7Bl7LTwFMb3pzzB38\nEbhwhsyaJizaZTS5je3SxKvXBPvhdN+oej6iLrZ90CioXi/VV6hfzg/7NNet\nglr+Mc/jL3bNnx6jHie2FWNpAEAYn6F/FuiarlDuIS5l3Qv4z5K8FGhESNG0\nw9bsVYAYuXSbjHOlHAwfUvcL8D1Mse8mjeQloRRkMzZxSrtAF4SjMJs8/qeH\nYv7clrAOhlo0yoGOQA+G+Rc4A1ZF0SEYUeSQhiNtq0lG3+wI1XpkykP1+AyL\nbGe6BLd5L4h1fPYUvfr4btnG5FV8PcP3Ff2le4dXFVhm+cp9dl6QWl5hiK+3\nIIkJjKUYrAg4+6ZU1hBYXFJFvCOrlcq0VGur2XSC/SGrIDLiaZ8EC7yz2Oii\nx3PX\r\n=jUTQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"7e448e7f82d8b81a49060caf84669f14b8e89adc","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.23.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.0","env-ci":"3.2.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.38.2","apollo-codegen-flow":"^0.36.2","apollo-codegen-scala":"^0.37.2","apollo-codegen-swift":"^0.38.2","@oclif/plugin-plugins":"1.9.3","apollo-language-server":"^1.24.1","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.38.2","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.31.2_1606943388404_0.5596111285900283","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.0-alpha.0":{"name":"apollo","version":"2.32.0-alpha.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.0-alpha.0","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"e6b3cd94e813942ffd7d8e7f52d7c9c765a28076","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.0-alpha.0.tgz","fileCount":95,"integrity":"sha512-5yBWR1IFymXEAqJso2H0XnFje2hrtXpj8tQBwIl+z4Wys2HgqCcA20R/Ak5MlOviZiharzCA7tghtVnwNpaLBQ==","signatures":[{"sig":"MEUCIA5sWZ8xW0IMe2WTL987w4PaqwK2IpvkFU8bdJFV1LLSAiEAm7fFAgrOKEMto7xP7Xyzi6OpsPIowjhZHIgQ8xMPZlI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0/6aCRA9TVsSAnZWagAAKEsP+gJMasfxIVqeEWMpcT0o\n+YKbbD4KgTgpTt5aQ6CH0oMKNolD5GvUG+WOqnDUFnsF0xzWRzrNgXsngK96\nV5tnf1jj9aFigIizeIMMGwRq6l6WIWuBc9aBMA0tG0ZmtBejlzouhvht/iZI\nEn2ZDRA8SvgkH8AEyq1Z9YDfXXQlUAdZOmjq2BF8dAdWGgxcghLdCq/n2k8r\nwFxnaR7yFyrWc2z9oZEO0okINZ/pqWLjCumCkef6G2gYf7d/aijCwSOivvYw\nMIOLhMUSwxvEGyPWjr+hnuqgHpwOh91jmJeh1/xIoxuM6OCzhg8N4pVXjRnH\n5BzQx3IBDP+Jj7VoDV5pNJGc26moPUnsMYGJhXaqZUF8ZHytRBWultQTKpDf\nBQJGO0UkI12kQKdGn8nORDufkXARdSCnGP5gcrYIDaUmQ6QfXa8qBwjnyb3J\nZk4JrCwFeNI/UP24LhhvCOxFFWkitv7Nfuy3u1KhhC8zeY/ob7h3rlhBCr9T\n5y/A+LTQzVeXZzbqXVS5EAdxPnVpP/GdD7d1TywCkcj2iypslFAh8xkr8MVc\nVtvi1gK/s/L2v60BGTmvORdbdWrg0oT9CVDiNc7cPFtQ967jWAhgeQKwGNMs\nBVrN0A67qKOqWXFXLOQHFZ1WQH4funaCqjQVbvcotpVALsIaclvrTb9ui+SP\nW5ck\r\n=TWNH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n**Disclaimer**: The following API documentation is only for the latest version released on NPM, and may not be accurate for previous or future versions.\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.32.0-alpha.0 linux-x64 node-v10.23.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nCheck a client project against a pushed service\n\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\nGenerate static types for GraphQL queries. Can use the published schema in the Apollo registry or a downloaded schema.\n\n```\nGenerate static types for GraphQL queries. Can use the published schema in the Apollo registry or a downloaded schema.\n\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a \n      file or directory (absolute or relative to the current working directory) to which:\n         - a file will be written for each query (if \"output\" is a directory)\n         - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all \n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n\n  -g, --graph=graph                          The ID for the graph in Apollo to operate client commands with. Overrides\n                                             config file if set.\n\n  -v, --variant=variant                      The variant of the graph in Apollo to associate this client to\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The URL for the CLI use to introspect your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"tsFileExtension\" to modify the extension of the file,\n                                             for example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send during introspection. May be used multiple times\n                                             to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using\n                                             the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key to use for authentication to Apollo\n\n  --localSchemaFile=localSchemaFile          Path to one or more local GraphQL schema file(s), as introspection result\n                                             or SDL. Supports comma-separated list of paths (ex.\n                                             `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --omitDeprecatedEnumCases                  Omit deprecated enum cases from generated code [Swift only]\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow | scala\n                                             | json | json-modern (exposes raw json types))\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from Apollo or a GraphQL endpoint in JSON or SDL format\n\n```\nDownload a schema from Apollo or a GraphQL endpoint in JSON or SDL format\n\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Can be `.graphql`, `.gql`, `.graphqls`, or\n          `.json`\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nExtract queries from a client\n\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --preserveStringAndNumericLiterals     Disable redaction of string and numerical literals.  Without this flag, these\n                                         values will be replaced with empty strings (`''`) and zeroes (`0`)\n                                         respectively.  This redaction is intended to avoid  inadvertently outputting\n                                         potentially personally identifiable information (e.g. embedded passwords  or\n                                         API keys) into operation manifests\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nRegister operations with Apollo, adding them to the safelist\n\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\ndisplay help for <%= config.bin %>\n\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_\n\n## `apollo plugins`\n\nlist installed plugins\n\n```\nlist installed plugins\n\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  show core plugins\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.4/src/commands/plugins/index.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\ninstalls a plugin into the CLI\n\n```\ninstalls a plugin into the CLI\nCan be installed from npm or a git url.\n\nInstallation of a user-installed plugin will override a core plugin.\n\ne.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in the CLI without the need to patch and update the whole CLI.\n\n\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to install\n\nOPTIONS\n  -f, --force    yarn install with force flag\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.4/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nlinks a plugin into the CLI for development\n\n```\nlinks a plugin into the CLI for development\nInstallation of a linked plugin will override a user-installed or core plugin.\n\ne.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work.\n\n\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' \n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.4/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nremoves a plugin from the CLI\n\n```\nremoves a plugin from the CLI\n\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.4/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nupdate installed plugins\n\n```\nupdate installed plugins\n\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     show CLI help\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.9.4/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\nCheck a service against known operation workloads to find breaking changes\n\n```\nCheck a service against known operation workloads to find breaking changes\n\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -g, --graph=graph                                              The ID of the graph in Apollo to check your proposed\n                                                                 schema changes against. Overrides config file if set.\n\n  -v, --variant=variant                                          The variant to check the proposed schema against\n\n  --author=author                                                The author to associate with this proposed schema\n\n  --branch=branch                                                The branch name to associate with this check\n\n  --commitId=commitId                                            The SHA-1 hash of the commit to associate with this\n                                                                 check\n\n  --endpoint=endpoint                                            The URL for the CLI use to introspect your service\n\n  --header=header                                                Additional header to send during introspection. May be\n                                                                 used multiple times to add multiple headers. NOTE: The\n                                                                 `--endpoint` flag is REQUIRED if using the `--header`\n                                                                 flag.\n\n  --ignoreFailures                                               Exit with status 0 when the check completes, even if\n                                                                 errors are found\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key to use for authentication to Apollo\n\n  --localSchemaFile=localSchemaFile                              Path to one or more local GraphQL schema file(s), as\n                                                                 introspection result or SDL. Supports comma-separated\n                                                                 list of paths (ex.\n                                                                 `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\nDelete a federated service from Apollo and recompose remaining services\n\n```\nDelete a federated service from Apollo and recompose remaining services\n\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n\n  -g, --graph=graph          The ID of the graph in Apollo for which to delete an implementing service. Overrides config\n                             file if set.\n\n  -v, --variant=variant      The variant to delete the implementing service from\n\n  -y, --yes                  Bypass confirmation when deleting a service\n\n  --endpoint=endpoint        The URL for the CLI use to introspect your service\n\n  --header=header            Additional header to send during introspection. May be used multiple times to add multiple\n                             headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key to use for authentication to Apollo\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\nDownload the schema from your GraphQL endpoint.\n\n```\nDownload the schema from your GraphQL endpoint.\n\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Supports .json output only.\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n\n  -g, --graph=graph        The ID of the graph in the Apollo registry for which to download the schema for. Overrides\n                           config file if provided.\n\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n\n  -v, --variant=variant    The variant to download the schema of\n\n  --endpoint=endpoint      The URL for the CLI use to introspect your service\n\n  --header=header          Additional header to send during introspection. May be used multiple times to add multiple\n                           headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key to use for authentication to Apollo\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\nList the services in a graph\n\n```\nList the services in a graph\n\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config    Path to your Apollo config file\n\n  -g, --graph=graph      The ID of the graph in the Apollo registry for which to list implementing services. Overrides\n                         config file if set.\n\n  -v, --variant=variant  The variant to list implementing services for\n\n  --endpoint=endpoint    The URL for the CLI use to introspect your service\n\n  --header=header        Additional header to send during introspection. May be used multiple times to add multiple\n                         headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key              The API key to use for authentication to Apollo\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\nPush a service definition to Apollo\n\n```\nPush a service definition to Apollo\n\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n\n  -g, --graph=graph                  The ID of the graph in Apollo to publish your service to. Overrides config file if\n                                     set.\n\n  -v, --variant=variant              The variant to publish your service to in Apollo\n\n  --author=author                    The author to associate with this publication\n\n  --branch=branch                    The branch name to associate with this publication\n\n  --commitId=commitId                The SHA-1 hash of the commit to associate with this publication\n\n  --endpoint=endpoint                The URL for the CLI use to introspect your service\n\n  --header=header                    Additional header to send during introspection. May be used multiple times to add\n                                     multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header`\n                                     flag.\n\n  --key=key                          The API key to use for authentication to Apollo\n\n  --localSchemaFile=localSchemaFile  Path to one or more local GraphQL schema file(s), as introspection result or SDL.\n                                     Supports comma-separated list of paths (ex.\n                                     `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://www.apollographql.com/docs/devtools/apollo-config/.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/devtools/apollo-config/). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages managed by Lerna. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the Chrome inspector or [other Node debugger](https://nodejs.org/en/docs/guides/debugging-getting-started/) of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real Apollo API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct, and there's a blank `Upcoming` section for future work.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n","engines":{"npm":">=6","node":">=8"},"gitHead":"c53ae54f771c3893d7ffc40bed3dd1a7e75d5f60","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.23.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.1","env-ci":"3.2.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","global-agent":"^2.1.12","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.0-alpha.0","apollo-codegen-flow":"^0.37.0-alpha.0","apollo-codegen-scala":"^0.38.0-alpha.0","apollo-codegen-swift":"^0.39.0-alpha.0","@oclif/plugin-plugins":"1.9.4","apollo-language-server":"^1.25.0-alpha.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.0-alpha.0","@oclif/plugin-autocomplete":"0.2.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.0-alpha.0_1607728794316_0.678485268988378","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.0":{"name":"apollo","version":"2.32.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.0","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"0a1fe320cd229f93c14cbccf5df2d21ed8e7514b","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.0.tgz","fileCount":95,"integrity":"sha512-6Wmt9OUYUET3JSQvAS6qgNP+vomf3P5zANARXDhqJ59c0/hAsXhdAvGaFFba+JhRRvyIVBOmaOpB880aNZeadg==","signatures":[{"sig":"MEUCIGTkddZMKKfHAr0DNHHIvoVEpr0zIS15nEM5NicsfdK9AiEAldHHWlWsfDxD2EMUP60vB8c3vwef9I/mvP650FVkP74=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3RfmCRA9TVsSAnZWagAA++oP/iEaE/HuB00veK7Kz+sd\nvJQY3OtPLT6gtOyI3yHXmyjLrF0WZ5SmtZYz2b6B+RIzbN21MwFSm/V2rCNI\n7vJ0w3jOdR9PxSxBkn2yyq291ksJKWwUk81kZoP7D/cAsZ+q7fqiNyIZ5r/6\nL+lPs0oZn/WBgxV1sKK6jAWoGOBfq+yRE27TS3oLLCcUKMtF7tEw6vtfV8s4\n69RsWL6oO8Wp41YixqSd/wq1CuBF06HdOP9LY0dTAh6PhLH7PRt+uMXBMXsH\n2D7ecnr2dA2lA/kZk/jWlrJli1tUyVOpOdARrZWjnwkQUoodiFmbAewJ8XRa\nIa1Z0C12Tj0DtW0IAOkqo/goHNULP/nL3Hqk/OoklnjCsr+ITXzoosrno+iR\nx+wLISqcOcs8edxvvNmp6A8TohPxINqHUN8KYWQGPYM2czY8D1Zq7jrUdj/7\nxk1BPptz+ObxGklC0eTIBzESGGkqoX1kNPEu7TacRUThI/60l3724/PE14WQ\nXjmuMgIz0uQTs9amCPhE6729NUE1+uJQFgRV8lFE6KfDJn+m9zYoGLo/pXtI\nO5GqINO5kKsoM3vyW4p3xMBUwLZ1Jy0Oj9IbcFyFWNIZZsaLJEBsBG6qOuW1\nIVNkSqpJLA3XEfsDZ6a6mCEHik07tlcnVFBMId4zoNtDTiJlSljQHRpTpDfU\nXLeA\r\n=ewpO\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"6fbc9631590a1d281e4852e6ef44967e63b45114","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.23.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.1","env-ci":"3.2.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","global-agent":"^2.1.12","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.0","apollo-codegen-flow":"^0.37.0","apollo-codegen-scala":"^0.38.0","apollo-codegen-swift":"^0.39.0","@oclif/plugin-plugins":"1.9.4","apollo-language-server":"^1.25.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.0","@oclif/plugin-autocomplete":"0.2.1","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.0_1608325094001_0.5614239442782909","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.1":{"name":"apollo","version":"2.32.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.1","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"f3d65f12f15bbe16c842b3165b80303b8fb166c6","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.1.tgz","fileCount":95,"integrity":"sha512-aSjGnxxm+ZZ6uYTuGrBqtQ4e3boG408K16CbB5Zm/QHCRNHpPUz7r9VRDfAJWMFE1mBdWi+r0dyY+7FUkKeRrw==","signatures":[{"sig":"MEQCIEoF8bNDhYfozCWJ3IqA+IU2YRolJ1bELDaXyCm4NllQAiBqyxMtP23PgJDnALbtZEscpeP4nSaQpXHCXX0i7FmpCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/IpzCRA9TVsSAnZWagAA5+MP/1oB0Pd0Ht5HzWbZs7LO\noXsVmm0Y4j36gpC2uu4GcOg894WypnJ2d/9aFhSawV0AVysDWbRDcR+LP4GV\nw5zrSAEZ2zLUWIotMG5cQbRZqlrP7isxvwFhgOTjWAQfiuKuE+gyeXdNdNAn\nY6d7j6AYMIvUROwYObu/eD4bhXHY3harI4tUaxGHGctqBt/7yzmNdQFJK79s\nQQuAqcn1wfCZv6QhtJwrUWcg3WE20/9Q5zhWgC2Bjb7WwKYd3cKiY3av6VPW\ngHYZ10slElvUc3JNjMbHuZUsM48DpSOG5YqvPXwQm7ql6/Iht4m9coX2wpaJ\nwZjt4JzeKuCwrMKpuGiJQ3BiJDxkTlGEmXc8OvQnklIbmqFAyZe6lUDiB3tW\nYHAYht+i9BU0K0r0wOll4bshnArxsQOdx7/Rr/eHyJWRThC6NV2xVsN1Db1Z\n9oeOkveUXMrBq9jiAtk3B4nfJFlk1Visre23+AR8RnGGrQz7EZT9vcf15O7S\nRo1GSqFgt/jP+Nlh5DNF4h/AvNXPRPm6b4DqHnFa3juDLNHbFVVgj5V2mRzB\nM6gaX677B74sVs3Rpb+2A0iwpgYAAnQ0mVx3tMC2cPRa77risuiTtGZEGjMB\nL4UtXyenku0+DuY4b8MQ4SxhdwwEqJyVp0Yk/q3xJUpOGq3jKraHKj2Z0/Zt\nFg+b\r\n=y8zs\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"48482f75fe45af0a9f876e6c1449bd2f30379b1d","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.23.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.23.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.1","env-ci":"3.2.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","global-agent":"^2.1.12","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.3","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.1","apollo-codegen-flow":"^0.37.1","apollo-codegen-scala":"^0.38.1","apollo-codegen-swift":"^0.39.1","@oclif/plugin-plugins":"1.9.5","apollo-language-server":"^1.25.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.1","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.1_1610386034400_0.35883731475382197","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.4":{"name":"apollo","version":"2.32.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.4","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"6fe174276b1649973eea031823afacb348f6136b","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.4.tgz","fileCount":95,"integrity":"sha512-nksXbQjFF9Gs54sLYhnj6bx19LUZ2e07QLTHbGpIerB1oB7ErWXEtcJAvysGgFrj1tTdmp54sTDS5yhZhhijFA==","signatures":[{"sig":"MEMCIEJNqURCtYSxcnQxQiT/gmvuzWPEvtrjhuc/BgNbcsZWAh9Pi1zvtQvrQdESLS5cGX1MpqJ0qVMVYxkfYMFscMFh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgL3JfCRA9TVsSAnZWagAASGkP/2MAdS21fFXzsaY48/O5\nlAu40ZxWBCjtp+w6XlOxZP5y/rByeeygMxvp6kciytuTGf+lD2uLJ6J2Xy8p\ncLQ+S2bdOF2n1MwhO5japgW1XnpE9vs15ywJudsCLZr/zfKExei6bD+qhfZl\nfKfAKoa7ADsvHmERWUqzZFVKEf336bh0npQzLCek5vflnCyDXH/LS/r1OeJ3\n9yUli88nzNJdcKycj4y5rGVWy21jPBQIaSLkqAyityowlUTHbulJcOHGj3mG\nKXujop2oRCzy76T8DONolqSJ2zGRoPMSLuQIdPSbDZRPmyHAjsH19zuI2qnV\nQp66dVOat77G07qrTUb1fsCicyd0oXDV6q20G5cxw3SC4uB8FeMlCvaQCp8F\nIqNpNyAb4QsuJ7kyTc6a/oz6QvlXosommrc/E1p7w5g6UhNMdUdRURAgUGNG\nIBAyFxkocSj7StH4onwHstjBP/Iq6t6Or7ec45YJL2wEkYQv6LpTSh8wBMBz\nGnuISbi5tcvvZpo8HVURsVzK+puYkJzqV2d4R1pDWpPxkBoGYz1anFMVgqTg\nROE1ZYPdolacp453wZvRf8J+fvsTwos+xDWVM0Sbgh6XDjJPm5Hv9VhmhD1B\n7pBiDpyk7HtrRvBzxJpzEs7WrAwZ3FNqZAND1oVwE6m9R/fBNtuDZqykY9vG\noBk2\r\n=0lVV\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"171f8d36f3d34b2db985b493d34b77124028ed35","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.23.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.23.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.5","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","global-agent":"2.1.12","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.3","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.2","apollo-codegen-flow":"^0.37.2","apollo-codegen-scala":"^0.38.2","apollo-codegen-swift":"^0.39.2","@oclif/plugin-plugins":"1.9.5","apollo-language-server":"^1.25.1","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.2","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.4.8","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.4_1613722206426_0.5262873995824418","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.5":{"name":"apollo","version":"2.32.5","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.5","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"e812ae699820f5387104bc07d3d8c53ed31c658e","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.5.tgz","fileCount":95,"integrity":"sha512-M2EWO9OZYbyziBUqYNSs5eYm9MNarYxLhZyZQp7mbJPdVN8i+w+KMBtD5rOS4e8oZN7lblhz/ooZtlNI2F6nwg==","signatures":[{"sig":"MEQCIG6D6jIqjUSoqGM7R1tpMM9o+wF0PYsJPz5c+1uIUSL6AiBqdvNnALfWXvX3xfx6OohnmC7SyzsuJiuG2mCfmTjKsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":277481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgL3neCRA9TVsSAnZWagAADjcP/21b52MMyDzDNvd3880K\n5Jy7ipjjMNOnPL5ed/ObHFODC9jM7AO4VO3O3ReD4mRcucLUHnCggbKEkiPm\nswEDaEmTnpXHJi/Up2u0uwYENXvJzSCcCtiKLf71lEgVFxQpabd9r0TEkShh\nG7HlbhT5N21MlcI3xL7Whe0gwx1N3VJgR2y0PGW8ORb6pMW4B5pKcJdyDCY7\nT7GwmGm2HSauCpONeb5K9wCPDjIYujykzfsG93VqJazRmav+LoNQsvMH9NMv\nMjdCLr4/7w9rwiW7zb329QNknGzBE6NIcu3if3sQGvhwU805QmYk1OxUQji7\nca0JQh+S3nzokiMr4Tc9jttmt0LeZXYCu6QvfqUzHQg5d2u19bsWMzFKzYMR\nHH5zraE045LyOBlpVNFKTmeLZ8gzjCjw7nR1S3qWriX+PL4wGzxEHyw4TVOm\nzbDUpO7jTm4uSGRhzsJcMqjVjTS+OD3gGTFUtI2kABvTsTEZs9fJQqf0XkSo\nrq3XD4F3yDFKGT+GmudmwbAbVjqhcTTXA6ugZx3vSeZJ6opB1atPanptwFuu\nJEKuOk8PUA/RXgNSFjqcG4IJLG7eS64tN/Z4Tm0qpkHecANxLSj+3efoD3rH\ng27kYSgspRvMJNNiS0S7De9PT+h0E+b8S1NCizL4v7/KODTJ3wIIcj7J8WZc\n6AK1\r\n=D3vk\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"3c073ffd5297c5c8db188184e99ad2cb3d50ebcc","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.23.3+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"10.23.3","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"5.4.6","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.6.6","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"2.1.0","global-agent":"2.1.12","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.3","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.6.1","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.3","apollo-codegen-flow":"^0.37.3","apollo-codegen-scala":"^0.38.3","apollo-codegen-swift":"^0.39.3","@oclif/plugin-plugins":"1.9.5","apollo-language-server":"^1.25.2","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.3","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.4.9","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"3.7.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.5_1613724126249_0.30825429763079093","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.8":{"name":"apollo","version":"2.32.8","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.8","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"b8795be7507ebf2239ecfc618c66ff4f20192dfb","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.8.tgz","fileCount":95,"integrity":"sha512-ATN8rgnThaVL07sUFHLnpi33cmI3dyYEOBvsJrQHIh/9CIvy1HKFYNGFTVc+HbEqHDsGK+FzF8HLjWEDY5gQ6g==","signatures":[{"sig":"MEYCIQC7kZTV2yDdB2V8vb15mYTrdRciG868/cfQHYtlbRYYlgIhALTGRX54sfA41eOdr/yE+bTLDZcvAamg5a6y5w1WeZVi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgf+6WCRA9TVsSAnZWagAAITgQAJnWcII0rshWVDnFn7UJ\nENuxTJ6qS6fJlxvXQKCBfhpxqU+lRNO6o8Kpg6UPwIjgT7EPTcVKleHaSlN0\np8XRtIz4sh5IOihsYkcUkIMmkdMasPtFG018f+wgkmwbYh6pS6Q+W1uCszoD\nXKbwouYubYxk5WTfVaEetDlrVILqeJ2gynvd7X4xsLSzv73DUrR3AMnDTN5T\n+3S31gwW+lKUDnycgxZRsNehSzB7uau0Ug8uvxLtASpTqcpJvFYIcbVwY07R\nUx2y9RzYwRUEh+7fD5spMtZ+DH98FVykrIaPKE79LVdlSffB5c3IJ47qCt6k\ndOeJYAZXwBeOpHt1wDUHvfzj71sj072lTeSUQXH6PQoBaR9qPtSdOED6+kEb\nlcShPVdT2lT/3ahFsiYZPFZrCsS5ejZ9duZp0pFXb94F+dH1bncbIcZDY3Q1\nOpfCbbEl8JpmHdiZ2y+G/IhpeT9dzmRdb/glfBlznf6yWseSQA2nK4yBi8hw\nbb7mFIliwna89+YnuPvA1uXWu5gHS2VOlRexweyDJL7sYNbR3mNOsTnfNBM5\nvJ3/gQQz9K+fpSamYg7Wkq60/UrzjcT4hoDEkwGveazlmDZXT2+qcls2kGq9\nrJi6ic12Yrq6IJdacjme+BCpvE+8vB1w4eHzHQQuGj8OdR4OrPNFHcixsmDX\nmS1A\r\n=bu36\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"6fc550b6f8ddfbfb0c8455f0831bc8fbad33c716","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"14.16.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.0.7","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.9.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"3.0.1","global-agent":"2.1.12","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.0","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.6","apollo-codegen-flow":"^0.37.6","apollo-codegen-scala":"^0.38.6","apollo-codegen-swift":"^0.39.6","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.25.5","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.6","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.4.12","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.8_1618996886233_0.746435389508666","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.10":{"name":"apollo","version":"2.32.10","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.10","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"0cebbbbd8b8c3c54b91fcd80e1c31975f046f9a2","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.10.tgz","fileCount":95,"integrity":"sha512-e93K+fdnZ8j2nB4/F85HDq6IoIijBcobMAa5caH0dkakWaN1KyM4iT/tqOuq0bFKZyKokV4vPyWmQwbsri/1Gg==","signatures":[{"sig":"MEUCIEzm3mWMT4inWv+ZatjUR2igIv6rUIo8NpLFmDbZjflqAiEA4OuE4jKiy4jdBOegyD21miX9ADHOAQJtheivhAmQzco=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghxibCRA9TVsSAnZWagAA5DoQAKNCV07i8cr6fLFmJP1A\nLL74QBjesZ+VLqKA0Ce6IUXhqhB7XFsMnl9ks97V4fNROpNIx7zfS1mkR0CK\nyaxk5/HC7PfpTSueFWnKRWobAriHHMKIegUSk4x8g5Q1JzTILDbuQcUStcwc\nrKhQfi9E/o27aEfg48xv/w7OazIe/nS4Dj7tdGvLPwE5a8VqunH8DNU5OFbV\nO9SCXkzswewSnVmMSrFhOJXcomXytBVDFe1JtWo+hSWLfYbeldNH/pqki99U\n1GMfMJYUmc7P79V0j0SjjMexuKbRefF4iJeCcP0M1VEs+UjdPYKiVe3ScX7g\nMLNgLQNvq8DLCiiM0HZTltj5RPGl+/Lzr8q7z/xrgiPzmoASqjEx4oNREEiW\nb1kvRudzOHIGHUX01JHRLKg1KxUrPKYv+0SxaPihX04hqJ1H07kopoYeHnk2\ngA81xARssya5nQBcbPdfdoNYS0Le6ZKg7g0ayYUYZxB3lHx7mQDkEjscz4OT\nutATZHNpAYF1hKPT218uHlYQJe5V0FkhkQgrylLvm4jXyd7UHKQo0cGagbZR\n96Vaf3gD48+w2XWjEpkCjhXCTXcJMDeBubXw6Ue7m2YngCQQ8d53EsTEWLz9\nHsf7bgmtwnvLdb8a8aVEF8CCSglto4S6M7eyvHzUNyfnodBlLV71UBUXnY17\ntE+Q\r\n=65cN\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"7b9d6d4f5e00789d17be2528f73b59c263998d25","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.5.1","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.9.2","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.8","apollo-codegen-flow":"^0.37.8","apollo-codegen-scala":"^0.38.8","apollo-codegen-swift":"^0.39.8","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.25.7","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.8","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.4.14","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.10_1619466394902_0.734478123964794","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.11":{"name":"apollo","version":"2.32.11","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.11","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"6b006702e57aefa100562dc3d40eff835954c02d","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.11.tgz","fileCount":95,"integrity":"sha512-d8VY1P4XHbFqAYcb2NBAK5C9DnXuTEBNS960VmauOGtnnQk4DKmF86sbeoHcVGbxXG8JuqDjpM96j6HxEBqAeQ==","signatures":[{"sig":"MEYCIQC7+u1hApgaZ21ncrGTW3s+6EVjS54n0Lv6K/HgL0j3HQIhAMbCvn/ysfu/2bw12gEjUGV9u+uHuBXp96a5dJBgPknk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiwZeCRA9TVsSAnZWagAADVUP/Ag+E0Xs0+xKHqlR9k3c\nlgKijVA5DthJq2sJYvhN+/ZZmQ4HshFnXCdxPz6s2NSTVG7g3UWSL5LDB1te\n8xkh5LHbbgPCWhFHFZXviAbDUSxE6Sbh41CcemR8phakhP3VvS7Wx5iZtWeQ\nKGHuN/tUKBI4I4wV2WEIeINUVDzySNvWQxZpyJj6bt9F8oKtJ4OkploitHLo\nPHd3UTDGJldYcIG4PnjPY+qYxef72ot38SsFzpRQWlTZWAyFwBBQENzYbgPY\n7Vz09W1GiHnA4twM8TJAFTN6iZPUEtYhXgFJNLzyC3PKGw3n1m3rd+FTr5N0\nbtxbS6MarJebTMWXVlmiozwURH1E4/vz7urpf5PevnucWMFDN6Jymz4o6bL+\nc2/IMSacp7vmHAA8druagAfCj6NhJPWXDIBxBDWM3FzWMCGkaHg8/MhA7lF/\nm/EVU6X4t3liONTTm+NSFhkIdjqsC+Sz8lmx6Rv9hqxWmE3szaTmSPUI4zsn\nNtj8RQrpd51QuZyhfWvTMDrlcTqm2rU4TVDo+/4C9Ysln4YOl1xZZFU0V+2A\nlBLiqOoF8H11V90kA71HpqhtD9BSwp7/wjgTUKKgYGJJIsNbpwlR5AJULIi1\nO3uiPSiJ22gikGy+QeOcM4Ks3B5jgXu68TJ0vY47SLr18tObEK7gpzz/jt+k\nnIx0\r\n=/8M5\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"48cb0ff8bcf399431df0c29cb93c5cc92016bd15","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.5.1","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.11.0","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.9","apollo-codegen-flow":"^0.37.9","apollo-codegen-scala":"^0.38.9","apollo-codegen-swift":"^0.39.9","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.25.8","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.9","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.11_1619723869994_0.7523691755066337","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.12":{"name":"apollo","version":"2.32.12","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.12","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"937a2f77cb0b5de78cc596779159209c9eefb168","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.12.tgz","fileCount":95,"integrity":"sha512-972/w4FsbnUG5m/s1xEMA8FQ0odlqXUzBtmqAw1rB5E7T/towxmu1aGB5Nnv4vPrVPL24knAyKByEghK8hfZGw==","signatures":[{"sig":"MEYCIQCIbXxyCrEu5GZEavkLIsm86iQ78EFUq/6IctLYHPHj4wIhAM53dw6SGe3KVFtgClsbncYUICzR6PcHvWLfbdTWeW+X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgj5w/CRA9TVsSAnZWagAAZEMP/3XmN3eHjE5heCs7PLHN\nRIf+9+pL1gq/d4xLSxa5XWMH1Q+k2gbWa0rfqsxLZEnDZvuGh2YbWLajVOWJ\nAerqIBnhk9NQgIvAnNwpeGMyAGyhK+Mt8W4NeiaLUw//j0r0MS/ARjHsVCCt\nY9d8T30m+X4PMjreXyVncf57YxA6f/rBzwBMnDnBrOV3iGI+znpgAVyJYaya\nY6om6ktRvTIvu7hy7NxOn4ylpEMv/Mp1PZcebMo0vz8nBK/W8nOjkNYvRFaq\nXKqQh8yJtnX7nhjySpQ2OTq40OHtCeMKSwbdeSVyeT22/3xar5LdXDYq+SdI\nAyhDLZVXp9YvN6FCqQpIKtEkIRWHhTkH8PfrCzb5iXIsTTGQREVFDXSJK34M\neZJ2C7xNISDXrXvXHfh1HjeHn5wObXoF9vLKgJRPkpJSd09z/aod78T5l1cv\ngwWZxG6ex9g0zk/p0gZ/HlK+M7yLb8Bs0oOzqcg/q2jW1gK11OeMpI//0rmv\n+Il1r4K3uUK87EBbC2FDFFHiJN8JiEDh3jV1oWl0PIiRUAxCIDzc9swTqhoh\n9JXAuGklKE9BsxIW5zp//DdRmzUhtcmmGVIsLNjaTm+o7bNfVoOape6fngq3\na3HwPrn5dgn4FrlhP0oXU5b8g7X5jl7aiju8rT8NJnFFeA9ieCBgKKO1JsOV\noSA+\r\n=mI+w\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f727a775ec2f067b325fb88c5023d3634c11ec90","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.6.0","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.10","apollo-codegen-flow":"^0.37.10","apollo-codegen-scala":"^0.38.10","apollo-codegen-swift":"^0.39.10","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.25.9","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.10","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.12_1620024382694_0.6878583181590281","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.32.13":{"name":"apollo","version":"2.32.13","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.32.13","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"46de73a3580a956431e75c8e0d75de9c2dc5f1da","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.32.13.tgz","fileCount":95,"integrity":"sha512-lEglFjzPRQdZy/kHY9n3B4ClT88jVOk+gEHLZVUtsrdjliOgZ76NmSGAVEW6K2ZmBUT/suu1W6HOjH4bJkW4pA==","signatures":[{"sig":"MEQCIF4b5pxDEiomwuvovZjfX3yCtE4UFY6u1iWDupiiTybJAiAJbih8OkPT56ZfC/tK5cKtO3xa9YrFDWBk9P9aHWSj5w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgj6D7CRA9TVsSAnZWagAAWZgP/20IswImLqoXaRVmSOYC\nUFBf+uT//5P1hjTqDL9+uGNkawzuPAK+jhxQHLfuwZC4r04m6621jpsv+z9c\nZ3gEQvlN4HpqeE9f2jy9NbR1bjkTrfq5mINKd3sS4fg1nqHUpKlNxtGF+yZp\nEYJOceVyDgN951oHqkP+wGuu3YKpph9GkyRaQ++X/uOifI6RUDfoajzYHyAB\nJa7CBwoCyAOtCRKzXxoZ4W3Cw55wPP43w7tR17Qq2ZiFMUMRqtRDcUxVmj/J\nbxmTTjXyAMQsVPi0fb2vnQiPyAVIWePnK5ZGenCASPBDVymL/Prk5imkn3uf\nZml6991jZ/psYW2iw8+hfrSpotjUxvwqlIYuqXOyKWqyJOHUIcZ+ji+2kmXe\naMfdJFIvI2XWmkJqa+4OoHczmkGHzTxCHTomCttLIe2qwVdM2ErYzG+vY4bf\nJz8oOQrQsJKqwdPNnZ849xNIzgosQtlGe0/4mAiF6q9qzZm4/Iqwyg7duWu6\nEBI3ImjVMSvIOx4pZPajLxN1+0V/7u5KZrtIG1Z32Y7XtkluwxJ2NBz2ydVb\n+JWJhmwaXvwl95FMe/O/iGicre0kEqMMV2RbdaFtC0M5KjwbUthYLdebphjc\nQrtazdkXUUQD/75mjJxlwYpopteyQXKNzHY11VYnTNddNNz7zBkPiF62QKg7\n47dy\r\n=ZdVd\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"62f8beba53d57079a51e2d8a7af1167d39b85847","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.6.0","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.39.10","apollo-codegen-flow":"^0.37.10","apollo-codegen-scala":"^0.38.10","apollo-codegen-swift":"^0.39.10","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.25.9","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.39.10","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.32.13_1620025594535_0.2140700620676943","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.0":{"name":"apollo","version":"2.33.0","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.33.0","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"d1c82c16faa06f7a721d6c96634babbee17df1b8","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.0.tgz","fileCount":95,"integrity":"sha512-dpaxUsILQUXYHBUYMk9yMf9mhFa7d+f3fsOIWmwKjH6g+VA5+h7RMbqI22rzgbHQpzUWh4awQCBt8vlRCzdWyw==","signatures":[{"sig":"MEUCIF/jQcG8ISLTrKLFUfOHPpCWGx0uZBmNC5ymOLzAlN+wAiEAx/rdIo/JuxRUG89GRmsR6OlLDGgGU5l/6PLLNjygMK0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkQBRCRA9TVsSAnZWagAAAjwQAKDVg8tP0nobGLDpuMrj\nGVd2rpNy214MODwaYv+3RGima9qTC4KpjYhJTWnKcn2n4CkGLfpcDnOEc2w7\n2qlah4kGMm8MMOEBDffmvZVx+hPk/jQeEAgQJ2yDX7xgZJtD2Pkap/NkeeSy\n7VQwEYQnrWfOe4GLR27WxnMesKhtbu8j1paIIOGQPotxo/jptavAZz9UkdJJ\ngof4GfURKm3mdWfop37xMi0yw9nB33qv41IMdpsNrToXyJOL+aEUj7zAKptN\nuQgUjlmWNZazdoJfMhyuvkKOJq6LuAeuABYMMlCXqr4FdjKLaS+Kd3DvcPHx\nZLd8TI7Zg45DTbnTXHkMyMP4Ng7eJe5F+kLaQUQD7218VzC5IA/PLyGbfs8z\nRnF0rus6mxoJc7N3oYdpbhCybQNbYCOV/AWffI1y/akI2aP/KX7XvKfs8gVF\nOuejf+Ik5Zn8VwDid8StOAMzhdUiU6QVpHL5+x2PM2n61Nb39MtELRWUFbLh\nLbj3FHk5fZLlU7chuypcGsY6vrqdHGtBjY98PRURlN2Y68KVID9CvuMtW7tH\nw+iZG6yiSbH+oFXH/oDOrmnPcVyDQU74dGKzXsfI1QZPZsm/cH8rz5wL8HPo\nXGZE2HeBayPuvv6Zu3JxS1KY4/Ui6rstaGCKOvtbpVi+5SC1LZoMuarXwH1q\nUk3F\r\n=L3w4\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"94ce9abca8e467d29c87f66b42f9159275806793","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.6.0","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.40.0","apollo-codegen-flow":"^0.38.0","apollo-codegen-scala":"^0.39.0","apollo-codegen-swift":"^0.40.0","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.26.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.0","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.0_1620115536789_0.5687171138050375","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.1":{"name":"apollo","version":"2.33.1","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.33.1","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"c04cc6aeb43d860bb646b0cc48232418a0a2d3be","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.1.tgz","fileCount":95,"integrity":"sha512-VULZ3h/eUcUp6asY+wOsPghyEINL4VkZUIss5wlP96Kv1CgwtFH469hGSvx9UiilzteXwYppK2QgZnwf+B0mgw==","signatures":[{"sig":"MEUCIAkMfqwhyHGL1aDFEBMmU5XcuKVdjc03R3WA8qPeSvmLAiEAsPimK12Wro7vVLBNfPhOnw0Sky9NW3chM1CVPo7Cdr0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkqBRCRA9TVsSAnZWagAAq04P/R3TY0qqj7i+D1UolMnk\nUMAN1L38x8rM/l2aQFB+r3/7zzFnE5mIP4+tASXAUKX/0wpt+mmmyDOrkQI4\ngUlPg0a9xBTlFAKXJFkwDFhgNH1YYcM9vGEVof81zBXnw4FCUUSl+cUj0BuC\nNdnNa+6FD/v1dGLvio3w/E5LLSifgTNfbbeVMaQeA3rI0YxLhSHlEEI33ojv\nmN7sV6DAzHbYb1sGxHQf4Erh6nMJYUuinqCi6QcL5NHdKbZXVQLkw59qBgZg\nzljYptXKehPLCDHpN8CMWhWSlwAzP34CNUpZYDDa88tVdYfhK30vOGF4H3J+\nlst11Uv4AmgInuh5juE3UYvg3WuFft564BMhAL6qOPYpC2t6sOq/ZSVv/f9l\nPzUgJT4HjEQ0+tYJBAYNBj04T29XGYe/eXNXYqPbrnGYTkOep8Vswyvuf27k\n/sCRZBpLGhOM7kFGRvzdf5xZc/id5ZiHRkfVNU2/9DpL1DTOB4BmQCYQDFsr\nl9rTNz+5LnMbvEGp/tQHJoeIGwB98v7Arx43zpRnQg0RxAHDZpD5wJrXdz4K\nIeOr4xI1uJwB+Iscbd3hexdXH0kBbZ7MW06dMJfWpmfGAj6Cx/VmCl0YRPMu\ntDen/SqgRqpwJ3W959qi7CqzMztvpsYekqXRoaCGJsfbvqoLwl67sCsvQFiG\nU6au\r\n=waom\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"4f32ccc3083d9adfb7849a1427d696027b6259af","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.6.0","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.40.0","apollo-codegen-flow":"^0.38.0","apollo-codegen-scala":"^0.39.0","apollo-codegen-swift":"^0.40.0","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.26.0","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.0","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.1_1620222032741_0.3519336493646543","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.2":{"name":"apollo","version":"2.33.2","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.33.2","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"bb90150a53f776984d2e961fd004d07c0d857488","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.2.tgz","fileCount":95,"integrity":"sha512-I2Cs1C1mCABT4yTJjHxhCCGxV4MrgphGqj6phZ4h19z2YsoXsQGmqlR9PV/KNBq0fUXQhZtYOHcg7cWY5/6+Kg==","signatures":[{"sig":"MEYCIQD4QWSQ7s2jm391EWaPrm3PMQX1AFbyAAhu8IkxaCSQEwIhAL+RXzVdCo0XFzsCPCdkZEmnQT0H/Mlj49iOwDTNpKFN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":288034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmlO6CRA9TVsSAnZWagAAtqEP/j3JCNgT0fjuOaiU0G69\nqn7Zt0+lmqW+vko2LbcucFYXUyaMwbVCey+c61P0Mi/R4J/oJbaIJt1HrhlK\ngW7eJPZMY682/5SxQ83hIgW8teRtDCLdWWigpv+NBCtSa4mQg97R8oEe1xp1\nDHc2kc+79hqVZGRIa4PpXAK9WkX/VVoYvL59LrRxpANVh27VmPEtSx3oW39Q\nQJIcqmqnKGQpmP5A381KfSAPAQGRQvR7IttrVjIVG4o+8TKOcwySXPfCHt8b\nAL0N/4WWiMoUPo43TeP9rerKVjwwLqPMCyGoLMFr3yRDqjzoUjOTWlYVZ6sX\nIAGShku0U5Ll8tNl6SqxkfNociNZdb9cetMFqL3QdplAlrwBspwTwHITjvFf\nVyTGtXqS4YOAqy21vTEaH43iA5pWOM6TEC73/L4aTL3YoGKuLWea6lMCmO63\n91K+Ung5qvZXmiv7OMHip8jMatZ9kF4XPihmntXVbfXeewFJWGc6xqMgpc5S\n+bfKjuRAZrv989VNbehSv8WX/2XhIYQGvAYFGs2nmBdwo9Xby9wuqG3RpzDc\nswdMxkE5IF0ZWGN5th42lzztIMnNCe3q87RiNGLswUTrRxh7BtYNxP9UgCF5\niU+vkG7qN6rWBr4k7Yh3VkdwHHTn49nJe4zVkIRtcGlGddyyppuSok6AhQ2I\ndAvo\r\n=E+H0\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"3e1365b27800cab87ac8945824d0ac9c9e226ea7","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.6.0","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.2","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.40.1","apollo-codegen-flow":"^0.38.1","apollo-codegen-scala":"^0.39.1","apollo-codegen-swift":"^0.40.1","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.26.1","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.1","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.2_1620726713475_0.4949025517931236","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.3":{"name":"apollo","version":"2.33.3","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.33.3","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"e31100f368f01b0b8f81d64ef2046841b4004c48","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.3.tgz","fileCount":94,"integrity":"sha512-J7caablRnqmlx5uXw1q2EkFU2sSGzc/rXYkMqrfkQ7ysfOJzUAuaL76pFgB/la4fh+eeqpa6rktDczauCpG/zg==","signatures":[{"sig":"MEUCIQDZ5BZ4fSaJUjOum/FJPWwse5G6LktwLnant4YMOq7rqwIgMAKD4SND582CWGIXutbaSeoF2XgO2CZ6lkt7OJBmgL8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":287878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrDesCRA9TVsSAnZWagAAie4QAKFhSHoXL7HpLJQlwlga\nqrzGnVy686zfDO6LbDHJgidI3kHtccYV5p3zuSbowfQwrzY7nzGeBocn+qap\nTdp2xKIUD3w8XEp8Sh/h6zndAsAOua4UMeUHq5/mPRUeVPWtb+tlzL3pX43E\nodF9V75LsclyLpiLjEPfdCctABlXUTTFXz7lNoHWPLhNOKf0sUXNXRf965zh\now1xLOCxEhoJh62gW9Gb+EUJIAg+gY/KEB/1u2jdc1GHEx+qXcW6O3MBzj+Z\n4Yq4+2hrxn3AX4xDTLW/Egqw4hVTnvMTzLb5fKh42fqbN2IBUTyXaMyHa05u\nHQUSQ6KDHsoebV202W+61H8l2QvYXJsF9VcwTup5lD1RzdguXJk+mXfYsyof\n5RwVIzb2haEFYltGHwmECZHiOO/5cpSOYXIwvLFo7Nqa4qBoR5dtjIwrrE2R\n3+XdOiKCzHBcyrRx8y/scPhVpQCHHsr6XmKI2tZ4XDhzl8RR9oI0eAlmrNAz\nKThU71unb+njlQw18QoaQQFk+uAknKHmJZvd+Qlf1dVbdXku4lZ7o2EsOvmn\nKwWK5y+A5nU527eIO8j2gnaWZZTHlNjhb3veiQKwFAVCZ/rAgO3a8k2xc2cm\nm9/vKBsMI4/yAs3LcinX8d4CMnLjDpz2hTyBTCrFSD/JzBy5kO+VkNOpEoRV\ne5dd\r\n=fU3i\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"c4cbd4f81512321d8806dd3199c948d2669987d0","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.6.0","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.3","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.40.2","apollo-codegen-flow":"^0.38.2","apollo-codegen-scala":"^0.39.2","apollo-codegen-swift":"^0.40.2","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.26.2","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.2","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.0","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.3_1621899180165_0.5885142247657411","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.4":{"name":"apollo","version":"2.33.4","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.33.4","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"84ef04218486fd15214da71b8825739b644ba0e8","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.4.tgz","fileCount":94,"integrity":"sha512-XSsJVYzYLfwGjf6sGJvCtBImqTTVPXDAaz+KbPTs7fe4PYJS6ZDbChIEE9JmmW+BkEdQubM4sQUekwWVJwap7w==","signatures":[{"sig":"MEUCIHvecDF1C6gEOnGijWgOovPVYBBCQ3FYYh5plM9qQAPFAiEA9eluDLCaUzlT/6jJLqhlljfFArUEgX8xoZCFbOItZSo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":287878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrspSCRA9TVsSAnZWagAAucEP/2Ru48hyUvn4Z42a342x\nPk8GZwgCekD39Kbt3n9U/xw5lD8a4Qt8DX0JEIxvQ8fC/Fflq1wtB9NywqeU\n7Ylhgv3PeoYm33RV25PsmNAY3lXYmAtjBjSoMhGBukQcQ62F2RQeZXuhRAgd\nxlOmRIijjEJZYE4kMA0I7TuTpeq3sF+V4sUsLFGry7Zuzv7FY+pLVa6r2B+Y\nX/LeU0Jzw03UhlnbDPy6srZJNST6QM/xetn2G/IOuEPfqyo/DWdw1xJb8aoU\nQMQCdhUPloUgPr3ncNnLVfPJM3g8Uvr4PngeNBRm4zNSuXu8Nk0t0kRxNDCr\nF3iDs2nik+yvJWUl3RJ6GLhxKLpTnPn56tlWmOJS/uSdW8V3B0IEm3nsXKOv\n7OGpo0WEyRKTYjUl1mtBpHqb1vA2ZqCE/B7QmxRjIX0LJrn+LyYSzLniTA7N\nfUbop/AC6xR/f7yRwhx4mETGHDUtOXSHbhzBq8J+vY6MFbYZDZ3sKpgVvxsd\n7cPE7ulf8a0qNCeyShFerOxVcjDa3r6Nv0lVZNhlYX5kcJavruDBKVRPc3fZ\nL7vT5brUS1vfCXnRebkJW96fVqraMHhRK0H0J8E0cYOcD3c/l64n2oFGiced\nHPZ1wZxYiEtox3S1bjSPiEJfCQP31JXcH7I2wFer+1t9SNC0Gj66gxPFsvws\nFMRL\r\n=BECj\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"7f77a11e5c3123137af9235b4a32ac76ec1aad39","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.1","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.5","chalk":"2.4.2","listr":"0.14.3","table":"6.6.0","cli-ux":"5.5.1","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.4","git-url-parse":"11.4.4","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.3","lodash.identity":"3.0.0","@oclif/plugin-help":"2.2.3","apollo-codegen-core":"^0.40.3","apollo-codegen-flow":"^0.38.3","apollo-codegen-scala":"^0.39.3","apollo-codegen-swift":"^0.40.3","@oclif/plugin-plugins":"1.10.0","apollo-language-server":"^1.26.3","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.3","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.4_1622067794257_0.7740297942257748","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.5":{"name":"apollo","version":"2.33.5","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.33.5","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"623ebbeb1bcd98c882d4b3e529ee4163f1aee769","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.5.tgz","fileCount":94,"integrity":"sha512-zcaFFTO00cn2YH4Vo1DrIFVJVa421EVcHudZ7tdFgS+/c2R5r28uvM4J69ctkwfdw7fh7JAGj4Lb2GP8bUFgQg==","signatures":[{"sig":"MEQCIAhiwEV5eaa3/M50PZaGrov7pZoa6sRnanOKL5/Ydb3XAiB+W5dlgz0jV9QGoTMIejlde6ycdMCIrmINiaWvolo5Rg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFUOZCRA9TVsSAnZWagAAwIAP/0deR0qi7ik+W70JTbwJ\nGDt/U5O8dtICVJSc+tTeSU9fZyhtymWZahnaLmKKTB65TmnBlNE+rw3sUbDU\nUWAx4+Ff0Zs9Kik/GqD8pY1C9GgyiBm6AevtOeb0kE6sbYQMfkfH40Qr9Jj0\nXqtGHhsKjmeuuvhjhbJNb5sLdnMHFrJp+lpvCT3A6OK0ijMFK22ELDbUdkPP\nd6d1RZ2IOqD+z7T105F9zLnj3aNc6tz20k0K9198jzBa4FXk+LIfVdttRaih\n0LVHhgoqMItJH5EbpYXB0dhtL0EMcYwnGql2RqfTGvAWCAtFuvbLON9Z9Mty\nuzhmiDnR71YZAORgcMCeFt89JVLgdfM6rUWw+sKuJgJf0S1c7wUVIfgzXp5f\n+b9Z7dJwwWU7zOo9pIVyr1UCngyuIlnUlfMlzclY1sVHjF+Nhsz6ozirB/0u\n4eE7lBvyL2+14auE+Zt7QTMcwGjW47so0Kh4J6Kw11tFYGiL3d573iwqu7xW\naANrtMHAFY03f5v8KvdxvUxwjN0sNXJy5xL0W9Ci/ecs/M4/se0i2IXAWVun\nKn7nBlzFZLxI9M3F0X/IwkD1Do5gwLEYMQjcAcCehvLDZWyv8rXQcVdjPbTv\nBUD6jADQYjFTlU96sa2xcHWQe6vXsjhBAdoqxx1Sro/Mh22B36OsvCvGcv2S\nnMdK\r\n=GkbB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"02257a0793dbd152d0b7172a3d7738844e0e7d07","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.4+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.4","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.7","chalk":"2.4.2","listr":"0.14.3","table":"6.7.1","cli-ux":"5.6.3","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.5","git-url-parse":"11.5.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.3","lodash.identity":"3.0.0","@oclif/plugin-help":"3.2.2","apollo-codegen-core":"^0.40.4","apollo-codegen-flow":"^0.38.4","apollo-codegen-scala":"^0.39.4","apollo-codegen-swift":"^0.40.4","@oclif/plugin-plugins":"1.10.1","apollo-language-server":"^1.26.4","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.4","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.5_1628783513591_0.2129134431167483","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.6":{"name":"apollo","version":"2.33.6","author":{"name":"Apollo GraphQL","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo@2.33.6","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"9ea12f88bf3fd5ee5e55cc2e5d632a069d6df393","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.6.tgz","fileCount":94,"integrity":"sha512-NSOU8g16Vu3OkThS3BX7Iq/NeuD2guOtYn24/dbuK2QiYmld4ZDtUrnvZbd8XgH9NzzPnF8cMztAGfqESFbq2Q==","signatures":[{"sig":"MEUCIQCqPhIGeOmdcjUUBgk2ucD9sX6hs/aSaFBIutE9ThTZMgIgFYOzmSEHQsEty4jQXe7S0aIL8iWvQdVJF8cbodOMHjc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284702,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFVrfCRA9TVsSAnZWagAAtzwP/2mV/38b9CWNJuGb1uHT\nIDzzVfJjeXwV9iBcBoBEfQly+kvC07Eum9dNwydAFWJmxLQM3mdwFDcMCBGm\n+FKvO+L5eza+PQ5qmOu9wDIPYiz453dMVNxnM6G1pNIWSZVs/I/gr27TP16x\nOKJSw8wQMb/ZwOOuxk79UXUBWtXTTeKNiRe8qv9AA8lAdtrjpvcebFbVNuam\nrrXCYyQ26eFrMm8uur3nFO/PtEiERnAAbpKrbJQlXmI+0kjVsdtt0MDY9lJc\nhP2npxkD88Sk/PG2VzJpJzB6bCJM7AgfscVv5SXftBk+XGLFC0AZ2IzW37vT\nQ36nSJqhsLDGFBa7Z/KY9BJQhG3fsUNk4SL0IX7VrG3DpLiRK0rCXsPiPN2k\nk4PiN499XmNUktGS8gd0O53zEiCeRzxcDWwafI+JDd8RTCn/4SSA3HoCBevS\nXWnnIm1Wj5fzj5Q6E9zF8FbniaSC8fuM0V/qRGS6R9RLsrdwzxg05xzGkchT\nncPxoSC5rPqbC6H8DDp7BmlGL1l5eVX0D0HB92iilA5Dj73bN9hN4Dun92YX\nBJB4Ohbfw+MT8MuMmcEGxY4rKSUQ2WXCAwETajbpw800SFJ76G7q5ClVnSNL\nuKoqb5xm98I/IY+/dS/s0scPceJI167N24EDPmrhYaWw4ogIfz7z46lXkHjO\nPuwy\r\n=aTRH\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"8d2015e509e6e78265a6696db2fad5a0a2aaa460","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.4+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.4","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.1.7","chalk":"2.4.2","listr":"0.14.3","table":"6.7.1","cli-ux":"5.6.3","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.4","apollo-env":"^0.10.0","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.5","git-url-parse":"11.5.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.3","lodash.identity":"3.0.0","@oclif/plugin-help":"3.2.2","apollo-codegen-core":"^0.40.4","apollo-codegen-flow":"^0.38.4","apollo-codegen-scala":"^0.39.4","apollo-codegen-swift":"^0.40.4","@oclif/plugin-plugins":"1.10.1","apollo-language-server":"^1.26.4","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.4","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.1","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.6_1628789470864_0.7522629233559115","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.7":{"name":"apollo","version":"2.33.7","author":{"name":"Apollo GraphQL","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo@2.33.7","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"76491421666ff87568ffcce69ab09a05d627a66c","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.7.tgz","fileCount":94,"integrity":"sha512-PiDXUep9aQB4jfq7FnLv1w/VqAlodWdamnHpo5FbwBgIn0wuipqLjJtNfXkxqSItc+Wmw3+Epr0WCBCmZ6G1Zg==","signatures":[{"sig":"MEQCIBwFS5PJ7VTzL/CJrAWyTqKJctui5AQYZT+65G9kl/6hAiBmv2Svs9SNlcus7YHWxHI+3OsKZK5F/mXv3dhGhdysAA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284644},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"18da273fd569df153c4ee9172087fe588b9d0f11","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.7","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.2.0","chalk":"2.4.2","listr":"0.14.3","table":"6.7.1","cli-ux":"5.6.3","env-ci":"5.0.2","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.5","apollo-env":"^0.10.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.5","git-url-parse":"11.5.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.4","lodash.identity":"3.0.0","@oclif/plugin-help":"3.2.3","apollo-codegen-core":"^0.40.5","apollo-codegen-flow":"^0.38.5","apollo-codegen-scala":"^0.39.5","apollo-codegen-swift":"^0.40.5","@oclif/plugin-plugins":"1.10.1","apollo-language-server":"^1.26.5","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.5","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.2","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.7_1635346804908_0.05184403066232601","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.8":{"name":"apollo","version":"2.33.8","author":{"name":"Apollo GraphQL","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo@2.33.8","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"d2db8912f05e1680ad2da2bb7d0bae94d8318d2a","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.8.tgz","fileCount":94,"integrity":"sha512-TaRc8AfJ8e9JD8mpUN3HzMMEFiJSHI4FHe/alrXRyhtt8I8FciviE/dv20Dxrisioy2qWTCxukIDYUPZ/uTWqw==","signatures":[{"sig":"MEYCIQCb6FGAfHOvCyUCot7FicT409Dt/OCq0m2S/QPlJCDU1wIhAIaKh2guzMeQxnP62DDzXUgddGtr8Nuh8SBGUC8HTG7l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284644},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"b2d14322165e7a2ea97c69c4fdab417318608049","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.7","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.2.0","chalk":"2.4.2","listr":"0.14.3","table":"6.7.1","cli-ux":"5.6.3","env-ci":"5.4.1","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.5","apollo-env":"^0.10.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.5","git-url-parse":"11.5.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.5","lodash.identity":"3.0.0","@oclif/plugin-help":"3.2.3","apollo-codegen-core":"^0.40.6","apollo-codegen-flow":"^0.38.6","apollo-codegen-scala":"^0.39.6","apollo-codegen-swift":"^0.40.6","@oclif/plugin-plugins":"1.10.1","apollo-language-server":"^1.26.6","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.6","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.2","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.8_1635899926950_0.010981314229471906","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.9":{"name":"apollo","version":"2.33.9","author":{"name":"Apollo GraphQL","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo@2.33.9","maintainers":[{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"058f67dad8d5e51cc1715417c060db2c64ba3cec","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.9.tgz","fileCount":94,"integrity":"sha512-bfapwkHnarxUW498AoLkNNN69e1U1a8ghK+xm2qiKCNhFwEBU9MlhwyBEg522Modbmg1XD+DtSi7gl7N5msBrQ==","signatures":[{"sig":"MEYCIQCE4pOIvYAKEn+auJbF3/ydicp4hBPCZ09GwhFH6uJ54QIhAJsYOAW6bUA3WDwiA0frxj6cSsSC8GpKBHmaX3wPr5Qi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":284644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2jlJCRA9TVsSAnZWagAAXpEQAIE0T3RCAob7KTo+DACw\norrdqIY3u50xsKXNyEeZbi4HB2Q9tsM3/MEJmAipnTFTRRG9VBI+GrFXfd/F\nDnDdoj1JntX/tOSg4uyyv/RCCuy36TV2YBKkD0lTbMXojVfnOj662WhyV0iK\nd//s0GLvaMjYR0mejlUN4J+EZmuLJG+xnsBjv63vAoEXB9K1HqgXj/X0/QS+\nFCMot7zpysQFckTYPrUe/RAAZZ5Wv9I2qSlrHjV741LIIlmvCprbD7q9rWYv\nlM0Upc/TBEbKTKJAcvhmbahraicvwfgi1T1kL0SommPTeIlpyvVOHbXof7AY\ndfq29gOY/IlqOY5bG2yC/RfOiD3qW76u3D8QlP59O9UzXqx4m0KT8H6PEe4v\nDMeE/NJ8ru3fQqUE7v5iscRC9nKabymoqUv4mxDyu9vq0XgH6pO/4Zcp3C72\nNcimNCB/+Af0T2/OlnJ//dqwAbzIPI7aXV6wu/CK+3AKIDv12UM/ECz+sHpD\n+UD/2Q/o60gEO15HHSLbNYpT3O1TaKRdkKpskk2vb1ZDMtboIZAKYpDi73Lf\nWkUbPbLk3fwgVq8+OvuCGPUesN8Zs82+W1W9w1gc67HjbHZu7Lcquvy/lzPF\nrnofhmP2dc/MR7vBz4V85mf1MczqeB233kBOKlLyOXL32Pta+CDj0tnQokg6\nMTtN\r\n=4j7Z\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsConfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"f7281c3a8a1b15165d76d18cc80c1e558db0ffef","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.7","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.2.0","chalk":"2.4.2","listr":"0.14.3","table":"6.7.3","cli-ux":"5.6.3","env-ci":"5.4.1","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.5","apollo-env":"^0.10.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.17.0","@oclif/errors":"1.3.5","git-url-parse":"11.5.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.0","apollo-graphql":"^0.9.5","lodash.identity":"3.0.0","@oclif/plugin-help":"3.2.3","apollo-codegen-core":"^0.40.7","apollo-codegen-flow":"^0.38.7","apollo-codegen-scala":"^0.39.7","apollo-codegen-swift":"^0.40.7","@oclif/plugin-plugins":"1.10.1","apollo-language-server":"^1.26.7","@oclif/plugin-not-found":"1.2.4","apollo-codegen-typescript":"^0.40.7","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.2","@oclif/plugin-warn-if-update-available":"1.7.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.9_1636657368386_0.5648390553952987","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.10":{"name":"apollo","version":"2.33.10","author":{"name":"Apollo GraphQL","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo@2.33.10","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"be247d72f2e8ca8819622fe03f5e073425610011","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.10.tgz","fileCount":94,"integrity":"sha512-V6S1OHcy9rbwJFSEWw+Qti+C6WIU7+R/uezMoPH9lA+50TMX9+p9TwwyFEu14AfLEYjZ+XYoA/WBxqaGAbtIzg==","signatures":[{"sig":"MEUCIQDfZcTskaAfcH06I4EDHrHxEek/OMYqQIGNpPYHgIwu0wIgDeo/uIEA38nodYcRfQawJQIEnSDex6AC02mCNf4A/rI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":285258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQ3ipACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSsQ//bM4mC6ly3fzjMUD3g6JMiDk16v5vwHNpA1ycCJRs31fRfZk8\r\nROshIZZfqe4FvrLyGzLjDzLMBWSXDNB3AeN+qQO3ua/mpmC3zOtvoK1au6hS\r\nNXwLGtmlNsxCY2rAnZWE6iFOJ+9vQNSH2oCQ8beNukxckZQM39Y3bzwiysMA\r\nz8PIdGlHekJ6xDCKs0jFPxrss4ed8kg8BIsp7CEvqE2kZ/LcF+Sv4aZmVNhr\r\nUkPVTDTc+S3508KEi+8QdN+Kr8r7oVaTD+UPAD4KtqVGIf0Crl3d1d/80tTv\r\n8hafZyN2odXWcMDJpod4b1EyNWy9uou/RoRd6uFiQYoFNknBSNVbPx2dTYSY\r\nzVYw93k7NcDFREUy/hGlXQDLdL8KUuZDxKkA7GHt0ChoPXTONCRUbuxefQNA\r\nTHlCM7X5D39+EqUlV7bpva1kLrwYUsMeWLTFhVoX2I0WPAl3CuTuTL6qo4oc\r\nVuy5yLCXyyVEpO5JwfirQ1Fzo2nRnYxSaTyFPrYawYNVJUJLjVeRKhRMbWda\r\n4ehAo5S4pP8clcwgKmkH1B4IItw5+S5hfN3xZ/pX1KejPArekqBeI/RjvtQQ\r\nySEvkXvxMJVSMvIgG2epas7bk3UKuqAYtEVobu820uFYpffIFGLUqzCeWcPK\r\nm4B87/3cEzbCuI6tPdRAvrO3q6JhiWB/KuM=\r\n=lt44\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"78c9c0352f99c0b09daa7ab1246fab6f7d5f4342","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v16.5.0+arm64 (darwin)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"16.5.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"7.2.0","chalk":"2.4.2","listr":"0.14.3","table":"6.8.0","cli-ux":"5.6.7","env-ci":"5.5.0","mkdirp":"1.0.4","moment":"2.29.1","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"1.0.5","apollo-env":"^0.10.1","strip-ansi":"5.2.0","vscode-uri":"1.0.6","graphql-tag":"2.12.4","git-rev-sync":"3.0.1","global-agent":"2.2.0","@oclif/config":"1.18.3","@oclif/errors":"1.3.5","git-url-parse":"11.5.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.16","apollo-graphql":"^0.9.6","lodash.identity":"3.0.0","@oclif/plugin-help":"3.3.1","apollo-codegen-core":"^0.40.8","apollo-codegen-flow":"^0.38.8","apollo-codegen-scala":"^0.39.8","apollo-codegen-swift":"^0.40.8","@oclif/plugin-plugins":"1.10.11","apollo-language-server":"^1.26.8","@oclif/plugin-not-found":"1.2.6","apollo-codegen-typescript":"^0.40.8","@oclif/plugin-autocomplete":"0.3.0","@apollographql/apollo-tools":"^0.5.3","@oclif/plugin-warn-if-update-available":"1.7.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.2.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.10_1648588968901_0.027069160532222192","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.33.11":{"name":"apollo","version":"2.33.11","author":{"name":"Apollo GraphQL","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo@2.33.11","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"abab2ed0f1b2e994e42b83c23945e7efd1f6b912","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.33.11.tgz","fileCount":94,"integrity":"sha512-dvb7UQHndPEdHE11XlRtzOVx4dDwymZSL9QrtkY9UUh/0pMUFI1XJM8RwCysKnNsgBAFVowuIwPKViQonzYIyA==","signatures":[{"sig":"MEUCICKW+O0i2EbyFg+qK7pNhpFNl28N6+sdARZJOboSkEYsAiEAmLpWX5uUWtpjFc+iUkI6ltMCk7vcrGUOzHRXoGI07Zs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":287380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicgQ3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrypw/8DTbq6TdLCOy/VrNvhkfONbc55n4U0cCpfrXljw062zFEk6Hy\r\niQ5CnTgP6fcvxHcXqZcSMIEVptGeDvyzgyfzBqhByaRMeN9AS7MUDjUNPEys\r\nEgLaYkcI+XIUtpY/YP+lXrxraZQORUYd7nbKsZRmbP/7FbZsCCR14Q2v2EAJ\r\naYgK/K0fb2Isn6iRzEtdR5tHGuMBtsF6sV1ORscDB4dNxUXN/NG2/NWjsKls\r\nnZcYENNQ0vw4ijQuBeSDYzLA2MB+2IzyUp+uxUSTZ3OJL+dckXucOQh6V4PF\r\nG0pDpgw6DJ2NzL0iiztalvfVSjEkoE8jwCPT/TmIKcCYyNHepwdGr5XsWVdK\r\nae2aaKWgrNPr0OfS36sbsnAfg77PPTxbpsyuI25zu/Ml7v380/lT4/r5kbUU\r\nKt2ie7R6AaSpe1DVrGAoVt473tFCxdGDMpNF/tvhaLb9goe2B5WAcGXP6LR2\r\nHAKwe1hj9WS4EdW4jQvUT8DxJp7Ivppu8PQdWjeTOy0Htqw9CkiHvQ0Be6gj\r\n5c6yOn1RKGm0Y0lkXzLSIgbOUBQlOAdzlY7YXWU5sawhBNEyf4Ibz+LRD0s1\r\nPRhb1V7o7LgRVgJcWZcrwepPE+Hc6gS8CHst/dDwKtpH4OYc9SGuePCyBW7o\r\nk43ZPvFGcR2DIIHYUvvHfj/t1BZjZE9jfMg=\r\n=T52K\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"58b96377de23b35f31264fda805d967a63a800c7","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"12.22.7","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"8.0.1","chalk":"4.1.2","listr":"0.14.3","table":"6.8.0","cli-ux":"6.0.9","env-ci":"7.1.0","mkdirp":"1.0.4","moment":"2.29.3","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"2.1.1","apollo-env":"^0.10.2","strip-ansi":"6.0.1","vscode-uri":"1.0.6","graphql-tag":"2.12.6","git-rev-sync":"3.0.2","global-agent":"3.0.0","@oclif/config":"1.18.3","@oclif/errors":"1.3.5","git-url-parse":"11.6.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.16","apollo-graphql":"^0.9.7","lodash.identity":"3.0.0","@oclif/plugin-help":"5.1.12","apollo-codegen-core":"^0.40.9","apollo-codegen-flow":"^0.38.9","apollo-codegen-scala":"^0.39.9","apollo-codegen-swift":"^0.40.9","@oclif/plugin-plugins":"2.1.0","apollo-language-server":"^1.26.9","@oclif/plugin-not-found":"2.3.1","apollo-codegen-typescript":"^0.40.9","@oclif/plugin-autocomplete":"1.3.0","@apollographql/apollo-tools":"^0.5.4","@oclif/plugin-warn-if-update-available":"2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.6.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.33.11_1651639351310_0.4842147618329964","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."},"2.34.0":{"name":"apollo","version":"2.34.0","author":{"name":"Apollo GraphQL","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo@2.34.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-tooling","bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"bin":{"apollo":"bin/run"},"dist":{"shasum":"ffd5578e24f4f1840fc56ac047c4080c4104fdc3","tarball":"https://registry.npmjs.org/apollo/-/apollo-2.34.0.tgz","fileCount":93,"integrity":"sha512-gDH+WBN+b6TA/tIrIuAyO6Df4tsHwAA/t3NZqUitOM0gKo/nXNOUZzskAFTjErL6fgp5+kYIP3rZ+bIleqXAKg==","signatures":[{"sig":"MEQCIA75YW7A8NnO3zuSVTuY0R3WBU/eeWeNUt9rz2CqWZg/AiAqQ9x9lT5kGDRTyV06TkFvsnvGPjFhWUFg5FaPoNQo+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":288057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiBreACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrpvw//Zz37/dG+YXEPtATPKyaVe+lgSTujca6qmh77b8Eka4y1r5zl\r\nymAixk4TVKJREl0WhH0y42yutIqTRKwQgnzQ+xO3g9mKPpshpoDUxVjffmhQ\r\nr2Tbq4Cb6qNvutGJ4moCh3Qp4a8Fxrb+KNR14AY4R+dDKanPExoX5vyH2ZMe\r\nnhRk7RFKAolSFk1BFTTt4hJIunEnfTr7MF6BW1FwExmkB/gfSEteT7WgMOhf\r\nbDrazfJeOnVtlaMpAlIvbEp3xefDASA08bujw7q2Xi7reAtt9qdy5NIC7ROg\r\nUBbiQL0/HaHV6tJBWaHsUAF8i9/578n3o5SZgGvYrsh4z9t6lO5HFGfa/Ana\r\n5gxtfHO2mA2aMPanswiZ4CxZB7yJDzfD3O9zEak2FNvTJkgeXUQhavgtk9t/\r\n6zDcass8VUzdIblzjtNDulpTjGgGnJp2IrC1w5+G9UfZvdm0ZRmdgE8dU6aw\r\nSe1JFQie3O/j78DFnlxqtVKrzThjBqlZIf7tpS5kx7dP8Cyd+E2DlCh8dS+I\r\ne6Bk4Ti3hHFOOspap3c8sIORGRFPdoeIbC9OgMKLX26iCIkq+DrCgOgCSWoF\r\nFWgS8L8GOEy7QNZ5aMCISgEn0sLZky0nhjvPJO9V2dRHGkfhFlID0XIxlfHs\r\nOQe9J8n3ntV8Y3Y740zT9Iew0DNxmZswpUY=\r\n=W92Z\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"preset":"ts-jest","globals":{"ts-jest":{"tsconfig":"<rootDir>/tsconfig.test.json","diagnostics":false}},"testMatch":null,"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","setupFiles":["apollo-env"],"testEnvironment":"node","setupFilesAfterEnv":["<rootDir>/test-utils/setup.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"testPathIgnorePatterns":["node_modules","lib"],"transformIgnorePatterns":["/node_modules/"]},"main":"lib/index.js","oclif":{"bin":"apollo","plugins":["@oclif/plugin-help","@oclif/plugin-not-found","@oclif/plugin-plugins","@oclif/plugin-warn-if-update-available"],"commands":"./lib/commands","repositoryPrefix":"<%- repo %>/blob/master/packages/apollo/<%- commandPath %>"},"types":"lib/index.d.ts","engines":{"npm":">=6","node":">=8"},"gitHead":"25be52eaff959b11d5f12a6a7554d0d2ee17f9d7","scripts":{"prepack":"oclif-dev manifest && oclif-dev readme","version":"cross-env COLUMNS=74 oclif-dev readme && git add README.md","postpack":"rm -f oclif.manifest.json"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"_npmVersion":"8.5.0","description":"Command line tool for Apollo GraphQL","directories":{},"referenceID":"21ad0845-c235-422e-be7d-a998310df972","_nodeVersion":"16.15.0","dependencies":{"tty":"1.0.1","gaze":"1.1.3","glob":"8.0.1","chalk":"4.1.2","listr":"0.14.3","table":"6.8.0","cli-ux":"6.0.9","env-ci":"7.1.0","mkdirp":"1.0.4","moment":"2.29.3","graphql":"14.0.2 - 14.2.0 || ^14.3.1 || ^15.0.0","git-parse":"2.1.1","apollo-env":"0.10.2","strip-ansi":"6.0.1","vscode-uri":"1.0.6","graphql-tag":"2.12.6","git-rev-sync":"3.0.2","global-agent":"3.0.0","@oclif/config":"1.18.3","@oclif/errors":"1.3.5","git-url-parse":"11.6.0","lodash.pickby":"4.6.0","@oclif/command":"1.8.16","apollo-graphql":"0.9.7","lodash.identity":"3.0.0","@oclif/plugin-help":"5.1.12","apollo-codegen-core":"0.40.9","apollo-codegen-flow":"0.38.9","apollo-codegen-scala":"0.39.9","apollo-codegen-swift":"0.40.9","@oclif/plugin-plugins":"2.1.0","apollo-language-server":"1.26.9","@oclif/plugin-not-found":"2.3.1","apollo-codegen-typescript":"0.40.9","@oclif/plugin-autocomplete":"1.3.0","@apollographql/apollo-tools":"0.5.4","@oclif/plugin-warn-if-update-available":"2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"4.6.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo_2.34.0_1653086941863_0.43576807615032753","host":"s3://npm-registry-packages"},"deprecated":"The `apollo` package is deprecated and no longer maintained. It has been replaced by the Apollo Rover CLI (`@apollo/rover`) — see the migration guide at https://go.apollo.dev/t/migration for command equivalents."}},"time":{"created":"2012-11-10T10:57:30.880Z","modified":"2026-07-03T13:09:06.096Z","0.0.1":"2012-11-10T10:57:32.316Z","0.1.0":"2012-12-23T16:30:34.164Z","0.1.1":"2012-12-23T20:01:38.761Z","0.1.2":"2012-12-29T18:03:14.848Z","0.1.3":"2012-12-29T23:06:26.939Z","0.1.4":"2013-01-07T20:22:44.208Z","0.2.0":"2013-02-10T19:10:49.898Z","0.2.1":"2013-02-11T18:18:09.715Z","0.2.2":"2013-02-11T18:51:07.749Z","1.0.0-canary.4":"2018-05-29T21:24:59.612Z","1.0.0-alpha.0":"2018-05-30T04:42:33.819Z","1.0.0-alpha.1":"2018-05-30T14:21:36.437Z","1.0.0-beta.0":"2018-06-11T14:13:05.959Z","1.0.0-beta.1":"2018-06-11T15:01:05.273Z","1.0.0-beta.2":"2018-06-12T13:39:41.297Z","1.0.0-beta.3":"2018-06-14T00:32:12.690Z","1.0.0":"2018-06-18T15:43:03.053Z","1.0.1":"2018-06-18T18:26:27.092Z","1.0.2":"2018-06-19T13:06:34.361Z","1.0.3":"2018-06-19T16:42:13.853Z","1.0.5":"2018-06-21T01:21:21.018Z","1.0.6":"2018-06-26T12:26:38.522Z","1.0.7":"2018-06-27T01:30:48.008Z","1.1.0":"2018-06-27T22:50:12.715Z","1.1.1":"2018-06-27T22:54:40.924Z","1.2.0-alpha.c03e4b26":"2018-06-28T21:07:27.771Z","1.2.0":"2018-07-05T21:32:11.614Z","1.3.0":"2018-07-09T17:18:29.650Z","1.4.0-alpha.80497f3b":"2018-07-09T19:30:02.609Z","1.4.0-alpha.478e2f66":"2018-07-09T23:48:36.782Z","1.4.0":"2018-07-10T00:29:45.432Z","1.5.0":"2018-07-20T21:48:58.641Z","1.6.0":"2018-07-27T23:57:15.830Z","1.7.0":"2018-08-10T17:36:13.528Z","1.7.1":"2018-08-23T01:12:55.575Z","1.8.1":"2018-08-31T14:04:26.585Z","1.8.3":"2018-08-31T14:37:26.011Z","1.9.0":"2018-08-31T23:40:37.266Z","1.9.1":"2018-09-01T00:26:53.355Z","1.9.2":"2018-09-12T21:33:18.063Z","1.10.0-alpha.9":"2018-10-08T19:01:39.836Z","1.10.0-register.0":"2018-10-08T20:13:04.918Z","1.10.0-register.1":"2018-10-09T03:40:50.449Z","2.0.0-alpha.80":"2018-11-06T09:18:17.000Z","2.0.0-alpha.81":"2018-11-06T09:24:52.815Z","2.0.0-alpha.82":"2018-11-06T10:24:12.585Z","2.0.0-beta.82":"2018-11-06T13:55:59.269Z","2.0.0-beta.84":"2018-11-06T21:00:42.403Z","2.0.0-beta.85":"2018-11-06T22:51:56.318Z","2.0.0-beta.87":"2018-11-07T03:02:10.908Z","2.0.0-beta.89":"2018-11-07T04:19:59.314Z","2.0.0":"2018-11-07T15:09:29.909Z","2.0.1":"2018-11-07T20:33:35.552Z","2.0.2":"2018-11-07T22:11:31.485Z","2.0.3":"2018-11-07T22:46:11.785Z","2.0.4":"2018-11-07T23:03:13.597Z","2.0.5":"2018-11-08T07:38:59.877Z","2.0.6":"2018-11-08T21:09:15.659Z","2.0.8":"2018-11-08T22:41:03.575Z","2.0.9":"2018-11-09T17:06:14.356Z","2.0.10":"2018-11-09T17:38:23.906Z","2.0.11":"2018-11-09T17:52:08.891Z","2.0.12":"2018-11-11T07:21:34.838Z","2.0.13":"2018-11-11T07:26:17.165Z","2.0.14":"2018-11-12T14:32:21.042Z","2.0.15":"2018-11-12T15:18:18.390Z","2.0.16":"2018-11-13T08:29:32.213Z","2.0.17":"2018-11-13T08:50:33.387Z","2.1.0":"2018-11-14T01:40:53.604Z","2.1.1":"2018-11-15T00:09:02.518Z","2.1.2":"2018-11-16T03:44:10.208Z","2.1.3":"2018-11-21T23:35:03.728Z","2.1.4":"2018-11-27T10:49:44.020Z","2.1.5":"2018-11-27T13:04:39.608Z","2.1.6":"2018-11-27T15:52:57.424Z","2.1.7":"2018-11-30T21:39:50.366Z","2.1.8":"2018-12-07T23:49:52.449Z","2.1.9":"2019-01-04T23:29:12.549Z","2.2.0":"2019-01-16T16:49:10.629Z","2.3.0":"2019-01-18T14:32:03.139Z","2.3.1":"2019-01-24T19:01:17.046Z","2.4.0":"2019-01-31T00:26:37.346Z","2.4.1":"2019-01-31T17:28:10.531Z","2.4.2":"2019-02-02T00:48:27.994Z","2.4.3":"2019-02-03T01:44:38.921Z","2.4.4-alpha.0":"2019-02-05T20:11:47.724Z","2.4.4":"2019-02-06T00:11:30.736Z","2.5.0":"2019-02-13T00:47:02.389Z","2.5.1":"2019-02-15T14:58:25.346Z","2.5.2":"2019-02-26T15:55:11.787Z","2.5.3":"2019-02-26T21:56:34.043Z","2.6.0":"2019-03-05T20:47:57.372Z","2.6.1":"2019-03-13T14:19:29.277Z","3.0.0-alpha.0":"2019-03-13T15:51:57.318Z","3.0.0-alpha.1":"2019-03-13T17:56:24.207Z","3.0.0-alpha.2":"2019-03-15T18:38:53.100Z","2.6.2":"2019-03-15T21:19:30.956Z","2.7.0":"2019-04-02T16:46:16.920Z","2.7.1-alpha.0":"2019-04-03T16:25:46.069Z","2.8.0":"2019-04-03T23:24:47.011Z","2.8.1":"2019-04-04T01:28:03.823Z","2.8.2":"2019-04-08T18:19:16.224Z","2.8.3":"2019-04-11T00:31:36.293Z","2.8.4-alpha.0":"2019-04-13T19:11:24.833Z","2.8.4-alpha.2":"2019-04-14T05:14:51.317Z","2.8.4-alpha.3":"2019-04-15T01:56:16.886Z","2.8.4-alpha.4":"2019-04-16T01:08:51.336Z","2.8.4-alpha.5":"2019-04-16T05:23:27.266Z","2.9.0":"2019-04-25T20:46:03.507Z","2.10.0":"2019-05-07T13:53:45.881Z","2.10.1":"2019-05-08T14:22:22.938Z","2.10.2":"2019-05-08T14:39:33.323Z","2.10.3":"2019-05-08T23:27:57.333Z","2.10.4-register.0":"2019-05-09T19:23:39.502Z","2.10.4-register.1":"2019-05-09T20:16:51.769Z","2.11.0":"2019-05-09T20:35:57.932Z","2.11.1":"2019-05-13T21:52:45.366Z","2.12.0":"2019-05-16T22:43:29.001Z","2.12.1":"2019-05-21T18:53:40.722Z","2.12.2":"2019-05-21T19:30:48.546Z","2.12.3":"2019-05-22T22:19:36.415Z","2.12.4":"2019-05-30T00:52:54.795Z","2.12.5":"2019-05-30T17:58:06.251Z","2.12.6-beta.0":"2019-05-30T18:34:23.219Z","2.12.6-beta.1":"2019-05-30T18:58:25.380Z","2.12.6-beta.2":"2019-05-30T19:21:01.194Z","2.12.6-beta.3":"2019-05-30T19:35:47.194Z","2.12.6-beta.4":"2019-05-30T19:41:39.284Z","2.12.6-beta.5":"2019-05-30T19:53:59.322Z","2.13.0":"2019-06-07T18:22:01.200Z","2.13.1":"2019-06-12T00:56:53.355Z","2.14.0":"2019-06-25T16:37:54.509Z","2.14.1":"2019-06-25T21:27:47.209Z","2.15.0":"2019-06-27T17:04:37.783Z","2.15.1-alpha.0":"2019-07-14T22:29:42.216Z","2.15.1-alpha.1":"2019-07-14T23:59:32.920Z","2.15.1-alpha.2":"2019-07-15T18:58:00.393Z","2.16.0":"2019-07-16T00:50:15.272Z","2.16.1":"2019-07-22T18:36:42.044Z","2.16.2":"2019-07-25T22:29:27.521Z","2.16.3":"2019-07-28T21:07:25.349Z","2.17.0":"2019-08-05T13:24:02.776Z","2.17.1":"2019-08-05T19:35:57.707Z","2.17.2":"2019-08-07T09:59:58.186Z","2.17.3":"2019-08-12T17:23:11.274Z","2.17.4":"2019-08-13T20:56:14.352Z","2.18.0":"2019-08-19T14:36:01.787Z","2.18.1-alpha.0":"2019-08-28T14:18:22.825Z","2.18.1-register.0":"2019-09-06T16:51:21.368Z","2.18.1-register.1":"2019-09-06T17:32:40.175Z","2.18.1":"2019-09-09T13:57:57.374Z","2.18.2":"2019-09-12T21:05:49.386Z","2.18.3-alpha.0":"2019-09-13T21:06:42.546Z","2.18.3":"2019-09-13T21:34:00.414Z","2.19.0-alpha.0":"2019-09-17T17:19:09.271Z","2.18.4-alpha.0":"2019-09-27T13:22:02.352Z","2.18.4-alpha.1":"2019-09-27T17:00:34.569Z","2.19.0-alpha.1":"2019-10-01T20:18:08.853Z","2.19.0-alpha.2":"2019-10-03T20:50:37.182Z","2.19.0":"2019-10-04T14:17:46.538Z","2.19.1":"2019-10-09T21:30:04.105Z","2.20.0":"2019-10-17T22:12:02.768Z","2.21.0":"2019-10-21T16:48:21.325Z","2.21.1":"2019-11-20T14:49:52.438Z","2.21.2":"2019-12-11T22:17:26.934Z","2.21.3":"2020-01-09T21:15:52.721Z","2.22.0":"2020-01-30T20:51:00.076Z","2.22.1":"2020-02-13T19:08:44.070Z","2.23.0":"2020-02-21T21:46:13.492Z","2.24.0":"2020-02-26T15:35:53.670Z","2.25.0":"2020-03-05T18:49:37.428Z","2.26.0":"2020-03-31T18:23:22.950Z","2.26.1-alpha.0":"2020-04-07T17:18:10.817Z","2.27.0-alpha.1":"2020-04-09T15:58:22.353Z","2.26.1-2.27.0-alpha.2.0":"2020-04-09T16:38:37.594Z","2.27.0":"2020-04-10T20:51:37.156Z","2.27.2":"2020-04-17T20:48:52.970Z","2.27.3":"2020-04-22T14:17:08.371Z","2.27.4":"2020-05-06T15:20:18.365Z","2.28.0":"2020-05-20T14:54:42.527Z","2.28.1":"2020-06-08T11:00:35.963Z","2.28.2":"2020-06-08T14:22:23.304Z","2.28.3":"2020-06-11T16:33:07.672Z","2.29.0-alpha.0":"2020-07-07T21:47:21.603Z","2.29.0":"2020-07-10T16:21:42.306Z","2.29.1":"2020-07-10T16:41:49.175Z","2.30.0":"2020-07-14T16:48:27.422Z","2.30.1":"2020-07-16T21:08:50.817Z","2.30.2":"2020-08-03T11:18:09.281Z","2.30.3":"2020-08-28T15:59:21.787Z","2.31.0":"2020-09-22T06:02:14.868Z","2.31.1":"2020-11-05T23:36:17.164Z","2.31.2":"2020-12-02T21:09:48.626Z","2.32.0-alpha.0":"2020-12-11T23:19:54.559Z","2.32.0":"2020-12-18T20:58:14.116Z","2.32.1":"2021-01-11T17:27:14.548Z","2.32.4":"2021-02-19T08:10:06.655Z","2.32.5":"2021-02-19T08:42:06.476Z","2.32.8":"2021-04-21T09:21:26.457Z","2.32.10":"2021-04-26T19:46:35.093Z","2.32.11":"2021-04-29T19:17:50.242Z","2.32.12":"2021-05-03T06:46:22.943Z","2.32.13":"2021-05-03T07:06:34.653Z","2.33.0":"2021-05-04T08:05:36.960Z","2.33.1":"2021-05-05T13:40:32.880Z","2.33.2":"2021-05-11T09:51:53.661Z","2.33.3":"2021-05-24T23:33:00.354Z","2.33.4":"2021-05-26T22:23:14.360Z","2.33.5":"2021-08-12T15:51:53.755Z","2.33.6":"2021-08-12T17:31:11.032Z","2.33.7":"2021-10-27T15:00:05.060Z","2.33.8":"2021-11-03T00:38:47.156Z","2.33.9":"2021-11-11T19:02:48.587Z","2.33.10":"2022-03-29T21:22:49.108Z","2.33.11":"2022-05-04T04:42:31.492Z","2.34.0":"2022-05-20T22:49:02.018Z"},"bugs":{"url":"https://github.com/apollographql/apollo-tooling/issues"},"author":{"name":"Apollo GraphQL","email":"packages@apollographql.com"},"license":"MIT","homepage":"https://github.com/apollographql/apollo-tooling","repository":{"url":"git+https://github.com/apollographql/apollo-tooling.git","type":"git"},"description":"Command line tool for Apollo GraphQL","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"readme":"# Apollo CLI\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/apollographql/apollo-tooling/master/LICENSE) [![npm](https://img.shields.io/npm/v/apollo.svg)](https://www.npmjs.com/package/apollo) [![Get on Slack](https://img.shields.io/badge/spectrum-join-orange.svg)](https://spectrum.chat/apollo?tab=posts)\n\n---\n\n> **[2022-01-21] Note - Upcoming Deprecation Plans:** We (Apollo) are working towards fully deprecating this repository and its related projects. Most of the functionality in this repository has been replaced by newer projects and the rest will be soon. We'll share detailed migration documentation when everything here is ready to be officially deprecated, but just a heads up in case you're planning on adopting anything here for a new project (which you still can of course if the tooling here works for you - support for this tooling will be minimal however).\n\n---\n\n> **[2021-07-23] Note - Housekeeping:** Apollo's GraphQL VSCode extension is no longer housed in this repository. It is now maintained separately in [this repo](https://github.com/apollographql/vscode-graphql).\n\n---\n\nApollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety.\n\n<!-- toc -->\n* [Apollo CLI](#apollo-cli)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Configuration](#configuration)\n* [Code Generation](#code-generation)\n* [Contributing](#contributing)\n<!-- tocstop -->\n\n# Usage\n\n**Disclaimer**: The following API documentation is only for the latest version released on NPM, and may not be accurate for previous or future versions.\n\n<!-- usage -->\n```sh-session\n$ npm install -g apollo\n$ apollo COMMAND\nrunning command...\n$ apollo (-v|--version|version)\napollo/2.34.0 linux-x64 node-v16.15.0\n$ apollo --help [COMMAND]\nUSAGE\n  $ apollo COMMAND\n...\n```\n<!-- usagestop -->\n\n# Commands\n\n<!-- commands -->\n* [`apollo client:check`](#apollo-clientcheck)\n* [`apollo client:codegen [OUTPUT]`](#apollo-clientcodegen-output)\n* [`apollo client:download-schema OUTPUT`](#apollo-clientdownload-schema-output)\n* [`apollo client:extract OUTPUT`](#apollo-clientextract-output)\n* [`apollo client:push`](#apollo-clientpush)\n* [`apollo help [COMMAND]`](#apollo-help-command)\n* [`apollo plugins`](#apollo-plugins)\n* [`apollo plugins:inspect PLUGIN...`](#apollo-pluginsinspect-plugin)\n* [`apollo plugins:install PLUGIN...`](#apollo-pluginsinstall-plugin)\n* [`apollo plugins:link PLUGIN`](#apollo-pluginslink-plugin)\n* [`apollo plugins:uninstall PLUGIN...`](#apollo-pluginsuninstall-plugin)\n* [`apollo plugins:update`](#apollo-pluginsupdate)\n* [`apollo service:check`](#apollo-servicecheck)\n* [`apollo service:delete`](#apollo-servicedelete)\n* [`apollo service:download OUTPUT`](#apollo-servicedownload-output)\n* [`apollo service:list`](#apollo-servicelist)\n* [`apollo service:push`](#apollo-servicepush)\n\n## `apollo client:check`\n\nCheck a client project against a pushed service\n\n```\nUSAGE\n  $ apollo client:check\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_\n\n## `apollo client:codegen [OUTPUT]`\n\n[DEPRECATED] Generate static types for GraphQL queries. Can use the published schema in the Apollo registry or a downloaded schema.\n\n```\nUSAGE\n  $ apollo client:codegen [OUTPUT]\n\nARGUMENTS\n  OUTPUT\n      Directory to which generated files will be written.\n      - For TypeScript/Flow generators, this specifies a directory relative to each source file by default.\n      - For TypeScript/Flow generators with the \"outputFlat\" flag is set, and for the Swift generator, this specifies a\n      file or directory (absolute or relative to the current working directory) to which:\n      - a file will be written for each query (if \"output\" is a directory)\n      - all generated types will be written\n      - For all other types, this defines a file (absolute or relative to the current working directory) to which all\n      generated types are written.\n\nOPTIONS\n  -c, --config=config                        Path to your Apollo config file\n\n  -g, --graph=graph                          The ID for the graph in Apollo to operate client commands with. Overrides\n                                             config file if set.\n\n  -v, --variant=variant                      The variant of the graph in Apollo to associate this client to\n\n  --[no-]addTypename                         [default: true] Automatically add __typename to your queries, can be unset\n                                             with --no-addTypename\n\n  --clientName=clientName                    Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId      Reference id for the client which will match ids from client traces, will\n                                             use clientName if not provided\n\n  --clientVersion=clientVersion              The version of the client that the queries will be attached to\n\n  --customScalarsPrefix=customScalarsPrefix  Include a prefix when using provided types for custom scalars\n\n  --endpoint=endpoint                        The URL for the CLI use to introspect your service\n\n  --excludes=excludes                        Glob of files to exclude for GraphQL operations. Caveat: this doesn't\n                                             currently work in watch mode\n\n  --globalTypesFile=globalTypesFile          By default, TypeScript will put a file named \"globalTypes.ts\" inside the\n                                             \"output\" directory. Set \"globalTypesFile\" to specify a different path.\n                                             Alternatively, set \"tsFileExtension\" to modify the extension of the file,\n                                             for example \"d.ts\" will output \"globalTypes.d.ts\"\n\n  --header=header                            Additional header to send during introspection. May be used multiple times\n                                             to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using\n                                             the `--header` flag.\n\n  --includes=includes                        Glob of files to search for GraphQL operations. This should be used to find\n                                             queries *and* any client schema extensions\n\n  --key=key                                  The API key to use for authentication to Apollo\n\n  --localSchemaFile=localSchemaFile          Path to one or more local GraphQL schema file(s), as introspection result\n                                             or SDL. Supports comma-separated list of paths (ex.\n                                             `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --mergeInFieldsFromFragmentSpreads         Merge fragment fields onto its enclosing type\n\n  --namespace=namespace                      The namespace to emit generated code into.\n\n  --omitDeprecatedEnumCases                  Omit deprecated enum cases from generated code [Swift only]\n\n  --only=only                                Parse all input files, but only output generated code for the specified\n                                             file [Swift only]\n\n  --operationIdsPath=operationIdsPath        Path to an operation id JSON map file. If specified, also stores the\n                                             operation ids (hashes) as properties on operation types [currently\n                                             Swift-only]\n\n  --outputFlat                               By default, TypeScript/Flow will put each generated file in a directory\n                                             next to its source file using the value of the \"output\" as the directory\n                                             name. Set \"outputFlat\" to put all generated files in the directory relative\n                                             to the current working directory defined by \"output\".\n\n  --passthroughCustomScalars                 Use your own types for custom scalars\n\n  --queries=queries                          Deprecated in favor of the includes flag\n\n  --suppressDeprecationWarning               Silence the deprecation warning output by the codegen command\n\n  --suppressSwiftMultilineStringLiterals     Prevents operations from being rendered as multiline strings [Swift only]\n\n  --tagName=tagName                          Name of the template literal tag used to identify template literals\n                                             containing GraphQL queries in Javascript/Typescript code\n\n  --target=target                            (required) Type of code generator to use (swift | typescript | flow | scala\n                                             | json | json-modern (exposes raw json types))\n\n  --tsFileExtension=tsFileExtension          By default, TypeScript will output \"ts\" files. Set \"tsFileExtension\" to\n                                             specify a different file extension, for example \"d.ts\"\n\n  --useFlowExactObjects                      Use Flow exact objects for generated types [flow only]\n\n  --useFlowReadOnlyTypes                     Use read only types for generated types [flow only]. **Deprecated in favor\n                                             of `useReadOnlyTypes`.**\n\n  --useReadOnlyTypes                         Use read only types for generated types [flow | typescript]\n\n  --watch                                    Watch for file changes and reload codegen\n\nALIASES\n  $ apollo codegen:generate\n```\n\n_See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/codegen.ts)_\n\n## `apollo client:download-schema OUTPUT`\n\nDownload a schema from Apollo or a GraphQL endpoint in JSON or SDL format\n\n```\nUSAGE\n  $ apollo client:download-schema OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Can be `.graphql`, `.gql`, `.graphqls`, or\n          `.json`\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_\n\n## `apollo client:extract OUTPUT`\n\nExtract queries from a client\n\n```\nUSAGE\n  $ apollo client:extract OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: manifest.json] Path to write the extracted queries to\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --preserveStringAndNumericLiterals     Disable redaction of string and numerical literals.  Without this flag, these\n                                         values will be replaced with empty strings (`''`) and zeroes (`0`)\n                                         respectively.  This redaction is intended to avoid  inadvertently outputting\n                                         potentially personally identifiable information (e.g. embedded passwords  or\n                                         API keys) into operation manifests\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_\n\n## `apollo client:push`\n\nRegister operations with Apollo, adding them to the safelist\n\n```\nUSAGE\n  $ apollo client:push\n\nOPTIONS\n  -c, --config=config                    Path to your Apollo config file\n\n  -g, --graph=graph                      The ID for the graph in Apollo to operate client commands with. Overrides\n                                         config file if set.\n\n  -v, --variant=variant                  The variant of the graph in Apollo to associate this client to\n\n  --clientName=clientName                Name of the client that the queries will be attached to\n\n  --clientReferenceId=clientReferenceId  Reference id for the client which will match ids from client traces, will use\n                                         clientName if not provided\n\n  --clientVersion=clientVersion          The version of the client that the queries will be attached to\n\n  --endpoint=endpoint                    The URL for the CLI use to introspect your service\n\n  --excludes=excludes                    Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently\n                                         work in watch mode\n\n  --header=header                        Additional header to send during introspection. May be used multiple times to\n                                         add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the\n                                         `--header` flag.\n\n  --includes=includes                    Glob of files to search for GraphQL operations. This should be used to find\n                                         queries *and* any client schema extensions\n\n  --key=key                              The API key to use for authentication to Apollo\n\n  --queries=queries                      Deprecated in favor of the includes flag\n\n  --tagName=tagName                      Name of the template literal tag used to identify template literals containing\n                                         GraphQL queries in Javascript/Typescript code\n```\n\n_See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_\n\n## `apollo help [COMMAND]`\n\ndisplay help for apollo\n\n```\nUSAGE\n  $ apollo help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.18/src/commands/help.ts)_\n\n## `apollo plugins`\n\nList installed plugins.\n\n```\nUSAGE\n  $ apollo plugins\n\nOPTIONS\n  --core  Show core plugins.\n\nEXAMPLE\n  $ apollo plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/index.ts)_\n\n## `apollo plugins:inspect PLUGIN...`\n\nDisplays installation properties of a plugin.\n\n```\nUSAGE\n  $ apollo plugins:inspect PLUGIN...\n\nARGUMENTS\n  PLUGIN  [default: .] Plugin to inspect.\n\nOPTIONS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nEXAMPLE\n  $ apollo plugins:inspect myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/inspect.ts)_\n\n## `apollo plugins:install PLUGIN...`\n\nInstalls a plugin into the CLI.\n\n```\nUSAGE\n  $ apollo plugins:install PLUGIN...\n\nARGUMENTS\n  PLUGIN  Plugin to install.\n\nOPTIONS\n  -f, --force    Run yarn install with force flag.\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Can be installed from npm or a git url.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command \n  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in \n  the CLI without the need to patch and update the whole CLI.\n\nALIASES\n  $ apollo plugins:add\n\nEXAMPLES\n  $ apollo plugins:install myplugin \n  $ apollo plugins:install https://github.com/someuser/someplugin\n  $ apollo plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/install.ts)_\n\n## `apollo plugins:link PLUGIN`\n\nLinks a plugin into the CLI for development.\n\n```\nUSAGE\n  $ apollo plugins:link PLUGIN\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nOPTIONS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'\n   command will override the user-installed or core plugin implementation. This is useful for development work.\n\nEXAMPLE\n  $ apollo plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/link.ts)_\n\n## `apollo plugins:uninstall PLUGIN...`\n\nRemoves a plugin from the CLI.\n\n```\nUSAGE\n  $ apollo plugins:uninstall PLUGIN...\n\nARGUMENTS\n  PLUGIN  plugin to uninstall\n\nOPTIONS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nALIASES\n  $ apollo plugins:unlink\n  $ apollo plugins:remove\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/uninstall.ts)_\n\n## `apollo plugins:update`\n\nUpdate installed plugins.\n\n```\nUSAGE\n  $ apollo plugins:update\n\nOPTIONS\n  -h, --help     Show CLI help.\n  -v, --verbose\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.0/src/commands/plugins/update.ts)_\n\n## `apollo service:check`\n\n[DEPRECATED] Check a service against known operation workloads to find breaking changes\n\n```\nUSAGE\n  $ apollo service:check\n\nOPTIONS\n  -c, --config=config                                            Path to your Apollo config file\n\n  -g, --graph=graph                                              The ID of the graph in Apollo to check your proposed\n                                                                 schema changes against. Overrides config file if set.\n\n  -v, --variant=variant                                          The variant to check the proposed schema against\n\n  --author=author                                                The author to associate with this proposed schema\n\n  --branch=branch                                                The branch name to associate with this check\n\n  --commitId=commitId                                            The SHA-1 hash of the commit to associate with this\n                                                                 check\n\n  --endpoint=endpoint                                            The URL for the CLI use to introspect your service\n\n  --header=header                                                Additional header to send during introspection. May be\n                                                                 used multiple times to add multiple headers. NOTE: The\n                                                                 `--endpoint` flag is REQUIRED if using the `--header`\n                                                                 flag.\n\n  --ignoreFailures                                               Exit with status 0 when the check completes, even if\n                                                                 errors are found\n\n  --json                                                         Output result in json, which can then be parsed by CLI\n                                                                 tools such as jq.\n\n  --key=key                                                      The API key to use for authentication to Apollo\n\n  --localSchemaFile=localSchemaFile                              Path to one or more local GraphQL schema file(s), as\n                                                                 introspection result or SDL. Supports comma-separated\n                                                                 list of paths (ex.\n                                                                 `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --markdown                                                     Output result in markdown.\n\n  --queryCountThreshold=queryCountThreshold                      Minimum number of requests within the requested time\n                                                                 window for a query to be considered.\n\n  --queryCountThresholdPercentage=queryCountThresholdPercentage  Number of requests within the requested time window for\n                                                                 a query to be considered, relative to total request\n                                                                 count. Expected values are between 0 and 0.05 (minimum\n                                                                 5% of total request volume)\n\n  --serviceName=serviceName                                      Provides the name of the implementing service for a\n                                                                 federated graph. This flag will indicate that the\n                                                                 schema is a partial schema from a federated service\n\n  --validationPeriod=validationPeriod                            The size of the time window with which to validate the\n                                                                 schema against. You may provide a number (in seconds),\n                                                                 or an ISO8601 format duration for more granularity\n                                                                 (see: https://en.wikipedia.org/wiki/ISO_8601#Durations)\n\nDESCRIPTION\n  -----------------------------------------------------------------\n  DEPRECATED: This command will be removed from the `apollo` CLI in \n  its next major version. Replacement functionality is available in \n  the new Apollo Rover CLI: https://go.apollo.dev/t/migration\n  -----------------------------------------------------------------\n\nALIASES\n  $ apollo schema:check\n```\n\n_See code: [src/commands/service/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/check.ts)_\n\n## `apollo service:delete`\n\n[DEPRECATED] Delete a federated service from Apollo and recompose remaining services\n\n```\nUSAGE\n  $ apollo service:delete\n\nOPTIONS\n  -c, --config=config        Path to your Apollo config file\n\n  -g, --graph=graph          The ID of the graph in Apollo for which to delete an implementing service. Overrides config\n                             file if set.\n\n  -v, --variant=variant      The variant to delete the implementing service from\n\n  -y, --yes                  Bypass confirmation when deleting a service\n\n  --endpoint=endpoint        The URL for the CLI use to introspect your service\n\n  --header=header            Additional header to send during introspection. May be used multiple times to add multiple\n                             headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                  The API key to use for authentication to Apollo\n\n  --serviceName=serviceName  (required) Provides the name of the implementing service for a federated graph\n\nDESCRIPTION\n  -----------------------------------------------------------------\n  DEPRECATED: This command will be removed from the `apollo` CLI in \n  its next major version. Replacement functionality is available in \n  the new Apollo Rover CLI: https://go.apollo.dev/t/migration\n  -----------------------------------------------------------------\n```\n\n_See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_\n\n## `apollo service:download OUTPUT`\n\n[DEPRECATED] Download the schema from your GraphQL endpoint.\n\n```\nUSAGE\n  $ apollo service:download OUTPUT\n\nARGUMENTS\n  OUTPUT  [default: schema.json] Path to write the introspection result to. Supports .json output only.\n\nOPTIONS\n  -c, --config=config      Path to your Apollo config file\n\n  -g, --graph=graph        The ID of the graph in the Apollo registry for which to download the schema for. Overrides\n                           config file if provided.\n\n  -k, --skipSSLValidation  Allow connections to an SSL site without certs\n\n  -v, --variant=variant    The variant to download the schema of\n\n  --endpoint=endpoint      The URL for the CLI use to introspect your service\n\n  --header=header          Additional header to send during introspection. May be used multiple times to add multiple\n                           headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key                The API key to use for authentication to Apollo\n\nDESCRIPTION\n  -----------------------------------------------------------------\n  DEPRECATED: This command will be removed from the `apollo` CLI in \n  its next major version. Replacement functionality is available in \n  the new Apollo Rover CLI: https://go.apollo.dev/t/migration\n  -----------------------------------------------------------------\n\nALIASES\n  $ apollo schema:download\n```\n\n_See code: [src/commands/service/download.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/download.ts)_\n\n## `apollo service:list`\n\n[DEPRECATED] List the services in a graph\n\n```\nUSAGE\n  $ apollo service:list\n\nOPTIONS\n  -c, --config=config    Path to your Apollo config file\n\n  -g, --graph=graph      The ID of the graph in the Apollo registry for which to list implementing services. Overrides\n                         config file if set.\n\n  -v, --variant=variant  The variant to list implementing services for\n\n  --endpoint=endpoint    The URL for the CLI use to introspect your service\n\n  --header=header        Additional header to send during introspection. May be used multiple times to add multiple\n                         headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag.\n\n  --key=key              The API key to use for authentication to Apollo\n\nDESCRIPTION\n  -----------------------------------------------------------------\n  DEPRECATED: This command will be removed from the `apollo` CLI in \n  its next major version. Replacement functionality is available in \n  the new Apollo Rover CLI: https://go.apollo.dev/t/migration\n  -----------------------------------------------------------------\n```\n\n_See code: [src/commands/service/list.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/list.ts)_\n\n## `apollo service:push`\n\n[DEPRECATED] Push a service definition to Apollo\n\n```\nUSAGE\n  $ apollo service:push\n\nOPTIONS\n  -c, --config=config                Path to your Apollo config file\n\n  -g, --graph=graph                  The ID of the graph in Apollo to publish your service to. Overrides config file if\n                                     set.\n\n  -v, --variant=variant              The variant to publish your service to in Apollo\n\n  --author=author                    The author to associate with this publication\n\n  --branch=branch                    The branch name to associate with this publication\n\n  --commitId=commitId                The SHA-1 hash of the commit to associate with this publication\n\n  --endpoint=endpoint                The URL for the CLI use to introspect your service\n\n  --header=header                    Additional header to send during introspection. May be used multiple times to add\n                                     multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header`\n                                     flag.\n\n  --key=key                          The API key to use for authentication to Apollo\n\n  --localSchemaFile=localSchemaFile  Path to one or more local GraphQL schema file(s), as introspection result or SDL.\n                                     Supports comma-separated list of paths (ex.\n                                     `--localSchemaFile=schema.graphql,extensions.graphql`)\n\n  --serviceName=serviceName          Provides the name of the implementing service for a federated graph\n\n  --serviceRevision=serviceRevision  Provides a unique revision identifier for a change to an implementing service on a\n                                     federated service push. The default of this is a git sha\n\n  --serviceURL=serviceURL            Provides the url to the location of the implementing service for a federated graph\n\nDESCRIPTION\n  -----------------------------------------------------------------\n  DEPRECATED: This command will be removed from the `apollo` CLI in \n  its next major version. Replacement functionality is available in \n  the new Apollo Rover CLI: https://go.apollo.dev/t/migration\n  -----------------------------------------------------------------\n\nALIASES\n  $ apollo schema:publish\n```\n\n_See code: [src/commands/service/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/push.ts)_\n<!-- commandsstop -->\n\n# Configuration\n\nThe Apollo CLI and VS Code extension can be configured with an Apollo config file. Apollo configuration is stored as a plain object in an `apollo.config.js` file which exports the configuration. For more information about configuring an Apollo project, see: https://www.apollographql.com/docs/devtools/apollo-config/.\n\n> Note: the use of the `apollo` key in the project's package.json file for configuration is deprecated, and will no longer be supported in Apollo v3\n\nYou'll need to set up your Apollo configuration for all the features of the Apollo CLI and VS Code extension to work correctly. For full details on how to do that, [visit our docs](https://www.apollographql.com/docs/devtools/apollo-config/). A basic configuration (`apollo.config.js` style) looks something like this:\n\n```js\nmodule.exports = {\n  client: {\n    name: \"My Client Project\",\n    service: \"my-service-name\"\n  }\n};\n```\n\n# Code Generation\n\n## Accompanying Libraries\n\nSee [Apollo iOS](https://github.com/apollographql/apollo-ios) for details on the mapping from GraphQL results to Swift types, as well as runtime support for executing queries and mutations. For Scala, see [React Apollo Scala.js](https://github.com/apollographql/react-apollo-scalajs) for details on how to use generated Scala code in a Scala.js app with Apollo Client.\n\n## `gql` template support\n\nIf the source file for generation is a JavaScript or TypeScript file, the codegen will try to extrapolate the queries inside the [gql tag](https://github.com/apollographql/graphql-tag) templates.\n\nThe tag name is configurable using the CLI `--tagName` option.\n\n## Typescript and Flow\n\nWhen using the codegen command with Typescript or Flow, make sure to add the `__typename` introspection field to every selection set within your graphql operations.\n\nIf you're using a client like `apollo-client` that does this automatically for your GraphQL operations, pass in the `--addTypename` option to `apollo codegen:generate` to make sure the generated Typescript and Flow types have the `__typename` field as well. This is required to ensure proper type generation support for `GraphQLUnionType` and `GraphQLInterfaceType` fields.\n\n## Why is the \\_\\_typename field required?\n\nUsing the type information from the GraphQL schema, we can infer the possible types for fields. However, in the case of a `GraphQLUnionType` or `GraphQLInterfaceType`, there are multiple types that are possible for that field. This is best modeled using a disjoint union with the `__typename`\nas the discriminant.\n\nFor example, given a schema:\n\n```graphql\n...\n\ninterface Character {\n  name: String!\n}\n\ntype Human implements Character {\n  homePlanet: String\n}\n\ntype Droid implements Character {\n  primaryFunction: String\n}\n\n...\n```\n\nWhenever a field of type `Character` is encountered, it could be either a Human or Droid. Human and Droid objects\nwill have a different set of fields. Within your application code, when interacting with a `Character` you'll want to make sure to handle both of these cases.\n\nGiven this query:\n\n```graphql\nquery Characters {\n  characters(episode: NEW_HOPE) {\n    name\n\n    ... on Human {\n      homePlanet\n    }\n\n    ... on Droid {\n      primaryFunction\n    }\n  }\n}\n```\n\nApollo Codegen will generate a union type for Character.\n\n```javascript\nexport type CharactersQuery = {\n  characters: Array<\n    | {\n        __typename: \"Human\",\n        name: string,\n        homePlanet: ?string\n      }\n    | {\n        __typename: \"Droid\",\n        name: string,\n        primaryFunction: ?string\n      }\n  >\n};\n```\n\nThis type can then be used as follows to ensure that all possible types are handled:\n\n```javascript\nfunction CharacterFigures({ characters }: CharactersQuery) {\n  return characters.map(character => {\n    switch (character.__typename) {\n      case \"Human\":\n        return (\n          <HumanFigure\n            homePlanet={character.homePlanet}\n            name={character.name}\n          />\n        );\n      case \"Droid\":\n        return (\n          <DroidFigure\n            primaryFunction={character.primaryFunction}\n            name={character.name}\n          />\n        );\n    }\n  });\n}\n```\n\n# Contributing\n\n[![Build Status](https://circleci.com/gh/apollographql/apollo-tooling.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-tooling)\n\nThis repo is composed of multiple packages. The `apollo-cli` contains the core CLI commands. The `apollo-codegen-core` package contains all the compiler APIs needed to implement code generation support for new languages. The other `apollo-codegen-*` packages implement code generation support for individual languages.\n\nRunning tests locally:\n\n```\nnpm install\nnpm test\n```\n\nYou can also run `npm` commands within package folders after you have bootstrapped the repository (part of `npm install`).\n\n> Note: if you have issues, try `npm run clean && npm i` to get a fresh install of the packages. Occasionally problems arise when removed dependencies stay around\n\n## Nock tests\n\nTo display the debugging messages for nock, run the following command:\n\n```bash\nDEBUG=nock.* npm test\n```\n\nIt can also be helpful to print standard out during testing. To enable logging, add the following configuration to the `stdout` function call during test creation:\n\n```\n.stdout({ print: true })\n```\n\n## Active Development / Debugging\n\nTo simplify the development process, you may want to step through and debug commands whose behavior you're modifying. To do this, run the executable with node in debug mode like so, where `<command>` is a valid CLI command like `client:check` or `service:push`:\n\n```\nnode --inspect-brk=9002 packages/apollo/bin/run <command>\n```\n\nIf you're using VS Code, you can run the included \"Attach to CLI Debugger\" launch task and debug right from VS Code! Otherwise, you may use the Chrome inspector or [other Node debugger](https://nodejs.org/en/docs/guides/debugging-getting-started/) of your choice.\n\n## Regenerating Mocked Network Data\n\nSome integration tests rely on mocked server data (service:check for example). Mock data is generated by making real network requests and recording those requests with [`nock`'s recording feature](https://github.com/nock/nock#recording). Stop mocking network calls and add `nock.recorder.rec()` before network calls are made. For `service:check`, change `apiKey` to a real Apollo API key. Then run the tests and nock will output code to mock requests to the console. You can (and probably should) pare down the request to be less brittle (by only checking for an operation name, for example). See [`src/commands/service/__tests__/check.test.ts`](./packages/apollo/src/commands/service/__tests__/check.test.ts) for an example of how a mocked network request will look.\n\n\n## Publishing\n\n1. Make sure the `CHANGELOG.md` is updated with all changes committed since the last release. Make sure the versions for each package to update are correct.\n2. Run `npm run release:version-bump -- <bumpish>`\n   - Can use major, minor, patch, prepatch, etc for the bump type. If not used, the command will prompt and ask for the bump type.\n   - This command updates git tags locally and on GitHub\n3. Run npm run release:start-ci-publish locally\n   - IMPORTANT: If publishing a prerelease (like `alpha`/`beta`/`rc`), set the tag that NPM will use to publish with the `APOLLO_DIST_TAG` environment variable. By default, if this isn't set, NPM will publish the prerelease to the `latest` tag (which isn't what we'd want).\n   - Pushes a `publish/XXXXXXXXXX` tag to GitHub to trigger circle CI build\n4. Circle will notify the appropriate Apollo team slack channel when ready to release\n   - Slack channel member will confirm through the Apollo Deploy Bot\n   - Circle will release to all channels (npm, cli binary to s3, vscode marketplace)\n   - Another slack bot notification will confirm success of release.\n\n## Maintainers\n\n- [@JakeDawkins](https://github.com/jakedawkins) (Apollo)\n","readmeFilename":"README.md","users":{"ashish.npm":true,"daniellink":true}}