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 slots: 16
visitors: 300 visitors: 300
links: links:
rsvp: https://lu.ma/w3pn-meetup-devcon7
web: https://congress.web3privacy.info/ web: https://congress.web3privacy.info/
git: https://github.com/web3privacy/c24bkk
speakers: speakers:
- ameen-soleimani - ameen-soleimani
- scott-moore - scott-moore

View File

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

View File

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

View File

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

View File

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