From e5313a9e680297fe7997fa168bd9179a99a486fa Mon Sep 17 00:00:00 2001 From: DeMineArchiver Date: Sun, 26 May 2024 08:54:05 +0300 Subject: [PATCH] update --- app/astro.config.ts | 1 - app/package.json | 1 + app/src/components/markdown/Markdown.astro | 1 + yarn.lock | 261 ++++++++++++++------- 4 files changed, 182 insertions(+), 82 deletions(-) diff --git a/app/astro.config.ts b/app/astro.config.ts index e576315..35bc0cf 100644 --- a/app/astro.config.ts +++ b/app/astro.config.ts @@ -5,7 +5,6 @@ import { addClassName } from "astro-expressive-code/hast"; import { pluginLineNumbers as expressiveCodeLineNumbers } from "@expressive-code/plugin-line-numbers"; import { pluginCollapsibleSections as expressiveCodeCollapsibleSections } from "@expressive-code/plugin-collapsible-sections"; - import mdx from "@astrojs/mdx"; import solid from "@astrojs/solid-js"; diff --git a/app/package.json b/app/package.json index 43b16e6..946f1ee 100644 --- a/app/package.json +++ b/app/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "@astrojs/check": "^0.7.0", + "@astrojs/cloudflare": "^10.2.6", "@astrojs/mdx": "^3.0.1", "@astrojs/rss": "^4.0.6", "@astrojs/sitemap": "^3.1.5", diff --git a/app/src/components/markdown/Markdown.astro b/app/src/components/markdown/Markdown.astro index 35a6fa5..4dd68ed 100644 --- a/app/src/components/markdown/Markdown.astro +++ b/app/src/components/markdown/Markdown.astro @@ -156,6 +156,7 @@ display: block; overflow: auto; border-collapse: collapse; + width: fit-content; } .markdown tr:nth-child(2n):not(:where(.not-content *)) { background-color: var(--color-surface-container-low); diff --git a/yarn.lock b/yarn.lock index 318b103..71af3c6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -58,6 +58,25 @@ __metadata: languageName: node linkType: hard +"@astrojs/cloudflare@npm:^10.2.6": + version: 10.2.6 + resolution: "@astrojs/cloudflare@npm:10.2.6" + dependencies: + "@astrojs/internal-helpers": "npm:0.3.0" + "@astrojs/underscore-redirects": "npm:^0.3.3" + "@cloudflare/workers-types": "npm:^4.20240320.1" + esbuild: "npm:^0.19.5" + estree-walker: "npm:^3.0.3" + magic-string: "npm:^0.30.10" + miniflare: "npm:^3.20240320.0" + tiny-glob: "npm:^0.2.9" + wrangler: "npm:^3.39.0" + peerDependencies: + astro: ^4.2.0 + checksum: 10c0/d586635bd81f6e35cd24964bf42de36db20016520ec255784afe33f9e639e1b83512cee14d1d4309b13d8300fb41635a7a4fa5a967f6104da000970662c9eedb + languageName: node + linkType: hard + "@astrojs/compiler@npm:^2.0.0, @astrojs/compiler@npm:^2.7.0, @astrojs/compiler@npm:^2.8.0": version: 2.8.0 resolution: "@astrojs/compiler@npm:2.8.0" @@ -65,6 +84,13 @@ __metadata: languageName: node linkType: hard +"@astrojs/internal-helpers@npm:0.3.0": + version: 0.3.0 + resolution: "@astrojs/internal-helpers@npm:0.3.0" + checksum: 10c0/5208199c237feec67ef0f708744484448a3eb57c9950f3ab2fd0020f501985099ebf5db80fb0728817968c17d6da692fb6767d7229b1bc413155224c132dca50 + languageName: node + linkType: hard + "@astrojs/internal-helpers@npm:0.4.0": version: 0.4.0 resolution: "@astrojs/internal-helpers@npm:0.4.0" @@ -217,6 +243,13 @@ __metadata: languageName: node linkType: hard +"@astrojs/underscore-redirects@npm:^0.3.3": + version: 0.3.3 + resolution: "@astrojs/underscore-redirects@npm:0.3.3" + checksum: 10c0/13cd6402c308533c020557bf0adeb10ca809a9846aebee3057fe1cb5626b494046803e338193baad5688f272ca5bf8cf63f71257a7e2c8d37bf2c15e8a036726 + languageName: node + linkType: hard + "@babel/code-frame@npm:^7.23.5, @babel/code-frame@npm:^7.24.2": version: 7.24.2 resolution: "@babel/code-frame@npm:7.24.2" @@ -576,6 +609,13 @@ __metadata: languageName: node linkType: hard +"@cloudflare/workers-types@npm:^4.20240320.1": + version: 4.20240512.0 + resolution: "@cloudflare/workers-types@npm:4.20240512.0" + checksum: 10c0/2121867705db9b5e8e44e8d7baf6c3982e7ce41e9e01ea2d2502b7f00c73859a17b23cfcc79c88c5a55c725229d36c5cc6a5d3399ffd62f8be72c2f48ab7c128 + languageName: node + linkType: hard + "@cspotcode/source-map-support@npm:0.8.1": version: 0.8.1 resolution: "@cspotcode/source-map-support@npm:0.8.1" @@ -614,6 +654,7 @@ __metadata: resolution: "@deminearchiver/website@workspace:app" dependencies: "@astrojs/check": "npm:^0.7.0" + "@astrojs/cloudflare": "npm:^10.2.6" "@astrojs/mdx": "npm:^3.0.1" "@astrojs/rss": "npm:^4.0.6" "@astrojs/sitemap": "npm:^3.1.5" @@ -4692,6 +4733,86 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.19.5, esbuild@npm:esbuild@~0.17.6 || ~0.18.0 || ~0.19.0": + version: 0.19.12 + resolution: "esbuild@npm:0.19.12" + dependencies: + "@esbuild/aix-ppc64": "npm:0.19.12" + "@esbuild/android-arm": "npm:0.19.12" + "@esbuild/android-arm64": "npm:0.19.12" + "@esbuild/android-x64": "npm:0.19.12" + "@esbuild/darwin-arm64": "npm:0.19.12" + "@esbuild/darwin-x64": "npm:0.19.12" + "@esbuild/freebsd-arm64": "npm:0.19.12" + "@esbuild/freebsd-x64": "npm:0.19.12" + "@esbuild/linux-arm": "npm:0.19.12" + "@esbuild/linux-arm64": "npm:0.19.12" + "@esbuild/linux-ia32": "npm:0.19.12" + "@esbuild/linux-loong64": "npm:0.19.12" + "@esbuild/linux-mips64el": "npm:0.19.12" + "@esbuild/linux-ppc64": "npm:0.19.12" + "@esbuild/linux-riscv64": "npm:0.19.12" + "@esbuild/linux-s390x": "npm:0.19.12" + "@esbuild/linux-x64": "npm:0.19.12" + "@esbuild/netbsd-x64": "npm:0.19.12" + "@esbuild/openbsd-x64": "npm:0.19.12" + "@esbuild/sunos-x64": "npm:0.19.12" + "@esbuild/win32-arm64": "npm:0.19.12" + "@esbuild/win32-ia32": "npm:0.19.12" + "@esbuild/win32-x64": "npm:0.19.12" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 10c0/0f2d21ffe24ebead64843f87c3aebe2e703a5ed9feb086a0728b24907fac2eb9923e4a79857d3df9059c915739bd7a870dd667972eae325c67f478b592b8582d + languageName: node + linkType: hard + "esbuild@npm:^0.20.1": version: 0.20.2 resolution: "esbuild@npm:0.20.2" @@ -4852,86 +4973,6 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:esbuild@~0.17.6 || ~0.18.0 || ~0.19.0": - version: 0.19.12 - resolution: "esbuild@npm:0.19.12" - dependencies: - "@esbuild/aix-ppc64": "npm:0.19.12" - "@esbuild/android-arm": "npm:0.19.12" - "@esbuild/android-arm64": "npm:0.19.12" - "@esbuild/android-x64": "npm:0.19.12" - "@esbuild/darwin-arm64": "npm:0.19.12" - "@esbuild/darwin-x64": "npm:0.19.12" - "@esbuild/freebsd-arm64": "npm:0.19.12" - "@esbuild/freebsd-x64": "npm:0.19.12" - "@esbuild/linux-arm": "npm:0.19.12" - "@esbuild/linux-arm64": "npm:0.19.12" - "@esbuild/linux-ia32": "npm:0.19.12" - "@esbuild/linux-loong64": "npm:0.19.12" - "@esbuild/linux-mips64el": "npm:0.19.12" - "@esbuild/linux-ppc64": "npm:0.19.12" - "@esbuild/linux-riscv64": "npm:0.19.12" - "@esbuild/linux-s390x": "npm:0.19.12" - "@esbuild/linux-x64": "npm:0.19.12" - "@esbuild/netbsd-x64": "npm:0.19.12" - "@esbuild/openbsd-x64": "npm:0.19.12" - "@esbuild/sunos-x64": "npm:0.19.12" - "@esbuild/win32-arm64": "npm:0.19.12" - "@esbuild/win32-ia32": "npm:0.19.12" - "@esbuild/win32-x64": "npm:0.19.12" - dependenciesMeta: - "@esbuild/aix-ppc64": - optional: true - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 10c0/0f2d21ffe24ebead64843f87c3aebe2e703a5ed9feb086a0728b24907fac2eb9923e4a79857d3df9059c915739bd7a870dd667972eae325c67f478b592b8582d - languageName: node - linkType: hard - "escalade@npm:^3.1.1, escalade@npm:^3.1.2": version: 3.1.2 resolution: "escalade@npm:3.1.2" @@ -5630,6 +5671,13 @@ __metadata: languageName: node linkType: hard +"globalyzer@npm:0.1.0": + version: 0.1.0 + resolution: "globalyzer@npm:0.1.0" + checksum: 10c0/e16e47a5835cbe8a021423d4c7fcd9f5f85815b4190a7f50c1fdb95fc559d72e4fb30be96f106c66a99413f36d72da0f8323d19d27f60a8feec9d936139ec5a8 + languageName: node + linkType: hard + "globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" @@ -5644,6 +5692,13 @@ __metadata: languageName: node linkType: hard +"globrex@npm:^0.1.2": + version: 0.1.2 + resolution: "globrex@npm:0.1.2" + checksum: 10c0/a54c029520cf58bda1d8884f72bd49b4cd74e977883268d931fd83bcbd1a9eb96d57c7dbd4ad80148fb9247467ebfb9b215630b2ed7563b2a8de02e1ff7f89d1 + languageName: node + linkType: hard + "graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" @@ -7694,7 +7749,7 @@ __metadata: languageName: node linkType: hard -"miniflare@npm:3.20240512.0": +"miniflare@npm:3.20240512.0, miniflare@npm:^3.20240320.0": version: 3.20240512.0 resolution: "miniflare@npm:3.20240512.0" dependencies: @@ -9733,6 +9788,16 @@ __metadata: languageName: node linkType: hard +"tiny-glob@npm:^0.2.9": + version: 0.2.9 + resolution: "tiny-glob@npm:0.2.9" + dependencies: + globalyzer: "npm:0.1.0" + globrex: "npm:^0.1.2" + checksum: 10c0/cbe072f0d213a1395d30aa94845a051d4af18fe8ffb79c8e99ac1787cd25df69083f17791a53997cb65f469f48950cb61426ccc0683cc9df170ac2430e883702 + languageName: node + linkType: hard + "tiny-inflate@npm:^1.0.0, tiny-inflate@npm:^1.0.3": version: 1.0.3 resolution: "tiny-inflate@npm:1.0.3" @@ -10727,6 +10792,40 @@ __metadata: languageName: node linkType: hard +"wrangler@npm:^3.39.0": + version: 3.57.1 + resolution: "wrangler@npm:3.57.1" + dependencies: + "@cloudflare/kv-asset-handler": "npm:0.3.2" + "@esbuild-plugins/node-globals-polyfill": "npm:^0.2.3" + "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" + blake3-wasm: "npm:^2.1.5" + chokidar: "npm:^3.5.3" + esbuild: "npm:0.17.19" + fsevents: "npm:~2.3.2" + miniflare: "npm:3.20240512.0" + nanoid: "npm:^3.3.3" + path-to-regexp: "npm:^6.2.0" + resolve: "npm:^1.22.8" + resolve.exports: "npm:^2.0.2" + selfsigned: "npm:^2.0.1" + source-map: "npm:0.6.1" + xxhash-wasm: "npm:^1.0.1" + peerDependencies: + "@cloudflare/workers-types": ^4.20240512.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@cloudflare/workers-types": + optional: true + bin: + wrangler: bin/wrangler.js + wrangler2: bin/wrangler.js + checksum: 10c0/b9a2e2e780ba7ebc9a7789d9b2aaa82f4057aea54d9ac295b554c309cb27de27cb97a47a53fd9f49f0c78b55ddb98cbd9dd758e71842ea24ff87b5e9297000a7 + languageName: node + linkType: hard + "wrangler@npm:^3.57.0": version: 3.57.0 resolution: "wrangler@npm:3.57.0"