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
docs: upgrade the-guild-docs version #1178
Conversation
11f0fc7
to
a087bb0
Compare
@B2o5T Let me know if I missed something crucial |
a087bb0
to
4a1e5b7
Compare
4a1e5b7
to
51abce3
Compare
"react": "17.0.2", | ||
"react-dom": "17.0.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better?
"react": "17.0.2", | |
"react-dom": "17.0.2", | |
"react": "^17.0.2", | |
"react-dom": "^17.0.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We create a static bundle before releasing this. For consistency and making sure we know the bundled version, I think it is better to go with pinned versions.
"@types/react": "17.0.39", | ||
"@types/react-dom": "17.0.11", | ||
"react": "17.0.2", | ||
"react-dom": "17.0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why provide it in root package.json?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because I don't want 900000 different versions of react installed by those packages deep in the tree that fuck up declaring loose enough dependency ranges and cause multiple instances of react runtime issues.
e3de41e
to
56e2a86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to downgrade react versions in the examples?
Because we don't want a lot of different react versions installed that somehow get hoisted and fuck things up. |
You can basically use |
…ges as patch release ?!
28f77cc
to
a375ec9
Compare
Upgrade based on ardatan/graphql-mesh#3751
I had to downgrade react to react v17