{"_id":"@bahmutov/cypress-extends","_rev":"2-d32823854193e8ccb8a45e9a292ee4f5","name":"@bahmutov/cypress-extends","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@bahmutov/cypress-extends","version":"1.0.0","description":"Cypress plugin that adds \"extends\" support to the configuration file","main":"index.js","scripts":{"test":"cypress run","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/cypress-extends.git"},"keywords":["cypress","cypress-plugin"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/cypress-extends/issues"},"homepage":"https://github.com/bahmutov/cypress-extends#readme","devDependencies":{"cypress":"4.7.0","semantic-release":"^17.0.8"},"dependencies":{"debug":"4.1.1","deepmerge":"4.2.2"},"private":false,"publishConfig":{"access":"public"},"gitHead":"fcbe5df279b339be556e0b125b20c78badd9d21f","_id":"@bahmutov/cypress-extends@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-nEIHnqWiRX3YpUumb3ZQIh4hFURXUFx473c1iQmQAiT4cIsBdmkJ7NwE9fBd2KFnmCHYefNILlT0HvklOmeKHA==","shasum":"a1013428bf11e9de59164af2d04d43d0e7fddc97","tarball":"https://registry.npmjs.org/@bahmutov/cypress-extends/-/cypress-extends-1.0.0.tgz","fileCount":3,"unpackedSize":3044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezl/MCRA9TVsSAnZWagAAewMP/j2fCglOgbhwKdEUnwC+\nqplVsB0SzZl9x2Mu35HE2rp+vrl6uiFy1aQ8IMfZPQmCQWZf1eL898h+tVt9\nShA/lK9+sd4CY6/I20gNEDBDWeJvFwIOuEwi4uW/Gv5VoSYHoJb8iC1stEWq\nwxWPD3xceVe1jfTASm53mBaLJ6wDRxIVU8yuczu9iX25iYWtvzk5xbdFH3NV\nyh0saqt3PHseYpujZKSyFc4W8LLH2WJ5Xl0BrFXQUpG4hN9Flkl49wn4s6VL\n59vEjkpJQ7K02PjJ+X+6ZL63C2dmVWYwhdSG/t7yHmDvakD8UtWpxYPEouln\nE4HRjBNhLICsYdUEdivJkdNOX0BylkEWLeqZUPOv3Q0f2UQ75SbTpIEXLclf\nuk5BjysMOaaC+O542sbzTM4YSA/LIYxdKkA8eFpUraCTgjXO/C9FH6fBkMTX\nbZwE9OPqvMszVayRckSei3GCfYSXWqH5+m4OdL24VEnvEMeGjLeD55gUBG08\nFkUJ31WKVQoJsCSxS3H1d/cSO7fk7LhEzsOA+i1Xxbbj5Ho4sQ13szT/Tggg\nceYBl+3JKiEH0787q6Af/Kx8bohoWLhAMxjuNJCO2rJP40XiYgHvGBsi/r30\notBjFnERga1OHWzbY8yncLC15KpEsb4MfHwmXMRpk0Hlu2Vgybd9JP+eFRl4\nkLE5\r\n=M6PD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNG1F1k9Zep/cnRxQN1by27yfCUrnsaquBO82hYR625wIgXozYJ7bLo2MiuIRqLK6ktKqHds4L7sFDPo2G8fls8Dc="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-extends_1.0.0_1590583243904_0.3637127430770748"},"_hasShrinkwrap":false},"1.1.0":{"name":"@bahmutov/cypress-extends","version":"1.1.0","description":"Cypress plugin that adds \"extends\" support to the configuration file","main":"index.js","scripts":{"test":"cypress run","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/cypress-extends.git"},"keywords":["cypress","cypress-plugin"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/cypress-extends/issues"},"homepage":"https://github.com/bahmutov/cypress-extends#readme","devDependencies":{"cypress":"5.5.0","semantic-release":"^17.0.8"},"dependencies":{"debug":"4.1.1","deepmerge":"4.2.2"},"private":false,"publishConfig":{"access":"public"},"gitHead":"3b4e44b4b4a9af5d7f5e696a1e27c672973325eb","_id":"@bahmutov/cypress-extends@1.1.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-S8bF5GJ2X5b2DvlzhscCnY/a9e2fA0KgGjbYFqbENOisy2cjyZ9D7BWf7li0mw4FBAVnnsTMFza/9rhWStzD/g==","shasum":"d6896e5ba6a4948a6146b39d73ffc7e63a7edea8","tarball":"https://registry.npmjs.org/@bahmutov/cypress-extends/-/cypress-extends-1.1.0.tgz","fileCount":3,"unpackedSize":5453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqYFlCRA9TVsSAnZWagAANZ8P/RlFKvqqLLTzLSDYuRHi\nuN6oZ8GEJuieyRGOlCJW4FH0zLXu6HoovxDIuVPlchG087FQV2VM7OcMeaZH\nFjiF9dSDXR3y5sSHN9K5Jm/oDw23E5SoazjdrzFcABb+Cj9P7mRpdN6CIHUT\nDl2kYTsIPSsMrBHbzDVHgGvhHeWEvUO0srgFxwt/DJEg8vywi+/KTEEm/Sdl\nbtBzHW/riRsGLATSU241LUgvJ/BxfCMSwyf8nUYoOggxdsF+EZxYgV4XT19l\nt3TpCBakmd6hHrQzoXCylgy/tzUzMQG2lWayzfSZmHRrn/v4Y5TwD/J+lYaD\nmmL6rB4anr6ME6z8Moqh//M9VquXbcOA4DL3uroGdjehKY/4gdWto4iEqSCE\nMyJUad1IMcXuVRYwfKGGYxHavz+yCifl5z8MBkhlBi0RDWJoNBv7ntquXhim\n7H2uVG+qcpCLJxqKSsld9lalzn9rZbTXV8/94W0jGuwYIneJyBG8QT4RMmdQ\nSZZn9tDwdBUdXT79FVAXu8JYwU1WOYIJV26V+x9kzFgcFnbre81aS2ct4NIP\n00i99eRyfShljXDNREWdGR1PEETE8+OIq46yvf/veXkFnV/+eFnPNAATmjDw\nYvcc4rzgDFx/xp5Y+91br4JOPqEAam0gv0v8az1HUsx5bUouTbs0CbcAnQWg\n5iDT\r\n=Z+ij\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5CL1Vqc3shThqjP+TfECmFayNbo8uNAFxDC/Lib68VAiEAi3sak3bNFC5OezWAnCwvR/RCRj8xILKti2l45QtBbCM="}]},"_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"directories":{},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-extends_1.1.0_1604944228476_0.34629463098988555"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-27T12:40:43.749Z","1.0.0":"2020-05-27T12:40:44.053Z","modified":"2022-04-04T17:30:41.301Z","1.1.0":"2020-11-09T17:50:28.648Z"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"description":"Cypress plugin that adds \"extends\" support to the configuration file","homepage":"https://github.com/bahmutov/cypress-extends#readme","keywords":["cypress","cypress-plugin"],"repository":{"type":"git","url":"git+https://github.com/bahmutov/cypress-extends.git"},"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"bugs":{"url":"https://github.com/bahmutov/cypress-extends/issues"},"license":"MIT","readme":"# @bahmutov/cypress-extends [![renovate-app badge][renovate-badge]][renovate-app] [![ci status][ci image]][ci url] [![badges status][badges image]][badges url] ![cypress version](https://img.shields.io/badge/cypress-5.5.0-brightgreen)\n> Cypress plugin that adds \"extends\" support to the configuration file. This allows the config files to remain DRY and avoid duplicating data, but still have multiple files for different scenarios. See details in [Extending the Cypress Config File](https://www.cypress.io/blog/2020/06/18/extending-the-cypress-config-file/) blog post.\n\n## Use\n\n```\nnpm i -D @bahmutov/cypress-extends\n# or\nyarn add -D @bahmutov/cypress-extends\n```\n\nAdd this module to your `cypress/plugins/index.js` file\n\n```js\nmodule.exports = (on, config) => {\n  // `on` is used to hook into various events Cypress emits\n  // `config` is the resolved Cypress config\n  return require('@bahmutov/cypress-extends')(config.configFile)\n}\n```\n\nStart using `extends` syntax in your Cypress configuration file\n\n```\n// cypress.json\n{\n  \"extends\": \"./base.json\"\n}\n// base.json\n{\n  \"fixturesFolder\": false,\n  \"supportFile\": false,\n  \"$schema\": \"https://on.cypress.io/cypress.schema.json\"\n}\n```\n\n**Tip:** the `$schema` property in JSON files lets modern IDE show intelligent code completion for Cypress config values.\n\n![Schema](images/schema.gif)\n\n## Debugging\n\nRun Cypress with environment variable\n\n```\nDEBUG=@bahmutov/cypress-extends npx cypress run\n# or\nDEBUG=@bahmutov/cypress-extends npx cypress open\n```\n\n## More info\n\nRead [Cypress tips and tricks](https://glebbahmutov.com/blog/cypress-tips-and-tricks/) and watch [Cypress tips](https://www.youtube.com/playlist?list=PLP9o9QNnQuAYYRpJzDNWpeuOVTwxmIxcI) videos.\n\n### Small print\n\nAuthor: Gleb Bahmutov &lt;gleb.bahmutov@gmail.com&gt; &copy; 2020\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](https://glebbahmutov.com)\n* [blog](https://glebbahmutov.com/blog)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/cypress-extends/issues) on Github\n\n## MIT License\n\nCopyright (c) 2020 Gleb Bahmutov &lt;gleb.bahmutov@gmail.com&gt;\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[ci image]: https://github.com/bahmutov/cypress-extends/workflows/ci/badge.svg?branch=master\n[ci url]: https://github.com/bahmutov/cypress-extends/actions\n[renovate-badge]: https://img.shields.io/badge/renovate-app-blue.svg\n[renovate-app]: https://renovateapp.com/\n[badges image]: https://github.com/bahmutov/cypress-extends/workflows/badges/badge.svg?branch=master\n[badges url]: https://github.com/bahmutov/cypress-extends/actions\n","readmeFilename":"README.md"}