-
-
Notifications
You must be signed in to change notification settings - Fork 75
feat: upgrade to React 19 + modernize TypeScript config, tooling #130
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
base: main
Are you sure you want to change the base?
feat: upgrade to React 19 + modernize TypeScript config, tooling #130
Conversation
…o use checkout/setup-node v4
|
Thanks for your work on this project! |
|
Hi @JakubAndrysek, thanks for doing this! I'm actually looking for new maintainers for this package. Would you be interested in potentially taking over maintainership? |
|
Hi @nbudin, thanks for reaching out! I am currently working on my bachelor's thesis which is using this package extensively. |
Thank you so much! If you could send me an email at natbudin@gmail.com with your contact information, I can go ahead and give you commit access to this repository as well as rights to publish the package to npm. I really appreciate your willingness to take it on! |
This pull request introduces several improvements to the project, including configuration updates, TypeScript enhancements, and modernisation of the codebase. The changes aim to improve code quality, maintainability, and developer experience.
Configuration Updates:
.prettierignorefile to exclude directories likedist/,node_modules/, and temporary files from Prettier formatting..prettierrcconfiguration file with formatting rules, such as enabling semicolons and setting a print width of 80 characters..vscode/settings.jsonto enable Prettier as the default formatter, format on save, and exclude unnecessary files from search and file explorer.eslint.config.jsfile with configurations for TypeScript, React, and React Hooks, including rules and plugins for improved linting.TypeScript Enhancements:
src/BlocklyWorkspaceProps.tsto add explicit_prefixes to unused parameters and refinedRefObjecttypes for better type safety.useRef, callbacks, and other parts of the code insrc/BlocklyWorkspace.tsxandsrc/dev-index.tsx. [1] [2]Code Modernisation:
ReactDOM.renderwithcreateRootfromreact-dom/clientto align with React 18+ best practices.src/initContent/content.tsxfor better readability and maintainability.Dependency and Script Updates:
package.jsonto include new scripts for cleaning, building, and formatting, as well as updated dependencies for React 19, TypeScript 5, and other tools.Minor Fixes: