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

Replace Ember Data Packages #7914

Merged
merged 10 commits into from
Jul 3, 2024
Merged

Commits on Jul 1, 2024

  1. Update ember-data to v5.3.5

    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c5822fa View commit details
    Browse the repository at this point in the history
  2. Stop using ember-data meta package

    Instead pull all the packages we need directly and then build our own store.
    
    This store is copied from the one in the existing `ember-data` package.
    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    8e41ad3 View commit details
    Browse the repository at this point in the history
  3. Import needed transforms

    These transforms used to be proved by `ember-data`, but now we need to import them ourselves.
    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    50281bc View commit details
    Browse the repository at this point in the history
  4. Replace Inflector Configuration

    Ember Data does this slightly differently now, having dropped ember-inflector.
    We had rules strewn about, I've consolidated into a single initializer.
    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    9bcae69 View commit details
    Browse the repository at this point in the history
  5. Ignore new ember data deprecation

    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c2fcc6c View commit details
    Browse the repository at this point in the history
  6. Install Ember Data everywhere

    Fixes issues with pnpm peer dependencies.
    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    3288b78 View commit details
    Browse the repository at this point in the history
  7. Configure ember data in all apps

    This is the new configuration pattern for ember-data. We need the legacy support to be included in our build so we add that here.
    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    b56cd2c View commit details
    Browse the repository at this point in the history
  8. Add missing @ember-data packages

    Added:
    @ember-data/request
    @ember-data/request-utils
    @ember-data/legacy-compat
    as we use them in transforms and our store.
    I'm not sure why it works in embroider without it, but it won't build the classic app.
    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    14b3bb2 View commit details
    Browse the repository at this point in the history
  9. Remove mirage aamc pcrs customizations

    Our new inflector rules seem to be working now.
    jrjohnson authored and stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    b80ff02 View commit details
    Browse the repository at this point in the history
  10. rm duplicate line

    stopfstedt committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c9c1774 View commit details
    Browse the repository at this point in the history