@cypress/vite-dev-server
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,8 @@ | ||
# [@cypress/vite-dev-server-v1.2.1](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.2.0...@cypress/vite-dev-server-v1.2.1) (2021-04-13) | ||
### Bug Fixes | ||
* **vite-dev-server:** Use viteConfig.server.port if defined ([#15893](https://github.com/cypress-io/cypress/issues/15893)) ([d0dcf22](https://github.com/cypress-io/cypress/commit/d0dcf221018cf2c364bc00ff6f750146eb048e7d)) | ||
# [@cypress/vite-dev-server-v1.2.0](https://github.com/cypress-io/cypress/compare/@cypress/vite-dev-server-v1.1.0...@cypress/vite-dev-server-v1.2.0) (2021-04-05) | ||
@@ -2,0 +9,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.startDevServer = void 0; | ||
const debug_1 = require("debug"); | ||
@@ -4,0 +5,0 @@ const startServer_1 = require("./startServer"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.makeCypressPlugin = void 0; | ||
const path_1 = require("path"); | ||
@@ -9,3 +10,3 @@ const fs_1 = require("fs"); | ||
const INIT_FILEPATH = path_1.resolve(__dirname, '../client/initCypressTests.js'); | ||
exports.makeCypressPlugin = (projectRoot, supportFilePath, devServerEvents) => { | ||
const makeCypressPlugin = (projectRoot, supportFilePath, devServerEvents) => { | ||
let base = '/'; | ||
@@ -52,1 +53,2 @@ return { | ||
}; | ||
exports.makeCypressPlugin = makeCypressPlugin; |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.start = void 0; | ||
const debug_1 = __importDefault(require("debug")); | ||
@@ -30,3 +31,3 @@ const vite_1 = require("vite"); | ||
finalConfig.server = finalConfig.server || {}; | ||
finalConfig.server.port = await get_port_1.default({ port: 3000, host: 'localhost' }), | ||
finalConfig.server.port = await get_port_1.default({ port: finalConfig.server.port || 3000, host: 'localhost' }), | ||
debug(`the resolved server config is ${JSON.stringify(finalConfig, null, 2)}`); | ||
@@ -33,0 +34,0 @@ return finalConfig; |
{ | ||
"name": "@cypress/vite-dev-server", | ||
"version": "1.2.0", | ||
"version": "1.2.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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15418
172
0