netzo / fresh-netzo

Full-stack Deno Fresh meta-framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
https://netzo.io
MIT License
51 stars 3 forks source link

[deno] add `--unstable-workspaces` support #60

Open miguelrk opened 11 months ago

miguelrk commented 11 months ago

A barebones workspaces feature has landed in deno.json to allow composing import maps. These could be leveraged in the monorepo setup. See https://github.com/denoland/deno/pull/20410 for details.

// deno.json
{
  "workspaces": [
     "a",
     "b"
  },
  "imports": {
    "express": "npm:express@5"
   }
}
// a/deno.json
{
  "name": "a",
  "version": "1.0.2",
  "imports": {
    "kleur": "npm:kleur"
  }
}
// b/deno.json
{
  "name": "b",
  "version": "0.51.0",
  "imports": {
    "chalk": "npm:chalk"
  }
}

See issue and response from thread

Workspaces are currently not supported, you can use deno.disablePaths settings to ignore certain directories

miguelrk commented 9 months ago

@deer this could be relevant for the following CI/CD and types improvement issues: