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
+1 -1
View File
@@ -1,4 +1,4 @@
import type { PageProps } from "fresh";
import type { PageProps } from "sweet";
import { AppNav } from "../islands/AppNav.tsx";
export default function App({ Component }: PageProps) {
@@ -1,3 +1,3 @@
import { BUILD_ID } from "@fresh/build-id";
import { BUILD_ID } from "@paulaboks/sweet-build-id";
export const handler = () => new Response(BUILD_ID);
@@ -1,4 +1,4 @@
import type { Middleware } from "@fresh/core";
import type { Middleware } from "@paulaboks/sweet";
const middleware1: Middleware<{ text: string }> = async (ctx) => {
ctx.state.text = "A";
@@ -1,4 +1,4 @@
import type { HandlerFn } from "@fresh/core";
import type { HandlerFn } from "@paulaboks/sweet";
export const handler: HandlerFn<null, { text: string }> = (ctx) =>
new Response(ctx.state.text);
@@ -1,4 +1,4 @@
import { Partial } from "@fresh/core/runtime";
import { Partial } from "@paulaboks/sweet/runtime";
import { ReadyIsland } from "../../islands/tests/Ready.tsx";
export default function Page() {
@@ -1,4 +1,4 @@
import { Partial } from "@fresh/core/runtime";
import { Partial } from "@paulaboks/sweet/runtime";
import { CounterHooks } from "../../islands/tests/CounterHooks.tsx";
export default function Page() {