fromdeno / deno2node

Compile your Deno project to run on Node.js.
MIT License
117 stars 3 forks source link

Node deps are published at deno.land/x #6

Closed KnorpelSenf closed 3 years ago

KnorpelSenf commented 3 years ago

deno2node requires the code base for Deno and Node to be in a shared location, effectively interleaving the files. This leads to deps.node.ts being published, as can be observed for https://deno.land/x/grammy_router. It is preferable to only publish those files to https://deno.land/x that actually are part of the Deno source code.

Is there any way around this, maybe by moving the deps.node.ts file outside of the repository's subdirectory that gets published at deno.land?

wojpawlik commented 3 years ago

moving the deps.node.ts file outside of the repository's subdirectory that gets published at deno.land?

That'd make project structure way messier...

From my PoV, this is caused by lack of .denolandxignore.

KnorpelSenf commented 3 years ago

Confer https://github.com/denoland/deno_website2/issues/1748