@ornikar/jest-config-react-native 15.1.1-canary.c9429ab33b54bdf4cd6c84117242d35b59016566.0 → 15.2.1-canary.fa2ceed458b2176bacdbee2862b1c4b6b9aeaf8a.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,14 +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.1.1-canary.c9429ab33b54bdf4cd6c84117242d35b59016566.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.c9429ab33b54bdf4cd6c84117242d35b59016566.0) (2025-11-05)
6
+ ## [15.2.1-canary.fa2ceed458b2176bacdbee2862b1c4b6b9aeaf8a.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@15.2.0...@ornikar/jest-config-react-native@15.2.1-canary.fa2ceed458b2176bacdbee2862b1c4b6b9aeaf8a.0) (2025-11-13)
7
7
 
8
8
 
9
9
  ### Features
10
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))
11
+ * pass Ornikar modules through babel-preset-expo ([2b3f894](https://github.com/ornikar/shared-configs/commit/2b3f8948c6103f0df4baf93531a0f6dae21d24be))
12
+
13
+
14
+
15
+ ## [15.2.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@15.1.0...@ornikar/jest-config-react-native@15.2.0) (2025-11-13)
16
+
17
+
18
+ ### Features
19
+
20
+ * **jest-config-react-native:** remove sucrase OSE-19637 ([#1134](https://github.com/ornikar/shared-configs/issues/1134)) ([e35dc36](https://github.com/ornikar/shared-configs/commit/e35dc360588b09ad67e7fccca8d42c2c9fb27922))
14
21
 
15
22
 
16
23
 
@@ -5,9 +5,10 @@
5
5
  */
6
6
 
7
7
  exports.customTransforms = {
8
- // compilation of ornikar packages
8
+ // Compilation of Ornikar packages through babel-preset-expo, which applies the platform, jsxRuntime and reanimated plugin.
9
+ // See https://www.npmjs.com/package/babel-preset-expo?activeTab=readme
9
10
  'node_modules/@ornikar/(.[a-z-]*)/dist/.*\\.(js|cjs|mjs)$': require.resolve(
10
- './transformers/babel-transformer-ornikar-packages.js',
11
+ './transformers/babel-transformer-node-modules.js',
11
12
  ),
12
13
 
13
14
  // The default Expo babel preset is not applied as we have our own babel config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/jest-config-react-native",
3
- "version": "15.1.1-canary.c9429ab33b54bdf4cd6c84117242d35b59016566.0",
3
+ "version": "15.2.1-canary.fa2ceed458b2176bacdbee2862b1c4b6b9aeaf8a.0",
4
4
  "description": "✅⚛️📱 jest config for react-native",
5
5
  "repository": {
6
6
  "directory": "@ornikar/jest-config-react-native",
@@ -43,7 +43,9 @@
43
43
  }
44
44
  },
45
45
  "dependencies": {
46
- "@ornikar/jest-config-react": "17.0.0"
46
+ "@ornikar/jest-config-react": "17.0.0",
47
+ "@sucrase/jest-plugin": "^3.0.0",
48
+ "sucrase": "^3.34.0"
47
49
  },
48
50
  "devDependencies": {
49
51
  "@testing-library/react-native": "12.9.0",
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- // eslint-disable-next-line import/no-extraneous-dependencies
4
- const babelJest = require('babel-jest').default;
5
-
6
- module.exports = babelJest.createTransformer({
7
- plugins: ['react-native-reanimated/plugin'],
8
- babelrc: false,
9
- configFile: false,
10
- });