@ohos-ports/nuxt-test-utils 0.0.0-stage → 4.4.0-beta.1

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.
Files changed (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +20 -2
  3. package/dirs.js +4 -0
  4. package/dist/browser/index.d.mts +7 -0
  5. package/dist/browser/index.mjs +12 -0
  6. package/dist/browser/pure.d.mts +2 -0
  7. package/dist/browser/pure.mjs +1 -0
  8. package/dist/config.d.mts +82 -0
  9. package/dist/config.mjs +336 -0
  10. package/dist/e2e/dev-server.d.mts +1 -0
  11. package/dist/e2e/dev-server.mjs +10 -0
  12. package/dist/e2e-BO5mj9tk.d.mts +244 -0
  13. package/dist/e2e-DzsWJ8cS.mjs +373 -0
  14. package/dist/e2e.d.mts +2 -0
  15. package/dist/e2e.mjs +3 -0
  16. package/dist/experimental.d.mts +5 -0
  17. package/dist/experimental.mjs +20 -0
  18. package/dist/interface-Dhh_nx8F.mjs +34 -0
  19. package/dist/module.d.mts +32 -0
  20. package/dist/module.mjs +987 -0
  21. package/dist/playwright.d.mts +33 -0
  22. package/dist/playwright.mjs +68 -0
  23. package/dist/pure-Ba9-jZYN.d.mts +56 -0
  24. package/dist/pure-C_CSGRkt.mjs +114 -0
  25. package/dist/runtime/browser-entry.mjs +15 -0
  26. package/dist/runtime/entry.mjs +19 -0
  27. package/dist/runtime/global-setup.mjs +15 -0
  28. package/dist/runtime/mocks/vue-devtools.mjs +11 -0
  29. package/dist/runtime/nuxt-root.mjs +17 -0
  30. package/dist/runtime/shared/environment.mjs +67 -0
  31. package/dist/runtime/shared/h3-v1.mjs +32 -0
  32. package/dist/runtime/shared/h3-v2.mjs +34 -0
  33. package/dist/runtime/shared/h3.mjs +5 -0
  34. package/dist/runtime/shared/nuxt.mjs +17 -0
  35. package/dist/runtime/shared/vue-wrapper-plugin.mjs +42 -0
  36. package/dist/runtime-utils/index.d.mts +208 -0
  37. package/dist/runtime-utils/index.mjs +276 -0
  38. package/dist/server-Vl1UKNYB.mjs +301 -0
  39. package/dist/suspended-BbyJTvUP.d.mts +45 -0
  40. package/dist/suspended-Bjq6Zao6.mjs +1 -0
  41. package/dist/suspended-UrdAzOmb.mjs +255 -0
  42. package/dist/utils-CCklE0VI.mjs +196 -0
  43. package/dist/vitest-environment.d.mts +42 -0
  44. package/dist/vitest-environment.mjs +318 -0
  45. package/dist/vitest-wrapper/cli.d.mts +1 -0
  46. package/dist/vitest-wrapper/cli.mjs +81 -0
  47. package/package.json +145 -4
package/package.json CHANGED
@@ -1,6 +1,147 @@
1
1
  {
2
2
  "name": "@ohos-ports/nuxt-test-utils",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "4.4.0-beta.1",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/ohos-ports/ohos-ports.git",
7
+ "directory": "ports/nuxt-test-utils/4.4.0"
8
+ },
9
+ "description": "Test utilities for Nuxt",
10
+ "license": "MIT",
11
+ "type": "module",
12
+ "types": "./dist/e2e.d.mts",
13
+ "exports": {
14
+ ".": "./dist/e2e.mjs",
15
+ "./config": "./dist/config.mjs",
16
+ "./e2e": "./dist/e2e.mjs",
17
+ "./playwright": "./dist/playwright.mjs",
18
+ "./experimental": "./dist/experimental.mjs",
19
+ "./module": "./dist/module.mjs",
20
+ "./runtime": "./dist/runtime-utils/index.mjs",
21
+ "./vitest-environment": "./dist/vitest-environment.mjs",
22
+ "./browser": "./dist/browser/index.mjs",
23
+ "./browser/pure": "./dist/browser/pure.mjs",
24
+ "./package.json": "./package.json"
25
+ },
26
+ "imports": {
27
+ "#dirs": "./dirs.js"
28
+ },
29
+ "typesVersions": {
30
+ "*": {
31
+ ".": [
32
+ "./dist/e2e.d.mts"
33
+ ],
34
+ "config": [
35
+ "./dist/config.d.mts"
36
+ ],
37
+ "e2e": [
38
+ "./dist/e2e.d.mts"
39
+ ],
40
+ "playwright": [
41
+ "./dist/playwright.d.mts"
42
+ ],
43
+ "experimental": [
44
+ "./dist/experimental.d.mts"
45
+ ],
46
+ "module": [
47
+ "./dist/module.d.mts"
48
+ ],
49
+ "runtime": [
50
+ "./dist/runtime-utils/index.d.mts"
51
+ ],
52
+ "vitest-environment": [
53
+ "./dist/vitest-environment.d.mts"
54
+ ],
55
+ "browser": [
56
+ "./dist/browser/index.d.mts"
57
+ ],
58
+ "browser/pure": [
59
+ "./dist/browser/pure.d.mts"
60
+ ]
61
+ }
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "dirs.js"
66
+ ],
67
+ "dependencies": {
68
+ "@clack/prompts": "1.8.1",
69
+ "@nuxt/devtools-kit": "^3.4.4",
70
+ "@nuxt/kit": "^4.6.3",
71
+ "consola": "^3.4.2",
72
+ "defu": "^6.1.7",
73
+ "exsolve": "^1.2.0",
74
+ "fake-indexeddb": "^6.2.7",
75
+ "get-port-please": "^3.2.0",
76
+ "magic-string": "^1.4.5",
77
+ "ofetch": "^1.5.1",
78
+ "oxc-walker": "^1.1.1",
79
+ "package-manager-detector": "^1.9.0",
80
+ "pathe": "^2.0.3",
81
+ "perfect-debounce": "^2.1.0",
82
+ "radix3": "^1.1.2",
83
+ "std-env": "^4.3.0",
84
+ "tinyexec": "^1.3.1",
85
+ "ufo": "^1.6.4",
86
+ "unplugin": "^3.7.0",
87
+ "vitest-environment-nuxt": "2.0.0"
88
+ },
89
+ "peerDependencies": {
90
+ "@cucumber/cucumber": ">=11.0.0",
91
+ "@jest/globals": ">=30.0.0",
92
+ "@ohos-ports/playwright-test": "^1.65.1-beta.1",
93
+ "@testing-library/vue": "^8.0.1",
94
+ "@ohos-ports/vue-test-utils": "^2.4.11-beta.1",
95
+ "h3": "^1.15.0 || ^2.0.0-0",
96
+ "happy-dom": ">=20.0.11",
97
+ "jsdom": ">=27.4.0",
98
+ "@ohos-ports/nuxt": "^4.6.1-beta.0",
99
+ "@ohos-ports/playwright-core": "^1.65.1-beta.1",
100
+ "@ohos-ports/vitest": "^5.0.1-beta.0",
101
+ "vue": "^3.5.0"
102
+ },
103
+ "peerDependenciesMeta": {
104
+ "@cucumber/cucumber": {
105
+ "optional": true
106
+ },
107
+ "@jest/globals": {
108
+ "optional": true
109
+ },
110
+ "@ohos-ports/playwright-test": {
111
+ "optional": true
112
+ },
113
+ "@testing-library/vue": {
114
+ "optional": true
115
+ },
116
+ "@vitest/ui": {
117
+ "optional": true
118
+ },
119
+ "@ohos-ports/vue-test-utils": {
120
+ "optional": true
121
+ },
122
+ "h3": {
123
+ "optional": true
124
+ },
125
+ "happy-dom": {
126
+ "optional": true
127
+ },
128
+ "jsdom": {
129
+ "optional": true
130
+ },
131
+ "@ohos-ports/nuxt": {
132
+ "optional": true
133
+ },
134
+ "@ohos-ports/playwright-core": {
135
+ "optional": true
136
+ },
137
+ "@ohos-ports/vitest": {
138
+ "optional": true
139
+ }
140
+ },
141
+ "engines": {
142
+ "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
143
+ },
144
+ "bugs": {
145
+ "url": "https://github.com/ohos-ports/ohos-ports/issues"
146
+ }
147
+ }