Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(metro-config): replace @expo/babel-preset-cli with expo-module-scripts #25421

Merged
merged 9 commits into from
Nov 22, 2023

Conversation

byCedric
Copy link
Member

@byCedric byCedric commented Nov 16, 2023

⚠️ On hold until #25458 is merged. → ✅ merged & (re)based

Why

We are deprecating the @expo/babel-preset-cli, and that means that other packages need to move over to expo-module-scripts.

See #25426 for all PRs.

How

  • Added expo-module-scripts@^3.3.0 to devDependencies
  • Replaced package.json scripts with expo-module-scripts equivalents

Test Plan

See if CI passes.

Checklist

@expo-bot expo-bot added bot: suggestions ExpoBot has some suggestions bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Nov 16, 2023
@byCedric byCedric changed the title refactor(metro-config): replace @expo/babel-preset-cli with expo-module-scripts refactor(metro-config): replace @expo/babel-preset-cli with expo-module-scripts Nov 16, 2023
@byCedric byCedric marked this pull request as draft November 20, 2023 15:10
@byCedric byCedric marked this pull request as ready for review November 21, 2023 17:09
@byCedric byCedric force-pushed the @bycedric/metro-config/drop-babel-preset-cli branch from bc2e078 to 1a82849 Compare November 21, 2023 17:10
@byCedric byCedric force-pushed the @bycedric/metro-config/drop-babel-preset-cli branch from 116aae3 to 43412ef Compare November 21, 2023 17:13
@byCedric byCedric merged commit 50be3fc into main Nov 22, 2023
11 checks passed
@byCedric byCedric deleted the @bycedric/metro-config/drop-babel-preset-cli branch November 22, 2023 10:02
alanjhughes pushed a commit that referenced this pull request Nov 22, 2023
…odule-scripts` (#25421)

~~⚠️ On hold until #25458 is merged.~~
→ ✅ merged & (re)based

# Why

We are deprecating the `@expo/babel-preset-cli`, and that means that
other packages need to move over to `expo-module-scripts`.

See #25426 for all PRs.

# How

- Added `expo-module-scripts@^3.3.0` to `devDependencies`
- Replaced **package.json** scripts with `expo-module-scripts`
equivalents

# Test Plan

See if CI passes.

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [x] 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>
Co-authored-by: Evan Bacon <bacon@expo.io>
byCedric added a commit that referenced this pull request Nov 23, 2023
…odule-scripts` (#25426)

~~⚠️ On hold until all listed PRs are merged.~~ → ✅

~~⚠️ On hold until #25458 is merged.~~
→ ✅ merged & (re)based

# Why

We are deprecating the `@expo/babel-preset-cli`, and that means that
other packages need to move over to `expo-module-scripts`.

This is the final PR to get rid of `@expo/babel-preset-cli` from this
repository. But, as this is the only package adding this library to this
monorepo, _**we need to merge this as last one**_. Otherwise, all other
packages using `@expo/babel-preset-cli` will not install this package.

Other clean-up PRs:

- #25416
- #25417
- #25418
- #25420
- #25421
- #25422
- #25423
- #25424
- #25425

# How

- Added `expo-module-scripts@^3.3.0` to `devDependencies`
- Replaced **package.json** scripts with `expo-module-scripts`
equivalents

# Test Plan

See if CI passes.

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [x] 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).
onizam95 pushed a commit to onizam95/expo-av-drm that referenced this pull request Jan 15, 2024
…odule-scripts` (expo#25421)

~~⚠️ On hold until expo#25458 is merged.~~
→ ✅ merged & (re)based

# Why

We are deprecating the `@expo/babel-preset-cli`, and that means that
other packages need to move over to `expo-module-scripts`.

See expo#25426 for all PRs.

# How

- Added `expo-module-scripts@^3.3.0` to `devDependencies`
- Replaced **package.json** scripts with `expo-module-scripts`
equivalents

# Test Plan

See if CI passes.

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [x] 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>
Co-authored-by: Evan Bacon <bacon@expo.io>
onizam95 pushed a commit to onizam95/expo-av-drm that referenced this pull request Jan 15, 2024
…odule-scripts` (expo#25426)

~~⚠️ On hold until all listed PRs are merged.~~ → ✅

~~⚠️ On hold until expo#25458 is merged.~~
→ ✅ merged & (re)based

# Why

We are deprecating the `@expo/babel-preset-cli`, and that means that
other packages need to move over to `expo-module-scripts`.

This is the final PR to get rid of `@expo/babel-preset-cli` from this
repository. But, as this is the only package adding this library to this
monorepo, _**we need to merge this as last one**_. Otherwise, all other
packages using `@expo/babel-preset-cli` will not install this package.

Other clean-up PRs:

- expo#25416
- expo#25417
- expo#25418
- expo#25420
- expo#25421
- expo#25422
- expo#25423
- expo#25424
- expo#25425

# How

- Added `expo-module-scripts@^3.3.0` to `devDependencies`
- Replaced **package.json** scripts with `expo-module-scripts`
equivalents

# Test Plan

See if CI passes.

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [x] 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants