www: change domain to usefresh.dev (#3831)

This commit is contained in:
Luca Casonato
2026-06-03 16:35:21 +02:00
committed by GitHub
parent 56faed1998
commit 86d6cdeb33
29 changed files with 57 additions and 51 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
* // `BUILD_ID` is based on the `DENO_DEPLOYMENT_ID` environment variable.
* ```
*
* @see https://fresh.deno.dev/docs/deployment/docker
* @see https://usefresh.dev/docs/deployment/docker
*
* @module
* @private
+1 -1
View File
@@ -3,7 +3,7 @@
This package contains examples for using Fresh with [JSR](https://jsr.io/).
Learn more about the Fresh framework here:
[https://fresh.deno.dev/](https://fresh.deno.dev/)
[https://usefresh.dev/](https://usefresh.dev/)
## Usage: Island example
+2 -2
View File
@@ -4,7 +4,7 @@ Fresh is a small, fast and extensible full stack web framework built on Web
Standards. It’s designed for building high-quality, performant, and personalized
web applications.
[Learn more about Fresh](https://fresh.deno.dev/)
[Learn more about Fresh](https://usefresh.dev/)
## Usage
@@ -28,4 +28,4 @@ app.listen();
```
For more information on getting started with Fresh, head on over to the
[documentation](https://fresh.deno.dev/docs/introduction).
[documentation](https://usefresh.dev/docs/introduction).
@@ -34,7 +34,7 @@ export function automaticWorkspaceFolders<T>(root: string): Middleware<T> {
uuid ??= await generate(
NAMESPACE_URL,
new TextEncoder().encode(
`https://fresh.deno.dev?root=${encodeURIComponent(root)}&v=${0}`,
`https://usefresh.dev?root=${encodeURIComponent(root)}&v=${0}`,
),
);
content ??= JSON.stringify({ workspace: { root, uuid } }, undefined, 2);
@@ -40,7 +40,7 @@ snapshot[`round trip - { a: 1, b: null, c: -2 } 1`] = `'[{"a":1,"b":-2,"c":2},1,
snapshot[`round trip - Uint8Array(3) [ 1, 2, 3 ] 1`] = `'[["Uint8Array","AQID"]]'`;
snapshot[`round trip - URL {\\n href: 'https://fresh.deno.dev/',\\n origin: 'https://fresh.deno.dev',\\n protocol: 'https:',\\n username: '',\\n password: '',\\n host: 'fresh.deno.dev',\\n hostname: 'fresh.deno.dev',\\n port: '',\\n pathname: '/',\\n hash: '',\\n search: ''\\n} 1`] = `'[["URL","https://fresh.deno.dev/"]]'`;
snapshot[`round trip - URL {\\n href: 'https://usefresh.dev/',\\n origin: 'https://usefresh.dev',\\n protocol: 'https:',\\n username: '',\\n password: '',\\n host: 'usefresh.dev',\\n hostname: 'usefresh.dev',\\n port: '',\\n pathname: '/',\\n hash: '',\\n search: ''\\n} 1`] = `'[["URL","https://usefresh.dev/"]]'`;
snapshot[`round trip - 1990-05-31T00:00:00.000Z 1`] = `'[["Date","1990-05-31T00:00:00.000Z"]]'`;
@@ -32,7 +32,7 @@ const TESTS = [
[null, undefined, -2],
{ a: 1, b: null, c: -2 },
new Uint8Array([1, 2, 3]),
new URL("https://fresh.deno.dev"),
new URL("https://usefresh.dev"),
new Date("1990-05-31"),
new Date("Invalid Date"),
new Map([[1, null], [undefined, -2]]),
@@ -1,4 +1,4 @@
const LINK = "https://fresh.deno.dev/docs/concepts/ahead-of-time-builds";
const LINK = "https://usefresh.dev/docs/concepts/ahead-of-time-builds";
export default function TailwindErrorPage() {
return (
+2 -2
View File
@@ -6,5 +6,5 @@ This is a CLI tool to bootstrap a new Fresh project. To do so, run this command:
deno run -Ar jsr:@fresh/init
```
Go to [https://fresh.deno.dev/](https://fresh.deno.dev/) for more information
about Fresh.
Go to [https://usefresh.dev/](https://usefresh.dev/) for more information about
Fresh.
+2 -2
View File
@@ -388,7 +388,7 @@ import "./assets/styles.css";`,
await writeFile("static/logo.svg", STATIC_LOGO);
try {
const res = await fetch("https://fresh.deno.dev/favicon.ico");
const res = await fetch("https://usefresh.dev/favicon.ico");
const buf = await res.arrayBuffer();
await writeFile("static/favicon.ico", new Uint8Array(buf));
} catch {
@@ -652,7 +652,7 @@ import { fresh } from "@fresh/plugin-vite";\n`;
const README_MD = `# Fresh project
Your new Fresh project is ready to go. You can follow the Fresh "Getting
Started" guide here: https://fresh.deno.dev/docs/getting-started
Started" guide here: https://usefresh.dev/docs/getting-started
### Usage
+1 -2
View File
@@ -37,5 +37,4 @@ tailwind(builder, {
});
```
To learn more about Fresh go to
[https://fresh.deno.dev/](https://fresh.deno.dev/).
To learn more about Fresh go to [https://usefresh.dev/](https://usefresh.dev/).
+1 -2
View File
@@ -47,5 +47,4 @@ if (Deno.args.includes("build")) {
}
```
To learn more about Fresh go to
[https://fresh.deno.dev/](https://fresh.deno.dev/).
To learn more about Fresh go to [https://usefresh.dev/](https://usefresh.dev/).
+2 -2
View File
@@ -1,6 +1,6 @@
# Fresh vite plugin
Vite plugin for [Fresh](https://fresh.deno.dev).
Vite plugin for [Fresh](https://usefresh.dev).
## Usage
@@ -34,4 +34,4 @@ Vite plugin for [Fresh](https://fresh.deno.dev).
- Build: `vite build`
More information
[on the Fresh documentation](https://fresh.deno.dev/docs/advanced/vite) .
[on the Fresh documentation](https://usefresh.dev/docs/advanced/vite) .
+2 -2
View File
@@ -7,5 +7,5 @@ run this command:
deno run -Ar jsr:@fresh/update
```
Go to [https://fresh.deno.dev/](https://fresh.deno.dev/) for more information
about Fresh.
Go to [https://usefresh.dev/](https://usefresh.dev/) for more information about
Fresh.
+1 -1
View File
@@ -163,7 +163,7 @@ export async function updateProject(dir: string) {
delete tasks.cli;
}
if (tasks.update === "deno run -A -r https://fresh.deno.dev/update .") {
if (tasks.update === "deno run -A -r https://usefresh.dev/update .") {
tasks.update = "deno run -A -r jsr:@fresh/update .";
}
+1 -1
View File
@@ -102,7 +102,7 @@ Deno.test("update - 1.x project deno.json tasks + lock", async () => {
"start": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts",
"update": "deno run -A -r https://fresh.deno.dev/update ."
"update": "deno run -A -r https://usefresh.dev/update ."
}
}`,
});