-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Does it actually need to depend on sentry@cli
?
#201
Comments
The only SDKs (in the Honestly I think this is asking the wrong question, though. IMHO, the wizard itself shouldn't ever be a dependency, unless it's doing a task which occurs on an on-going basis. (And if it is, that task should be moved to |
I think the question is valid, since
The reason why Either we need to keep some dependency relationship to show version compatibility or we can't make breaking changes (meaning a new version won't be able to patch older SDKs) in the wizard. I'm definitely for removing |
Ah, gotcha.
So, mea culpa, I didn't get as far as seeing what Here'd be my proposal:
Thoughts? |
Yes, make sense in our case, we'll leave it for v4 and remove it in the future v5.
I agree.
Maybe. I would leave it up to the maintainers if they are fine with using the latest
I would not enforce it, right now if the path is not found it just doesn't create the entry in I can imagine this being used in the templates to make the |
With all due respect, I disagree with this. If you're using a package at runtime, it should be in your dependencies. Period. A one-time helper package which isn't necessary to the functioning of your library shouldn't. (Like I said, I get the reason why for now RN is set up the way it is, but we don't want to move more of our SDKs to the wrong setup.)
It's not really about the path, though, or the properties file. The point is, if you care about the path, it's because you're at some point going to be using the binary, so people need to have it installed, either automatically by dint of it being a dependency or manually because we yell at them to add it. |
I absolutely agree. Maybe I misunderstood what you meant by
If the Based on the usage of the |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
I've opened a PR showing what I would change, happy to hear if it makes sense. |
Some SDKs are using a global installation of |
sentry-wizard/lib/Helper/SentryCli.ts
Line 30 in 63cbb3f
This only
resolves
the path but it does not need at runtime, the question is that Apps that havewizard
as a dev dependency don't depend oncli
directly, that would be breaking.For RN, that would not be a problem, because RN itself depends on the
cli
, wondering if this is the same for every other SDK that depends on thewizard
.The problem is that RN is having a version mismatch of the
cli
with both dependencies (cli and wizard).RN https://github.com/getsentry/sentry-react-native/blob/1f86e232bb159ac2311f8be0e4d4725cdb2265f8/package.json#L44
Relates to getsentry/sentry-react-native#2556
The text was updated successfully, but these errors were encountered: