@cypress/schematic
6.0.0 · 26 Aug 2026MIT116k / weekRepositoryHomepagenpmAtom feed
1.7.0 is the newest release of 1.x.
In short
24 changed
Release note
Released 11/19/2017
Summary:
We have officially launched the new Plugins API interface. This adds a
cypress/plugins/index.jsfile to new and existing projects. Using this file will enable you to modify the internals of Cypress running in the backgroundnodeprocess. This means you will be able to usenodeAPI's that are executed outside of the browser.We have currently added only one event for modifying the test file preprocessor, but this paves the way for adding many more event types. You can now modify every aspect of how files are sent to the browser.
We have extracted the default
browserifypreprocessor into its own package - @cypress/browserify-preprocessor://github.com/cypress-io/cypress-browserify-preprocessor. This is bundled with Cypress, but it is extracted so it can be used / modified by you to change the default options we pass tobrowserify. Additionally, you can swap out this preprocessor for something else entirely.
Features:
There is now a Plugins API interface. Partially addresses #684.
We have added the first Plugin API event called:
file:preprocessor. Fixes #580 and #581.You can now customize the default babel configuration options for the
browserifypreprocessor. Fixes #343 and #905.CoffeeScript 2 is supported via modifying the default options for the
browserifypreprocessor. Fixes #663.You can swap out or extend the default preprocessor to do exotic things like compile ClojureScript into JavaScript. Fixes #533.
We have created a @cypress/webpack-preprocessor://github.com/cypress-io/cypress-webpack-preprocessor preprocessor NPM package for you webpack users (because we are nice ゚リノ). Fixes #676.
Bugfixes:
cy.contains(selector, regexp)now works as intended. Fixes #801.We no longer format fixtures in any capacity. This fixes a bug with improperly formatting fixtures in Windows. You should handle formatting fixtures yourself. Fixes #884 and #902.
cy.viewport()resolves if only width or only height changes. Fixes #873.Cypress now auto reloads when spec files are modified in Windows. Fixes #712.
Misc:
There is a new
--globaloption useful withcypress opento force Cypress to open in global mode. This is helpful when you have multiple nested Cypress projects but only want to install Cypress once in the root project. Fixes #889.The module API accepts
reporterOptionsas an object literal like it does for theenvandconfigproperties. Fixes #899.
Documentation Changes:
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.