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,5 +1,5 @@
import { useEffect, useState } from "preact/hooks";
import { Head } from "fresh/runtime";
import { Head } from "sweet/runtime";
export function HeadCounter() {
const [ready, setReady] = useState(false);
@@ -1,5 +1,5 @@
import { useEffect, useState } from "preact/hooks";
import { Head } from "fresh/runtime";
import { Head } from "sweet/runtime";
export function HeadMeta() {
const [ready, setReady] = useState(false);
+1 -1
View File
@@ -1,4 +1,4 @@
import { App, staticFiles, trailingSlashes } from "fresh";
import { App, staticFiles, trailingSlashes } from "sweet";
export const app = new App()
.use(staticFiles())
+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() {
+1 -1
View File
@@ -1,4 +1,4 @@
import { createDefine } from "@fresh/core";
import { createDefine } from "@paulaboks/sweet";
// deno-lint-ignore no-explicit-any
export const define = createDefine<any>();
+1 -1
View File
@@ -1,5 +1,5 @@
import { defineConfig } from "vite";
import { fresh } from "@fresh/plugin-vite";
import { fresh } from "@paulaboks/sweet-vite";
import inspect from "vite-plugin-inspect";
import tailwind from "@tailwindcss/vite";