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(schemer): move to expo/expo #25769

Merged
merged 12 commits into from
Dec 11, 2023
Merged

refactor(schemer): move to expo/expo #25769

merged 12 commits into from
Dec 11, 2023

Conversation

byCedric
Copy link
Member

@byCedric byCedric commented Dec 5, 2023

Why

Moving the actively used @expo/schemer over from expo/expo-cli.

Currently used in:

  • expo-doctor
  • Our backend

Counter-part PR: expo/expo-cli#4795

How

  • Copied @expo/schemer from expo/expo-cli
  • Updated tsconfig.json to point at this monorepo config
  • Integrated expo-module-scripts
  • Added missing types packages
  • Updated tests to work with Jest (+ overall easier to read)
  • Resolved issues with snapshots
  • Resolved linting issues
  • Reconfigured e2e tests
  • Dropped lodash

Test Plan

See if CI passes.

Checklist

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Dec 5, 2023
@byCedric byCedric marked this pull request as draft December 5, 2023 18:21
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Dec 5, 2023
@byCedric byCedric marked this pull request as ready for review December 5, 2023 19:00
Copy link
Contributor

@EvanBacon EvanBacon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine, but we only appear to use this package in expo-doctor, probably makes sense to move it to doctor in the future.

@byCedric byCedric merged commit 1c4a7b5 into main Dec 11, 2023
15 checks passed
@byCedric byCedric deleted the @bycedric/refactor/schemer branch December 11, 2023 14:34
onizam95 pushed a commit to onizam95/expo-av-drm that referenced this pull request Jan 15, 2024
# Why

Moving the actively used `@expo/schemer` over from `expo/expo-cli`.

Currently used in:
- `expo-doctor`
- Our backend

Counter-part PR: expo/expo-cli#4795

# How

- Copied `@expo/schemer` from `expo/expo-cli`
- Updated `tsconfig.json` to point at this monorepo config
- Integrated `expo-module-scripts`
- Added missing types packages
- Updated tests to work with Jest (+ overall easier to read)
- Resolved issues with snapshots
- Resolved linting issues
- Reconfigured e2e tests
- Dropped lodash

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

Successfully merging this pull request may close these issues.

None yet

3 participants