Merge pull request #21 from niclaz/jsr@std-migration

Dependency migration - jsr@std instead of deno.land
This commit is contained in:
Mykola Siusko 2024-09-11 16:54:57 +02:00 committed by GitHub
commit 290dd3a019
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 12 deletions

View file

@ -12,8 +12,8 @@
slots: 16
visitors: 300
links:
rsvp: https://lu.ma/w3pn-meetup-devcon7
web: https://congress.web3privacy.info/
git: https://github.com/web3privacy/c24bkk
speakers:
- ameen-soleimani
- scott-moore

View file

@ -1,8 +1,8 @@
import { join } from "https://deno.land/std@0.224.0/path/mod.ts";
import { emptyDir } from "https://deno.land/std@0.224.0/fs/empty_dir.ts";
import { join } from "jsr:@std/path@0.224.0";
import { emptyDir } from "jsr:@std/fs@0.224.0";
import { parse, stringify } from "npm:yaml";
import { exists } from "https://deno.land/std@0.224.0/fs/exists.ts";
import { copy } from "https://deno.land/std@0.224.0/fs/copy.ts";
import { exists } from "jsr:@std/fs@0.224.0";
import { copy } from "jsr:@std/fs@0.224.0";
const SRC_DIR = "./src";
const DEST_DIR = "./dist";

View file

@ -1,6 +1,6 @@
import { Engine } from "./engine.js";
import { join } from "https://deno.land/std@0.224.0/path/mod.ts";
import { exists } from "https://deno.land/std@0.224.0/fs/exists.ts";
import { join } from "jsr:@std/path@0.224.0";
import { exists } from "jsr:@std/fs@0.224.0";
const engine = new Engine();
await engine.init();

View file

@ -1,6 +1,6 @@
import { run } from "https://deno.land/x/run_simple@2.3.0/mod.ts";
import { join } from "https://deno.land/std@0.224.0/path/mod.ts";
import { emptyDir } from "https://deno.land/std@0.224.0/fs/empty_dir.ts";
import { join } from "jsr:@std/path@0.224.0";
import { emptyDir } from "jsr:@std/fs@0.224.0";
async function optimizeDir (dir, sizes) {
await emptyDir(join(dir, 'thumbs'))

View file

@ -1,7 +1,7 @@
import "https://deno.land/std@0.224.0/dotenv/load.ts";
import { gql, GraphQLClient } from "https://deno.land/x/graphql_request/mod.ts";
import "jsr:@std/dotenv@0.224.0";
import { gql, GraphQLClient } from "https://deno.land/x/graphql_request@v4.1.0/mod.ts";
import { stringify } from "npm:yaml";
import { join } from "https://deno.land/std@0.224.0/path/mod.ts";
import { join } from "jsr:@std/path@0.224.0";
import fm from "npm:front-matter";
const warningGen = (link) => `# ----