diff --git a/deno.json b/deno.json index ba967afdb0d..e20f8e85019 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 ce10da5aee3..30161a8d21e 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 94813724a75..889485a48cb 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 797014a2191..b7d5df62704 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 38cf2e7d388..7c40091561d 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 a2a60a6b7b2..2c906380bad 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 f24e9ab3a91..b1ee9f5d8bb 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 69dee795a1d..a780067cd2e 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 60d64ae8145..06598579c0e 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: [