News for hackers. Stuff that matters.
Re:From Node to Deno by ralusek on Sunday May 17, 2020 @11:58AM (#23212819)
Thanks for doing this. I have a few questions regarding packages/dependencies, and TypeScript in general.

I tried installing Deno, and I tried including a package, and immediately the TypeScript typechecking in my IDE (VSCode) failed, of course. The IDE doesn't know what to do with a URL as a dependency. Is this something Deno will be able to handle?

The next question is that TypeScript packages I have written in the past use `baseUrl` and `paths` in their own configs to allow for absolute import paths. When I look at third-party Deno repositories, I didn't see any that were building out to JS/declaration files, and were instead just meant to be included as the original TypeScript source code. Won't this break things like absolute import paths and other behaviors of the dependency's own tsconfig file, or does this work fine with Deno/TS?

Re:From Node to Deno by aralroca on Sunday May 17, 2020 @12:32PM (#23213079)
Re:From Node to Deno by brlewis on Sunday May 17, 2020 @12:27PM (#23213041)
https://stackoverflow.com/questions/54794933/how-to-pull-typ...

Looks like there's a plug-in. Can't research much now, but I hope there's something like that for emacs tide.

Re:From Node to Deno by brlewis on Monday May 18, 2020 @11:30AM (#23223605)
I think for emacs/tide I'll just be able to follow the instructions for Atom here: https://github.com/justjavac/typescript-deno-plugin
Re:From Node to Deno by adrianhel on Sunday May 17, 2020 @01:06PM (#23213352)
It's an unstable feature, but you can use import maps with Deno.