@cypress/webpack-dev-server 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -148,7 +148,7 @@ function sourceWebpackDevServer(config, webpackMajorVersion, framework) {
|
|
|
148
148
|
if (webpackMajorVersion < 5 && webpackDevServer.majorVersion === 5) {
|
|
149
149
|
const json = webpackDevServer.packageJson;
|
|
150
150
|
throw new CypressWebpackDevServerError(`Incompatible major versions of webpack and webpack-dev-server!
|
|
151
|
-
webpack-dev-server major version ${webpackDevServer.majorVersion} only works with major versions of webpack
|
|
151
|
+
webpack-dev-server major version ${webpackDevServer.majorVersion} only works with major versions of webpack 5 - saw webpack-dev-server version ${json.version}.
|
|
152
152
|
If using webpack major version 4, please install webpack-dev-server version 4 to be used with @cypress/webpack-dev-server or upgrade to webpack 5.`);
|
|
153
153
|
}
|
|
154
154
|
return webpackDevServer;
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cypress/webpack-dev-server",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "Launches Webpack Dev Server for Component Testing",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prebuild": "rimraf dist",
|
|
8
8
|
"build": "tsc || echo 'built, with type errors'",
|
|
9
9
|
"check-ts": "tsc --noEmit",
|
|
10
|
-
"dev": "tsc --watch",
|
|
11
10
|
"clean": "rimraf dist",
|
|
11
|
+
"cypress:open": "yarn cypress:run-cypress-in-cypress gulp open --project .",
|
|
12
12
|
"cypress:run": "yarn cypress:run-cypress-in-cypress node ../../scripts/cypress run --project . --browser chrome",
|
|
13
13
|
"cypress:run-cypress-in-cypress": "cross-env CYPRESS_INTERNAL_E2E_TESTING_SELF_PARENT_PROJECT=1 HTTP_PROXY_TARGET_FOR_ORIGIN_REQUESTS=http://localhost:4455 CYPRESS_REMOTE_DEBUGGING_PORT=6666 TZ=America/New_York",
|
|
14
|
-
"
|
|
14
|
+
"dev": "tsc --watch",
|
|
15
|
+
"lint": "eslint --ext .js,.ts,.json, .",
|
|
15
16
|
"test": "yarn test-unit",
|
|
16
|
-
"test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js"
|
|
17
|
-
"lint": "eslint --ext .js,.ts,.json, ."
|
|
17
|
+
"test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"find-up": "6.3.0",
|