fix build problems
continuous-integration/drone/push Build is failing Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-12-05 20:23:47 +01:00
parent 8a262bf8fd
commit dafc87bcdb
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
4 changed files with 49 additions and 8 deletions

View File

@ -7,7 +7,7 @@
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact",
"jsxImportSource": "npm:preact",
"lib": [
"dom",
"dom.iterable",

View File

@ -1,6 +1,23 @@
{
"version": "2",
"remote": {
"https://deno.land/std@0.116.0/bytes/bytes_list.ts": "3bff6a09c72b2e0b1e92e29bd3b135053894196cca07a2bba842901073efe5cb",
"https://deno.land/std@0.116.0/streams/delimiter.ts": "25a35824fffaaf620f7304bf4522eb4fc8b205a9e98120e8956ea113ec6898aa",
"https://deno.land/std@0.148.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74",
"https://deno.land/std@0.148.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49",
"https://deno.land/std@0.148.0/bytes/bytes_list.ts": "aba5e2369e77d426b10af1de0dcc4531acecec27f9b9056f4f7bfbf8ac147ab4",
"https://deno.land/std@0.148.0/flags/mod.ts": "594472736e24b2f2afd3451cf7ccd58a21706ce91006478a544fdfa056c69697",
"https://deno.land/std@0.148.0/fmt/colors.ts": "6f9340b7fb8cc25a993a99e5efc56fe81bb5af284ff412129dd06df06f53c0b4",
"https://deno.land/std@0.148.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3",
"https://deno.land/std@0.148.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09",
"https://deno.land/std@0.148.0/path/_util.ts": "c1e9686d0164e29f7d880b2158971d805b6e0efc3110d0b3e24e4b8af2190d2b",
"https://deno.land/std@0.148.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633",
"https://deno.land/std@0.148.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee",
"https://deno.land/std@0.148.0/path/mod.ts": "4945b430b759b0b3d98f2a278542cbcf95e0ad2bd8eaaed3c67322b306b2b346",
"https://deno.land/std@0.148.0/path/posix.ts": "c1f7afe274290ea0b51da07ee205653b2964bd74909a82deb07b69a6cc383aaa",
"https://deno.land/std@0.148.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9",
"https://deno.land/std@0.148.0/path/win32.ts": "bd7549042e37879c68ff2f8576a25950abbfca1d696d41d82c7bca0b7e6f452c",
"https://deno.land/std@0.148.0/streams/delimiter.ts": "4c568cdbdc71a8563f8e3b032ec0bbd52992fc4a1cf257baa00cf6b4f7034bd4",
"https://deno.land/std@0.157.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74",
"https://deno.land/std@0.157.0/_util/os.ts": "8a33345f74990e627b9dfe2de9b040004b08ea5146c7c9e8fe9a29070d193934",
"https://deno.land/std@0.157.0/async/abortable.ts": "87aa7230be8360c24ad437212311c9e8d4328854baec27b4c7abb26e85515c06",
@ -435,6 +452,7 @@
"https://deno.land/std@0.166.0/version.ts": "a714f1d3e002ee1c01290db7c2cd482d22df0f2b9adc8e5ea91db78a0c21799f",
"https://deno.land/std@0.97.0/_util/assert.ts": "2f868145a042a11d5ad0a3c748dcf580add8a0dbc0e876eaa0026303a5488f58",
"https://deno.land/std@0.97.0/_util/os.ts": "e282950a0eaa96760c0cf11e7463e66babd15ec9157d4c9ed49cc0925686f6a7",
"https://deno.land/std@0.97.0/fmt/colors.ts": "db22b314a2ae9430ae7460ce005e0a7130e23ae1c999157e3bb77cf55800f7e4",
"https://deno.land/std@0.97.0/path/_constants.ts": "1247fee4a79b70c89f23499691ef169b41b6ccf01887a0abd131009c5581b853",
"https://deno.land/std@0.97.0/path/_interface.ts": "1fa73b02aaa24867e481a48492b44f2598cd9dfa513c7b34001437007d3642e4",
"https://deno.land/std@0.97.0/path/_util.ts": "2e06a3b9e79beaf62687196bd4b60a4c391d862cfa007a20fc3a39f778ba073b",
@ -674,6 +692,17 @@
"https://deno.land/x/denoflate@1.2.1/mod.ts": "f5628e44b80b3d80ed525afa2ba0f12408e3849db817d47a883b801f9ce69dd6",
"https://deno.land/x/denoflate@1.2.1/pkg/denoflate.js": "b9f9ad9457d3f12f28b1fb35c555f57443427f74decb403113d67364e4f2caf4",
"https://deno.land/x/denoflate@1.2.1/pkg/denoflate_bg.wasm.js": "d581956245407a2115a3d7e8d85a9641c032940a8e810acbd59ca86afd34d44d",
"https://deno.land/x/deploy@1.4.0/deployctl.ts": "60e3ac3d94fdd05e1dec30cdf02157bcf81cb06002936f30bfd1a2849dddced8",
"https://deno.land/x/deploy@1.4.0/deps.ts": "8da42431092a17e79f791e31d303fe995777391e0fb1d8471e4e0ba1a65ce7ff",
"https://deno.land/x/deploy@1.4.0/src/error.ts": "210ed17495e05df34135150b2f268fbc321e7cea76e7bf62b3d1b82f0dc30fdb",
"https://deno.land/x/deploy@1.4.0/src/subcommands/deploy.ts": "942d88b863db5206ce3dad0134b580e8407a078c1d300cefc7370f5b4d74ad53",
"https://deno.land/x/deploy@1.4.0/src/subcommands/upgrade.ts": "922b611b52a6258eac99b61fb2bb890c61857bca66c4ff3735f4d8744fe5ad0c",
"https://deno.land/x/deploy@1.4.0/src/utils/api.ts": "92e49746761ea4a76622ea4d64f07fa07cdb2f43ce38e057a073f6d6ecdea65c",
"https://deno.land/x/deploy@1.4.0/src/utils/api_types.ts": "621b634b8da78c8206959253e4351a343ccad5f9152e79d12c812dd96a8c6173",
"https://deno.land/x/deploy@1.4.0/src/utils/entrypoint.ts": "1432ed4837d88a52a820dd5946c0466c30a0dd5f2dbe2ed5cc6060a71987c249",
"https://deno.land/x/deploy@1.4.0/src/utils/info.ts": "1d60a2292269c4406f193ab1674203c690b057435de28c5d7a9fafd3d218091c",
"https://deno.land/x/deploy@1.4.0/src/utils/walk.ts": "e69cc3c5b73597724756cfaf7e2d9a4198d440edd9b6e9f3d2f0f153e847213f",
"https://deno.land/x/deploy@1.4.0/src/version.ts": "30c413561f3a96a5bbc762169faea650bbab9bd681ec7a389314a53d7b12a19e",
"https://deno.land/x/esbuild@v0.15.16/mod.d.ts": "cc87f4ff5a9f137d8fc0d886a7f033dd5289506effb7d1d18d8c098ee6abca37",
"https://deno.land/x/esbuild@v0.15.16/mod.js": "ea6e965ce00e183774d9e64ed6910ab8cc6d33717a295ab22a510f0f8ce8ae27",
"https://deno.land/x/events@v1.0.0/mod.ts": "3e2655ffa5e86a6ee01022f964b7fdc6152c007106c47b02958e766c6614dbaf",
@ -938,6 +967,20 @@
"https://deno.land/x/nunjucks@3.2.3/src/tests.js": "5111303935d65fda7687fe0cde8e756aa5dff6fb3574613a81b118ab6b5d7b2c",
"https://deno.land/x/nunjucks@3.2.3/src/transformer.js": "96afbce7c28b944216fab1d2039cf225e867034a0109b62612ee5d0a13c3ac2a",
"https://deno.land/x/nunjucks@3.2.3/src/waterfall.js": "4d8878b3ebcf0a1b4bf9e7575e2f30bc6467cb8ee3717b80754c945cde661b9e",
"https://deno.land/x/semver@v1.4.0/mod.ts": "c3e08f7f0a3e625015ecc9a46cf79a9dc3f081f3c5b3037d3c49c0773e58d265",
"https://deno.land/x/tty@0.1.4/ansi_regex.ts": "1d3b0c7289164f93c9ebafe3bbd05a723568a250cc5c29c0cc922ff55af9a238",
"https://deno.land/x/tty@0.1.4/combining.ts": "a615e9479d8bc901e3a727e5cae83c0aa1d4ca1e75fa040861d9905d16b30ffc",
"https://deno.land/x/tty@0.1.4/is_interactive.ts": "37080d92399827215e60a57d97013aefbdbc038e7a5d2346abd298a7010525e6",
"https://deno.land/x/tty@0.1.4/mod.ts": "65f44c03d7c3daee2b87c6a2a20b0653dec9e3b4ece8183bb0a82233a0e05ff0",
"https://deno.land/x/tty@0.1.4/strip_ansi.ts": "6671d8d44da192a713aac06fb9a0959a3c0b11a161438fdf540856e2208857d9",
"https://deno.land/x/tty@0.1.4/tty_async.ts": "cbcdc8132754084153680dd3fbc73acb58e0b9232aff09897a46edcf6f637967",
"https://deno.land/x/tty@0.1.4/tty_sync.ts": "ad5d986dbd561e5768c49bf48a54580521bdfe95aa41869e8c84d99dbae0ff08",
"https://deno.land/x/tty@0.1.4/util.ts": "fd50eb009b46f01461f3d38decaf4366c4970bbd818edc39b58a574efe67dbb7",
"https://deno.land/x/tty@0.1.4/wcwidth.ts": "ab712adbbe4a07c27cc0ab89b99c3a77d28fe911c0fd1c8cebd867efc1fb4416",
"https://deno.land/x/wait@0.1.12/deps.ts": "5e26f3a59058cd8870ff0168340a1808c13fef289940ecc8c96e46a89a17514d",
"https://deno.land/x/wait@0.1.12/log_symbols.ts": "cdf2d0aa44754d10fddd55999e933886a4d753f2acfc1219f629427ccc776ac7",
"https://deno.land/x/wait@0.1.12/mod.ts": "83211441439cd0f794f4e95fbb6c766929dd6886169100d3bdf2ea1ea5e3adfe",
"https://deno.land/x/wait@0.1.12/spinners.ts": "289346d54f8d6152a5dcd67b67e47784cf9b7a8a8f6f0b6dc041ebc2ef6bb76c",
"https://denopkg.dev/gl/binyamin/deno-sass@v1.55.0/mod.ts": "1ad3ba54c2a5f276c8b2c59b74b172d8512fbdbb6f28f212da4086029538c50c",
"https://denopkg.dev/gl/binyamin/deno-sass@v1.55.0/out/sass.min.js": "2a083796f33d0b7b30323d33ca1070a182579ef134f1da0bd45c6782cbe45eda",
"https://esm.sh/preact@10.11.0/jsx-runtime": "5c123264f19799ab243211132dded45f6d42d594b5c78dd585f947d07bf20eae",
@ -988,6 +1031,7 @@
"markdown-it-deflist@2.1.0": "markdown-it-deflist@2.1.0",
"markdown-it@13.0.0": "markdown-it@13.0.0",
"markdown-it@13.0.1": "markdown-it@13.0.1",
"preact": "preact@10.11.3",
"preact-render-to-string@5.2.6": "preact-render-to-string@5.2.6_preact@10.11.3",
"preact@10.11.3": "preact@10.11.3",
"pug@3.0.2": "pug@3.0.2",

View File

@ -2,9 +2,6 @@
"imports": {
"lume/": "https://deno.land/x/lume@v1.13.2/",
"experimental/": "https://raw.githubusercontent.com/lumeland/experimental-plugins/main/",
"std/": "https://deno.land/std/",
"preact": "https://esm.sh/preact@10.11.0",
"preact/": "https://esm.sh/preact@10.11.0/",
"#types": "./src/_includes/types.ts"
"std/": "https://deno.land/std/"
}
}

View File

@ -1,6 +1,6 @@
import Server from "lume/core/server.ts";
import expires from "lume/middlewares/expires.ts";
import not_found from "lume/middlewares/not_found.ts";
import Server from "https://deno.land/x/lume@v1.13.2/core/server.ts";
import expires from "https://deno.land/x/lume@v1.13.2/middlewares/expires.ts";
import not_found from "https://deno.land/x/lume@v1.13.2/middlewares/not_found.ts";
const port = 8000