-
Notifications
You must be signed in to change notification settings - Fork 469
fuse bsconfig into package.json #5455
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
fuse bsconfig into package.json #5455
Conversation
Need to resolve pinned dependencies. They are currently specified in |
See this repository (note the branch) for a minimal example of workspaces: https://github.com/Minnozz/rescript-reproduce-issue/tree/pinned-dependencies-issue |
0a99ed4
to
d7fd9d8
Compare
thank you @Minnozz An example of monorepo https://github.com/aspeddro/rescript-monorepo-experiments/tree/monorepo-test-take-one. The |
Could you explain the proposal at high level? |
Problem
This information is already in SolutionRead This approach implies a loss of performance if the One caveat, I'm exploring the compiler, I might be breaking some rule. Related: #5278 |
If I keep |
I guess the question is: is it true that any project correctly configured today will still work exactly the same after this change? Also, I guess bsconfig allows to specify a subset of the dependencies defined in package.json. If so, is there still a way to do so. Should there be? If one can do zero breaking changes, that's ideal. |
No, after this change One option to maintain compatibility is to keep |
Can you expand a bit on the explanation, even though it might seem obvious. And with a concrete example? |
Sorry for delay. Here an valid example build_tests/react-ppx that will fail.
|
I suggest to turn this into a proposal with no breaking changes, give a description which is a bit more detailed than the one above (with examples) and try to reach consensus on the forum. |
@aspeddro Can this one be closed? (We'll want to revisit configuration after rewatch has been fully integrated.) |
This PR is a proposal to read dependencies, dev dependencies and name from
package.json