chore: update preact + twind (#410)

This commit is contained in:
Luca Casonato
2022-07-04 15:25:32 +00:00
committed by GitHub
parent e0e669ef3d
commit 87da68b8a7
6 changed files with 22 additions and 22 deletions
+5 -5
View File
@@ -4,12 +4,12 @@
"$fresh/": "../", "$fresh/": "../",
"@twind": "../www/utils/twind.ts", "@twind": "../www/utils/twind.ts",
"twind": "https://esm.sh/twind@0.16.16", "twind": "https://esm.sh/twind@0.16.17",
"twind/": "https://esm.sh/twind@0.16.16/", "twind/": "https://esm.sh/twind@0.16.17/",
"preact": "https://esm.sh/preact@10.8.1", "preact": "https://esm.sh/preact@10.8.2",
"preact/": "https://esm.sh/preact@10.8.1/", "preact/": "https://esm.sh/preact@10.8.2/",
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1", "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2",
"$semver/": "https://deno.land/x/semver@v1.4.0/" "$semver/": "https://deno.land/x/semver@v1.4.0/"
} }
+3 -3
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../../", "$fresh/": "../../",
"preact": "https://esm.sh/preact@10.8.1", "preact": "https://esm.sh/preact@10.8.2",
"preact/": "https://esm.sh/preact@10.8.1/", "preact/": "https://esm.sh/preact@10.8.2/",
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1" "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2"
} }
} }
+3 -3
View File
@@ -94,10 +94,10 @@ if (useTwind) await Deno.mkdir(join(directory, "utils"), { recursive: true });
const importMap = { const importMap = {
"imports": { "imports": {
"$fresh/": new URL("./", import.meta.url).href, "$fresh/": new URL("./", import.meta.url).href,
"preact": "https://esm.sh/preact@10.8.1", "preact": "https://esm.sh/preact@10.8.2",
"preact/": "https://esm.sh/preact@10.8.1/", "preact/": "https://esm.sh/preact@10.8.2/",
"preact-render-to-string": "preact-render-to-string":
"https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1", "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2",
} as Record<string, string>, } as Record<string, string>,
}; };
if (useTwind) { if (useTwind) {
+3 -3
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../../", "$fresh/": "../../",
"preact": "https://esm.sh/preact@10.8.1", "preact": "https://esm.sh/preact@10.8.2",
"preact/": "https://esm.sh/preact@10.8.1/", "preact/": "https://esm.sh/preact@10.8.2/",
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1" "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2"
} }
} }
+3 -3
View File
@@ -1,8 +1,8 @@
{ {
"imports": { "imports": {
"$fresh/": "../../", "$fresh/": "../../",
"preact": "https://esm.sh/preact@10.8.1", "preact": "https://esm.sh/preact@10.8.2",
"preact/": "https://esm.sh/preact@10.8.1/", "preact/": "https://esm.sh/preact@10.8.2/",
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1" "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2"
} }
} }
+5 -5
View File
@@ -3,12 +3,12 @@
"$fresh/": "../", "$fresh/": "../",
"@twind": "./utils/twind.ts", "@twind": "./utils/twind.ts",
"twind": "https://esm.sh/twind@0.16.16", "twind": "https://esm.sh/twind@0.16.17",
"twind/": "https://esm.sh/twind@0.16.16/", "twind/": "https://esm.sh/twind@0.16.17/",
"preact": "https://esm.sh/preact@10.8.1", "preact": "https://esm.sh/preact@10.8.2",
"preact/": "https://esm.sh/preact@10.8.1/", "preact/": "https://esm.sh/preact@10.8.2/",
"preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.1", "preact-render-to-string": "https://esm.sh/preact-render-to-string@5.2.0?deps=preact@10.8.2",
"$semver/": "https://deno.land/x/semver@v1.4.0/" "$semver/": "https://deno.land/x/semver@v1.4.0/"
} }