Skip to content

Commit dd7fef2

Browse files
galvezjean-micheletonlyweizanmato
authored
docs: several updates (#255)
* feat: full TypeScript support (#238) * feat: support build outDir outside client Vite root * rm uneeded Signed-off-by: Jonas Galvez <[email protected]> * rm console Signed-off-by: Jonas Galvez <[email protected]> * Delete starters/react-ts/index.tsx Signed-off-by: Jonas Galvez <[email protected]> * Update package.json Signed-off-by: Jonas Galvez <[email protected]> * rm unused * improve handling of dist dir * improve handling of dist dir (2) * fix(react): support tsx * mv config to top-level * update pkg scripts * fix handling of absolute dirs in createRoute * rm uneeded change * add virtual-ts as a separate set * base for vue ts example * default to convention (client/dist) * update vue-vanilla * ongoing work updating examples * add custom dist example * update react-vanilla, jsx runtime * vue-vanilla-ts * mv react examples to maintained * reintroduce maintained react examples * oxlint everything * oxlint everything * cleanups * add ts virtual placeholders * fix vue-vanilla-ts * add react ts starter * let plugin override clientModule * add ts option * rm old example, use ts option * vue ts example * fix * fix * fix * use vue-tsc * use vue-tsc * use vue-tsc * update pkg lock * add react-vanilla-ts-src example * chore: rename config.json to vite.config.json for clarity * fix: react-ts typing and tests * fix: vue-vanilla-ts-src * fix: revert autoformating * refactor: prefer use of resolve rather than join * fix * fix * fix * improve comment * add missing tsc call --------- Signed-off-by: Jonas Galvez <[email protected]> Co-authored-by: jean <[email protected]> * fix: legacy resolving of vite.config.js * react-typescript starter fixes * Add docs for src directory and custom server builds (#240) * fix: add typing for decorators and routes (#241) * fix: add typing for decorators and routes * Set version of fastify to ^5.3.2 everywhere --------- Co-authored-by: Wei Wang <[email protected]> * Use fastify version from catalog everywhere * feat(vue): replace unihead with unhead (#230) * feat(vue): replace unihead with unhead * chore: add bodyattr to streaming page * refactor: pass head to configure To allow registering hooks in unhead * chore: update lockfile * fix: sync virtual ts with virtual * chore: sync examples from main * chore: sync contrib from main * chore: rm dupes * chore: remove outdated * chore: rm dupe * fix: spa vite config json (#247) * Add react-vanilla-spa-ts example * Fix location of vite.config.json in SPA mode with custom outDir * Update lockfile * chore: lint * chore: update test manifest * Add question mark (#249) * release: @fastify/[email protected] * feat(react): replace unihead with unhead * sync vue/react, starters * rm htmx docs (just flat copies from vue) until they're properly written * update * fix * fix(docs): index.html * update shells * update --------- Signed-off-by: Jonas Galvez <[email protected]> Co-authored-by: jean <[email protected]> Co-authored-by: Wei Wang <[email protected]> Co-authored-by: Jean <[email protected]> Co-authored-by: Andreas Johansson <[email protected]>
1 parent 02bea8b commit dd7fef2

32 files changed

+385
-1765
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ node_modules
77
package-lock.json
88
build
99
dist
10+
build
1011
.idea
1112
*.tsbuildinfo

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"javascript.format.semicolons": "remove",
77
"typescript.format.semicolons": "remove",
88
"javascript.preferences.quoteStyle": "auto",
9-
"typescript.preferences.quoteStyle": "auto"
9+
"typescript.preferences.quoteStyle": "auto",
10+
"[markdown]": {
11+
"editor.formatOnSave": false,
12+
}
1013
}

docs/.vitepress/theme/components/VPLocalNav.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ defineEmits<{
1818
1919
const { theme, frontmatter } = useData()
2020
const { hasSidebar } = useSidebar()
21-
// @ts-ignore
2221
const { y } = useWindowScroll()
2322
2423
const headers = shallowRef<MenuItem[]>([])

docs/.vitepress/theme/components/VPNavBar.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ defineEmits<{
2020
(e: 'toggle-screen'): void
2121
}>()
2222
23-
// @ts-ignore
2423
const { y } = useWindowScroll()
2524
const { hasSidebar } = useSidebar()
2625
const { frontmatter } = useData()

docs/htmx/index.md

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)