Skip to content

Commit

Permalink
2.0.0-alpha.26
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Dec 10, 2024
1 parent 65d61bd commit 03847e9
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 18 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions docs/latest/examples/migrating-to-tailwind.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ export default {
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
- "twind": "https://esm.sh/[email protected]",
- "twind/": "https://esm.sh/[email protected]/",
+ "tailwindcss": "npm:[email protected]",
+ "tailwindcss/": "npm:/[email protected]/",
+ "tailwindcss/plugin": "npm:/[email protected]/plugin.js"
- "twind/": "https://esm.sh/[email protected]/"
+ "tailwindcss": "npm:[email protected]"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion init/deno.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
5 changes: 2 additions & 3 deletions init/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -589,8 +589,7 @@ if (Deno.args.includes("build")) {
};

if (useTailwind) {
denoJson.imports["tailwindcss"] = "npm:[email protected]";
denoJson.imports["tailwindcss/plugin"] = "npm:[email protected]/plugin.js";
denoJson.imports["tailwindcss"] = "npm:tailwindcss@^3.4.3";
}

await writeFile("deno.json", denoJson);
Expand Down
2 changes: 1 addition & 1 deletion update/deno.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions update/src/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions www/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion www/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
import plugin from "tailwindcss/plugin.js";

export default {
content: [
Expand Down

0 comments on commit 03847e9

Please sign in to comment.