-
Notifications
You must be signed in to change notification settings - Fork 118
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
Modernising to single package with esm and types #84
Comments
Hey! I like your suggestions and would appreciate your contributions. I can't commit much time to this so please break it down in separate MRs to make it more digestible.
I'm not a TS user so I don't know what's missing or needs improvements in regard with typing. If it's possible to make those improvements separately and released as a new patch version that would be desirable. I also ask you to avoid changing code and tests in the same MR to keep it more controlled in terms of breaking changes. |
sounds good 👍 First PR will be about moving to ESM and classes which should mostly be syntactical changes while hardly touching logical code. Just to be sure this will raise the requirement to node 14+ (current active LTS) we can then align on how to take the next steps 🤗 |
Did you check if Node 12 (still receiving security updates) already supports ESM? If not, or if it's incomplete, then do bump the minimum required to 14. |
Suggested steps
|
Node 12 indeed also supports esm but IIRC it does not support export maps which I would also like to add |
@joaonuno thx for the approval 🤗 how would you like to proceed? suggestion:
|
Thanks for the suggestion. Just created |
hey there 👋 |
Done, sorry for the delay. |
I got pulled in some other tasks 🙈 but I'm back... finished "remove dtslint, jshint" and "update eslint" via #89 I brought those tasks forward as while splitting the files I noted I didn't get any hints about missing imports or functions... so I want that fixed first... as it will make the work easier |
Hi, |
yes - I assume this will come up once we add type checking for js files just finished splitting it into multiple smaller parts in #90 I think these are the bigger remaining open tasks
|
can I ask you to review/merge #90? 🙏 |
here we are - 0 dependencies 💪 see #91 |
yeah, huge changes in what do you think? how do you want to proceed? |
hey there 👋
I was wondering if there would be any interest in "updating" the code to esm?
I'm also very conscious of the number of dependencies and I think we could get that down to 0?
I also noticed some typing issues for children...
anyways - I could do all the work and do esm, 0 dependencies, and improving types... would you like to release it maybe as the next major version?
or would you prefer me to fork?
The text was updated successfully, but these errors were encountered: