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

Ember Source - Dev Dependency Only #3962

Conversation

nicksteffens
Copy link
Contributor

Why

While doing some dependency upgrades it was discovered ember-source was hard linked to a version behind our own application(s). We needed to have a resolution to adjust this requirement.

What

This adjustment allows all ember versions ^3.24.3 allowing newer versions of ember-source pre-4.0.

@AbhiPrasad
Copy link
Member

Thanks for your contribution! Do you think we should add ember-source as a peer dep similar to what we do with our react sdk? https://github.com/getsentry/sentry-javascript/blob/master/packages/react/package.json#L27

@alexlafroscia
Copy link
Contributor

Hey! I'm working with @nicksteffens on this issue and figured I could weigh in

Do you think we should add ember-source as a peer dep similar to what we do with our react sdk?

Totally not a wrong thing to do, but most Ember addon's don't do this. It's "standard" for an Ember addon to only include ember-source as a development dependency. That's the way that a new Ember addon is generated!

https://github.com/ember-cli/ember-addon-output/blob/b5112bf6048763d8bc768363dd15bb33856f6d62/package.json#L53

k-fish added a commit that referenced this pull request Sep 9, 2021
Ember source only needs to be included as a dev dep for addons.

Fixes #3962
@k-fish
Copy link
Member

k-fish commented Sep 9, 2021

Yep they're right that shouldn't be there, got pulled in when I did the 4.0 compat PR, will put a PR to remove it (nvm will just make changes to this branch), thanks 👏 .

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) September 9, 2021 15:23
@AbhiPrasad AbhiPrasad merged commit 0d1637c into getsentry:master Sep 9, 2021
@nicksteffens nicksteffens deleted the nicksteffens/ember-source-dev-only-dependency branch September 21, 2021 15:58
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.

None yet

4 participants