deno
deno copied to clipboard
Specify deno version in `deno.json`
It would be great to have the option to specify the Deno version that a project is compatible with. This information may not necessarily need to be considered by the runtime, but it could be valuable to receive a warning when running deno install
.
Similar to the engines
field of package.json
For instance, issues like these https://github.com/denoland/deno/issues/26413 would be easier to address.
// deno.json
{
// ...
"engine": [
"[email protected]" // to raise a warning on v2.0.2 and 1.46.3
]
// ...
}