Deno 2.0 - Mono-repos and workspaces
This article will cover configuring a mono-repo, workspaces, vite and a library package all in Deno 2.0 Project structure: `deno task dev` will spin up a sample vite website, where we can see the library being consumed. We'll do this in a few steps. First we'll create the base Deno mono-repo, then we'll create the simple-login library. And lastly a vite website and hook it all together. Firstly, ensure you have Deno runtime installed on your machine. I'll do a separate article on configuring this within Docker containers. Check: https://docs.deno.com/runtime/ Then Create a new folder called `deno-monorepo` Create a file called `deno.json` inside it. Add the following contents into it: { "workspace": ["./simple-login", "./website"], "imports": { "@std/path": "jsr:@std/path@^1.0.7" }, "tasks": { "dev": "deno run -A npm:vite website" } } https://github.com/willia