Start renaming

This commit is contained in:
2026-11-11 11:45:20 -03:00
parent ae22ec5276
commit 216d54a0ae
179 changed files with 890 additions and 449 deletions
+5 -5
View File
@@ -8,9 +8,9 @@ Learn more about the Fresh framework here:
## Usage: Island example
```tsx
import { App } from "fresh";
import { App } from "sweet";
// Import the island function
import { DemoIsland } from "jsr:@fresh/examples/island";
import { DemoIsland } from "jsr:@paulaboks/sweet-examples/island";
export const app = new App({ root: import.meta.url })
.use(staticFiles());
@@ -24,10 +24,10 @@ await app.listen();
## Usage: App1 or App2 example
```tsx
import { App } from "fresh";
import { App } from "sweet";
// Import the example apps
import { app1 } from "jsr:@fresh/examples/app1";
import { app2 } from "jsr:@fresh/examples/app2";
import { app1 } from "jsr:@paulaboks/sweet-examples/app1";
import { app2 } from "jsr:@paulaboks/sweet-examples/app2";
export const app = new App({ root: import.meta.url })
.use(staticFiles());
+2 -2
View File
@@ -1,9 +1,9 @@
{
"name": "@fresh/examples",
"name": "@paulaboks/sweet-examples",
"version": "1.0.1",
"license": "MIT",
"imports": {
"fresh": "jsr:@fresh/core@^2.0.0",
"sweet": "jsr:@paulaboks/sweet@^2.0.0",
"preact": "npm:preact@^10.27.0",
"@preact/signals": "npm:@preact/signals@^2.2.1"
},
+1 -1
View File
@@ -4,7 +4,7 @@
* @module
*/
import { App } from "fresh";
import { App } from "sweet";
import { Doc } from "./shared.tsx";
/** App that renders a sample HTML document */
+1 -1
View File
@@ -4,7 +4,7 @@
* @module
*/
import { App } from "fresh";
import { App } from "sweet";
import { Doc } from "./shared.tsx";
/** App that renders a sample HTML document */
+2 -2
View File
@@ -3,8 +3,8 @@
*
* @example
* ```tsx
* import { App } from "fresh";
* import { DemoIsland } from "jsr:@fresh/examples/island";
* import { App } from "sweet";
* import { DemoIsland } from "jsr:@paulaboks/sweet-examples/island";
*
* const app = new App();
*