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
typescript (i.e. the entire ts namespace) for parsing and printing ts code for removing net permission requirement for downloading + eval (maybe not important after Convert the codebase to modules microsoft/TypeScript#51387) and reducing memory footprint
Additionally, not what I'm looking for right now, but could be useful:
deno doc that outputs to memory
deno bundle that outputs to memory
deno compile that outputs to memory
deno info (would be useful for building a turborepo or nx clone)
format_file seems very straight forward and I can probably submit a pr within a day. Typescript seems very hard, considering that it seems to run in a completely different isolate. The others seems like it would be somewhere in between in due to serializations and writing accompanying type definitions.
This seems like it could be related to #1739, but also sounds different.
The text was updated successfully, but these errors were encountered:
I don't think we'll support these APIs for formatting and linting because we'd rather distribute them as libraries for people to use and for the APIs to evolve with the features rather than being set in stone as runtime APIs.
Has there been any consideration into allowing access to some useful internals from js?
I'm thinking specifically:
tools::fmt::format_file
for formatting at runtime without requiring run permission,tools::lint::lint_file
for linting at runtime without requiring run permission,ts
namespace) for parsing and printing ts code for removing net permission requirement for downloading + eval (maybe not important after Convert the codebase to modules microsoft/TypeScript#51387) and reducing memory footprintAdditionally, not what I'm looking for right now, but could be useful:
deno doc
that outputs to memorydeno bundle
that outputs to memorydeno compile
that outputs to memorydeno info
(would be useful for building a turborepo or nx clone)format_file
seems very straight forward and I can probably submit a pr within a day. Typescript seems very hard, considering that it seems to run in a completely different isolate. The others seems like it would be somewhere in between in due to serializations and writing accompanying type definitions.This seems like it could be related to #1739, but also sounds different.
The text was updated successfully, but these errors were encountered: