From a25909176c56a38fd09d27a2c46a5ca477e3cfeb Mon Sep 17 00:00:00 2001 From: Blooym <19539165+Blooym@users.noreply.github.com> Date: Sat, 9 Nov 2024 02:46:36 +0000 Subject: [PATCH] build: enable cron in deno.json --- deno.json | 14 +++++++++----- deno.lock | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/deno.json b/deno.json index 00ce108..c6af648 100644 --- a/deno.json +++ b/deno.json @@ -1,14 +1,18 @@ { - "tasks": { - "dev": "deno run --watch main.ts" + "version": "0.1.0", + "unstable": [ + "cron" + ], + "compilerOptions": { + "strict": true }, "imports": { "sqlite3": "https://deno.land/x/sqlite3@0.12.0/mod.ts", - "rss": "jsr:@mikaelporttila/rss@*", - "atproto-api": "npm:@atproto/api", "ptera": "https://deno.land/x/ptera@v1.0.2/mod.ts", "ogp-parser": "https://deno.land/x/ogp_parser@v0.1.2/mod.ts", + "rss": "jsr:@mikaelporttila/rss@1.1.1", + "atproto-api": "npm:@atproto/api", "sharp": "npm:sharp", "node-buffer": "node:buffer" } -} +} \ No newline at end of file diff --git a/deno.lock b/deno.lock index c7d5dfd..e4335af 100644 --- a/deno.lock +++ b/deno.lock @@ -3,7 +3,7 @@ "specifiers": { "jsr:@denosaurs/plug@1": "1.0.6", "jsr:@maxim-mazurok/sax-ts@1.2.13": "1.2.13", - "jsr:@mikaelporttila/rss@*": "1.1.1", + "jsr:@mikaelporttila/rss@1.1.1": "1.1.1", "jsr:@std/assert@0.217": "0.217.0", "jsr:@std/assert@0.221": "0.221.0", "jsr:@std/dotenv@*": "0.225.2", @@ -377,7 +377,7 @@ }, "workspace": { "dependencies": [ - "jsr:@mikaelporttila/rss@*", + "jsr:@mikaelporttila/rss@1.1.1", "npm:@atproto/api@*", "npm:sharp@*" ]