| #
283c4738 |
| 11-Jul-2023 |
Cedric van Putten <[email protected]> |
[expo-updates][cli] Drop `fs-extra` in favor of `fs` (#23431)
# Why
`fs-extra` is used in the `expo-updates` CLI, but `fs-extra` was only
added as `devDependency` to the **package.json**. This c
[expo-updates][cli] Drop `fs-extra` in favor of `fs` (#23431)
# Why
`fs-extra` is used in the `expo-updates` CLI, but `fs-extra` was only
added as `devDependency` to the **package.json**. This could cause
issues in [isolated
modules](https://github.com/npm/rfcs/blob/main/accepted/0042-isolated-mode.md),
or when `expo-updates` is installed without other dependencies
installing `fs-extra`.
# How
- Dropped `fs-extra`'s `ensureDir` in favor of `fs.promises.mkdir(..., {
recursive: true });`
# Test Plan
Minor change
# Checklist
<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->
- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
---------
Co-authored-by: Expo Bot <[email protected]>
show more ...
|