You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remark-plugin-npm2yarn (migrate): not easy to migrate, Remark plugin is hard to type To anyone who ever thinks about this: be prepared. It's just 80 lines, but my three attempts to migrate it all ended up in a pathetic sea of red squiggly lines. Remark plugins are born to be JS, and just let it be. Can't believe I did it for mdx-loader—that's already remarkable enough Thanks @duanwilliam! refactor(remark-plugin-npm2yarn): migrate package to TS #5931
Migration should be done after #5612 where we can make the theme transpiled more easily, or after #5816 where we can probably make the two transpilation targets more similar.
💥 Proposal
Our TypeScript coverage now has reached 80%+. Recent attempts:
And chores left:
missingrefactor(core): convert theme-fallback to TS #6511theme-fallback
missing theme— Thanks @armano2! refactor(plugin-ideal-image): migrate package to TS #5940not migrated at all— Thanks @armano2! refactor(plugin-pwa): migrate package to TS #5941To anyone who ever thinks about this: be prepared. It's just 80 lines, but my three attempts to migrate it all ended up in a pathetic sea of red squiggly lines. Remark plugins are born to be JS, and just let it be. Can't believe I did it for mdx-loader—that's already remarkable enoughThanks @duanwilliam! refactor(remark-plugin-npm2yarn): migrate package to TS #5931not migrated at all— Thanks @armano2! refactor(theme-search-algolia): migrate package to TS #5935Migration should be done after #5612 where we can make the theme transpiled more easily, or after #5816 where we can probably make the two transpilation targets more similar.
Have you read the Contributing Guidelines on issues?
Yes
The text was updated successfully, but these errors were encountered: