diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 250dfec..b0b02f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - name: Install dependencies run: | - deno cache --no-check ./deps/mod.ts ./deps/preact/mod.ts ./deps/preact/hooks.ts ./deps/preact/debug.ts ./deps/preact/ssr.ts ./example/deps.ts + deno cache --no-check ./deps/mod.ts ./deps/preact/mod.ts ./deps/preact/hooks.ts ./deps/preact/debug.ts ./deps/preact/ssr.ts - name: Run Tests run: deno test -A --unstable diff --git a/README.md b/README.md index 753d5aa..83529e7 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The Preact Framework for Deno. Dext.ts is heavily inspired by Next.js. To install, run the following command. This will make the `dext` CLI available in your path. ``` -deno install --allow-read --allow-write --allow-env --allow-net --allow-run --unstable -f -n dext https://deno.land/x/dext@0.9.5/cli.ts +deno install --allow-read --allow-write --allow-env --allow-net --allow-run --unstable -f -n dext https://deno.land/x/dext@0.10.0/cli.ts ``` ## Getting started diff --git a/cli.ts b/cli.ts index 483ea03..d109355 100644 --- a/cli.ts +++ b/cli.ts @@ -16,7 +16,7 @@ import { exportCommand } from "./src/export.ts"; import { serve } from "./src/serve.ts"; import { findPages, printError } from "./src/util.ts"; -const VERSION = "0.9.5"; +const VERSION = "0.10.0"; try { await new Command() diff --git a/example/Dockerfile b/example/Dockerfile index 33c69f3..94c5580 100644 --- a/example/Dockerfile +++ b/example/Dockerfile @@ -1,17 +1,14 @@ -FROM hayd/alpine-deno:1.4.4 as builder +FROM hayd/alpine-deno:1.6.1 as builder WORKDIR /app -# See https://github.com/denoland/deno/issues/7145 -RUN deno cache --no-check --unstable https://deno.land/x/dext@0.9.5/cli.ts +RUN deno cache --unstable https://deno.land/x/dext@0.10.0/cli.ts COPY deps.ts deps.ts COPY tsconfig.json tsconfig.json RUN deno cache -c tsconfig.json deps.ts COPY . . -RUN deno run --allow-read --allow-write --allow-env --allow-net --allow-run --unstable https://deno.land/x/dext@0.9.5/cli.ts build +RUN deno run --allow-read --allow-write --allow-env --allow-net --allow-run --unstable https://deno.land/x/dext@0.10.0/cli.ts build -FROM hayd/alpine-deno:1.4.4 +FROM hayd/alpine-deno:1.6.1 WORKDIR /app -# See https://github.com/denoland/deno/issues/7145 -RUN deno cache --no-check --unstable https://deno.land/x/dext@0.9.5/cli.ts -RUN deno cache --unstable https://deno.land/x/dext@0.9.5/cli.ts +RUN deno cache --unstable https://deno.land/x/dext@0.10.0/cli.ts COPY --from=builder /app/.dext /app/.dext -CMD [ "deno", "run", "--allow-read", "--allow-net", "--allow-env", "--unstable", "https://deno.land/x/dext@0.9.5/cli.ts", "start" ] +CMD [ "deno", "run", "--allow-read", "--allow-net", "--allow-env", "--unstable", "https://deno.land/x/dext@0.10.0/cli.ts", "start" ] diff --git a/example/deps.ts b/example/deps.ts index 9646591..f8d84bf 100644 --- a/example/deps.ts +++ b/example/deps.ts @@ -8,4 +8,4 @@ export type { GetStaticDataContext, GetStaticPaths, PageProps, -} from "https://deno.land/x/dext@0.9.5/mod.ts"; +} from "https://deno.land/x/dext@0.10.0/mod.ts";