question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

suggestion: Add Deno support

See original GitHub issue

Hi!

After seeing comment in Pull Request in Discord API Docs repo for adding Deno support (https://github.com/discord/discord-api-docs/pull/2401#issuecomment-750946151), I decided to try this out.

From what I know, only import/export style has changed in Deno which makes this incompatible, which does not have anything like index.js/ts file and always requires extension of file to be in import.

I’ve made a script which goes through all files and makes imports/exports compatible with Deno, https://github.com/DjDeveloperr/denoify-dapi-types. There’s even a working GitHub action which deploys on deno branch on every push. You can see live version on my fork of this repo, https://github.com/DjDeveloperr/discord-api-types.

I have tested, those auto-generated types do work with Deno 😄

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vladfrangucommented, Dec 26, 2020

I mean, personally, I’m willing to create a CD that deploys to a deno branch for the time being, fast enough! What do you think, @iCrawl, @kyranet?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set Up Your Environment | Manual - Deno
If you are starting a new project, or you want to add Deno support to an existing code space, it can be added...
Read more >
Deno Support in JetBrains IDEs – Things You Need to Know
To install the Deno plugin, go to Preferences / Settings | Plugins and search for Deno under the Marketplace tab. Once you install...
Read more >
Deno - Nova Extensions - Panic Inc.
Fix issue where formatting on save could not be configured at project level. v0.4.0. Added support for import suggestions! Removed configuration file option...
Read more >
Deno 1.27: Major IDE Improvements
TypeScript added support for inlay hints in version 4.4; this release ... Check how to configure deno.suggest.imports.hosts in other editors ...
Read more >
Configure & use Deno's VSCode extension | The JS runtimes
The Deno completions does ease up the regular coding work. There are import path completions, suggestions for API parameters, etc. Also, there are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found