benrbray / remark-cite

Adds support for pandoc-style citations to the Markdown syntax for the remark and micromark parsers.
MIT License
20 stars 5 forks source link

Dependency upgrade #3

Closed buehlefs closed 3 months ago

buehlefs commented 2 years ago

I wanted to use this plugin together with milkdown but noticed that some type definitions in the dependencies seem to have changed. So I have tried to update these. Since all dependencies are a bit out of date I just updated everything to the newest version and tried to fix every typescript and build error. I could not get the mocha tests to execute so I don't know if they still work. I've also tried to specify peer dependencies so that npm can throw errors if they are not installed (or a wrong version is installed), but I am not sure if I got them correct.

Since I am not familiar with micromark it is probably best to just take this PR as a reference for what needs to be changed to be compatible with the newest versions. (That is also the reason why this PR is marked as draft.)

benrbray commented 3 months ago

Thanks for your effort, I will close this issue now as I've opened #10 which will upgrade dependencies to their latest versions in the next release.