fix(core): don't rely on strict esbuild version (#3073)

This commit is contained in:
Marvin Hagemeister
2025-07-02 12:38:42 +02:00
committed by GitHub
parent 67fd8ccd36
commit b00175fafd
5 changed files with 44 additions and 88 deletions
+5 -2
View File
@@ -47,14 +47,14 @@
"@std/collections": "jsr:@std/collections@^1.0.11",
"@std/http": "jsr:@std/http@^1.0.15",
"@std/uuid": "jsr:@std/uuid@^1.0.7",
"esbuild": "npm:esbuild@^0.25.5",
"esbuild-wasm": "npm:esbuild-wasm@^0.25.5",
"fresh": "jsr:@fresh/core@^2.0.0-alpha.29",
"preact": "npm:preact@^10.26.9",
"preact-render-to-string": "npm:preact-render-to-string@^6.5.11",
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
"@preact/signals": "npm:@preact/signals@^2.2.1",
"esbuild": "npm:esbuild@0.25.4",
"esbuild-wasm": "npm:esbuild-wasm@0.25.4",
"@std/crypto": "jsr:@std/crypto@1",
"@std/datetime": "jsr:@std/datetime@^0.225.2",
"@std/encoding": "jsr:@std/encoding@1",
@@ -104,5 +104,8 @@
"exclude": ["no-window"],
"include": ["no-console"]
}
},
"fmt": {
"exclude": ["./www/static/**/*.svg"]
}
}
Generated
+8 -39
View File
@@ -78,9 +78,9 @@
"npm:autoprefixer@10.4.17": "10.4.17_postcss@8.4.35",
"npm:cssnano@6.0.3": "6.0.3_postcss@8.4.35",
"npm:esbuild-wasm@0.23.1": "0.23.1",
"npm:esbuild-wasm@0.25.4": "0.25.4",
"npm:esbuild-wasm@~0.25.5": "0.25.5",
"npm:esbuild@0.23.1": "0.23.1",
"npm:esbuild@0.25.4": "0.25.4",
"npm:esbuild@~0.25.4": "0.25.5",
"npm:esbuild@~0.25.5": "0.25.5",
"npm:github-slugger@2": "2.0.0",
"npm:linkedom@~0.18.10": "0.18.11",
@@ -193,7 +193,8 @@
"dependencies": [
"npm:@preact/signals@^1.2.3",
"npm:preact@^10.22.0",
"npm:preact@^10.26.6"
"npm:preact@^10.26.6",
"npm:preact@^10.26.9"
]
},
"@std/assert@0.221.0": {
@@ -1104,8 +1105,8 @@
"integrity": "sha512-L3vn7ctvBrtScRfoB0zG1eOCiV4xYvpLYWfe6PDZuV+iDFDm4Mt3xeLIDllG8cDHQ8clUouK3XekulE+cxgkgw==",
"bin": true
},
"esbuild-wasm@0.25.4": {
"integrity": "sha512-2HlCS6rNvKWaSKhWaG/YIyRsTsL3gUrMP2ToZMBIjw9LM7vVcIs+rz8kE2vExvTJgvM8OKPqNpcHawY/BQc/qQ==",
"esbuild-wasm@0.25.5": {
"integrity": "sha512-V/rbdOws2gDcnCAECfPrajhuafI0WY4WumUgc8ZHwOLnvmM0doLQ+dqvVFI2qkVxQsvo6880aC9IjpyDqcwwTw==",
"bin": true
},
"esbuild@0.23.1": {
@@ -1139,38 +1140,6 @@
"scripts": true,
"bin": true
},
"esbuild@0.25.4": {
"integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
"optionalDependencies": [
"@esbuild/aix-ppc64@0.25.4",
"@esbuild/android-arm@0.25.4",
"@esbuild/android-arm64@0.25.4",
"@esbuild/android-x64@0.25.4",
"@esbuild/darwin-arm64@0.25.4",
"@esbuild/darwin-x64@0.25.4",
"@esbuild/freebsd-arm64@0.25.4",
"@esbuild/freebsd-x64@0.25.4",
"@esbuild/linux-arm@0.25.4",
"@esbuild/linux-arm64@0.25.4",
"@esbuild/linux-ia32@0.25.4",
"@esbuild/linux-loong64@0.25.4",
"@esbuild/linux-mips64el@0.25.4",
"@esbuild/linux-ppc64@0.25.4",
"@esbuild/linux-riscv64@0.25.4",
"@esbuild/linux-s390x@0.25.4",
"@esbuild/linux-x64@0.25.4",
"@esbuild/netbsd-arm64@0.25.4",
"@esbuild/netbsd-x64@0.25.4",
"@esbuild/openbsd-arm64@0.25.4",
"@esbuild/openbsd-x64@0.25.4",
"@esbuild/sunos-x64@0.25.4",
"@esbuild/win32-arm64@0.25.4",
"@esbuild/win32-ia32@0.25.4",
"@esbuild/win32-x64@0.25.4"
],
"scripts": true,
"bin": true
},
"esbuild@0.25.5": {
"integrity": "sha512-P8OtKZRv/5J5hhz0cUAdu/cLuPIKXpQl1R9pZtvmHWQvrAUVd0UNIPT4IB4W3rNOqVO0rlqHmCIbSwxh/c9yUQ==",
"optionalDependencies": [
@@ -2038,8 +2007,8 @@
"npm:@preact/signals@^2.2.1",
"npm:autoprefixer@10.4.17",
"npm:cssnano@6.0.3",
"npm:esbuild-wasm@0.25.4",
"npm:esbuild@0.25.4",
"npm:esbuild-wasm@~0.25.5",
"npm:esbuild@~0.25.5",
"npm:github-slugger@2",
"npm:linkedom@~0.18.10",
"npm:marked-mangle@^1.1.9",
+27 -27
View File
@@ -203,14 +203,8 @@ button, [role="button"] {
}
code {
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
"Liberation Mono",
"Courier New",
monospace;
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 1em;
}
img,
@@ -227,19 +221,9 @@ html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
font-family:
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
"Helvetica Neue",
Arial,
"Noto Sans",
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji";
}
.transition-colors {
@@ -345,13 +329,26 @@ ${GRADIENT_CSS}`;
const cssStyles = useTailwind ? TAILWIND_CSS : NO_TAILWIND_STYLES;
await writeFile("static/styles.css", cssStyles);
// deno-fmt-ignore
const STATIC_LOGO =
`<svg width="40" height="40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M34.092 8.845C38.929 20.652 34.092 27 30 30.5c1 3.5-2.986 4.222-4.5 2.5-4.457 1.537-13.512 1.487-20-5C2 24.5 4.73 16.714 14 11.5c8-4.5 16-7 20.092-2.655Z" fill="#FFDB1E"/>
<path d="M14 11.5c6.848-4.497 15.025-6.38 18.368-3.47C37.5 12.5 21.5 22.612 15.5 25c-6.5 2.587-3 8.5-6.5 8.5-3 0-2.5-4-5.183-7.75C2.232 23.535 6.16 16.648 14 11.5Z" fill="#fff" stroke="#FFDB1E"/>
<path d="M28.535 8.772c4.645 1.25-.365 5.695-4.303 8.536-3.732 2.692-6.606 4.21-7.923 4.83-.366.173-1.617-2.252-1.617-1 0 .417-.7 2.238-.934 2.326-1.365.512-4.223 1.29-5.835 1.29-3.491 0-1.923-4.754 3.014-9.122.892-.789 1.478-.645 2.283-.645-.537-.773-.534-.917.403-1.546C17.79 10.64 23 8.77 25.212 8.42c.366.014.82.35.82.629.41-.14 2.095-.388 2.503-.278Z" fill="#FFE600"/>
<path d="M14.297 16.49c.985-.747 1.644-1.01 2.099-2.526.566.121.841-.08 1.29-.701.324.466 1.657.608 2.453.701-.715.451-1.057.852-1.452 2.106-1.464-.611-3.167-.302-4.39.42Z" fill="#fff"/>
<path
d="M34.092 8.845C38.929 20.652 34.092 27 30 30.5c1 3.5-2.986 4.222-4.5 2.5-4.457 1.537-13.512 1.487-20-5C2 24.5 4.73 16.714 14 11.5c8-4.5 16-7 20.092-2.655Z"
fill="#FFDB1E"
/>
<path
d="M14 11.5c6.848-4.497 15.025-6.38 18.368-3.47C37.5 12.5 21.5 22.612 15.5 25c-6.5 2.587-3 8.5-6.5 8.5-3 0-2.5-4-5.183-7.75C2.232 23.535 6.16 16.648 14 11.5Z"
fill="#fff"
stroke="#FFDB1E"
/>
<path
d="M28.535 8.772c4.645 1.25-.365 5.695-4.303 8.536-3.732 2.692-6.606 4.21-7.923 4.83-.366.173-1.617-2.252-1.617-1 0 .417-.7 2.238-.934 2.326-1.365.512-4.223 1.29-5.835 1.29-3.491 0-1.923-4.754 3.014-9.122.892-.789 1.478-.645 2.283-.645-.537-.773-.534-.917.403-1.546C17.79 10.64 23 8.77 25.212 8.42c.366.014.82.35.82.629.41-.14 2.095-.388 2.503-.278Z"
fill="#FFE600"
/>
<path
d="M14.297 16.49c.985-.747 1.644-1.01 2.099-2.526.566.121.841-.08 1.29-.701.324.466 1.657.608 2.453.701-.715.451-1.057.852-1.452 2.106-1.464-.611-3.167-.302-4.39.42Z"
fill="#fff"
/>
</svg>`;
await writeFile("static/logo.svg", STATIC_LOGO);
@@ -674,7 +671,10 @@ This will watch the project directory and restart as necessary.`;
// Specifically print unresolvedDirectory, rather than resolvedDirectory in order to
// not leak personal info (e.g. `/Users/MyName`)
console.log("\n%cProject initialized!\n", "color: green; font-weight: bold");
console.log(
"\n%cProject initialized!\n",
"color: green; font-weight: bold",
);
if (unresolvedDirectory !== ".") {
console.log(
+2 -8
View File
@@ -789,14 +789,8 @@ ol.nested li:before {
}
.fenced-code-title {
font-family:
ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
"Liberation Mono",
"Courier New",
monospace;
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 0.8125rem;
line-height: 1;
}
+2 -12
View File
@@ -58,18 +58,8 @@ html[data-theme="dark"]:root {
body {
font-family:
Fixel,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
sans-serif;
Fixel, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 450;
font-size: 1.125rem;
line-height: 1.5;