@ornikar/jest-config-react-native 15.1.0 → 15.1.1-canary.5642ce758b3e3904da998bedaec02a3b569fe67e.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 +10 -0
- package/customTransforms.js +2 -11
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [15.1.1-canary.5642ce758b3e3904da998bedaec02a3b569fe67e.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@15.1.0...@ornikar/jest-config-react-native@15.1.1-canary.5642ce758b3e3904da998bedaec02a3b569fe67e.0) (2025-10-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* remove sucrase ([5642ce7](https://github.com/ornikar/shared-configs/commit/5642ce758b3e3904da998bedaec02a3b569fe67e))
|
|
12
|
+
* remove sucrase usage ([4e1a093](https://github.com/ornikar/shared-configs/commit/4e1a0935394b4d2ac4a0eebe39b6f1f87296173b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [15.1.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@15.0.0...@ornikar/jest-config-react-native@15.1.0) (2025-10-13)
|
|
7
17
|
|
|
8
18
|
|
package/customTransforms.js
CHANGED
|
@@ -19,18 +19,9 @@ exports.customTransforms = {
|
|
|
19
19
|
'./transformers/identity-transformer.js',
|
|
20
20
|
),
|
|
21
21
|
|
|
22
|
-
//
|
|
23
|
-
//
|
|
22
|
+
// The default Expo babel preset is not applied as we have our own babel config
|
|
23
|
+
// See https://github.com/expo/expo/blob/sdk-52/packages/jest-expo/src/resolveBabelConfig.js
|
|
24
24
|
'node_modules/(expo|expo-.*|@expo.*|react-native)/.*\\.(js|jsx|ts|tsx)$': require.resolve(
|
|
25
25
|
'./transformers/babel-transformer-node-modules.js',
|
|
26
26
|
),
|
|
27
|
-
|
|
28
|
-
// https://github.com/expo/expo/blob/d5d454eb585bdd8fb1a07e2910ba99dca8fd8786/packages/@expo/metro-config/src/transformer/createMultiRuleTransformer.ts#L207
|
|
29
|
-
'node_modules/(expo-processing|@expo/vector-icons|expo-assets-utils)/.*\\.(js|jsx|ts|tsx)$': [
|
|
30
|
-
'@sucrase/jest-plugin',
|
|
31
|
-
{ transforms: ['jsx', 'imports'] },
|
|
32
|
-
],
|
|
33
|
-
|
|
34
|
-
// compilation of rest node_modules with sucrase
|
|
35
|
-
'node_modules.*\\.(js|jsx|ts|tsx)$': '@sucrase/jest-plugin',
|
|
36
27
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/jest-config-react-native",
|
|
3
|
-
"version": "15.1.0",
|
|
3
|
+
"version": "15.1.1-canary.5642ce758b3e3904da998bedaec02a3b569fe67e.0",
|
|
4
4
|
"description": "✅⚛️📱 jest config for react-native",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/jest-config-react-native",
|
|
@@ -43,9 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@ornikar/jest-config-react": "17.0.0"
|
|
47
|
-
"@sucrase/jest-plugin": "^3.0.0",
|
|
48
|
-
"sucrase": "^3.34.0"
|
|
46
|
+
"@ornikar/jest-config-react": "17.0.0"
|
|
49
47
|
},
|
|
50
48
|
"devDependencies": {
|
|
51
49
|
"@testing-library/react-native": "12.9.0",
|