@cypress/vite-dev-server
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -0,1 +1,9 @@ | ||
# [@cypress/vite-dev-server-v2.0.4](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v2.0.3...@cypress/vite-dev-server-v2.0.4) (2021-07-31) | ||
### Bug Fixes | ||
* **server:** correctly include projectRoot when adding a CI project from GUI ([#17514](https://github.com/cypress-io/cypress/issues/17514)) ([e49b3a4](https://github.com/cypress-io/cypress/commit/e49b3a4b9fc99bb392235b7cad36139faff08eec)) | ||
* only rerun if current spec+deps changed ([#17269](https://github.com/cypress-io/cypress/issues/17269)) ([1433b64](https://github.com/cypress-io/cypress/commit/1433b64d25f186774471593892c1c03aa954c4e3)) | ||
# [@cypress/vite-dev-server-v2.0.3](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v2.0.2...@cypress/vite-dev-server-v2.0.3) (2021-07-27) | ||
@@ -2,0 +10,0 @@ |
@@ -83,5 +83,5 @@ "use strict"; | ||
debug('handleHotUpdate - mod.file', mod.file); | ||
if (specsPathsSet.has(mod.file)) { | ||
if (mod.file && specsPathsSet.has(mod.file)) { | ||
debug('handleHotUpdate - compile success'); | ||
devServerEvents.emit('dev-server:compile:success'); | ||
devServerEvents.emit('dev-server:compile:success', { specFile: mod.file }); | ||
return []; | ||
@@ -88,0 +88,0 @@ } |
@@ -20,3 +20,3 @@ "use strict"; | ||
const finalConfig = { ...viteConfig, ...requiredOptions }; | ||
finalConfig.plugins = [...(viteConfig.plugins || []), makeCypressPlugin_1.makeCypressPlugin(projectRoot, supportFile, options.devServerEvents, options.specs)]; | ||
finalConfig.plugins = [...(finalConfig.plugins || []), makeCypressPlugin_1.makeCypressPlugin(projectRoot, supportFile, options.devServerEvents, options.specs)]; | ||
// This alias is necessary to avoid a "prefixIdentifiers" issue from slots mounting | ||
@@ -23,0 +23,0 @@ // only cjs compiler-core accepts using prefixIdentifiers in slots which vue test utils use. |
{ | ||
"name": "@cypress/vite-dev-server", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Launches Vite Dev Server for Component Testing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25317