@nuxt/test-utils-nightly 4.0.0-1699284628.89ffa77 → 4.0.0-1701501480.7490334

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/test-utils-nightly",
3
- "version": "4.0.0-1699284628.89ffa77",
3
+ "version": "4.0.0-1701501480.7490334",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/test-utils.git"
@@ -10,72 +10,128 @@
10
10
  "type": "module",
11
11
  "types": "./dist/index.d.ts",
12
12
  "exports": {
13
- ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.mjs"
16
- },
17
- "./experimental": {
18
- "types": "./dist/experimental.d.ts",
19
- "import": "./dist/experimental.mjs"
20
- }
13
+ ".": "./dist/index.mjs",
14
+ "./config": "./dist/config.mjs",
15
+ "./experimental": "./dist/experimental.mjs",
16
+ "./module": "./dist/module.mjs",
17
+ "./runtime-utils": "./dist/runtime-utils.mjs",
18
+ "./vitest-environment": "./dist/vitest-environment.mjs"
21
19
  },
22
20
  "files": [
23
21
  "dist",
24
- "experimental.d.ts"
22
+ "config.d.ts",
23
+ "experimental.d.ts",
24
+ "module.d.ts",
25
+ "runtime-utils.d.ts",
26
+ "vitest-environment.d.ts"
25
27
  ],
26
28
  "scripts": {
27
29
  "lint": "eslint --ext .vue,.ts,.js,.mjs .",
28
30
  "lint:fix": "eslint --ext .vue,.ts,.js,.mjs . --fix",
29
31
  "test:examples": "pnpm -r test",
32
+ "test:types": "vue-tsc --noEmit",
33
+ "test:unit": "vitest test/unit --run",
30
34
  "prepack": "unbuild",
31
- "dev:prepare": "unbuild --stub",
35
+ "dev:prepare": "nuxi prepare && unbuild --stub && pnpm -r dev:prepare",
32
36
  "release": "pnpm test:examples && pnpm build && changelogen --release --push && pnpm publish"
33
37
  },
34
38
  "dependencies": {
35
- "@nuxt/kit": "^3.8.1",
36
- "@nuxt/schema": "^3.8.1",
39
+ "@nuxt/kit": "^3.8.2",
40
+ "@nuxt/schema": "^3.8.2",
37
41
  "consola": "^3.2.3",
38
42
  "defu": "^6.1.3",
43
+ "estree-walker": "^3.0.3",
39
44
  "execa": "^8.0.1",
45
+ "fake-indexeddb": "^5.0.1",
40
46
  "get-port-please": "^3.1.1",
47
+ "local-pkg": "^0.5.0",
48
+ "magic-string": "^0.30.5",
49
+ "node-fetch-native": "^1.4.1",
41
50
  "ofetch": "^1.3.3",
42
51
  "pathe": "^1.1.1",
43
- "ufo": "^1.3.1"
52
+ "perfect-debounce": "^1.0.0",
53
+ "radix3": "^1.1.0",
54
+ "std-env": "^3.6.0",
55
+ "ufo": "^1.3.2",
56
+ "unenv": "^1.8.0",
57
+ "unplugin": "^1.5.1",
58
+ "vitest-environment-nuxt": "0.12.0"
44
59
  },
45
60
  "devDependencies": {
46
61
  "@jest/globals": "29.7.0",
47
- "@nuxt/eslint-config": "^0.2.0",
48
- "changelogen": "^0.5.5",
49
- "eslint": "^8.53.0",
50
- "eslint-plugin-import": "^2.29.0",
51
- "eslint-plugin-jsdoc": "^46.8.2",
52
- "eslint-plugin-no-only-tests": "^3.1.0",
53
- "eslint-plugin-unicorn": "^49.0.0",
54
- "playwright-core": "1.39.0",
62
+ "@nuxt/devtools": "1.0.4",
63
+ "@nuxt/eslint-config": "0.2.0",
64
+ "@nuxt/module-builder": "0.5.4",
65
+ "@testing-library/vue": "8.0.1",
66
+ "@types/estree": "1.0.5",
67
+ "@types/jsdom": "21.1.6",
68
+ "@vitest/ui": "0.33.0",
69
+ "@vue/test-utils": "2.4.3",
70
+ "changelogen": "0.5.5",
71
+ "eslint": "8.55.0",
72
+ "eslint-plugin-import": "2.29.0",
73
+ "eslint-plugin-jsdoc": "46.9.0",
74
+ "eslint-plugin-no-only-tests": "3.1.0",
75
+ "eslint-plugin-unicorn": "49.0.0",
76
+ "h3": "1.9.0",
77
+ "nuxt": "3.8.2",
78
+ "playwright-core": "1.40.1",
79
+ "rollup": "4.6.1",
55
80
  "unbuild": "latest",
56
- "vitest": "0.33.0"
81
+ "unimport": "3.6.0",
82
+ "vite": "5.0.4",
83
+ "vitest": "0.33.0",
84
+ "vue-router": "4.2.5",
85
+ "vue-tsc": "1.8.24"
57
86
  },
58
87
  "peerDependencies": {
59
88
  "@jest/globals": "^29.5.0",
89
+ "@testing-library/vue": "^7.0.0 || ^8.0.1",
90
+ "@vitest/ui": "0.33.0",
91
+ "@vue/test-utils": "^2.4.2",
92
+ "h3": "*",
93
+ "happy-dom": "^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0",
94
+ "jsdom": "^22.0.0 || ^23.0.0",
60
95
  "playwright-core": "^1.34.3",
61
- "vitest": "^0.30.0 || ^0.31.0 || ^0.32.0 || ^0.33.0",
62
- "vue": "^3.3.4"
96
+ "vite": "*",
97
+ "vitest": "^0.24.5 || ^0.26.0 || ^0.27.0 || ^0.28.0 || ^0.29.0 || ^0.30.0 || ^0.33.0",
98
+ "vue": "^3.3.4",
99
+ "vue-router": "^4.0.0"
63
100
  },
64
101
  "peerDependenciesMeta": {
102
+ "@testing-library/vue": {
103
+ "optional": true
104
+ },
105
+ "happy-dom": {
106
+ "optional": true
107
+ },
108
+ "@vue/test-utils": {
109
+ "optional": true
110
+ },
111
+ "jsdom": {
112
+ "optional": true
113
+ },
65
114
  "@jest/globals": {
66
115
  "optional": true
67
116
  },
68
117
  "playwright-core": {
69
118
  "optional": true
70
119
  },
120
+ "@vitest/ui": {
121
+ "optional": true
122
+ },
71
123
  "vitest": {
72
124
  "optional": true
73
125
  }
74
126
  },
75
127
  "resolutions": {
76
- "@nuxt/test-utils": "workspace:*"
128
+ "@nuxt/test-utils": "workspace:*",
129
+ "vitest-environment-nuxt": "workspace:*",
130
+ "rollup": "4.6.1",
131
+ "vite": "5.0.4"
77
132
  },
78
133
  "engines": {
79
134
  "node": "^14.18.0 || >=16.10.0"
80
- }
135
+ },
136
+ "packageManager": "pnpm@8.11.0"
81
137
  }
@@ -0,0 +1 @@
1
+ export * from './dist/runtime-utils'
@@ -0,0 +1 @@
1
+ export { default } from './dist/vitest-environment'