{"_id":"@apollo/generate-persisted-query-manifest","_rev":"17-94a21d4c3b93330d4791e05fa174e46f","name":"@apollo/generate-persisted-query-manifest","dist-tags":{"alpha":"1.0.0-alpha.0","latest":"1.4.0"},"versions":{"1.0.0-alpha.0":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"f376ac6de0d246711746434cd07ccff7acbfcabc","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.0.tgz","fileCount":11,"integrity":"sha512-GnYBT8cIgQgtv/kQPDPWLO9HK6JykmtSZ+59PkIOQ4fpH+ccu1a7sl96oKdvA8gQYlA5oGKP77ZlGQwuFCUvMg==","signatures":[{"sig":"MEUCIDAKjFX6oGUa80WENgT5RGma+3K5AXzDDmsZNKQGb2/bAiEA7WzW67gDiLBmFnpswUvPtGKM6DHc2dwVnUN/zaZEd80=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15680},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"cd22cf436ba816835f373e209059aa68b7688c4b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.0","dependencies":{"glob":"^10.2.6","lodash":"^4.17.21","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.0_1685121643240_0.11166107072799192","host":"s3://npm-registry-packages"}},"1.0.0-alpha.1":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.1","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"43fe154ca4517544468c6e2f09b6ad641703fc11","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.1.tgz","fileCount":11,"integrity":"sha512-MWvb1tXnvZ6bwDAwkjaIM7VVZ6P0pQo0XWloHWeIHmxzToCS1MKyngihAp/GHOD1aHwl4RAy76ROnMuf1bqOBQ==","signatures":[{"sig":"MEQCIFFPUMUtpLuDgcGUwOcK2iMcUC2e/D2VM+Jbyjj1xPPhAiBO2OXnkYzSWRosCq35/c9QyH48Mehmcrpw2UGapQVpkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15680},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"cef21e816557801ac03dfda039e93898126140e4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.0","dependencies":{"glob":"^10.2.6","lodash":"^4.17.21","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.1_1685126381690_0.025351217503109424","host":"s3://npm-registry-packages"}},"1.0.0-alpha.2":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.2","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"196c8577508c052a46c1576e42ed5430cd15c52c","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.2.tgz","fileCount":11,"integrity":"sha512-eUdubqBYxQO9Q5Khj9BuR8Q+pIve8LTlg4P7PPSKkXWZCdLJj3rxtMgr18S9gGDkELJrvojqFY25MTpiDexTZg==","signatures":[{"sig":"MEUCIQDF5ig4ZheqZlCEXhUpMQ2qR3qmJERJZwxUPchkLEZqeQIgdwD4jsdPaL54W0R0k7rGzlKP/LhKd4LEKeSsbliBQAg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15751},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"f10d9c4d4ebb28c5890e249831248f6708d90ec6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.0","dependencies":{"glob":"^10.2.6","lodash":"^4.17.21","@apollo/persisted-query-lists":"^1.0.0-alpha.2","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.2_1685575617752_0.5629868838039942","host":"s3://npm-registry-packages"}},"1.0.0-alpha.3":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.3","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"3901adff614a9ae9c2ee3223df2f205f128146d7","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.3.tgz","fileCount":11,"integrity":"sha512-kKp+adfokhOMIvfYF9zlatZWCjGFYIXuSMLseUa8xpavLRq/pwCvDJHNGwXjQtfaAWih65D1YQhTIsPTsbomsw==","signatures":[{"sig":"MEUCIBTpCSGkxxAtaaLyAAjjMpiYitbiV4DHlLZV+i7sqVq7AiEA/KyPpofgblE/cgD9LFxPHooDL+PLpCn3hWCMx6PZFXA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15751},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"a8f712e41a55a7f87dda93a8e9fd9782e8c51073","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.0","dependencies":{"glob":"^10.2.6","lodash":"^4.17.21","@apollo/persisted-query-lists":"^1.0.0-alpha.3","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.3_1685679502358_0.37812401994919553","host":"s3://npm-registry-packages"}},"1.0.0-alpha.4":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.4","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"cf61633a50db966aa258f7b1cbf901969a33064d","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.4.tgz","fileCount":11,"integrity":"sha512-+I7CFQt7N4O9usUNlAR4zZyuc3AD5xkxxTlqkoRl5qC7cwwUfpZ5CNvRg1/8hi8MkL7Ozg6bErW5G+8UknHgjQ==","signatures":[{"sig":"MEUCIQCPPJOHGnU46jP5MpgzmcL6axXzJYP3TotoxeXeE2KHhAIgImW8j2hOpLdMbMy7biGMiwEuBK27NN6dhI9OkIhNYWo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18476},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"3d8dbf5c77778761dfe9dac3d2fb8b0fc9947f37","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.0","dependencies":{"glob":"^10.2.6","lodash":"^4.17.21","commander":"^10.0.1","cosmiconfig":"^8.1.3","@apollo/persisted-query-lists":"^1.0.0-alpha.3","cosmiconfig-typescript-loader":"^4.3.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.4_1685733862389_0.7478225543169037","host":"s3://npm-registry-packages"}},"1.0.0-alpha.5":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.5","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"51f825b65a64fe71ee57403c76b5bde7da02fe9e","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.5.tgz","fileCount":12,"integrity":"sha512-ZPEEVMBJZpu3Whs3jv8bhb+3f5h3J7kvVNv79O+JUn7i6ANAyRBa+pEtSEHxfMXmBUHHW0jGYX1FEgQvhcaF7Q==","signatures":[{"sig":"MEUCIFufM4iRdVakdn/LF5M2v9tNFK2hWuiwv098UE2M4yaGAiEAs5ilII9+zrsl9VJEvw96yLAQWS3tSjpDoXPp4yjmark=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23720},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"9558d6dd1f63528ab9fa7f923cfd9114b2330408","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.0","dependencies":{"glob":"^10.2.6","chalk":"^4.1.2","vfile":"^4.2.1","lodash":"^4.17.21","commander":"^10.0.1","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0-alpha.3","cosmiconfig-typescript-loader":"^4.3.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.5_1686601938324_0.46868790692126416","host":"s3://npm-registry-packages"}},"1.0.0-alpha.6":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.6","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"0e8144a3c37672d1c83558f2bcb671bfe3dfdf56","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.6.tgz","fileCount":12,"integrity":"sha512-CGwzSdlDiBXBmJ8ngp+XYr2NZM9hiyk8Oga3EF1XMprj3v2bFXfxbPkrNeArONMWJvdG323Yx/CZmEOHJ0zI0A==","signatures":[{"sig":"MEUCIBA+19gIechOlzMqlktDinRhVLPHO0Ly17ohK4zdCNf4AiEAsCgPSmNpiFL5M6uKAt+w/shj61/3dvakWiO19hRt9oY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32644},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"cc4d393127c5b8f90f951beb50c5fdd9e6e89e52","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.0","dependencies":{"glob":"^10.2.6","chalk":"^4.1.2","vfile":"^4.2.1","lodash":"^4.17.21","commander":"^10.0.1","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0-alpha.4","cosmiconfig-typescript-loader":"^4.3.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.6_1687476030095_0.8536496927132786","host":"s3://npm-registry-packages"}},"1.0.0-alpha.7":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0-alpha.7","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0-alpha.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"9992afeb1621527476084c7371ed4866e5f53657","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0-alpha.7.tgz","fileCount":12,"integrity":"sha512-BFHAMKY+ONRhtaZy9+Hz6DU7bQxcSKGPur8fkif3kD3jN7UTK0WvSzBeAqk3iIPcxS2JrIW8XhHkWZAOmyP9cQ==","signatures":[{"sig":"MEUCIQD9xfb/s/YgFwbMg/whJXwVZfd5JbqHk27ZoiOS2N+tOgIgQFo9pw75rGzUYCZiKALvfTAJbN64fFOZWLnQDbJU94g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32078},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"3750d38d0ec34be36eee6b11d5c655ac1acb7f7f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","commander":"^10.0.1","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0-alpha.4","cosmiconfig-typescript-loader":"^4.3.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0-alpha.7_1688764930503_0.3231945405740708","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@apollo/generate-persisted-query-manifest","version":"1.0.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.0.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"6b26833d101aa12400b5b83a97e31258bf6c426e","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.0.0.tgz","fileCount":12,"integrity":"sha512-FQfxQGdQ0FBEU+PeRa3mhkPWRxqOJ4ioL9w4vqQ0iRuWSz9mv+bi5iJv1eiQXpFaO05xfWMsyQ89BhQlZkVwbA==","signatures":[{"sig":"MEUCIAx2i5qatjWsip7ZMaMhDYKLkr/eiFJINIWkrJQsupRcAiEAlIOWU7PfumjxLlynjUjwFXCBlhtWUuYGzAM8IyRSIYg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32372},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"2abfc46a2762ef283a3e9ab069521f6448dad6af","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","commander":"^10.0.1","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0","cosmiconfig-typescript-loader":"^4.3.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.0.0_1688771702465_0.9243408149000858","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@apollo/generate-persisted-query-manifest","version":"1.1.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.1.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"4299cf1ebca20f67ff17da10656997d9d5997232","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.1.0.tgz","fileCount":13,"integrity":"sha512-ZqW7f+2CXqY12bMchepdbgTT6RTTAU/t6t2xSMv2P0LVah6b9lTDQGixuuzboSaVcB56tTO+C0SgeLZQe2QIkA==","signatures":[{"sig":"MEUCIGfxUuoRFmTpoXXTMVoN/vgykpuiqe/cF5w9QDhk8GAnAiEA2dnqOvRZf29MJoSAXTQjq4lgjD/MZFG1JQUWyJytrdU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68228},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"6c862906eb61597eab139db0895793befc12b479","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.2","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","commander":"^11.0.0","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0","cosmiconfig-typescript-loader":"^5.0.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@wry/equality":"^0.5.6","@gmrchk/cli-testing-library":"^0.1.2"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^3.8.0-alpha"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.1.0_1692894661867_0.5272537381746771","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@apollo/generate-persisted-query-manifest","version":"1.2.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.2.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"b16c2c0a4a912d681c1a0bdcbdf6cff0fdee2fbb","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.2.0.tgz","fileCount":13,"integrity":"sha512-w10x/TBNcgnRJDbwS9TCZ6FGckZhRcGV/K4Egromvz2XZzVpWRH+mb0NZRB1TNl+dTY9kBgQWL63wcZI/yFdig==","signatures":[{"sig":"MEQCIGt2/LHkJvqsPYZUv7/eve0WWSXPNuyANMrCt0R/334uAiBqmj6hpgh9m1XNAW44fc/QuQ4Pj/8Pn81DxUjDvTKVyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97984},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"d0ceb57cfca74741d3b7e6f76816ee45c538acc0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.2","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","commander":"^11.0.0","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0","cosmiconfig-typescript-loader":"^5.0.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@wry/equality":"0.5.7","@graphql-codegen/cli":"5.0.2","@gmrchk/cli-testing-library":"0.1.2","@graphql-codegen/client-preset":"4.2.4"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.2.0_1708986609568_0.7462098700767053","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@apollo/generate-persisted-query-manifest","version":"1.2.1","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.2.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"2aad4227227c2e5b616b52e07a23e7760c9e5e17","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.2.1.tgz","fileCount":13,"integrity":"sha512-JTlJJYFm3w/J524kpuRO09CCzMcRC1wpUvQN8vN5n8JuMxlbc820GymN+LHj06mq0TqMbK4zVWQKSrS8W52XGA==","signatures":[{"sig":"MEUCIHCkxCh+J5aWRruN83O2vn3KVAtSIjlXlmP343asusEjAiEA/YHcWdjVFRo6AWeMAn27Y9JOAWvW8KPpNAObhF5b3K0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103436},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"03d8be1233ee29835fc0aed0ef2d91a769f51780","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.2","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","semver":"^7.6.0","commander":"^11.0.0","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0","cosmiconfig-typescript-loader":"^5.0.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@wry/equality":"0.5.7","@graphql-codegen/cli":"5.0.2","@gmrchk/cli-testing-library":"0.1.2","@graphql-codegen/client-preset":"4.2.5"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.2.1_1715298016647_0.8409098397041659","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@apollo/generate-persisted-query-manifest","version":"1.2.2","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.2.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"72fe2db49e0d39593c350e9f9de8e75ac6b276aa","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.2.2.tgz","fileCount":13,"integrity":"sha512-y4IwhXtBxSVJoMQnuhj3nG3mh/F+6nCf3I3HJ90MFn7xQwJNGEfS8mADRfb6Mse6uqoMyhsrIT2qEPstv0UVZA==","signatures":[{"sig":"MEUCIQCekfGJ8+yWnltfz3cIvkvlstFPp16bgrtiRvR35vKHTgIgIs0qUKbZqbpiDoSafxpiLWCvTT1QQuw+nkJ4P0MPkJo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104070},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"419aac0ea6b15a1b67dc2e79863cbf99d97ec52f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"8.5.0","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"16.20.2","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","semver":"^7.6.0","commander":"^11.0.0","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0","cosmiconfig-typescript-loader":"^5.0.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@wry/equality":"0.5.7","@graphql-codegen/cli":"5.0.2","@gmrchk/cli-testing-library":"0.1.2","@graphql-codegen/client-preset":"4.3.0"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.2.2_1722627261596_0.5344556486195919","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@apollo/generate-persisted-query-manifest","version":"1.3.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.3.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"0e42048b28b807e57a240066533a2cac2798ad6e","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.3.0.tgz","fileCount":13,"integrity":"sha512-vVlSy0aQvYqTzW8upWzKMhGzq38OiZq0rviogh4NL5pVAxUTW+RcyBxPndcgEpf/+o7XJ+aLZ0ONbnNYeEmFSw==","signatures":[{"sig":"MEUCIFXjkcfI7jqRGVu2RLEu1FvHn+WmOrtgoKL1IAiMK8WeAiEA9YmxNSCpK5KJq7fvbP+nBWvp0r5uk/HSQImgPyLiOfE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107463},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"bc706f294fc900a300d2ba61abf4077c36d33db1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"10.9.2","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"22.16.0","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","semver":"^7.6.0","commander":"^11.0.0","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.0.0","cosmiconfig-typescript-loader":"^5.0.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@wry/equality":"0.5.7","@graphql-codegen/cli":"5.0.6","@gmrchk/cli-testing-library":"0.1.2","@graphql-codegen/client-preset":"4.8.1"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.3.0_1748463591119_0.7522440253785521","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@apollo/generate-persisted-query-manifest","version":"1.4.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/generate-persisted-query-manifest@1.4.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"bin":{"generate-persisted-query-manifest":"cli.js"},"dist":{"shasum":"8170fbf6b0a6be3c113cdd53adbdc3f5e5bac6fb","tarball":"https://registry.npmjs.org/@apollo/generate-persisted-query-manifest/-/generate-persisted-query-manifest-1.4.0.tgz","fileCount":13,"integrity":"sha512-HARiW1bYqAec+TPucyu5a9Rzcx8OOPdihiaae1Zf1lcqhcqgFDCqad6VZtLqKT3g905cTL4OHB8Vz6ikLYlHeA==","signatures":[{"sig":"MEUCIQDg1oHz5RHUPHGKi3llVNsLnenPMBsRZkvYZEhi8o+K7wIgBUOqJS5GFiBW0UUCXluGQ5blXi9hWgjDnSHxNoex/h0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114969},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"be366a9a9dfb872431936ddb400f949641650091","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"_npmVersion":"10.9.3","description":"Creates a Persisted Query Manifest from an Apollo Client Web project","directories":{},"_nodeVersion":"22.20.0","dependencies":{"chalk":"^4.1.2","vfile":"^4.2.1","globby":"^11.1.0","lodash":"^4.17.21","semver":"^7.6.0","commander":"^11.0.0","cosmiconfig":"^8.1.3","vfile-reporter":"^6.0.2","@apollo/persisted-query-lists":"^1.1.0","cosmiconfig-typescript-loader":"^5.0.0","@graphql-tools/graphql-tag-pluck":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@wry/equality":"0.5.7","@graphql-codegen/cli":"5.0.7","@gmrchk/cli-testing-library":"0.1.2","@graphql-codegen/client-preset":"4.8.3"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x","@apollo/client":"^3.7.0 || ^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/generate-persisted-query-manifest_1.4.0_1763051049365_0.7374954822980508","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2023-05-26T17:20:43.177Z","modified":"2026-01-22T17:30:00.626Z","1.0.0-alpha.0":"2023-05-26T17:20:43.391Z","1.0.0-alpha.1":"2023-05-26T18:39:41.969Z","1.0.0-alpha.2":"2023-05-31T23:26:57.935Z","1.0.0-alpha.3":"2023-06-02T04:18:22.574Z","1.0.0-alpha.4":"2023-06-02T19:24:22.568Z","1.0.0-alpha.5":"2023-06-12T20:32:18.503Z","1.0.0-alpha.6":"2023-06-22T23:20:30.309Z","1.0.0-alpha.7":"2023-07-07T21:22:10.681Z","1.0.0":"2023-07-07T23:15:02.888Z","1.1.0":"2023-08-24T16:31:02.093Z","1.2.0":"2024-02-26T22:30:09.764Z","1.2.1":"2024-05-09T23:40:16.879Z","1.2.2":"2024-08-02T19:34:21.794Z","1.3.0":"2025-05-28T20:19:51.363Z","1.4.0":"2025-11-13T16:24:09.571Z"},"bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","homepage":"https://github.com/apollographql/apollo-utils#readme","keywords":["apollo","graphql","typescript","node"],"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/generate-persisted-query-manifest/"},"description":"Creates a Persisted Query Manifest from an Apollo Client Web project","maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"mail@lenzw.de","name":"phryneas"},{"email":"npmjs@jro.cc","name":"abernix"}],"readme":"# `@apollo/generate-persisted-query-manifest`\n\n`generate-persisted-query-manifest` is a tool for generating [persisted query manifests](https://www.apollographql.com/docs/graphos/operations/persisted-queries) from the source code of Apollo Client Web projects. It scans a source code directory looking for GraphQL operations, applies the same transformations to them as Apollo Client Web would do at runtime, and compiles them into a persisted query manifest JSON file.\n\n(It is not a general-purpose tool for creating PQM JSON files from arbitrary GraphQL operations: it is specifically tailored to the way Apollo Client Web transforms operations before sending them to servers.)\n\n## Setup\n\nFirst, install the `@apollo/generate-persisted-query-manifest` package as a dev dependency:\n\n```sh\nnpm install --save-dev @apollo/generate-persisted-query-manifest\n```\n\nUse its CLI to extract queries from your app:\n\n```sh\nnpx generate-persisted-query-manifest\n```\n\n## CLI configuration\n\nTo override the default options, you can provide a config file. Create a `persisted-query-manifest.config.json` file in the root of your project.\n\n```json\n{\n  \"documents\": [\n    \"src/**/*.{graphql,gql,js,jsx,ts,tsx}\",\n    \"!**/*.d.ts\",\n    \"!**/*.spec.{js,jsx,ts,tsx}\",\n    \"!**/*.story.{js,jsx,ts,tsx}\",\n    \"!**/*.test.{js,jsx,ts,tsx}\"\n  ],\n  \"output\": \"persisted-query-manifest.json\"\n}\n```\n\n> NOTE: The config file is optional. Defaults for each option are displayed above.\n\nIf you would like to define the config file in a directory other than the root, you can tell the CLI the location of the config file using the `--config` option.\n\n```\nnpx generate-persisted-query-manifest --config path/to/persisted-query-manifest.config.json\n```\n\n### Supported config file formats\n\nThe config file can be provided in a variety of formats and optionally prefixed with a dot (`.`). The CLI will search for a config file in these locations:\n\n- `.persisted-query-manifest.config.json`\n- `persisted-query-manifest.config.json`\n- `.persisted-query-manifest.config.yml`\n- `persisted-query-manifest.config.yml`\n- `.persisted-query-manifest.config.yaml`\n- `persisted-query-manifest.config.yaml`\n- `.persisted-query-manifest.config.js`\n- `persisted-query-manifest.config.js`\n- `.persisted-query-manifest.config.ts`\n- `persisted-query-manifest.config.ts`\n- `.persisted-query-manifest.config.cjs`\n- `persisted-query-manifest.config.cjs`\n- A `persisted-query-manifest` key in `package.json`\n\n## Configuration\n\nTo customize the CLI, create a config file using one of the formats described above in the root of your directory. If using a `.js` , `.cjs`, or `.ts` config file, your config object must be the default export.\n\n### TypeScript\n\nIf you define your config file as a TypeScript file, you can get autocompletion and documentation on the options by importing the `PersistedQueryManifestConfig` type from the package.\n\n```ts\n// persisted-query-manifest.config.ts\nimport { PersistedQueryManifestConfig } from \"@apollo/generate-persisted-query-manifest\";\n\nconst config: PersistedQueryManifestConfig = {\n  // options\n};\n\nexport default config;\n```\n\n### Options\n\n- `documents` - `string | string[]`\n\nTell the CLI where to look for your documents. You can use glob patterns to determine where to look. Prefix the pattern with `!` to ignore the path which is useful to ignore queries that might be defined in your tests or storybook stories not used in your production application.\n\nPaths are interpreted relative to the current working directory, not the config file's directory. We recommend always running `generate-persisted-query-manifest` via an `npm run` script, which runs commands with the directory containing `package.json` as the current directory.\n\nDefault:\n\n```json\n[\n  \"src/**/*.{graphql,gql,js,jsx,ts,tsx}\",\n  \"!**/*.d.ts\",\n  \"!**/*.spec.{js,jsx,ts,tsx}\",\n  \"!**/*.story.{js,jsx,ts,tsx}\",\n  \"!**/*.test.{js,jsx,ts,tsx}\"\n]\n```\n\n#### Usage with GraphQL Codegen persisted documents\n\n[GraphQL Codegen](https://the-guild.dev/graphql/codegen) is a popular code\ngeneration utility used with GraphQL. You can use GraphQL Codegen's [persisted\ndocuments](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#persisted-documents) feature with `generate-persisted-query-manifest` by providing the `documents` option with the `fromGraphQLCodegenPersistedDocuments` utility exported by this package. This is useful to prevent traversing the file system to parse GraphQL documents since GraphQL Codegen has already done the hard work for you.\n\n```ts\nimport type { PersistedQueryManifestConfig } from \"@apollo/generate-persisted-query-manifest\";\nimport { fromGraphQLCodegenPersistedDocuments } from \"@apollo/generate-persisted-query-manifest\";\n\nconst config: PersistedQueryManifestConfig = {\n  documents: fromGraphQLCodegenPersistedDocuments(\n    \"./src/gql/persisted-documents.json\",\n  ),\n};\n\nexport default config;\n```\n\n> NOTE: Running these documents through this package is necessary to ensure the GraphQL document sent to the server by Apollo Client matches that in the manifest. While GraphQL Codegen's persisted documents transforms are intended to be similar to Apollo Client's, there are subtle differences that may prevent correct usage of Apollo's persisted queries. This also ensures forward compatibility with any future transforms introduced by Apollo Client that may alter the GraphQL document output.\n\n- `output` - `string`\n\nTell the CLI the location of where to write your manifest file. Paths are interpreted relative to the current working directory.\n\nDefault: `persisted-query-manifest.json`\n\n- `createOperationId` - Function `(query: string, options: CreateOperationIdOptions) => string`\n\nA custom function that allows you to customize the `id` for a query operation. By default, a SHA 256 hash of the query string will be used to generate the `id`. This option can only be used if your config file is defined using a `.js`, `.cjs` or `.ts` extension.\n\nWhen you use this option, you cannot use the `generatePersistedQueryIdsAtRuntime` function from `@apollo/persisted-query-lists` in your client, because that function assumes that you are using the default ID generation (SHA256 hash of the body). It is compatible with `generatePersistedQueryIdsFromManifest`.\n\n```ts\ninterface CreateOperationIdOptions {\n  /**\n   * The name of the operation.\n   */\n  operationName: string;\n\n  /**\n   * The type of operation.\n   */\n  type: \"query\" | \"mutation\" | \"subscription\";\n\n  /**\n   * Helper function that returns the default generated ID for the operation.\n   */\n  createDefaultId: () => string;\n}\n```\n\nHere is an example that uses a Base 64 encoded string for an operation named `TestOperation`, but uses the default generated ID for all others.\n\n```ts\nimport { Buffer } from \"node:buffer\";\n\nconst config = {\n  createOperationId(query, { operationName, type, createDefaultId }) {\n    switch (operationName) {\n      case \"TestOperation\":\n        return Buffer.from(query).toString(\"base64\");\n      default:\n        return createDefaultId();\n    }\n  },\n};\n```\n\n- `documentTransform` - `DocumentTransform`\n\nAn `@apollo/client` `DocumentTransform` instance used to transform GraphQL documents before they are saved to the manifest. Use this option if you pass a `documentTransform` option to your Apollo Client instance.\n\nFor more information, see the Apollo Client [Document transforms](https://www.apollographql.com/docs/react/data/document-transforms) documentation.\n\n> NOTE: This feature is only available if you use Apollo Client 3.8.0 or greater.\n\n```ts\nimport { DocumentTransform } from \"@apollo/client/core\";\n\nconst config = {\n  // Inlined for this example, but ideally this should use the same instance\n  // that is passed to your Apollo Client instance\n  documentTransform: new DocumentTransform((document) => {\n    // ... transform the document\n\n    return transformedDocument;\n  }),\n};\n```\n\n- `addTypename`: `boolean`\n\nWhether to add `__typename` fields to selection sets in operations. Defaults to true; you should set this to false if you also pass `addTypename: false` to your `InMemoryCache` constructor in your app.\n\n> [!NOTE]\n> This option can be useful if you use this tool on a codebase that does not use Apollo Client. Be aware that this use case is not supported by this tool.\n\nNote that the ability to pass `addTypename: false` will not be supported with Apollo Client v4.\n","readmeFilename":"README.md"}