diff --git a/README.md b/README.md
index 17dbd8f9..53d82ca4 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
# fresh
-
+
**Fresh** is a next generation web framework, built for speed, reliability, and
simplicity.
@@ -70,7 +70,7 @@ We appreciate your help! To contribute, please read our
## Adding your project to the showcase
-If you feel that your project would be helpful to other fresh users, please
+If you feel that your project would be helpful to other Fresh users, please
consider putting your project on the
[showcase](https://fresh.deno.dev/showcase). However, websites that are just for
promotional purposes may not be listed.
diff --git a/demo/README.md b/demo/README.md
index f605bd96..8db81954 100644
--- a/demo/README.md
+++ b/demo/README.md
@@ -1,4 +1,4 @@
-# fresh project
+# Fresh project
### Usage
diff --git a/docs/concepts/islands.md b/docs/concepts/islands.md
index 4451445d..2de11c08 100644
--- a/docs/concepts/islands.md
+++ b/docs/concepts/islands.md
@@ -93,7 +93,7 @@ export default function Home() {
}
```
-In essence, fresh allows you to mix static and interactive parts in your app in
+In essence, Fresh allows you to mix static and interactive parts in your app in
a way that's most optimal for your use app. We'll keep sending only the
JavaScript that is needed for the islands to the browser.
diff --git a/docs/concepts/routes.md b/docs/concepts/routes.md
index 7b394ef7..7260ab74 100644
--- a/docs/concepts/routes.md
+++ b/docs/concepts/routes.md
@@ -1,6 +1,6 @@
---
description: |
- Routes are the basic building block of fresh applications. They are used to define the behaviour the application when a given path is requested.
+ Routes are the basic building block of Fresh applications. They are used to define the behaviour the application when a given path is requested.
---
At their core, routes describe how a request for a given path should be handled,
diff --git a/docs/concepts/updating.md b/docs/concepts/updating.md
index 83c7aaeb..550fdb89 100644
--- a/docs/concepts/updating.md
+++ b/docs/concepts/updating.md
@@ -28,7 +28,7 @@ below.
To update your dependencies, you have two options:
-- Run the fresh updater to update your project dependencies.
+- Run the Fresh updater to update your project dependencies.
- Manually update the dependency versions in your `deno.json` file.
### Auto updater
diff --git a/docs/getting-started/create-a-project.md b/docs/getting-started/create-a-project.md
index 30e998f5..f3882615 100644
--- a/docs/getting-started/create-a-project.md
+++ b/docs/getting-started/create-a-project.md
@@ -1,10 +1,10 @@
---
description: |
- Create a new fresh project by running the fresh project creation tool. This
- scaffolds out the various files and folders a fresh project needs.
+ Create a new Fresh project by running the Fresh project creation tool. This
+ scaffolds out the various files and folders a Fresh project needs.
---
-New Fresh projects can be created by using the fresh project creation tool. It
+New Fresh projects can be created by using the Fresh project creation tool. It
will scaffold out a new project with some example files to get you started.
To create a new project, run:
@@ -19,7 +19,7 @@ This will scaffold out the new project, then switch into the newly created
directory, and then start the development server.
This will create a directory containing some files and directories. There are 4
-files that are strictly necessary to run a fresh project:
+files that are strictly necessary to run a Fresh project:
- **`dev.ts`**: This is the development entry point for your project. This is
the file that you run to start your project. This file doesn't need to be
diff --git a/docs/getting-started/create-a-route.md b/docs/getting-started/create-a-route.md
index 90223ae0..a74c7056 100644
--- a/docs/getting-started/create-a-route.md
+++ b/docs/getting-started/create-a-route.md
@@ -1,6 +1,6 @@
---
description: |
- Create a new route to a fresh project by creating a new file in the `routes/`
+ Create a new route to a Fresh project by creating a new file in the `routes/`
folder.
---
diff --git a/docs/getting-started/deploy-to-production.md b/docs/getting-started/deploy-to-production.md
index dec979ed..0591b269 100644
--- a/docs/getting-started/deploy-to-production.md
+++ b/docs/getting-started/deploy-to-production.md
@@ -1,6 +1,6 @@
---
description: |
- Deploy a fresh application to Deno Deploy in seconds, making it available on
+ Deploy a Fresh application to Deno Deploy in seconds, making it available on
the edge globally - resulting in fantastic user latency worldwide.
---
diff --git a/docs/getting-started/dynamic-routes.md b/docs/getting-started/dynamic-routes.md
index df15a1fb..25cc7abf 100644
--- a/docs/getting-started/dynamic-routes.md
+++ b/docs/getting-started/dynamic-routes.md
@@ -1,6 +1,6 @@
---
description: |
- Create a dynamic route in fresh by adding a dynamic segment to the route name
+ Create a dynamic route in Fresh by adding a dynamic segment to the route name
in the routes' file name on disk: `/greet/[name].tsx`.
---
diff --git a/docs/getting-started/running-locally.md b/docs/getting-started/running-locally.md
index a8646393..2fb6c970 100644
--- a/docs/getting-started/running-locally.md
+++ b/docs/getting-started/running-locally.md
@@ -1,6 +1,6 @@
---
description: |
- To start a fresh project, just run `deno task start`. This will start the
+ To start a Fresh project, just run `deno task start`. This will start the
project with default permission flags, in watch mode.
---
@@ -27,7 +27,7 @@ the appropriate flags. You will need to provide permission flags for:
using a WebAssembly binary.
For development, you also want to run with the [`--watch` flag][--watch], so the
-fresh server will automatically reload whenever you make a change to your code.
+Fresh server will automatically reload whenever you make a change to your code.
By default `--watch` only watches over files in your module graph. Some project
files like static files are not part of the module graph, but you probably want
to restart/reload whenever you make a change to them too. This can be done by
diff --git a/init.ts b/init.ts
index 64db1ac5..b5092d8c 100644
--- a/init.ts
+++ b/init.ts
@@ -127,7 +127,7 @@ export default function Home() {
src="/logo.svg"
width="128"
height="128"
- alt="the fresh logo: a sliced lemon dripping with juice"
+ alt="the Fresh logo: a sliced lemon dripping with juice"
/>
@@ -217,7 +217,7 @@ export default function Error404() { src="/logo.svg" width="128" height="128" - alt="the fresh logo: a sliced lemon dripping with juice" + alt="the Fresh logo: a sliced lemon dripping with juice" />
diff --git a/src/runtime/entrypoints/main.ts b/src/runtime/entrypoints/main.ts index c2fe076d..00c9a772 100644 --- a/src/runtime/entrypoints/main.ts +++ b/src/runtime/entrypoints/main.ts @@ -143,7 +143,7 @@ function _walkInner( ? markerStack[markerStack.length - 1] : null; - // We use comment nodes to mark fresh islands and slots + // We use comment nodes to mark Fresh islands and slots if (isCommentNode(sib)) { let comment = sib.data; if (comment.startsWith("!--")) { diff --git a/src/server/context.ts b/src/server/context.ts index d85cabaa..d6f89074 100644 --- a/src/server/context.ts +++ b/src/server/context.ts @@ -529,7 +529,7 @@ export class ServerContext { } /** - * This function returns all routes required by fresh as an extended + * This function returns all routes required by Fresh as an extended * path-to-regex, to handler mapping. */ #handlers(): { @@ -865,7 +865,7 @@ export class ServerContext { } /** - * Returns a router that contains all fresh routes. Should be mounted at + * Returns a router that contains all Fresh routes. Should be mounted at * constants.INTERNAL_PREFIX */ #bundleAssetRoute = (): router.MatchHandler => { diff --git a/update.ts b/update.ts index 2830214e..c13506f0 100644 --- a/update.ts +++ b/update.ts @@ -60,7 +60,7 @@ if (denoJson.importMap) { await Deno.remove(IMPORT_MAP_PATH); } -// Add fresh lint preset +// Add Fresh lint preset if (!denoJson.lint) { denoJson.lint = {}; } diff --git a/www/README.md b/www/README.md index ad2d4320..36526ded 100644 --- a/www/README.md +++ b/www/README.md @@ -1,6 +1,6 @@ -# fresh website +# Fresh website -This is the fresh website source. The fresh website contains: +This is the Fresh website source. The Fresh website contains: - a homepage - a documentation page diff --git a/www/components/Footer.tsx b/www/components/Footer.tsx index 8c4dcaea..f0ceed95 100644 --- a/www/components/Footer.tsx +++ b/www/components/Footer.tsx @@ -20,7 +20,7 @@ export default function Footer() {