Skip to content

Commit

Permalink
0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Dec 17, 2020
1 parent cd4ba8a commit 4e9a57b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
15 changes: 6 additions & 9 deletions example/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/[email protected]/cli.ts
RUN deno cache --unstable https://deno.land/x/[email protected]/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/[email protected]/cli.ts
RUN deno cache --unstable https://deno.land/x/[email protected]/cli.ts
RUN deno cache --unstable https://deno.land/x/[email protected]/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" ]
2 changes: 1 addition & 1 deletion example/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

0 comments on commit 4e9a57b

Please sign in to comment.