@cypress/webpack-dev-server 3.1.0 → 3.1.2

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.
@@ -120,7 +120,7 @@ function createFakeContext(projectRoot, defaultProjectConfig) {
120
120
  getProjectMetadata: () => {
121
121
  return {
122
122
  root: defaultProjectConfig.root,
123
- sourceRoot: defaultProjectConfig.root,
123
+ sourceRoot: defaultProjectConfig.sourceRoot,
124
124
  projectType: 'application',
125
125
  };
126
126
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cypress/webpack-dev-server",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Launches Webpack Dev Server for Component Testing",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -11,10 +11,11 @@
11
11
  "dev": "tsc --watch",
12
12
  "clean": "rimraf dist",
13
13
  "cypress:run": "yarn cypress:run-cypress-in-cypress node ../../scripts/cypress run --project . --browser chrome",
14
- "cypress:run-cypress-in-cypress": "cross-env HTTP_PROXY_TARGET_FOR_ORIGIN_REQUESTS=http://localhost:4455 CYPRESS_REMOTE_DEBUGGING_PORT=6666 TZ=America/New_York",
14
+ "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",
15
15
  "cypress:open": "yarn cypress:run-cypress-in-cypress gulp open --project .",
16
16
  "test": "yarn test-unit",
17
- "test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js"
17
+ "test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js",
18
+ "lint": "eslint --ext .js,.ts,.json, ."
18
19
  },
19
20
  "dependencies": {
20
21
  "find-up": "6.3.0",