@ornikar/jest-config-react-native 15.1.0 → 15.1.1-canary.39d6b63ea67acc179ef895a58a4359ec2f15f554.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 CHANGED
@@ -3,6 +3,18 @@
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.39d6b63ea67acc179ef895a58a4359ec2f15f554.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.39d6b63ea67acc179ef895a58a4359ec2f15f554.0) (2025-11-10)
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
+ * revert sucrase changes but simplify custom transformers ([c9429ab](https://github.com/ornikar/shared-configs/commit/c9429ab33b54bdf4cd6c84117242d35b59016566))
14
+ * revert sucrase deletion in dependencies ([39d6b63](https://github.com/ornikar/shared-configs/commit/39d6b63ea67acc179ef895a58a4359ec2f15f554))
15
+
16
+
17
+
6
18
  ## [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
19
 
8
20
 
@@ -10,8 +10,9 @@ exports.customTransforms = {
10
10
  './transformers/babel-transformer-ornikar-packages.js',
11
11
  ),
12
12
 
13
- // compilation of problematic node_modules has a simpler babel config
14
- 'node_modules/(react-native-(calendars|reanimated)|@react-native-community/netinfo|@react-native/virtualized-lists)/.*\\.(js|jsx|ts|tsx)$':
13
+ // The default Expo babel preset is not applied as we have our own babel config
14
+ // See https://github.com/expo/expo/blob/sdk-52/packages/jest-expo/src/resolveBabelConfig.js
15
+ 'node_modules/(expo|expo-.*|@expo.*|react-native|react-native-(calendars|reanimated)|@react-native-community/netinfo|@react-native/virtualized-lists)/.*\\.(js|jsx|ts|tsx)$':
15
16
  require.resolve('./transformers/babel-transformer-node-modules.js'),
16
17
 
17
18
  // dont transform node_modules when already compiled
@@ -19,18 +20,6 @@ exports.customTransforms = {
19
20
  './transformers/identity-transformer.js',
20
21
  ),
21
22
 
22
- // compilation of react-native with sucrase fails since expo 48 update
23
- // compilation of expo packages with sucrase fails since expo 52 update
24
- 'node_modules/(expo|expo-.*|@expo.*|react-native)/.*\\.(js|jsx|ts|tsx)$': require.resolve(
25
- './transformers/babel-transformer-node-modules.js',
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
23
  // compilation of rest node_modules with sucrase
35
24
  'node_modules.*\\.(js|jsx|ts|tsx)$': '@sucrase/jest-plugin',
36
25
  };
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.39d6b63ea67acc179ef895a58a4359ec2f15f554.0",
4
4
  "description": "✅⚛️📱 jest config for react-native",
5
5
  "repository": {
6
6
  "directory": "@ornikar/jest-config-react-native",