#Migrating large Node project to Deno

10 messages · Page 1 of 1 (latest)

dry marsh
#

Is there any reliable way to migrate a Node project to Deno? Currently working on a large project that is in dependency purgatory and am sweet talking the team into Deno, but they don't want to have to rewrite everything. It has gulp and workbox as well which are essentials. It has a lot of weird Node quirks which I'd like to remove completely if we switch over

little badge
#

hey josh, thanks for sharing. it's hard to give a general answer, since every code base is different. what kind of project is it? web app, API server, microservices, monorepo, etc?

dry marsh
cunning vector
#

If its made up of multiple npm packages, you can try rewriting those in Deno, and use dnt to publish to npm.

dry marsh
young lynx
#

It will definitely be a very painful rewrite

dry marsh
#

I've made some progress using Denoify and rewriting the rest by hand 😂 had to remove a lot of packages to even get it to run properly. Ty for the help, I guess there will be better solutions in the future for migrating

vapid gorge
dry marsh
#

So many bootstrappers and polyfills