diff --git a/deno.json b/deno.json index 7b63412..68b5374 100644 --- a/deno.json +++ b/deno.json @@ -1,19 +1,22 @@ { "imports": { "@catppuccin/tailwindcss": "npm:@catppuccin/tailwindcss@^0.1.6", + "@img/sharp-wasm32": "npm:@img/sharp-wasm32@0.33.5", "lume/": "https://deno.land/x/lume@v2.5.1/", - "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@v0.9.2/" + "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@v0.9.2/", + "sharp": "npm:sharp@0.33.5" }, "tasks": { "lume": "echo \"import 'lume/cli.ts'\" | deno run -A -", "build": "deno task lume", "serve": "deno task lume -s", - "cms": "deno task lume cms" + "cms": "deno task lume cms", + "fmt": "deno task dprint fmt", + "fmt:check": "deno task dprint check", + "dprint": "deno run -A npm:dprint" }, "compilerOptions": { - "types": [ - "lume/types.ts" - ] + "types": ["lume/types.ts"] }, "nodeModulesDir": "auto" } diff --git a/deno.lock b/deno.lock index f04eb82..6245dda 100644 --- a/deno.lock +++ b/deno.lock @@ -37,15 +37,19 @@ "npm:@catppuccin/tailwindcss@*": "0.1.6_tailwindcss@3.4.17__postcss@8.5.1", "npm:@catppuccin/tailwindcss@~0.1.6": "0.1.6_tailwindcss@3.4.17__postcss@8.5.1", "npm:@imagemagick/magick-wasm@0.0.31": "0.0.31", + "npm:@img/sharp-wasm32@0.33.5": "0.33.5", "npm:@js-temporal/polyfill@0.4.4": "0.4.4", "npm:@types/estree@1.0.6": "1.0.6", "npm:autoprefixer@10.4.20": "10.4.20_postcss@8.5.1", + "npm:date-fns@4.1.0": "4.1.0", + "npm:dprint@*": "0.49.0", "npm:estree-walker@3.0.3": "3.0.3", "npm:highlight.js@11.11.1": "11.11.1", "npm:ico-endec@0.1.6": "0.1.6", "npm:lightningcss-wasm@1.29.1": "1.29.1", "npm:markdown-it-attrs@4.3.1": "4.3.1_markdown-it@14.1.0", "npm:markdown-it-deflist@3.0.0": "3.0.0", + "npm:markdown-it-inject-linenumbers@0.3.0": "0.3.0", "npm:markdown-it@14.1.0": "14.1.0", "npm:meriyah@6.0.5": "6.0.5", "npm:pagefind@1.3.0": "1.3.0", @@ -182,6 +186,33 @@ "tailwindcss@3.4.17_postcss@8.5.1" ] }, + "@dprint/darwin-arm64@0.49.0": { + "integrity": "sha512-b8fwjdfYrX5H+QyeWiB27gPc1GMVdd2LorCtsZWC+MDQO6NOgpuxJePqccbQlFUumy2rfmQuLQprnldvQZhceg==" + }, + "@dprint/darwin-x64@0.49.0": { + "integrity": "sha512-cA/DIPlHClkufLufuIfcXHtZdlyP9U05RuJLvvAfHwJAxyeEC/chKYVc5BVz86RxMIq6czFGpJHoFtTjrfM3YA==" + }, + "@dprint/linux-arm64-glibc@0.49.0": { + "integrity": "sha512-UBo3lDJhotT+qza2S48DOPI64MirkJMoFDidh/TJBjokio2TcGd+QUzuB9O7J1+R3AlbwyObcTECjJryCNohHQ==" + }, + "@dprint/linux-arm64-musl@0.49.0": { + "integrity": "sha512-XWAPL6Hp+zqk9bi57450wuy4yz4fvT72L3Zji3X7ChL5KD/apMUzQnZhmTpln2sxwIgJ3nCbzEzlF7jhhp/7KA==" + }, + "@dprint/linux-riscv64-glibc@0.49.0": { + "integrity": "sha512-6GlGcauMeMbCCJ15OmAMkarouCifij9hb12Vz5UUZPevnutVoWRTQBPQLfllmd+9Znsp23fHnmzmykibdwj4Gw==" + }, + "@dprint/linux-x64-glibc@0.49.0": { + "integrity": "sha512-PJUM1G8L2xwF9R1s4/J6kf29S2sJ/sZGy3ah7g5Uj+oYkZq6SlMOrx3xqCXEkKSa0T6Xuc1bUBcJyrjEf36xiw==" + }, + "@dprint/linux-x64-musl@0.49.0": { + "integrity": "sha512-+WIInBwbCXYmWZcYYmnD8HdcZj6q8ewy6mPpHH6SDMtWr6nrxzyIVLFr72XeiBoHnVsQFUhN+wv5Bm5NnpJtRw==" + }, + "@dprint/win32-arm64@0.49.0": { + "integrity": "sha512-AteygrhmT7OXIgE/72REUfTPs/+qU0I1vhU379AYXgcWzOKy6Eeyi8lAt17oF7OmGT4IuyrKEDjpdTxhOWLsQw==" + }, + "@dprint/win32-x64@0.49.0": { + "integrity": "sha512-8bE6P9T/32Gd+zMAkcwvUHzOLEMnbHEMgsgiKypYsdFTskpDz+y1GLJvMaxIFd2DB2tMx9TdBYuBQrJroTsMeQ==" + }, "@emnapi/runtime@1.3.1": { "integrity": "sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==", "dependencies": [ @@ -569,6 +600,9 @@ "css-tree@2.2.1" ] }, + "date-fns@4.1.0": { + "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==" + }, "detect-libc@2.0.3": { "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==" }, @@ -603,6 +637,20 @@ "domhandler" ] }, + "dprint@0.49.0": { + "integrity": "sha512-xtBPZbPKWOOJH5al4h6rgzsGHuXpyK7TFJCQ5/TW8Z4zkcB9dfmPAh14/Yp5YZcB798D0liztXw+Nd7suzdzBQ==", + "dependencies": [ + "@dprint/darwin-arm64", + "@dprint/darwin-x64", + "@dprint/linux-arm64-glibc", + "@dprint/linux-arm64-musl", + "@dprint/linux-riscv64-glibc", + "@dprint/linux-x64-glibc", + "@dprint/linux-x64-musl", + "@dprint/win32-arm64", + "@dprint/win32-x64" + ] + }, "eastasianwidth@0.2.0": { "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" }, @@ -846,6 +894,9 @@ "markdown-it-deflist@3.0.0": { "integrity": "sha512-OxPmQ/keJZwbubjiQWOvKLHwpV2wZ5I3Smc81OjhwbfJsjdRrvD5aLTQxmZzzePeO0kbGzAo3Krk4QLgA8PWLg==" }, + "markdown-it-inject-linenumbers@0.3.0": { + "integrity": "sha512-c9ymcXUunjCJ8vNBNrg3JMT5d94IxAy6KHJ891vuZf/go98opU77X5neiVIi9Rer3v+03WYk5913J1pVmJOV0g==" + }, "markdown-it@14.1.0": { "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", "dependencies": [ @@ -1793,6 +1844,7 @@ "https://deno.land/x/lume@v2.5.1/deps/cliffy.ts": "faff0c2ca187ec9fd1ad8660141f85b9d05b5c36bab25b40eb5038c02590a310", "https://deno.land/x/lume@v2.5.1/deps/colors.ts": "d0fc91d58b85772bff7f77349a114162f09aa98dd8b38e85249605ae603de7c9", "https://deno.land/x/lume@v2.5.1/deps/crypto.ts": "020df39e6ba16ec8f3936b0ceff03a3d64bde8900a976ba3a519b5cc09d337d2", + "https://deno.land/x/lume@v2.5.1/deps/date.ts": "cbd4703210520fafd80daf364d9aa4180b322e88f6d01269f6002cfd10a33109", "https://deno.land/x/lume@v2.5.1/deps/dom.ts": "82cd9bc09d35f39d73cb6d4e8ea79bdbc6e19f68021476161440a88959b3323c", "https://deno.land/x/lume@v2.5.1/deps/front_matter.ts": "279c53db46ac7f557f217ffb7fbd0c307ad6cbd8ff64d91cd8b023a3b50b2c92", "https://deno.land/x/lume@v2.5.1/deps/fs.ts": "3c3f866b438f37d8f00e0c306c2610415587e861927d7550c8d764bba7b295a0", @@ -1833,8 +1885,10 @@ "https://deno.land/x/lume@v2.5.1/mod.ts": "097c8497b7bc917b3558f87611b21fa0507d4ad28b863fd41a9bf7683aed1042", "https://deno.land/x/lume@v2.5.1/plugins/brotli.ts": "eae2e4c959bfa0d1e8d8cd43504269ed08a2b0597b6de229b57ca5c4afb5b4a7", "https://deno.land/x/lume@v2.5.1/plugins/code_highlight.ts": "5f53c1de6ac37424bd65a057a40cbb97a45161f5dd991abd0d906fce8562717a", + "https://deno.land/x/lume@v2.5.1/plugins/date.ts": "d92823f67326e4f5d73d8cda2e357d36c07a30f4824d95b9402ae4202b336e0c", "https://deno.land/x/lume@v2.5.1/plugins/favicon.ts": "5822264902eb1ab06d9b5c56767ac2997f40c31eba66983b083d02af2d7244e5", "https://deno.land/x/lume@v2.5.1/plugins/feed.ts": "dca36538791d0128cba55eaeeebd8c61cea9de61783d338676cf900f9b085902", + "https://deno.land/x/lume@v2.5.1/plugins/google_fonts.ts": "40c74c2180cc1b37d2dcd7dcbd5a570140f0af424dfd27412f4a7c6339ab5d58", "https://deno.land/x/lume@v2.5.1/plugins/icons.ts": "9565658cadfb619629b4fe3eccdde4f0267f469950a2e63b834ffac80c33ab6f", "https://deno.land/x/lume@v2.5.1/plugins/inline.ts": "bda09ad738b7b2940ccc1155446f847c6c14ee3213fa34314f799c132a99b33c", "https://deno.land/x/lume@v2.5.1/plugins/json.ts": "67e5e2e00f8e8640f33c1f97a2bf82a7c97a67a838804637b87b16b72f9042e1", @@ -1912,7 +1966,9 @@ }, "workspace": { "dependencies": [ - "npm:@catppuccin/tailwindcss@~0.1.6" + "npm:@catppuccin/tailwindcss@~0.1.6", + "npm:@img/sharp-wasm32@0.33.5", + "npm:sharp@0.33.5" ] } }