From 03847e9a333c98730194e2b3f5a29d5442a9de8c Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 10 Dec 2024 16:05:22 +0100 Subject: [PATCH] 2.0.0-alpha.26 --- deno.json | 4 ++-- deno.lock | 2 +- docs/latest/examples/migrating-to-tailwind.md | 6 ++---- init/deno.json | 2 +- init/src/init.ts | 5 ++--- update/deno.json | 2 +- update/src/update.ts | 6 +++--- www/deno.json | 3 +-- www/tailwind.config.ts | 2 +- 9 files changed, 14 insertions(+), 18 deletions(-) diff --git a/deno.json b/deno.json index ba967afd..e20f8e85 100644 --- a/deno.json +++ b/deno.json @@ -7,7 +7,7 @@ "./www" ], "name": "@fresh/core", - "version": "2.0.0-alpha.25", + "version": "2.0.0-alpha.26", "license": "MIT", "exports": { ".": "./src/mod.ts", @@ -40,7 +40,7 @@ "exclude": ["**/*_test.*", "src/__OLD/**", "*.todo"] }, "imports": { - "fresh": "jsr:@fresh/core@^2.0.0-alpha.25", + "fresh": "jsr:@fresh/core@^2.0.0-alpha.26", "preact": "npm:preact@^10.25.1", "preact-render-to-string": "npm:preact-render-to-string@^6.5.11", "$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts", diff --git a/deno.lock b/deno.lock index ce10da5a..30161a8d 100644 --- a/deno.lock +++ b/deno.lock @@ -1648,7 +1648,7 @@ "workspace": { "dependencies": [ "jsr:@astral/astral@~0.4.6", - "jsr:@fresh/core@^2.0.0-alpha.25", + "jsr:@fresh/core@^2.0.0-alpha.26", "jsr:@luca/esbuild-deno-loader@0.11", "jsr:@marvinh-test/fresh-island@^0.0.1", "jsr:@std/async@1", diff --git a/docs/latest/examples/migrating-to-tailwind.md b/docs/latest/examples/migrating-to-tailwind.md index 94813724..889485a4 100644 --- a/docs/latest/examples/migrating-to-tailwind.md +++ b/docs/latest/examples/migrating-to-tailwind.md @@ -86,10 +86,8 @@ export default { "preact": "https://esm.sh/preact@10.22.0", "preact/": "https://esm.sh/preact@10.22.0/", - "twind": "https://esm.sh/twind@0.16.19", -- "twind/": "https://esm.sh/twind@0.16.19/", -+ "tailwindcss": "npm:tailwindcss@3.4.1", -+ "tailwindcss/": "npm:/tailwindcss@3.4.1/", -+ "tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js" +- "twind/": "https://esm.sh/twind@0.16.19/" ++ "tailwindcss": "npm:tailwindcss@3.4.1" } } ``` diff --git a/init/deno.json b/init/deno.json index 797014a2..b7d5df62 100644 --- a/init/deno.json +++ b/init/deno.json @@ -1,6 +1,6 @@ { "name": "@fresh/init", - "version": "2.0.0-alpha.25", + "version": "2.0.0-alpha.26", "license": "MIT", "exports": { ".": "./src/mod.ts" diff --git a/init/src/init.ts b/init/src/init.ts index 38cf2e7d..7c400915 100644 --- a/init/src/init.ts +++ b/init/src/init.ts @@ -2,7 +2,7 @@ import * as colors from "@std/fmt/colors"; import * as path from "@std/path"; // Keep these as is, as we replace these version in our release script -const FRESH_VERSION = "2.0.0-alpha.25"; +const FRESH_VERSION = "2.0.0-alpha.26"; const FRESH_TAILWIND_VERSION = "0.0.1-alpha.7"; const PREACT_VERSION = "10.24.3"; const PREACT_SIGNALS_VERSION = "1.3.0"; @@ -589,8 +589,7 @@ if (Deno.args.includes("build")) { }; if (useTailwind) { - denoJson.imports["tailwindcss"] = "npm:tailwindcss@3.4.3"; - denoJson.imports["tailwindcss/plugin"] = "npm:tailwindcss@3.4.3/plugin.js"; + denoJson.imports["tailwindcss"] = "npm:tailwindcss@^3.4.3"; } await writeFile("deno.json", denoJson); diff --git a/update/deno.json b/update/deno.json index a2a60a6b..2c906380 100644 --- a/update/deno.json +++ b/update/deno.json @@ -1,6 +1,6 @@ { "name": "@fresh/update", - "version": "2.0.0-alpha.25", + "version": "2.0.0-alpha.26", "license": "MIT", "exports": { ".": "./src/mod.ts" diff --git a/update/src/update.ts b/update/src/update.ts index f24e9ab3..b1ee9f5d 100644 --- a/update/src/update.ts +++ b/update/src/update.ts @@ -4,9 +4,9 @@ import * as tsmorph from "ts-morph"; export const SyntaxKind = tsmorph.ts.SyntaxKind; -export const FRESH_VERSION = "2.0.0-alpha.25"; -export const PREACT_VERSION = "10.24.3"; -export const PREACT_SIGNALS_VERSION = "1.3.0"; +export const FRESH_VERSION = "2.0.0-alpha.26"; +export const PREACT_VERSION = "10.25.1"; +export const PREACT_SIGNALS_VERSION = "1.3.1"; export interface DenoJson { name?: string; diff --git a/www/deno.json b/www/deno.json index 69dee795..a780067c 100644 --- a/www/deno.json +++ b/www/deno.json @@ -36,7 +36,6 @@ "preact": "npm:preact@^10.24.1", "preact-render-to-string": "npm:preact-render-to-string@^6.5.11", "prismjs": "npm:prismjs@^1.29.0", - "tailwindcss": "npm:tailwindcss@^3.4.1", - "tailwindcss/plugin": "npm:/tailwindcss@^3.4.1/plugin.js" + "tailwindcss": "npm:tailwindcss@^3.4.1" } } diff --git a/www/tailwind.config.ts b/www/tailwind.config.ts index 60d64ae8..06598579 100644 --- a/www/tailwind.config.ts +++ b/www/tailwind.config.ts @@ -1,5 +1,5 @@ import type { Config } from "tailwindcss"; -import plugin from "tailwindcss/plugin"; +import plugin from "tailwindcss/plugin.js"; export default { content: [