Currently Nx doesn't support Deno out of the box. However it has a flexible plugin system that will allow us to create plugins to support Deno packages. We have two ways to do this:
Inference Plugin
An inference plugin will crawl the directory structure and find directories that represent project directories and infer the project settings from files in that directory. Currently Deno packages can contain a config file such as deno.jsonc that is similar to a package.json that we could look for in order to infer projects for Nx. The downside of this is that we're limited to what we can infer from the Deno config.
Project Generator
Instead of inferring projects, you can also place a project.json file in a folder to designate it as an Nx project. To help in creating these and maintaining them Nx provides a set of libraries to create generators and tools that will create and update projects. Instead of inferring projects from a Deno config we could use a generator to create a Deno package or app as well as the config and project file.
@tgadam Since we can leverage Deno's deno.jsonc root project file to identify Deno packages and also use configure it to implement Deno Tasks to do routine stuff like compiling, can we consider this ticket closed?
Currently Nx doesn't support Deno out of the box. However it has a flexible plugin system that will allow us to create plugins to support Deno packages. We have two ways to do this:
Inference Plugin
An inference plugin will crawl the directory structure and find directories that represent project directories and infer the project settings from files in that directory. Currently Deno packages can contain a config file such as
deno.jsonc
that is similar to a package.json that we could look for in order to infer projects for Nx. The downside of this is that we're limited to what we can infer from the Deno config.Project Generator
Instead of inferring projects, you can also place a project.json file in a folder to designate it as an Nx project. To help in creating these and maintaining them Nx provides a set of libraries to create generators and tools that will create and update projects. Instead of inferring projects from a Deno config we could use a generator to create a Deno package or app as well as the config and project file.