Skip to content

Commit

Permalink
chore(babel): drop unused babel/preset-env (#27705)
Browse files Browse the repository at this point in the history
# Why

- It's unused and triggers install warnings

# Test Plan

- `npm pack` installed in a project with resolution set, then bundled an
app to ensure everything worked.


# 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 <34669131+expo-bot@users.noreply.github.com>
  • Loading branch information
2 people authored and marklawlor committed Mar 18, 2024
1 parent 09f0ada commit e6a4183
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/babel-preset-expo/CHANGELOG.md
Expand Up @@ -17,6 +17,7 @@

### 💡 Others

- Remove unused peer dependency on `@babel/preset-env`. ([#27705](https://github.com/expo/expo/pull/27705) by [@EvanBacon](https://github.com/EvanBacon))
- Disable color in snapshot tests in CI. ([#27301](https://github.com/expo/expo/pull/27301) by [@EvanBacon](https://github.com/EvanBacon))
- Add additional tests for undefined platform minification behavior. ([#27515](https://github.com/expo/expo/pull/27515) by [@EvanBacon](https://github.com/EvanBacon))
- Upgrade `babel-plugin-react-native-web` for latest `react-native-web` aliases. ([#27214](https://github.com/expo/expo/pull/27214) by [@EvanBacon](https://github.com/EvanBacon))
Expand Down
1 change: 0 additions & 1 deletion packages/babel-preset-expo/package.json
Expand Up @@ -45,7 +45,6 @@
"@babel/plugin-transform-export-namespace-from": "^7.22.11",
"@babel/plugin-transform-object-rest-spread": "^7.12.13",
"@babel/plugin-transform-parameters": "^7.22.15",
"@babel/preset-env": "^7.20.0",
"@babel/preset-react": "^7.22.15",
"@react-native/babel-preset": "^0.74.2",
"babel-plugin-react-native-web": "~0.19.10",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Expand Up @@ -1164,7 +1164,7 @@
"@babel/helper-create-regexp-features-plugin" "^7.22.15"
"@babel/helper-plugin-utils" "^7.22.5"

"@babel/preset-env@^7.20.0", "@babel/preset-env@^7.23.8":
"@babel/preset-env@^7.23.8":
version "7.23.8"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.23.8.tgz#7d6f8171ea7c221ecd28059e65ad37c20e441e3e"
integrity sha512-lFlpmkApLkEP6woIKprO6DO60RImpatTQKtz4sUcDjVcK8M8mQ4sZsuxaTMNOZf0sqAq/ReYW1ZBHnOQwKpLWA==
Expand Down

0 comments on commit e6a4183

Please sign in to comment.