@nuxt/test-utils-nightly 4.0.0-1699284348.a89cc29 → 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,78 +1,137 @@
1
1
  {
2
2
  "name": "@nuxt/test-utils-nightly",
3
- "version": "4.0.0-1699284348.a89cc29",
4
- "repository": "nuxt/test-utils",
3
+ "version": "4.0.0-1701501480.7490334",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/nuxt/test-utils.git"
7
+ },
5
8
  "description": "Test utilities for Nuxt",
6
9
  "license": "MIT",
7
10
  "type": "module",
8
11
  "types": "./dist/index.d.ts",
9
12
  "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.mjs"
13
- },
14
- "./experimental": {
15
- "types": "./dist/experimental.d.ts",
16
- "import": "./dist/experimental.mjs"
17
- }
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"
18
19
  },
19
20
  "files": [
20
21
  "dist",
21
- "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"
22
27
  ],
23
28
  "scripts": {
24
29
  "lint": "eslint --ext .vue,.ts,.js,.mjs .",
25
30
  "lint:fix": "eslint --ext .vue,.ts,.js,.mjs . --fix",
26
31
  "test:examples": "pnpm -r test",
32
+ "test:types": "vue-tsc --noEmit",
33
+ "test:unit": "vitest test/unit --run",
27
34
  "prepack": "unbuild",
28
- "dev:prepare": "unbuild --stub",
35
+ "dev:prepare": "nuxi prepare && unbuild --stub && pnpm -r dev:prepare",
29
36
  "release": "pnpm test:examples && pnpm build && changelogen --release --push && pnpm publish"
30
37
  },
31
38
  "dependencies": {
32
- "@nuxt/kit": "^3.8.1",
33
- "@nuxt/schema": "^3.8.1",
39
+ "@nuxt/kit": "^3.8.2",
40
+ "@nuxt/schema": "^3.8.2",
34
41
  "consola": "^3.2.3",
35
42
  "defu": "^6.1.3",
43
+ "estree-walker": "^3.0.3",
36
44
  "execa": "^8.0.1",
45
+ "fake-indexeddb": "^5.0.1",
37
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",
38
50
  "ofetch": "^1.3.3",
39
51
  "pathe": "^1.1.1",
40
- "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"
41
59
  },
42
60
  "devDependencies": {
43
61
  "@jest/globals": "29.7.0",
44
- "@nuxt/eslint-config": "^0.2.0",
45
- "changelogen": "^0.5.5",
46
- "eslint": "^8.53.0",
47
- "eslint-plugin-import": "^2.29.0",
48
- "eslint-plugin-jsdoc": "^46.8.2",
49
- "eslint-plugin-no-only-tests": "^3.1.0",
50
- "eslint-plugin-unicorn": "^49.0.0",
51
- "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",
52
80
  "unbuild": "latest",
53
- "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"
54
86
  },
55
87
  "peerDependencies": {
56
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",
57
95
  "playwright-core": "^1.34.3",
58
- "vitest": "^0.30.0 || ^0.31.0 || ^0.32.0 || ^0.33.0",
59
- "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"
60
100
  },
61
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
+ },
62
114
  "@jest/globals": {
63
115
  "optional": true
64
116
  },
65
117
  "playwright-core": {
66
118
  "optional": true
67
119
  },
120
+ "@vitest/ui": {
121
+ "optional": true
122
+ },
68
123
  "vitest": {
69
124
  "optional": true
70
125
  }
71
126
  },
72
127
  "resolutions": {
73
- "@nuxt/test-utils": "workspace:*"
128
+ "@nuxt/test-utils": "workspace:*",
129
+ "vitest-environment-nuxt": "workspace:*",
130
+ "rollup": "4.6.1",
131
+ "vite": "5.0.4"
74
132
  },
75
133
  "engines": {
76
134
  "node": "^14.18.0 || >=16.10.0"
77
- }
135
+ },
136
+ "packageManager": "pnpm@8.11.0"
78
137
  }
@@ -0,0 +1 @@
1
+ export * from './dist/runtime-utils'
@@ -0,0 +1 @@
1
+ export { default } from './dist/vitest-environment'