Skip to content

Update ember-cli to 5.8.1 and add ember-data peer dependencies#190

Open
lozjackson wants to merge 15 commits intoadopted-ember-addons:masterfrom
lozjackson:add-ember-data-adapter-dependency
Open

Update ember-cli to 5.8.1 and add ember-data peer dependencies#190
lozjackson wants to merge 15 commits intoadopted-ember-addons:masterfrom
lozjackson:add-ember-data-adapter-dependency

Conversation

@lozjackson
Copy link
Copy Markdown
Contributor

@lozjackson lozjackson commented Jul 2, 2024

This PR updates ember-cli to 5.8.1 and adds @ember-data/adapter and @ember-data/serializer to peerDependencies to make this library compatible with ember-data 5.3.8

Fixes #189

@lozjackson
Copy link
Copy Markdown
Contributor Author

lozjackson commented Jul 3, 2024

@jherdman @mfeckie can we get this merged and released?.. its currently blocking us from updating ember-data to 5.3.8

@jherdman
Copy link
Copy Markdown
Contributor

jherdman commented Jul 3, 2024

My apologies, I am no longer involved with this project. Perhaps @mfeckie can assist.

@mfeckie
Copy link
Copy Markdown
Contributor

mfeckie commented Jul 3, 2024

I don't have commit permissions for this project either

@lozjackson
Copy link
Copy Markdown
Contributor Author

I don't have commit permissions for this project either

do you have any idea who does?

@lozjackson
Copy link
Copy Markdown
Contributor Author

@MelSumner @Alonski @knownasilya can someone merge this PR please?

@lozjackson
Copy link
Copy Markdown
Contributor Author

looks like there are now a bunch of typescript errors.. I'd appreciate any help resolving those

@MelSumner MelSumner requested review from knownasilya and mansona July 5, 2024 13:10
Copy link
Copy Markdown

@knownasilya knownasilya left a comment

Choose a reason for hiding this comment

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

This might be a good time to switch away from yarn. PNPM has been gaining favor in the ember and the general web dev community as a whole.

Other then that, just a minor comment about the docs.

README.md Outdated
// app/serializers/post.js

import { ActiveModelSerializer } from 'active-model-adapter';
import { ActiveModelSerializer } from "active-model-adapter";
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'd keep these single quote, since that's also the rule for the prettier config of this codebase and for new ember apps.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good spot, for some reason prettier was changing them to double quotes and I hadn't noticed

@knownasilya
Copy link
Copy Markdown

@lozjackson looks like some type lint errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error with ember-data 5.3.8: Could not find module @ember-data/adapter/rest

4 participants