@ornikar/jest-config-react-native 15.0.0 → 15.0.1-canary.cebd982f024e95a25777f94a6121dc706c9c71d0.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,21 @@
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.0.1-canary.cebd982f024e95a25777f94a6121dc706c9c71d0.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@15.0.0...@ornikar/jest-config-react-native@15.0.1-canary.cebd982f024e95a25777f94a6121dc706c9c71d0.0) (2025-10-03)
7
+
8
+
9
+ ### Features
10
+
11
+ * expo 52 ([dadcd65](https://github.com/ornikar/shared-configs/commit/dadcd655d0d4868c5530020a593965504f0c5398))
12
+ * jest-expo 51 ([db6d3a1](https://github.com/ornikar/shared-configs/commit/db6d3a1ef2301c704544388246f9ca890afa5783))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * react-native version ([a4a2acd](https://github.com/ornikar/shared-configs/commit/a4a2acd616bf21b86e5a8f77e1f24b34fef8f994))
18
+
19
+
20
+
6
21
  ## [15.0.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@14.0.0...@ornikar/jest-config-react-native@15.0.0) (2025-08-11)
7
22
 
8
23
 
@@ -20,19 +20,16 @@ exports.customTransforms = {
20
20
  ),
21
21
 
22
22
  // compilation of react-native with sucrase fails since expo 48 update
23
- 'node_modules/react-native/.*\\.(js|jsx|ts|tsx)$': require.resolve(
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(
24
25
  './transformers/babel-transformer-node-modules.js',
25
26
  ),
26
27
 
27
28
  // https://github.com/expo/expo/blob/d5d454eb585bdd8fb1a07e2910ba99dca8fd8786/packages/@expo/metro-config/src/transformer/createMultiRuleTransformer.ts#L207
28
- 'node_modules/(expo-processing|@expo/vector-icons)/.*\\.(js|jsx|ts|tsx)$': [
29
+ 'node_modules/(expo-processing|@expo/vector-icons|expo-assets-utils)/.*\\.(js|jsx|ts|tsx)$': [
29
30
  '@sucrase/jest-plugin',
30
31
  { transforms: ['jsx', 'imports'] },
31
32
  ],
32
- 'node_modules/(expo-assets-utils)/.*\\.(js|jsx|ts|tsx)$': [
33
- '@sucrase/jest-plugin',
34
- { transforms: ['flow', 'imports'] },
35
- ],
36
33
 
37
34
  // compilation of rest node_modules with sucrase
38
35
  'node_modules.*\\.(js|jsx|ts|tsx)$': '@sucrase/jest-plugin',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/jest-config-react-native",
3
- "version": "15.0.0",
3
+ "version": "15.0.1-canary.cebd982f024e95a25777f94a6121dc706c9c71d0.0",
4
4
  "description": "✅⚛️📱 jest config for react-native",
5
5
  "repository": {
6
6
  "directory": "@ornikar/jest-config-react-native",
@@ -20,10 +20,10 @@
20
20
  "@testing-library/react-native": "^11.5.4 || ^12.1.2",
21
21
  "jest": "^30.0.0",
22
22
  "jest-environment-jsdom": "^30.0.0",
23
- "jest-expo": "^51.0.4",
24
- "react": "^18.2.0",
25
- "react-dom": "^18.2.0",
26
- "react-native": ">=0.74"
23
+ "jest-expo": "^52.0.6",
24
+ "react": "^18.3.1",
25
+ "react-dom": "^18.3.1",
26
+ "react-native": ">=0.76"
27
27
  },
28
28
  "peerDependenciesMeta": {
29
29
  "@testing-library/react": {
@@ -43,13 +43,13 @@
43
43
  }
44
44
  },
45
45
  "dependencies": {
46
- "@ornikar/jest-config-react": "17.0.0",
46
+ "@ornikar/jest-config-react": "17.0.1-canary.cebd982f024e95a25777f94a6121dc706c9c71d0.0",
47
47
  "@sucrase/jest-plugin": "^3.0.0",
48
48
  "sucrase": "^3.34.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@testing-library/react-native": "12.9.0",
52
- "jest-expo": "51.0.4",
52
+ "jest-expo": "52.0.6",
53
53
  "react": "18.3.1"
54
54
  },
55
55
  "scripts": {
@@ -8,4 +8,7 @@ module.exports = babelJest.createTransformer({
8
8
  presets: [['babel-preset-expo', { jsxRuntime: 'automatic' }]],
9
9
  babelrc: false,
10
10
  configFile: false,
11
+ caller: {
12
+ platform: 'ios',
13
+ },
11
14
  });