diff options
| author | Xe Iaso <me@christine.website> | 2023-10-22 12:07:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-22 12:07:10 -0400 |
| commit | 3cff11317d33da8b649c64aec3cb04df30616a26 (patch) | |
| tree | 60124b9cb3b4c63009a96e27e4f2bd49b184e707 /lume | |
| parent | b888fd5986ab1867515b54d769b705642d2f9e44 (diff) | |
| download | xesite-3cff11317d33da8b649c64aec3cb04df30616a26.tar.xz xesite-3cff11317d33da8b649c64aec3cb04df30616a26.zip | |
Move serving logic to a .zip file, move static assets to S3 (#734)
* lume/src/static: remove these files because we don't need them
Also rename manifest.json to site.webmanifest because apparently that's
the best practice.
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume: fix deno lock
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume/src/_components: small fixes
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume: move this big file to S3
Signed-off-by: Xe Iaso <me@xeiaso.net>
* lume: move these static files to XeDN
Signed-off-by: Xe Iaso <me@xeiaso.net>
* internal/lume: store and serve the website from a .zip file
This will let the website continue to serve data while a rebuild is
happening. This also lets me download the website corpus for local
debugging should the worst happen.
Signed-off-by: Xe Iaso <me@xeiaso.net>
---------
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume')
145 files changed, 256 insertions, 784 deletions
diff --git a/lume/deno.lock b/lume/deno.lock index 4f3d186..99b71e3 100644 --- a/lume/deno.lock +++ b/lume/deno.lock @@ -2,8 +2,6 @@ "version": "3", "packages": { "specifiers": { - "npm:@headlessui/react": "npm:@headlessui/react@1.7.17_react@18.2.0_react-dom@18.2.0__react@18.2.0", - "npm:@heroicons/react": "npm:@heroicons/react@2.0.18_react@18.2.0", "npm:@mdx-js/mdx@2.3.0": "npm:@mdx-js/mdx@2.3.0", "npm:@tailwindcss/forms": "npm:@tailwindcss/forms@0.5.6_tailwindcss@3.3.3__postcss@8.4.29", "npm:@tailwindcss/typography": "npm:@tailwindcss/typography@0.5.10_tailwindcss@3.3.3__postcss@8.4.29", @@ -20,13 +18,11 @@ "npm:postcss-import@15.1.0": "npm:postcss-import@15.1.0_postcss@8.4.29", "npm:postcss-nesting@12.0.1": "npm:postcss-nesting@12.0.1_postcss@8.4.29_postcss-selector-parser@6.0.13", "npm:postcss@8.4.29": "npm:postcss@8.4.29", - "npm:preact": "npm:preact@10.17.1", + "npm:preact": "npm:preact@10.18.1", "npm:preact-render-to-string@6.2.1": "npm:preact-render-to-string@6.2.1_preact@10.17.1", "npm:preact@10.17.1": "npm:preact@10.17.1", - "npm:react": "npm:react@18.2.0", "npm:react-dom@18.2.0": "npm:react-dom@18.2.0_react@18.2.0", "npm:react@18.2.0": "npm:react@18.2.0", - "npm:rehype-mermaidjs": "npm:rehype-mermaidjs@2.0.0", "npm:rehype-prism-plus": "npm:rehype-prism-plus@1.6.3", "npm:rehype-raw@7.0.0": "npm:rehype-raw@7.0.0", "npm:rehype-sanitize@6.0.0": "npm:rehype-sanitize@6.0.0", @@ -42,46 +38,24 @@ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", "dependencies": {} }, - "@babel/runtime@7.23.1": { - "integrity": "sha512-hC2v6p8ZSI/W0HUzh3V8C5g+NwSKzKPtJwSpTjwl0o297GP9+ZLQSkdvHz46CM3LqyoXxq+5G9komY+eSqSO0g==", + "@babel/runtime@7.23.2": { + "integrity": "sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==", "dependencies": { "regenerator-runtime": "regenerator-runtime@0.14.0" } }, - "@braintree/sanitize-url@6.0.4": { - "integrity": "sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==", - "dependencies": {} - }, "@csstools/selector-specificity@3.0.0_postcss-selector-parser@6.0.13": { "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", "dependencies": { "postcss-selector-parser": "postcss-selector-parser@6.0.13" } }, - "@fortawesome/fontawesome-free@6.4.2": { - "integrity": "sha512-m5cPn3e2+FDCOgi1mz0RexTUvvQibBebOUlUlW0+YrMjDTPkiJ6VTKukA1GRsvRw+12KyJndNjj0O4AgTxm2Pg==", - "dependencies": {} - }, - "@headlessui/react@1.7.17_react@18.2.0_react-dom@18.2.0__react@18.2.0": { - "integrity": "sha512-4am+tzvkqDSSgiwrsEpGWqgGo9dz8qU5M3znCkC4PgkpY4HcCZzEDEvozltGGGHIKl9jbXbZPSH5TWn4sWJdow==", - "dependencies": { - "client-only": "client-only@0.0.1", - "react": "react@18.2.0", - "react-dom": "react-dom@18.2.0_react@18.2.0" - } - }, - "@heroicons/react@2.0.18_react@18.2.0": { - "integrity": "sha512-7TyMjRrZZMBPa+/5Y8lN0iyvUU/01PeMGX2+RE7cQWpEUIcb4QotzUObFkJDejj/HUH4qjP/eQ0gzzKs2f+6Yw==", - "dependencies": { - "react": "react@18.2.0" - } - }, "@jridgewell/gen-mapping@0.3.3": { "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dependencies": { "@jridgewell/set-array": "@jridgewell/set-array@1.1.2", "@jridgewell/sourcemap-codec": "@jridgewell/sourcemap-codec@1.4.15", - "@jridgewell/trace-mapping": "@jridgewell/trace-mapping@0.3.19" + "@jridgewell/trace-mapping": "@jridgewell/trace-mapping@0.3.20" } }, "@jridgewell/resolve-uri@3.1.1": { @@ -96,8 +70,8 @@ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", "dependencies": {} }, - "@jridgewell/trace-mapping@0.3.19": { - "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", + "@jridgewell/trace-mapping@0.3.20": { + "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", "dependencies": { "@jridgewell/resolve-uri": "@jridgewell/resolve-uri@3.1.1", "@jridgewell/sourcemap-codec": "@jridgewell/sourcemap-codec@1.4.15" @@ -106,8 +80,8 @@ "@mdx-js/mdx@2.3.0": { "integrity": "sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==", "dependencies": { - "@types/estree-jsx": "@types/estree-jsx@1.0.1", - "@types/mdx": "@types/mdx@2.0.8", + "@types/estree-jsx": "@types/estree-jsx@1.0.2", + "@types/mdx": "@types/mdx@2.0.9", "estree-util-build-jsx": "estree-util-build-jsx@2.2.2", "estree-util-is-identifier-name": "estree-util-is-identifier-name@2.1.0", "estree-util-to-js": "estree-util-to-js@1.2.0", @@ -163,81 +137,67 @@ "@types/acorn@4.0.6": { "integrity": "sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==", "dependencies": { - "@types/estree": "@types/estree@1.0.2" - } - }, - "@types/d3-scale-chromatic@3.0.0": { - "integrity": "sha512-dsoJGEIShosKVRBZB0Vo3C8nqSDqVGujJU6tPznsBJxNJNwMF8utmS83nvCBKQYPpjCzaaHcrf66iTRpZosLPw==", - "dependencies": {} - }, - "@types/d3-scale@4.0.5": { - "integrity": "sha512-w/C++3W394MHzcLKO2kdsIn5KKNTOqeQVzyPSGPLzQbkPw/jpeaGtSRlakcKevGgGsjJxGsbqS0fPrVFDbHrDA==", - "dependencies": { - "@types/d3-time": "@types/d3-time@3.0.1" + "@types/estree": "@types/estree@1.0.3" } }, - "@types/d3-time@3.0.1": { - "integrity": "sha512-5j/AnefKAhCw4HpITmLDTPlf4vhi8o/dES+zbegfPb7LaGfNyqkLxBR6E+4yvTAgnJLmhe80EXFMzUs38fw4oA==", - "dependencies": {} - }, - "@types/debug@4.1.9": { - "integrity": "sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow==", + "@types/debug@4.1.10": { + "integrity": "sha512-tOSCru6s732pofZ+sMv9o4o3Zc+Sa8l3bxd/tweTQudFn06vAzb13ZX46Zi6m6EJ+RUbRTHvgQJ1gBtSgkaUYA==", "dependencies": { - "@types/ms": "@types/ms@0.7.32" + "@types/ms": "@types/ms@0.7.33" } }, - "@types/estree-jsx@1.0.1": { - "integrity": "sha512-sHyakZlAezNFxmYRo0fopDZW+XvK6ipeZkkp5EAOLjdPfZp8VjZBJ67vSRI99RSCAoqXVmXOHS4fnWoxpuGQtQ==", + "@types/estree-jsx@1.0.2": { + "integrity": "sha512-GNBWlGBMjiiiL5TSkvPtOteuXsiVitw5MYGY1UYlrAq0SKyczsls6sCD7TZ8fsjRsvCVxml7EbyjJezPb3DrSA==", "dependencies": { - "@types/estree": "@types/estree@1.0.2" + "@types/estree": "@types/estree@1.0.3" } }, - "@types/estree@1.0.2": { - "integrity": "sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==", + "@types/estree@1.0.3": { + "integrity": "sha512-CS2rOaoQ/eAgAfcTfq6amKG7bsN+EMcgGY4FAFQdvSj2y1ixvOZTUA9mOtCai7E1SYu283XNw7urKK30nP3wkQ==", "dependencies": {} }, - "@types/hast@2.3.6": { - "integrity": "sha512-47rJE80oqPmFdVDCD7IheXBrVdwuBgsYwoczFvKmwfo2Mzsnt+V9OONsYauFmICb6lQPpCuXYJWejBNs4pDJRg==", + "@types/hast@2.3.7": { + "integrity": "sha512-EVLigw5zInURhzfXUM65eixfadfsHKomGKUakToXo84t8gGIJuTcD2xooM2See7GyQ7DRtYjhCHnSUQez8JaLw==", "dependencies": { - "@types/unist": "@types/unist@2.0.8" + "@types/unist": "@types/unist@2.0.9" } }, - "@types/hast@3.0.1": { - "integrity": "sha512-hs/iBJx2aydugBQx5ETV3ZgeSS0oIreQrFJ4bjBl0XvM4wAmDjFEALY7p0rTSLt2eL+ibjRAAs9dTPiCLtmbqQ==", + "@types/hast@3.0.2": { + "integrity": "sha512-B5hZHgHsXvfCoO3xgNJvBnX7N8p86TqQeGKXcokW4XXi+qY4vxxPSFYofytvVmpFxzPv7oxDQzjg5Un5m2/xiw==", "dependencies": { - "@types/unist": "@types/unist@3.0.0" + "@types/unist": "@types/unist@3.0.1" } }, - "@types/mdast@3.0.13": { - "integrity": "sha512-HjiGiWedR0DVFkeNljpa6Lv4/IZU1+30VY5d747K7lBudFc3R0Ibr6yJ9lN3BE28VnZyDfLF/VB1Ql1ZIbKrmg==", + "@types/mdast@3.0.14": { + "integrity": "sha512-gVZ04PGgw1qLZKsnWnyFv4ORnaJ+DXLdHTVSFbU8yX6xZ34Bjg4Q32yPkmveUP1yItXReKfB0Aknlh/3zxTKAw==", "dependencies": { - "@types/unist": "@types/unist@2.0.8" + "@types/unist": "@types/unist@2.0.9" } }, - "@types/mdast@4.0.1": { - "integrity": "sha512-IlKct1rUTJ1T81d8OHzyop15kGv9A/ff7Gz7IJgrk6jDb4Udw77pCJ+vq8oxZf4Ghpm+616+i1s/LNg/Vh7d+g==", + "@types/mdast@4.0.2": { + "integrity": "sha512-tYR83EignvhYO9iU3kDg8V28M0jqyh9zzp5GV+EO+AYnyUl3P5ltkTeJuTiFZQFz670FSb3EwT/6LQdX+UdKfw==", "dependencies": { - "@types/unist": "@types/unist@3.0.0" + "@types/unist": "@types/unist@3.0.1" } }, - "@types/mdx@2.0.8": { - "integrity": "sha512-r7/zWe+f9x+zjXqGxf821qz++ld8tp6Z4jUS6qmPZUXH6tfh4riXOhAqb12tWGWAevCFtMt1goLWkQMqIJKpsA==", + "@types/mdx@2.0.9": { + "integrity": "sha512-OKMdj17y8Cs+k1r0XFyp59ChSOwf8ODGtMQ4mnpfz5eFDk1aO41yN3pSKGuvVzmWAkFp37seubY1tzOVpwfWwg==", "dependencies": {} }, - "@types/ms@0.7.32": { - "integrity": "sha512-xPSg0jm4mqgEkNhowKgZFBNtwoEwF6gJ4Dhww+GFpm3IgtNseHQZ5IqdNwnquZEoANxyDAKDRAdVo4Z72VvD/g==", + "@types/ms@0.7.33": { + "integrity": "sha512-AuHIyzR5Hea7ij0P9q7vx7xu4z0C28ucwjAZC0ja7JhINyCnOw8/DnvAPQQ9TfOlCtZAmCERKQX9+o1mgQhuOQ==", "dependencies": {} }, "@types/nunjucks@3.2.3": { "integrity": "sha512-+lFIql0nbWSftazQ27cOYvSLC92SsfjxrU0I/Iys7hoxrBkN8OF+wmxxzx3bLFyFrLgDZ9lUckGcwldE4SfDQA==", |
