cucumber / react-components

React components for Cucumber
MIT License
34 stars 10 forks source link

upgrade to react 18, storybook -> ladle #279

Closed davidjgoss closed 1 year ago

davidjgoss commented 2 years ago

🤔 What's changed?

⚡️ What's your motivation?

We want to keep current with React's major version.

🏷️ What kind of change is this?

♻️ Anything particular you want feedback on?

I've had to temporarily disable the build of the Ladle app from the test workflow because the production build (it's Vite and Rollup under the hood) errors on elasticlunr, which has some invalid code that doesn't pass strict mode, and is also now unmaintained. The original lunr.js has both the same issues too. I'm exploring switching to https://github.com/LyraSearch/lyra and will raise a follow-up PR with either that or a hack to work around the elasticlunr issue.

📋 Checklist:


This text was originally generated from a template, then edited by hand. You can modify the template here.

mpkorstanje commented 1 year ago

I've had to temporarily disable the build of the Ladle app from the test workflow because the production build

Does this imply that after merging the project is not releasable?

davidjgoss commented 1 year ago

Does this imply that after merging the project is not releasable?

No - sorry, I wasn't very clear there. It stops the production bundle working on the Ladle (nee Storybook) project, but we weren't doing anything with that yet anyway. The npm package we release and use in the HTML formatter is unaffected.

mpkorstanje commented 1 year ago

I believe Matt and Aslak are on holidays, more or less, this week.

So you may want to merge now before Renovate gets you again.