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

Add ember-data as a peer dep #552

Merged
merged 4 commits into from
Sep 7, 2020

Conversation

snewcomer
Copy link
Contributor

https://github.com/embermap/ember-data-storefront/pull/396/checks?check_run_id=1079154106

Looking at a build error for what I assume is b/c ember-data is not listed as a peer dep (to allow the consuming library to specify). Also, if it is a peer dep, does it require as a dependency as well (currently in the dependencies block as well)?

Another solution might be adding "ember-data" to a resolutions block in the repo above.

Let me know what you think!

@RobbieTheWagner
Copy link
Member

@snewcomer I think if we make it a peerDep, that we would want it as a devDep of just the latest version, and remove from deps.

@RobbieTheWagner
Copy link
Member

@snewcomer I wonder if we should take this opportunity to also only support ember-data >= 3? I'm working on making this addon be less broad on support, in favor of a more simplified addon.

@snewcomer
Copy link
Contributor Author

Certainly! Do you see this going in a minor release or major? If the former, then we can merge and I can follow up!

@RobbieTheWagner
Copy link
Member

@snewcomer I think restricting to 3+ would mean we need a major right?

@snewcomer
Copy link
Contributor Author

I think so! I can make a follow up PR then if you think that is the right path forward.

@RobbieTheWagner
Copy link
Member

@snewcomer sure thing, will merge this one for now. Please do feel free to follow up.

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

Successfully merging this pull request may close these issues.

2 participants