@cypress/vite-dev-server
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,8 @@ | ||
# [@cypress/vite-dev-server-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v2.0.0...@cypress/vite-dev-server-v2.0.1) (2021-06-18) | ||
### Bug Fixes | ||
* vite startDevServer needs to return close() ([#16950](https://github.com/cypress-io/cypress/issues/16950)) ([67b2b3b](https://github.com/cypress-io/cypress/commit/67b2b3b9be13437e56384e377c7d32c6e433e064)) | ||
# [@cypress/vite-dev-server-v2.0.0](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.2.7...@cypress/vite-dev-server-v2.0.0) (2021-05-31) | ||
@@ -2,0 +9,0 @@ |
@@ -1,9 +0,8 @@ | ||
/// <reference types="node" /> | ||
import { Server } from 'http'; | ||
import { StartDevServer } from './startServer'; | ||
export { StartDevServer }; | ||
declare type DoneCallback = () => unknown; | ||
export interface ResolvedDevServerConfig { | ||
port: number; | ||
server: Server; | ||
close: (done?: DoneCallback) => void; | ||
} | ||
export declare function startDevServer(startDevServerArgs: StartDevServer): Promise<ResolvedDevServerConfig>; |
@@ -12,4 +12,4 @@ "use strict"; | ||
debug('Component testing vite server started on port', port); | ||
return { port, server: app.httpServer }; | ||
return { port, close: app.httpServer.close }; | ||
} | ||
exports.startDevServer = startDevServer; |
{ | ||
"name": "@cypress/vite-dev-server", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"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
23435
234