From 4482094b98c5f6cc68c20009257e8c91805ed8ca Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:56:43 +0200 Subject: [PATCH 01/11] Migrating to jsr on engine.js --- utils/engine.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/engine.js b/utils/engine.js index 51bad34..78902c8 100644 --- a/utils/engine.js +++ b/utils/engine.js @@ -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/path/mod.ts"; +import { emptyDir } from "jsr:@std/path@0.224.0/fs/empty_dir.ts"; 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/path@0.224.0/fs/exists.ts"; +import { copy } from "jsr:@std/path@0.224.0/fs/copy.ts"; const SRC_DIR = "./src"; const DEST_DIR = "./dist"; From f012cb3c271d4b7b6017d49059973ccfcfbff3ab Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:57:04 +0200 Subject: [PATCH 02/11] migrating to jsr images.js --- utils/images.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/images.js b/utils/images.js index 78e9dbe..a9bef9c 100644 --- a/utils/images.js +++ b/utils/images.js @@ -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/path/mod.ts"; +import { exists } from "jsr:@std/path@0.224.0/fs/exists.ts"; const engine = new Engine(); await engine.init(); From a8a35b1e9eec24bffe6409cda7f1e16c08cd2c3e Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:57:31 +0200 Subject: [PATCH 03/11] migrating to jsr img-opt.js --- utils/img-opt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/img-opt.js b/utils/img-opt.js index 4fb42d3..c523da8 100644 --- a/utils/img-opt.js +++ b/utils/img-opt.js @@ -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 { run } from "jsr:@std/path@0.224.0/mod.ts"; +import { join } from "jsr:@std/path@0.224.0/path/mod.ts"; +import { emptyDir } from "jsr:@std/path@0.224.0/fs/empty_dir.ts"; async function optimizeDir (dir, sizes) { await emptyDir(join(dir, 'thumbs')) From 5fcccb20489a91749df26b526a60e117c137cb5d Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:58:38 +0200 Subject: [PATCH 04/11] migrating to jsr sync.js --- utils/sync.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/sync.js b/utils/sync.js index 0f60488..237e4a8 100644 --- a/utils/sync.js +++ b/utils/sync.js @@ -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/path@0.224.0/dotenv/load.ts"; +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/path/mod.ts"; import fm from "npm:front-matter"; const warningGen = (link) => `# ---- From c65d2defdff0424110888228caabd354179246b3 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:03:56 +0200 Subject: [PATCH 05/11] syntax edit engine.js --- utils/engine.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/engine.js b/utils/engine.js index 78902c8..54e05b3 100644 --- a/utils/engine.js +++ b/utils/engine.js @@ -1,8 +1,8 @@ -import { join } from "jsr:@std/path@0.224.0/path/mod.ts"; -import { emptyDir } from "jsr:@std/path@0.224.0/fs/empty_dir.ts"; +import { join } from "jsr:@std/path@0.224.0"; +import { emptyDir } from "jsr:@std/path@0.224.0"; import { parse, stringify } from "npm:yaml"; -import { exists } from "jsr:@std/path@0.224.0/fs/exists.ts"; -import { copy } from "jsr:@std/path@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"; From 15c48e598058ee639a5f749f08ea9f291cc70244 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:04:20 +0200 Subject: [PATCH 06/11] syntax fixing images.js --- utils/images.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/images.js b/utils/images.js index a9bef9c..7b1cb9a 100644 --- a/utils/images.js +++ b/utils/images.js @@ -1,6 +1,6 @@ import { Engine } from "./engine.js"; -import { join } from "jsr:@std/path@0.224.0/path/mod.ts"; -import { exists } from "jsr:@std/path@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(); From f5b261c6f7ab9a78ce9e098d8de0d545cb679e3a Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:05:43 +0200 Subject: [PATCH 07/11] syntax fixing img-opt.js --- utils/img-opt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/img-opt.js b/utils/img-opt.js index c523da8..a1ebcf9 100644 --- a/utils/img-opt.js +++ b/utils/img-opt.js @@ -1,6 +1,6 @@ -import { run } from "jsr:@std/path@0.224.0/mod.ts"; -import { join } from "jsr:@std/path@0.224.0/path/mod.ts"; -import { emptyDir } from "jsr:@std/path@0.224.0/fs/empty_dir.ts"; +import { run } from "jsr:@std/path@0.224.0"; +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')) From b2ee4fc7d5b3de4bb87bcf2668e2cfc6d1428a17 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:06:14 +0200 Subject: [PATCH 08/11] syntax fixing sync.js --- utils/sync.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/sync.js b/utils/sync.js index 237e4a8..688746e 100644 --- a/utils/sync.js +++ b/utils/sync.js @@ -1,7 +1,7 @@ -import "jsr:@std/path@0.224.0/dotenv/load.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 "jsr:@std/path@0.224.0/path/mod.ts"; +import { join } from "jsr:@std/path@0.224.0"; import fm from "npm:front-matter"; const warningGen = (link) => `# ---- From 93101d906d4a8b186db60a89115d8cd505b37ae6 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:07:36 +0200 Subject: [PATCH 09/11] fixed missing deno.land source to run function https://deno.land/x/run_simple@2.3.0/mod.ts --- utils/img-opt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/img-opt.js b/utils/img-opt.js index a1ebcf9..accbbe7 100644 --- a/utils/img-opt.js +++ b/utils/img-opt.js @@ -1,4 +1,4 @@ -import { run } from "jsr:@std/path@0.224.0"; +import { run } from "https://deno.land/x/run_simple@2.3.0/mod.ts"; import { join } from "jsr:@std/path@0.224.0"; import { emptyDir } from "jsr:@std/fs@0.224.0"; From 47effc5ef8880826d60f95fa7611a85221ac899f Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:12:32 +0200 Subject: [PATCH 10/11] fixing wrong std package --- utils/engine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/engine.js b/utils/engine.js index 54e05b3..2a94e8e 100644 --- a/utils/engine.js +++ b/utils/engine.js @@ -1,5 +1,5 @@ import { join } from "jsr:@std/path@0.224.0"; -import { emptyDir } 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 "jsr:@std/fs@0.224.0"; import { copy } from "jsr:@std/fs@0.224.0"; From b19684230b943704c383f3da9cde4f42e317d30b Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:21:28 +0200 Subject: [PATCH 11/11] Adding rscp link for c24bkk --- src/events/index.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/index.yaml b/src/events/index.yaml index 9c5a970..ffac2e0 100644 --- a/src/events/index.yaml +++ b/src/events/index.yaml @@ -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