-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removing fresh Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Set head as null Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Only render if head is present Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Create new deco middleware Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Refactoring to use hono middlewares Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rebase with main Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Duplicate fresh middlewares migrating to hono Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Add create handler Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rename routing to hono Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Add setup hono app Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rename to setup Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rename app to setup.tsx Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Add dev server with camudo Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Extract dev server path Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Use own reference of pageprops Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rollback fresh middlewares to old state Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Mocked tailwind style and Head Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Add tailwind script Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Check partial mode null coalescing Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Missing htmx bindings and renderer func Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Added HTMX bindings and Renderer func Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Added server option to hono Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Renderer improvements Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Remove fresh and build render func Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rebase with main Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Add cacheFrom vary comment Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Add serve static files Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Fix block preview route Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Improve schema generation with hmr hooks Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Defaulting to site namespace Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Always use dev mod on css Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Fix head usage on json viewer Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Idiomatic schema generation Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Update hono and migrate fresh plugin Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Remove fresh routes and middlewares Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rename bindings to be more concise Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Check for env before assigning the new render func Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * rebase with main Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Remove any absolute import using deco Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Do not use head for livecontrols Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Remove IS_BROWSER usage Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * put back deco alias Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Incorporate form data changes into invoke Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Allow passing site and namespace as init parameter Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Use std path mod instead of join.ts Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Support fresh's head when rendering to string Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Do not set ctx.res again on observability middleware Signed-off-by: Marcos Candeia <marrcooos@gmail.com> * Rename app.ts => mod.ts Signed-off-by: Marcos Candeia <marrcooos@gmail.com> --------- Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
- Loading branch information
Showing
69 changed files
with
2,711 additions
and
1,850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import type { ResolverMap } from "../../engine/core/resolver.ts"; | ||
import type { FreshContext } from "../../engine/manifest/manifest.ts"; | ||
import defaultResolvers from "../../engine/manifest/defaults.ts"; | ||
import type { RouteContext } from "../../engine/manifest/manifest.ts"; | ||
|
||
const freshResolvers = { | ||
...defaultResolvers, | ||
render: function render(props, { context: { render } }) { | ||
return render(props); | ||
}, | ||
} satisfies ResolverMap<FreshContext>; | ||
} satisfies ResolverMap<RouteContext>; | ||
|
||
export default freshResolvers; |
Oops, something went wrong.