@cypress/vite-dev-server 5.0.6 → 5.0.7

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.
@@ -1,5 +1,4 @@
1
1
  /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
2
  /// <reference types="node" />
4
3
  import type { UserConfig } from 'vite';
5
4
  declare const ALL_FRAMEWORKS: readonly ["react", "vue"];
@@ -33,7 +33,7 @@ const Cypress = (options, vite) => {
33
33
  base = config.base;
34
34
  },
35
35
  async transformIndexHtml(html) {
36
- // it's possibe other plugins have modified the HTML
36
+ // it's possible other plugins have modified the HTML
37
37
  // before we get to. For example vitejs/plugin-react will
38
38
  // add a preamble. We do our best to look at the HTML we
39
39
  // receive and inject it.
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@cypress/vite-dev-server",
3
- "version": "5.0.6",
3
+ "version": "5.0.7",
4
4
  "description": "Launches Vite Dev Server for Component Testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "build": "tsc || echo 'built, with type errors'",
8
- "build-prod": "tsc || echo 'built, with type errors'",
9
8
  "check-ts": "tsc --noEmit",
10
9
  "cypress:run": "yarn cypress:run-cypress-in-cypress node ../../scripts/cypress run --project . --browser chrome",
11
10
  "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",
@@ -26,7 +25,7 @@
26
25
  "dedent": "^0.7.0",
27
26
  "mocha": "^9.2.2",
28
27
  "sinon": "^13.0.1",
29
- "ts-node": "^10.9.1",
28
+ "ts-node": "^10.9.2",
30
29
  "vite": "4.3.2",
31
30
  "vite-plugin-inspect": "0.7.24"
32
31
  },
@@ -46,5 +45,14 @@
46
45
  "module": "dist/index.js",
47
46
  "publishConfig": {
48
47
  "access": "public"
48
+ },
49
+ "nx": {
50
+ "targets": {
51
+ "build": {
52
+ "outputs": [
53
+ "{projectRoot}/dist"
54
+ ]
55
+ }
56
+ }
49
57
  }
50
58
  }