expo-module-scripts 3.0.0 → 3.0.2
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/package.json +3 -4
- package/enzyme/jest-preset.js +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 3.0.2 — 2022-10-30
|
|
14
|
+
|
|
15
|
+
### 💡 Others
|
|
16
|
+
|
|
17
|
+
- Remove Enzyme plugin - it does not work with React 18. Not considered a breaking change because the Enzyme plugin has never worked with React 18 and so is already broken. ([#19777](https://github.com/expo/expo/pull/19777) by [@brentvatne](https://github.com/brentvatne))
|
|
18
|
+
|
|
19
|
+
## 3.0.1 — 2022-10-28
|
|
20
|
+
|
|
21
|
+
_This version does not introduce any user-facing changes._
|
|
22
|
+
|
|
13
23
|
## 3.0.0 — 2022-10-25
|
|
14
24
|
|
|
15
25
|
### 🛠 Breaking changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-module-scripts",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "A private package for various tasks for Expo module packages like compiling and testing",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,11 +36,10 @@
|
|
|
36
36
|
"eslint-config-universe": "^11.0.0",
|
|
37
37
|
"find-yarn-workspace-root": "^2.0.0",
|
|
38
38
|
"glob": "^7.1.7",
|
|
39
|
-
"jest-expo": "~
|
|
40
|
-
"jest-expo-enzyme": "^1.2.3",
|
|
39
|
+
"jest-expo": "~47.0.0",
|
|
41
40
|
"jest-watch-typeahead": "0.6.4",
|
|
42
41
|
"ts-jest": "~26.3.0",
|
|
43
42
|
"typescript": "^4.3.5"
|
|
44
43
|
},
|
|
45
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "779ad6af070d07a14f371e3106f02ddd1b093538"
|
|
46
45
|
}
|
package/enzyme/jest-preset.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
try {
|
|
2
|
-
const { withEnzyme } = require('jest-expo-enzyme');
|
|
3
|
-
const { withWatchPlugins } = require('jest-expo/config');
|
|
4
|
-
const withExpoModuleScripts = require('../createJestPreset');
|
|
5
|
-
|
|
6
|
-
module.exports = withWatchPlugins({
|
|
7
|
-
projects: [
|
|
8
|
-
require('jest-expo/ios/jest-preset'),
|
|
9
|
-
require('jest-expo/android/jest-preset'),
|
|
10
|
-
require('jest-expo/web/jest-preset'),
|
|
11
|
-
].map(preset => withExpoModuleScripts(withEnzyme(preset))),
|
|
12
|
-
});
|
|
13
|
-
} catch (error) {
|
|
14
|
-
console.error(error);
|
|
15
|
-
process.exit(1);
|
|
16
|
-
}
|