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

chore(deps): support node v18 #526

Merged
merged 10 commits into from
May 8, 2023
Merged

chore(deps): support node v18 #526

merged 10 commits into from
May 8, 2023

Conversation

AykutSarac
Copy link
Member

@AykutSarac AykutSarac commented Apr 12, 2023

It worked fine on my end but I recommend testing locally.
Closes #361

@muratcorlu
Copy link
Contributor

I know why the pipeline fails: #173 We need to find the proper way of accepting PRs from forks.

@muratcorlu muratcorlu changed the title feat(deps): support node v18 chore(deps): support node v18 Apr 13, 2023
@muratcorlu
Copy link
Contributor

As far as I see, storybook v6 doesn’t support node v18 without disabling new openssl provider which is not a great solution.

I think we should consider fixing this together with #522

@AykutSarac
Copy link
Member Author

As far as I see, storybook v6 doesn’t support node v18 without disabling new openssl provider which is not a great solution.

I think we should consider fixing this together with #522

I upgraded to Storybook v7 and fixed couple of existing problems, but there are things to re-organize it seems - I need your help at this point.

@muratcorlu
Copy link
Contributor

Yeah, I think upgrading to v7 will need a bigger re-organization of our storybook files. Let's connect on that.

@AykutSarac
Copy link
Member Author

AykutSarac commented Apr 17, 2023

Yeah, I think upgrading to v7 will need a bigger re-organization of our storybook files. Let's connect on that.

I think it's just the layout, shouldn't be a really big reorganization. I'd recommend reviewing current branch locally. After fixing the layout, I think this branch is ready to go live.

@muratcorlu
Copy link
Contributor

With MDX2, they deprecated writing inline stories in MDX file. But maybe we can keep them for while if it works. I'll have a look at the branch.

@muratcorlu
Copy link
Contributor

I decided to separate tasks by first fixing storybook upgrade (which already works well with both Node 16 and 18) then returning back to node 18 issue. Let's first merge #540 and return back to this. @AykutSarac

PS: Once we got everything running in node 18 on local, we also need to check our pipeline config, because some of our jobs are forced to use node v16 now.

@AykutSarac
Copy link
Member Author

@muratcorlu what do you think about replacing npm with yarn in this PR?

@muratcorlu
Copy link
Contributor

@muratcorlu what do you think about replacing npm with yarn in this PR?

What is the advantage of using yarn for us?

@muratcorlu muratcorlu merged commit 489d27b into Trendyol:next May 8, 2023
@github-actions
Copy link

github-actions bot commented May 8, 2023

🎉 This PR is included in version 2.1.0-beta.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Node 18 support in development environment
2 participants