vitest-native 0.7.0 → 0.9.0
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/CHANGELOG.md +373 -0
- package/README.md +32 -14
- package/dist/cli.cjs +506 -0
- package/dist/cli.d.cts +4 -0
- package/dist/cli.d.mts +4 -0
- package/dist/cli.mjs +502 -0
- package/dist/ecosystem-BIWaVwYL.cjs +294 -0
- package/dist/ecosystem-EFtHnKS9.mjs +256 -0
- package/dist/{index-DbfKy_bm.d.mts → index-CEgRDdhd.d.cts} +22 -3
- package/dist/{index-BgzErxHj.d.cts → index-j-0tueBr.d.mts} +20 -5
- package/dist/index.cjs +345 -200
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +341 -196
- package/dist/jest-compat/setup.mjs +65 -1
- package/dist/native/boundary.mjs +108 -30
- package/dist/native/compile-cache.mjs +45 -0
- package/dist/native/explain.mjs +69 -0
- package/dist/native/hooks.mjs +77 -4
- package/dist/native/loader.mjs +36 -7
- package/dist/native/match.mjs +107 -8
- package/dist/native/registry.mjs +471 -0
- package/dist/native/reset.mjs +18 -12
- package/dist/native/runner.mjs +13 -7
- package/dist/native/setup.mjs +44 -0
- package/dist/native/transform.mjs +88 -19
- package/dist/native/worker.mjs +13 -0
- package/dist/pool-CJmjRgsB.mjs +117 -0
- package/dist/pool-DzsEo9vv.cjs +121 -0
- package/dist/{preset-map-CNBOeqAu.cjs → preset-map-CG4FMtsl.cjs} +5 -1
- package/dist/{preset-map-C1UwEald.mjs → preset-map-CNsZKfvu.mjs} +5 -1
- package/dist/{presets-BTG8fiNF.cjs → presets-C4faM3ds.cjs} +838 -2
- package/dist/{presets-BFuAMwYQ.mjs → presets-CuDrNA_W.mjs} +761 -3
- package/dist/presets.cjs +5 -1
- package/dist/presets.d.cts +2 -2
- package/dist/presets.d.mts +2 -2
- package/dist/presets.mjs +2 -2
- package/dist/setup.cjs +327 -347
- package/dist/setup.mjs +318 -338
- package/docs/hot-default-design.md +129 -0
- package/docs/migrating-from-jest.md +43 -7
- package/docs/migrating-from-vitest-react-native.md +1 -1
- package/docs/release-readiness.md +2 -1
- package/package.json +23 -7
- package/dist/pool-B7LBfcMQ.mjs +0 -67
- package/dist/pool-p54QV1dQ.cjs +0 -69
package/dist/presets.cjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_presets = require("./presets-
|
|
2
|
+
const require_presets = require("./presets-C4faM3ds.cjs");
|
|
3
3
|
exports.asyncStorage = require_presets.asyncStorage;
|
|
4
|
+
exports.bottomSheet = require_presets.bottomSheet;
|
|
4
5
|
exports.deviceInfo = require_presets.deviceInfo;
|
|
5
6
|
exports.expo = require_presets.expo;
|
|
7
|
+
exports.flashList = require_presets.flashList;
|
|
6
8
|
exports.gestureHandler = require_presets.gestureHandler;
|
|
9
|
+
exports.keyboardController = require_presets.keyboardController;
|
|
7
10
|
exports.mmkv = require_presets.mmkv;
|
|
8
11
|
exports.navigation = require_presets.navigation;
|
|
9
12
|
exports.reanimated = require_presets.reanimated;
|
|
@@ -12,3 +15,4 @@ exports.screens = require_presets.screens;
|
|
|
12
15
|
exports.svg = require_presets.svg;
|
|
13
16
|
exports.vectorIcons = require_presets.vectorIcons;
|
|
14
17
|
exports.webview = require_presets.webview;
|
|
18
|
+
exports.worklets = require_presets.worklets;
|
package/dist/presets.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { asyncStorage, deviceInfo, expo, gestureHandler, mmkv, navigation, reanimated, safeAreaContext, screens, svg, vectorIcons, webview };
|
|
1
|
+
import { _ as reanimated, a as flashList, c as svg, d as expo, f as screens, g as gestureHandler, h as safeAreaContext, i as bottomSheet, l as mmkv, m as navigation, n as worklets, o as vectorIcons, p as asyncStorage, r as keyboardController, s as webview, u as deviceInfo } from "./index-CEgRDdhd.cjs";
|
|
2
|
+
export { asyncStorage, bottomSheet, deviceInfo, expo, flashList, gestureHandler, keyboardController, mmkv, navigation, reanimated, safeAreaContext, screens, svg, vectorIcons, webview, worklets };
|
package/dist/presets.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { asyncStorage, deviceInfo, expo, gestureHandler, mmkv, navigation, reanimated, safeAreaContext, screens, svg, vectorIcons, webview };
|
|
1
|
+
import { _ as reanimated, a as flashList, c as svg, d as expo, f as screens, g as gestureHandler, h as safeAreaContext, i as bottomSheet, l as mmkv, m as navigation, n as worklets, o as vectorIcons, p as asyncStorage, r as keyboardController, s as webview, u as deviceInfo } from "./index-j-0tueBr.mjs";
|
|
2
|
+
export { asyncStorage, bottomSheet, deviceInfo, expo, flashList, gestureHandler, keyboardController, mmkv, navigation, reanimated, safeAreaContext, screens, svg, vectorIcons, webview, worklets };
|
package/dist/presets.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { asyncStorage, deviceInfo, expo, gestureHandler, mmkv, navigation, reanimated, safeAreaContext, screens, svg, vectorIcons, webview };
|
|
1
|
+
import { C as navigation, O as reanimated, S as asyncStorage, T as gestureHandler, _ as svg, a as bottomSheet, b as expo, g as webview, h as vectorIcons, m as flashList, n as worklets, r as keyboardController, v as mmkv, w as safeAreaContext, x as screens, y as deviceInfo } from "./presets-CuDrNA_W.mjs";
|
|
2
|
+
export { asyncStorage, bottomSheet, deviceInfo, expo, flashList, gestureHandler, keyboardController, mmkv, navigation, reanimated, safeAreaContext, screens, svg, vectorIcons, webview, worklets };
|