fix: raise minimum deno version to 1.31.0 (#1333)

Fresh uses `Deno.Command` which is not available in older versions of Deno.
This commit is contained in:
EBIBO
2023-06-21 07:27:18 +00:00
committed by GitHub
parent 1e1257f92f
commit 9b98e13e29
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ The [documentation](https://fresh.deno.dev/docs/) is available on
## 🚀 Getting started
Install [Deno CLI](https://deno.land/) version 1.25.0 or higher.
Install [Deno CLI](https://deno.land/) version 1.31.0 or higher.
You can scaffold a new project by running the Fresh init script. To scaffold a
project run the following:
+1 -1
View File
@@ -10,7 +10,7 @@ framework. You'll learn how to create a new project, run it locally, edit and
create pages, fetch data, handle user interactions, and how to then deploy the
project to [Deno Deploy][deno-deploy].
The documentation assumes you have Deno 1.25.0 or later installed.
The documentation assumes you have Deno 1.31.0 or later installed.
To install Deno, follow the
[installation instructions in the Deno manual][manual-installation].
+1 -1
View File
@@ -1,7 +1,7 @@
import { dirname, fromFileUrl, gte, join, toFileUrl, walk } from "./deps.ts";
import { error } from "./error.ts";
const MIN_DENO_VERSION = "1.25.0";
const MIN_DENO_VERSION = "1.31.0";
export function ensureMinDenoVersion() {
// Check that the minimum supported Deno version is being used.
+1 -1
View File
@@ -198,7 +198,7 @@ function GettingStarted(props: { origin: string }) {
<a href="https://deno.land" class="text-blue-600 hover:underline">
Deno CLI
</a>{" "}
version 1.25.0 or higher is required.{" "}
version 1.31.0 or higher is required.{" "}
<a
href="https://deno.land/manual/getting_started/installation"
class="text-blue-600 hover:underline"