@ornikar/jest-config-react-native 4.2.1 → 4.4.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 +30 -0
- package/customTransforms.js +5 -1
- package/package.json +10 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
# [4.4.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@4.3.0...@ornikar/jest-config-react-native@4.4.0) (2022-06-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency jest-expo to v45 ([#729](https://github.com/ornikar/shared-configs/issues/729)) ([72c2eed](https://github.com/ornikar/shared-configs/commit/72c2eed24a2bd23ff5aaac9ce53a8f9aabaa0ba5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [4.3.0](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@4.2.2...@ornikar/jest-config-react-native@4.3.0) (2022-04-22)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **webpack-config:** improve config for faster webpack ARCH-1515 ([#696](https://github.com/ornikar/shared-configs/issues/696)) ([c700d2c](https://github.com/ornikar/shared-configs/commit/c700d2ce95970011e58775cbb1061562b688850a))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [4.2.2](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@4.2.1...@ornikar/jest-config-react-native@4.2.2) (2022-04-19)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @ornikar/jest-config-react-native
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [4.2.1](https://github.com/ornikar/shared-configs/compare/@ornikar/jest-config-react-native@4.2.0...@ornikar/jest-config-react-native@4.2.1) (2022-04-01)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @ornikar/jest-config-react-native
|
package/customTransforms.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
/*
|
|
4
|
+
* If you change something here, also change in @ornikar/webpack-config reactNativeWeb.js
|
|
5
|
+
*/
|
|
6
|
+
|
|
3
7
|
exports.customTransforms = {
|
|
4
8
|
// compilation of problematic node_modules has a simpler babel config
|
|
5
9
|
'node_modules/(react-native-(calendars|reanimated)|native-base|@react-native-community/netinfo)/.*\\.(js|jsx|ts|tsx)$':
|
|
6
10
|
require.resolve('./transformers/babel-transformer-node-modules.js'),
|
|
7
11
|
|
|
8
12
|
// dont transform node_modules when already compiled
|
|
9
|
-
'node_modules/.*/(commonjs|dist/cjs)/.*\\.js$': require.resolve('./transformers/identity-transformer.js'),
|
|
13
|
+
'node_modules/.*/(commonjs|dist/(cjs|vendor))/.*\\.js$': require.resolve('./transformers/identity-transformer.js'),
|
|
10
14
|
|
|
11
15
|
// compilation of most node_modules with sucrase for faster setup
|
|
12
16
|
'node_modules/(@?react-native.*|@?expo.*|@?react-navigation.*)/.*\\.(js|jsx|ts|tsx)$': '@sucrase/jest-plugin',
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/jest-config-react-native",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "✅⚛️📱 jest config for react-native",
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/ornikar/shared-configs.git",
|
|
8
|
+
"directory": "@ornikar/jest-config-react-native"
|
|
9
|
+
},
|
|
6
10
|
"main": "jest-preset.js",
|
|
7
11
|
"license": "ISC",
|
|
8
12
|
"engines": {
|
|
@@ -14,7 +18,7 @@
|
|
|
14
18
|
"peerDependencies": {
|
|
15
19
|
"@testing-library/react-hooks": "^7.0.0",
|
|
16
20
|
"@testing-library/react-native": "^7.2.0 || ^8.0.0 || ^9.0.0",
|
|
17
|
-
"jest-expo": "^41.0.0 || ^42.0.0 || ^43.0.0 || ^44.0.0",
|
|
21
|
+
"jest-expo": "^41.0.0 || ^42.0.0 || ^43.0.0 || ^44.0.0 || ^45.0.0",
|
|
18
22
|
"react": "^17.0.0",
|
|
19
23
|
"react-dom": "^17.0.0"
|
|
20
24
|
},
|
|
@@ -24,14 +28,14 @@
|
|
|
24
28
|
}
|
|
25
29
|
},
|
|
26
30
|
"dependencies": {
|
|
27
|
-
"@ornikar/jest-config-react": "^9.6.
|
|
31
|
+
"@ornikar/jest-config-react": "^9.6.2",
|
|
28
32
|
"@sucrase/jest-plugin": "^2.2.0"
|
|
29
33
|
},
|
|
30
34
|
"devDependencies": {
|
|
31
35
|
"@testing-library/react-hooks": "7.0.2",
|
|
32
36
|
"@testing-library/react-native": "9.1.0",
|
|
33
|
-
"jest-expo": "
|
|
37
|
+
"jest-expo": "45.0.1",
|
|
34
38
|
"react": "17.0.2"
|
|
35
39
|
},
|
|
36
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "ab2d4c9d4c9b8c9c610eb592330cfa99ec5c21fc"
|
|
37
41
|
}
|