Skip to content

Commit

Permalink
pin all the dependencies again
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Nov 4, 2021
1 parent e10f8ee commit 4730621
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
9 changes: 5 additions & 4 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
/// <reference lib="dom.iterable" />
/// <reference lib="dom.asynciterable" />
/// <reference lib="deno.ns" />
/// <reference lib="deno.unstable" />

export { emojify } from "https://deno.land/x/[email protected]/mod.ts";

export { default as marked } from "https://esm.sh/[email protected]";
export { default as marked } from "https://esm.sh/[email protected]?pin=v57";

export * as Prism from "https://esm.sh/[email protected]";
export { default as Prism } from "https://esm.sh/[email protected]?pin=v57";

export { default as sanitizeHtml } from "https://esm.sh/[email protected]";
export { default as sanitizeHtml } from "https://esm.sh/[email protected]?pin=v57";

export { escape as htmlEscape } from "https://esm.sh/[email protected]";
export { escape as htmlEscape } from "https://esm.sh/[email protected]?pin=v57";
12 changes: 6 additions & 6 deletions example/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { listenAndServe } from "https://deno.land/[email protected]/http/server.ts";

import { CSS, render } from "../mod.ts";

import "https://esm.sh/[email protected]/components/prism-jsx?no-check";
import "https://esm.sh/[email protected]/components/prism-typescript?no-check";
import "https://esm.sh/[email protected]/components/prism-tsx?no-check";
import "https://esm.sh/[email protected]/components/prism-bash?no-check";
import "https://esm.sh/[email protected]/components/prism-powershell?no-check";
import "https://esm.sh/[email protected]/components/prism-json?no-check";
import "https://esm.sh/[email protected]/components/prism-jsx?no-check&pin=v57";
import "https://esm.sh/[email protected]/components/prism-typescript?no-check&pin=v57";
import "https://esm.sh/[email protected]/components/prism-tsx?no-check&pin=v57";
import "https://esm.sh/[email protected]/components/prism-bash?no-check&pin=v57";
import "https://esm.sh/[email protected]/components/prism-powershell?no-check&pin=v57";
import "https://esm.sh/[email protected]/components/prism-json?no-check&pin=v57";

const CONTENT_PATH = new URL("./content.md", import.meta.url);

Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ build:
echo "/** @type {string} */\nexport const CSS = \``cat style/dist/main.css`\`;" > style.js

dev:
deno run --allow-net --allow-read --unstable --watch ./example/main.ts
deno run --allow-net --allow-read --unstable --watch --no-check ./example/main.ts

0 comments on commit 4730621

Please sign in to comment.