From de628b005484eeab9f7e9af5ff1dbfce106c973d Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Mon, 12 May 2025 13:27:23 +0200 Subject: [PATCH] move from ./app to ./src --- app.config.ts | 3 +++ content-collections.ts | 2 +- package.json | 2 +- {app => src}/auth/auth.ts | 0 {app => src}/blog/ag-grid-partnership.md | 0 {app => src}/blog/announcing-tanstack-form-v1.md | 0 {app => src}/blog/announcing-tanstack-query-v4.md | 0 {app => src}/blog/announcing-tanstack-query-v5.md | 0 {app => src}/blog/netlify-partnership.md | 0 .../blog/tanstack-router-typescript-performance.md | 0 {app => src}/blog/why-tanstack-start-and-router.md | 0 .../blog/why-tanstack-start-is-ditching-adapters.md | 0 {app => src}/client.tsx | 0 {app => src}/components/BackgroundAnimation.tsx | 0 {app => src}/components/BytesForm.tsx | 0 {app => src}/components/Carbon.tsx | 0 {app => src}/components/CodeExplorer.tsx | 0 {app => src}/components/CodeExplorerTopBar.tsx | 0 {app => src}/components/CookieConsent.tsx | 0 {app => src}/components/CountdownTimer.tsx | 0 {app => src}/components/CountdownTimerSmall.tsx | 0 {app => src}/components/DefaultCatchBoundary.tsx | 0 {app => src}/components/Doc.tsx | 0 {app => src}/components/DocContainer.tsx | 0 {app => src}/components/DocTitle.tsx | 0 {app => src}/components/DocsCalloutBytes.tsx | 0 {app => src}/components/DocsCalloutQueryGG.tsx | 0 {app => src}/components/DocsLayout.tsx | 0 {app => src}/components/DocsLogo.tsx | 0 {app => src}/components/FileExplorer.tsx | 0 {app => src}/components/Footer.tsx | 0 {app => src}/components/FrameworkSelect.tsx | 0 {app => src}/components/GoogleScripts.tsx | 0 {app => src}/components/InteractiveSandbox.tsx | 0 {app => src}/components/LandingPageGad.tsx | 0 .../components/LibraryFeatureHighlights.tsx | 0 {app => src}/components/Logo.tsx | 0 {app => src}/components/LogoColor.tsx | 0 {app => src}/components/LogoQueryGG.tsx | 0 {app => src}/components/LogoQueryGGSmall.tsx | 0 {app => src}/components/Markdown.tsx | 0 {app => src}/components/MarkdownLink.tsx | 0 {app => src}/components/Mounted.tsx | 0 {app => src}/components/NotFound.tsx | 0 {app => src}/components/NpmStatsChart.tsx | 0 {app => src}/components/OpenSourceStats.tsx | 0 {app => src}/components/QueryGGBanner.tsx | 0 {app => src}/components/QueryGGBannerSale.tsx | 0 {app => src}/components/RedirectVersionBanner.tsx | 0 {app => src}/components/Scarf.tsx | 0 {app => src}/components/SearchButton.tsx | 0 {app => src}/components/SearchModal.tsx | 0 {app => src}/components/SponsorPack.tsx | 0 {app => src}/components/Style.tsx | 0 {app => src}/components/ThemeToggle.tsx | 0 {app => src}/components/Toc.tsx | 0 {app => src}/components/TocMobile.tsx | 0 {app => src}/components/Tooltip.tsx | 0 {app => src}/components/useBytesSubmit.tsx | 0 {app => src}/contexts/SearchContext.tsx | 0 {app => src}/hooks/useMounted.ts | 0 {app => src}/hooks/useMutation.ts | 0 {app => src}/hooks/useQueryGGPPPDiscount.ts | 0 {app => src}/hooks/useScript.ts | 0 {app => src}/hooks/useSessionStorage.ts | 0 {app => src}/hooks/useWindowSize.ts | 0 {app => src}/images/ag-grid-dark.svg | 0 {app => src}/images/ag-grid-light.svg | 0 {app => src}/images/ag-grid.png | Bin {app => src}/images/angular-logo.svg | 0 {app => src}/images/background.jpg | Bin {app => src}/images/bytes-uidotdev.png | Bin {app => src}/images/bytes.svg | 0 {app => src}/images/clerk-logo-dark.svg | 0 {app => src}/images/clerk-logo-light.svg | 0 {app => src}/images/convex-color.svg | 0 {app => src}/images/convex-dark.svg | 0 {app => src}/images/convex-white.svg | 0 {app => src}/images/discord-logo-white.svg | 0 {app => src}/images/file-icons/css.svg | 0 {app => src}/images/file-icons/html.svg | 0 {app => src}/images/file-icons/javascript.svg | 0 {app => src}/images/file-icons/json.svg | 0 {app => src}/images/file-icons/svelte.svg | 0 {app => src}/images/file-icons/txt.svg | 0 {app => src}/images/file-icons/typescript.svg | 0 {app => src}/images/file-icons/vue.svg | 0 {app => src}/images/header-left-overlay.svg | 0 {app => src}/images/javascript-logo-white.svg | 0 {app => src}/images/js-logo.svg | 0 {app => src}/images/lit-logo.svg | 0 {app => src}/images/logo-600w.png | Bin {app => src}/images/logo-color-100w.png | Bin {app => src}/images/logo-color-600w.png | Bin {app => src}/images/logo-white.svg | 0 {app => src}/images/neon-dark.svg | 0 {app => src}/images/neon-light.svg | 0 {app => src}/images/netlify-dark.svg | 0 {app => src}/images/netlify-light.svg | 0 {app => src}/images/nozzle-dark.svg | 0 {app => src}/images/nozzle-light.svg | 0 {app => src}/images/nozzle.png | Bin {app => src}/images/og-light.png | Bin {app => src}/images/og.png | Bin {app => src}/images/people/corbincrutchley.jpeg | Bin {app => src}/images/people/dominikdorfmeister.jpg | Bin {app => src}/images/people/kevinvancott.jpeg | Bin {app => src}/images/people/tannerlinsley.jpeg | Bin {app => src}/images/preact-logo.svg | 0 .../images/query-corner-fish-bottom-right.svg | 0 {app => src}/images/query-corner-top-left.svg | 0 {app => src}/images/query-corner-top-right.svg | 0 {app => src}/images/query-header-course.svg | 0 {app => src}/images/qwik-logo.svg | 0 {app => src}/images/react-logo-white.svg | 0 {app => src}/images/react-logo.svg | 0 {app => src}/images/sentry-wordmark-dark.svg | 0 {app => src}/images/sentry-wordmark-light.svg | 0 {app => src}/images/solid-logo.svg | 0 {app => src}/images/speakeasy-dark.svg | 0 {app => src}/images/speakeasy-light.svg | 0 {app => src}/images/splash-dark.png | Bin {app => src}/images/splash-light.png | Bin {app => src}/images/svelte-logo.svg | 0 {app => src}/images/toy-palm-chair.png | Bin {app => src}/images/unkey-black.svg | 0 {app => src}/images/unkey-white.svg | 0 {app => src}/images/vercel-dark.svg | 0 {app => src}/images/vercel-light.svg | 0 {app => src}/images/vue-logo.svg | 0 {app => src}/libraries/config.tsx | 0 {app => src}/libraries/form.tsx | 0 {app => src}/libraries/index.tsx | 0 {app => src}/libraries/optimistic.tsx | 0 {app => src}/libraries/pacer.tsx | 0 {app => src}/libraries/query.tsx | 0 {app => src}/libraries/ranger.tsx | 0 {app => src}/libraries/react-charts.ts | 0 {app => src}/libraries/router.tsx | 0 {app => src}/libraries/start.tsx | 0 {app => src}/libraries/store.tsx | 0 {app => src}/libraries/table.tsx | 0 {app => src}/libraries/virtual.tsx | 0 {app => src}/routeTree.gen.ts | 0 {app => src}/router.tsx | 0 {app => src}/routes/$libraryId/$version.docs.$.tsx | 0 .../$version.docs.framework.$framework.$.tsx | 0 ...version.docs.framework.$framework.examples.$.tsx | 0 .../$version.docs.framework.$framework.index.tsx | 0 .../$libraryId/$version.docs.framework.index.tsx | 0 .../routes/$libraryId/$version.docs.index.tsx | 0 {app => src}/routes/$libraryId/$version.docs.tsx | 0 {app => src}/routes/$libraryId/$version.tsx | 0 {app => src}/routes/$libraryId/index.tsx | 0 {app => src}/routes/$libraryId/route.tsx | 0 {app => src}/routes/__root.tsx | 0 {app => src}/routes/_libraries/blog.$.tsx | 0 {app => src}/routes/_libraries/blog.index.tsx | 0 {app => src}/routes/_libraries/blog.tsx | 0 .../routes/_libraries/config.$version.index.tsx | 0 .../routes/_libraries/dedicated-support.tsx | 0 {app => src}/routes/_libraries/ethos.tsx | 0 .../routes/_libraries/form.$version.index.tsx | 0 {app => src}/routes/_libraries/index.tsx | 0 {app => src}/routes/_libraries/learn.tsx | 0 .../routes/_libraries/pacer.$version.index.tsx | 0 {app => src}/routes/_libraries/privacy.tsx | 0 .../routes/_libraries/query.$version.index.tsx | 0 .../routes/_libraries/ranger.$version.index.tsx | 0 {app => src}/routes/_libraries/route.tsx | 0 .../routes/_libraries/router.$version.index.tsx | 0 .../routes/_libraries/start.$version.index.tsx | 0 .../routes/_libraries/store.$version.index.tsx | 0 {app => src}/routes/_libraries/support.tsx | 0 .../routes/_libraries/table.$version.index.tsx | 0 {app => src}/routes/_libraries/terms.tsx | 0 .../routes/_libraries/virtual.$version.index.tsx | 0 {app => src}/routes/dashboard.tsx | 0 {app => src}/routes/login.tsx | 0 {app => src}/routes/merch.tsx | 0 {app => src}/routes/sponsors-embed.tsx | 0 {app => src}/routes/stats/index.tsx | 0 {app => src}/routes/stats/npm/-comparisons.ts | 0 {app => src}/routes/stats/npm/index.tsx | 0 {app => src}/server/airtable.ts | 0 {app => src}/server/discord-github.ts | 0 {app => src}/server/discord.ts | 0 {app => src}/server/github.ts | 0 {app => src}/server/sponsors.ts | 0 {app => src}/server/tiers.ts | 0 {app => src}/ssr.tsx | 0 {app => src}/styles/app.css | 0 {app => src}/styles/app.generated.css | 0 {app => src}/styles/carbon.css | 0 {app => src}/types/images.d.ts | 0 {app => src}/utils/blog.ts | 0 {app => src}/utils/cache.server.ts | 0 {app => src}/utils/config.ts | 0 {app => src}/utils/docs.ts | 0 {app => src}/utils/documents.server.ts | 0 {app => src}/utils/env.ts | 0 {app => src}/utils/handleRedirects.server.ts | 0 {app => src}/utils/partners.tsx | 0 {app => src}/utils/sandbox.ts | 0 {app => src}/utils/sentry.ts | 0 {app => src}/utils/seo.ts | 0 {app => src}/utils/useClientOnlyRender.ts | 0 {app => src}/utils/useLocalStorage.ts | 0 {app => src}/utils/usePrefersReducedMotion.ts | 0 {app => src}/utils/utils.ts | 0 tailwind.config.cjs | 2 +- tsconfig.json | 2 +- tsr.config.json | 5 +++-- 213 files changed, 10 insertions(+), 6 deletions(-) rename {app => src}/auth/auth.ts (100%) rename {app => src}/blog/ag-grid-partnership.md (100%) rename {app => src}/blog/announcing-tanstack-form-v1.md (100%) rename {app => src}/blog/announcing-tanstack-query-v4.md (100%) rename {app => src}/blog/announcing-tanstack-query-v5.md (100%) rename {app => src}/blog/netlify-partnership.md (100%) rename {app => src}/blog/tanstack-router-typescript-performance.md (100%) rename {app => src}/blog/why-tanstack-start-and-router.md (100%) rename {app => src}/blog/why-tanstack-start-is-ditching-adapters.md (100%) rename {app => src}/client.tsx (100%) rename {app => src}/components/BackgroundAnimation.tsx (100%) rename {app => src}/components/BytesForm.tsx (100%) rename {app => src}/components/Carbon.tsx (100%) rename {app => src}/components/CodeExplorer.tsx (100%) rename {app => src}/components/CodeExplorerTopBar.tsx (100%) rename {app => src}/components/CookieConsent.tsx (100%) rename {app => src}/components/CountdownTimer.tsx (100%) rename {app => src}/components/CountdownTimerSmall.tsx (100%) rename {app => src}/components/DefaultCatchBoundary.tsx (100%) rename {app => src}/components/Doc.tsx (100%) rename {app => src}/components/DocContainer.tsx (100%) rename {app => src}/components/DocTitle.tsx (100%) rename {app => src}/components/DocsCalloutBytes.tsx (100%) rename {app => src}/components/DocsCalloutQueryGG.tsx (100%) rename {app => src}/components/DocsLayout.tsx (100%) rename {app => src}/components/DocsLogo.tsx (100%) rename {app => src}/components/FileExplorer.tsx (100%) rename {app => src}/components/Footer.tsx (100%) rename {app => src}/components/FrameworkSelect.tsx (100%) rename {app => src}/components/GoogleScripts.tsx (100%) rename {app => src}/components/InteractiveSandbox.tsx (100%) rename {app => src}/components/LandingPageGad.tsx (100%) rename {app => src}/components/LibraryFeatureHighlights.tsx (100%) rename {app => src}/components/Logo.tsx (100%) rename {app => src}/components/LogoColor.tsx (100%) rename {app => src}/components/LogoQueryGG.tsx (100%) rename {app => src}/components/LogoQueryGGSmall.tsx (100%) rename {app => src}/components/Markdown.tsx (100%) rename {app => src}/components/MarkdownLink.tsx (100%) rename {app => src}/components/Mounted.tsx (100%) rename {app => src}/components/NotFound.tsx (100%) rename {app => src}/components/NpmStatsChart.tsx (100%) rename {app => src}/components/OpenSourceStats.tsx (100%) rename {app => src}/components/QueryGGBanner.tsx (100%) rename {app => src}/components/QueryGGBannerSale.tsx (100%) rename {app => src}/components/RedirectVersionBanner.tsx (100%) rename {app => src}/components/Scarf.tsx (100%) rename {app => src}/components/SearchButton.tsx (100%) rename {app => src}/components/SearchModal.tsx (100%) rename {app => src}/components/SponsorPack.tsx (100%) rename {app => src}/components/Style.tsx (100%) rename {app => src}/components/ThemeToggle.tsx (100%) rename {app => src}/components/Toc.tsx (100%) rename {app => src}/components/TocMobile.tsx (100%) rename {app => src}/components/Tooltip.tsx (100%) rename {app => src}/components/useBytesSubmit.tsx (100%) rename {app => src}/contexts/SearchContext.tsx (100%) rename {app => src}/hooks/useMounted.ts (100%) rename {app => src}/hooks/useMutation.ts (100%) rename {app => src}/hooks/useQueryGGPPPDiscount.ts (100%) rename {app => src}/hooks/useScript.ts (100%) rename {app => src}/hooks/useSessionStorage.ts (100%) rename {app => src}/hooks/useWindowSize.ts (100%) rename {app => src}/images/ag-grid-dark.svg (100%) rename {app => src}/images/ag-grid-light.svg (100%) rename {app => src}/images/ag-grid.png (100%) rename {app => src}/images/angular-logo.svg (100%) rename {app => src}/images/background.jpg (100%) rename {app => src}/images/bytes-uidotdev.png (100%) rename {app => src}/images/bytes.svg (100%) rename {app => src}/images/clerk-logo-dark.svg (100%) rename {app => src}/images/clerk-logo-light.svg (100%) rename {app => src}/images/convex-color.svg (100%) rename {app => src}/images/convex-dark.svg (100%) rename {app => src}/images/convex-white.svg (100%) rename {app => src}/images/discord-logo-white.svg (100%) rename {app => src}/images/file-icons/css.svg (100%) rename {app => src}/images/file-icons/html.svg (100%) rename {app => src}/images/file-icons/javascript.svg (100%) rename {app => src}/images/file-icons/json.svg (100%) rename {app => src}/images/file-icons/svelte.svg (100%) rename {app => src}/images/file-icons/txt.svg (100%) rename {app => src}/images/file-icons/typescript.svg (100%) rename {app => src}/images/file-icons/vue.svg (100%) rename {app => src}/images/header-left-overlay.svg (100%) rename {app => src}/images/javascript-logo-white.svg (100%) rename {app => src}/images/js-logo.svg (100%) rename {app => src}/images/lit-logo.svg (100%) rename {app => src}/images/logo-600w.png (100%) rename {app => src}/images/logo-color-100w.png (100%) rename {app => src}/images/logo-color-600w.png (100%) rename {app => src}/images/logo-white.svg (100%) rename {app => src}/images/neon-dark.svg (100%) rename {app => src}/images/neon-light.svg (100%) rename {app => src}/images/netlify-dark.svg (100%) rename {app => src}/images/netlify-light.svg (100%) rename {app => src}/images/nozzle-dark.svg (100%) rename {app => src}/images/nozzle-light.svg (100%) rename {app => src}/images/nozzle.png (100%) rename {app => src}/images/og-light.png (100%) rename {app => src}/images/og.png (100%) rename {app => src}/images/people/corbincrutchley.jpeg (100%) rename {app => src}/images/people/dominikdorfmeister.jpg (100%) rename {app => src}/images/people/kevinvancott.jpeg (100%) rename {app => src}/images/people/tannerlinsley.jpeg (100%) rename {app => src}/images/preact-logo.svg (100%) rename {app => src}/images/query-corner-fish-bottom-right.svg (100%) rename {app => src}/images/query-corner-top-left.svg (100%) rename {app => src}/images/query-corner-top-right.svg (100%) rename {app => src}/images/query-header-course.svg (100%) rename {app => src}/images/qwik-logo.svg (100%) rename {app => src}/images/react-logo-white.svg (100%) rename {app => src}/images/react-logo.svg (100%) rename {app => src}/images/sentry-wordmark-dark.svg (100%) rename {app => src}/images/sentry-wordmark-light.svg (100%) rename {app => src}/images/solid-logo.svg (100%) rename {app => src}/images/speakeasy-dark.svg (100%) rename {app => src}/images/speakeasy-light.svg (100%) rename {app => src}/images/splash-dark.png (100%) rename {app => src}/images/splash-light.png (100%) rename {app => src}/images/svelte-logo.svg (100%) rename {app => src}/images/toy-palm-chair.png (100%) rename {app => src}/images/unkey-black.svg (100%) rename {app => src}/images/unkey-white.svg (100%) rename {app => src}/images/vercel-dark.svg (100%) rename {app => src}/images/vercel-light.svg (100%) rename {app => src}/images/vue-logo.svg (100%) rename {app => src}/libraries/config.tsx (100%) rename {app => src}/libraries/form.tsx (100%) rename {app => src}/libraries/index.tsx (100%) rename {app => src}/libraries/optimistic.tsx (100%) rename {app => src}/libraries/pacer.tsx (100%) rename {app => src}/libraries/query.tsx (100%) rename {app => src}/libraries/ranger.tsx (100%) rename {app => src}/libraries/react-charts.ts (100%) rename {app => src}/libraries/router.tsx (100%) rename {app => src}/libraries/start.tsx (100%) rename {app => src}/libraries/store.tsx (100%) rename {app => src}/libraries/table.tsx (100%) rename {app => src}/libraries/virtual.tsx (100%) rename {app => src}/routeTree.gen.ts (100%) rename {app => src}/router.tsx (100%) rename {app => src}/routes/$libraryId/$version.docs.$.tsx (100%) rename {app => src}/routes/$libraryId/$version.docs.framework.$framework.$.tsx (100%) rename {app => src}/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx (100%) rename {app => src}/routes/$libraryId/$version.docs.framework.$framework.index.tsx (100%) rename {app => src}/routes/$libraryId/$version.docs.framework.index.tsx (100%) rename {app => src}/routes/$libraryId/$version.docs.index.tsx (100%) rename {app => src}/routes/$libraryId/$version.docs.tsx (100%) rename {app => src}/routes/$libraryId/$version.tsx (100%) rename {app => src}/routes/$libraryId/index.tsx (100%) rename {app => src}/routes/$libraryId/route.tsx (100%) rename {app => src}/routes/__root.tsx (100%) rename {app => src}/routes/_libraries/blog.$.tsx (100%) rename {app => src}/routes/_libraries/blog.index.tsx (100%) rename {app => src}/routes/_libraries/blog.tsx (100%) rename {app => src}/routes/_libraries/config.$version.index.tsx (100%) rename {app => src}/routes/_libraries/dedicated-support.tsx (100%) rename {app => src}/routes/_libraries/ethos.tsx (100%) rename {app => src}/routes/_libraries/form.$version.index.tsx (100%) rename {app => src}/routes/_libraries/index.tsx (100%) rename {app => src}/routes/_libraries/learn.tsx (100%) rename {app => src}/routes/_libraries/pacer.$version.index.tsx (100%) rename {app => src}/routes/_libraries/privacy.tsx (100%) rename {app => src}/routes/_libraries/query.$version.index.tsx (100%) rename {app => src}/routes/_libraries/ranger.$version.index.tsx (100%) rename {app => src}/routes/_libraries/route.tsx (100%) rename {app => src}/routes/_libraries/router.$version.index.tsx (100%) rename {app => src}/routes/_libraries/start.$version.index.tsx (100%) rename {app => src}/routes/_libraries/store.$version.index.tsx (100%) rename {app => src}/routes/_libraries/support.tsx (100%) rename {app => src}/routes/_libraries/table.$version.index.tsx (100%) rename {app => src}/routes/_libraries/terms.tsx (100%) rename {app => src}/routes/_libraries/virtual.$version.index.tsx (100%) rename {app => src}/routes/dashboard.tsx (100%) rename {app => src}/routes/login.tsx (100%) rename {app => src}/routes/merch.tsx (100%) rename {app => src}/routes/sponsors-embed.tsx (100%) rename {app => src}/routes/stats/index.tsx (100%) rename {app => src}/routes/stats/npm/-comparisons.ts (100%) rename {app => src}/routes/stats/npm/index.tsx (100%) rename {app => src}/server/airtable.ts (100%) rename {app => src}/server/discord-github.ts (100%) rename {app => src}/server/discord.ts (100%) rename {app => src}/server/github.ts (100%) rename {app => src}/server/sponsors.ts (100%) rename {app => src}/server/tiers.ts (100%) rename {app => src}/ssr.tsx (100%) rename {app => src}/styles/app.css (100%) rename {app => src}/styles/app.generated.css (100%) rename {app => src}/styles/carbon.css (100%) rename {app => src}/types/images.d.ts (100%) rename {app => src}/utils/blog.ts (100%) rename {app => src}/utils/cache.server.ts (100%) rename {app => src}/utils/config.ts (100%) rename {app => src}/utils/docs.ts (100%) rename {app => src}/utils/documents.server.ts (100%) rename {app => src}/utils/env.ts (100%) rename {app => src}/utils/handleRedirects.server.ts (100%) rename {app => src}/utils/partners.tsx (100%) rename {app => src}/utils/sandbox.ts (100%) rename {app => src}/utils/sentry.ts (100%) rename {app => src}/utils/seo.ts (100%) rename {app => src}/utils/useClientOnlyRender.ts (100%) rename {app => src}/utils/useLocalStorage.ts (100%) rename {app => src}/utils/usePrefersReducedMotion.ts (100%) rename {app => src}/utils/utils.ts (100%) diff --git a/app.config.ts b/app.config.ts index 2f09d1fc3..d89a0d442 100644 --- a/app.config.ts +++ b/app.config.ts @@ -4,6 +4,9 @@ import contentCollections from '@content-collections/vite' import tsConfigPaths from 'vite-tsconfig-paths' export default defineConfig({ + tsr: { + appDirectory: 'src', + }, server: { preset: 'netlify', }, diff --git a/content-collections.ts b/content-collections.ts index ddae14fac..9d82ae275 100644 --- a/content-collections.ts +++ b/content-collections.ts @@ -3,7 +3,7 @@ import { extractFrontMatter } from '~/utils/documents.server' const posts = defineCollection({ name: 'posts', - directory: './app/blog', + directory: './src/blog', include: '*.md', schema: (z) => ({ title: z.string(), diff --git a/package.json b/package.json index 7df3c3928..845f099c0 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dev:backend": "convex dev --tail-logs", "build": "vinxi build", "start": "vinxi start", - "lint": "prettier --check '**/*' --ignore-unknown && eslint --ext .ts,.tsx ./app", + "lint": "prettier --check '**/*' --ignore-unknown && eslint --ext .ts,.tsx ./src", "format": "prettier --write '**/*' --ignore-unknown", "linkAll": "node scripts/link.js" }, diff --git a/app/auth/auth.ts b/src/auth/auth.ts similarity index 100% rename from app/auth/auth.ts rename to src/auth/auth.ts diff --git a/app/blog/ag-grid-partnership.md b/src/blog/ag-grid-partnership.md similarity index 100% rename from app/blog/ag-grid-partnership.md rename to src/blog/ag-grid-partnership.md diff --git a/app/blog/announcing-tanstack-form-v1.md b/src/blog/announcing-tanstack-form-v1.md similarity index 100% rename from app/blog/announcing-tanstack-form-v1.md rename to src/blog/announcing-tanstack-form-v1.md diff --git a/app/blog/announcing-tanstack-query-v4.md b/src/blog/announcing-tanstack-query-v4.md similarity index 100% rename from app/blog/announcing-tanstack-query-v4.md rename to src/blog/announcing-tanstack-query-v4.md diff --git a/app/blog/announcing-tanstack-query-v5.md b/src/blog/announcing-tanstack-query-v5.md similarity index 100% rename from app/blog/announcing-tanstack-query-v5.md rename to src/blog/announcing-tanstack-query-v5.md diff --git a/app/blog/netlify-partnership.md b/src/blog/netlify-partnership.md similarity index 100% rename from app/blog/netlify-partnership.md rename to src/blog/netlify-partnership.md diff --git a/app/blog/tanstack-router-typescript-performance.md b/src/blog/tanstack-router-typescript-performance.md similarity index 100% rename from app/blog/tanstack-router-typescript-performance.md rename to src/blog/tanstack-router-typescript-performance.md diff --git a/app/blog/why-tanstack-start-and-router.md b/src/blog/why-tanstack-start-and-router.md similarity index 100% rename from app/blog/why-tanstack-start-and-router.md rename to src/blog/why-tanstack-start-and-router.md diff --git a/app/blog/why-tanstack-start-is-ditching-adapters.md b/src/blog/why-tanstack-start-is-ditching-adapters.md similarity index 100% rename from app/blog/why-tanstack-start-is-ditching-adapters.md rename to src/blog/why-tanstack-start-is-ditching-adapters.md diff --git a/app/client.tsx b/src/client.tsx similarity index 100% rename from app/client.tsx rename to src/client.tsx diff --git a/app/components/BackgroundAnimation.tsx b/src/components/BackgroundAnimation.tsx similarity index 100% rename from app/components/BackgroundAnimation.tsx rename to src/components/BackgroundAnimation.tsx diff --git a/app/components/BytesForm.tsx b/src/components/BytesForm.tsx similarity index 100% rename from app/components/BytesForm.tsx rename to src/components/BytesForm.tsx diff --git a/app/components/Carbon.tsx b/src/components/Carbon.tsx similarity index 100% rename from app/components/Carbon.tsx rename to src/components/Carbon.tsx diff --git a/app/components/CodeExplorer.tsx b/src/components/CodeExplorer.tsx similarity index 100% rename from app/components/CodeExplorer.tsx rename to src/components/CodeExplorer.tsx diff --git a/app/components/CodeExplorerTopBar.tsx b/src/components/CodeExplorerTopBar.tsx similarity index 100% rename from app/components/CodeExplorerTopBar.tsx rename to src/components/CodeExplorerTopBar.tsx diff --git a/app/components/CookieConsent.tsx b/src/components/CookieConsent.tsx similarity index 100% rename from app/components/CookieConsent.tsx rename to src/components/CookieConsent.tsx diff --git a/app/components/CountdownTimer.tsx b/src/components/CountdownTimer.tsx similarity index 100% rename from app/components/CountdownTimer.tsx rename to src/components/CountdownTimer.tsx diff --git a/app/components/CountdownTimerSmall.tsx b/src/components/CountdownTimerSmall.tsx similarity index 100% rename from app/components/CountdownTimerSmall.tsx rename to src/components/CountdownTimerSmall.tsx diff --git a/app/components/DefaultCatchBoundary.tsx b/src/components/DefaultCatchBoundary.tsx similarity index 100% rename from app/components/DefaultCatchBoundary.tsx rename to src/components/DefaultCatchBoundary.tsx diff --git a/app/components/Doc.tsx b/src/components/Doc.tsx similarity index 100% rename from app/components/Doc.tsx rename to src/components/Doc.tsx diff --git a/app/components/DocContainer.tsx b/src/components/DocContainer.tsx similarity index 100% rename from app/components/DocContainer.tsx rename to src/components/DocContainer.tsx diff --git a/app/components/DocTitle.tsx b/src/components/DocTitle.tsx similarity index 100% rename from app/components/DocTitle.tsx rename to src/components/DocTitle.tsx diff --git a/app/components/DocsCalloutBytes.tsx b/src/components/DocsCalloutBytes.tsx similarity index 100% rename from app/components/DocsCalloutBytes.tsx rename to src/components/DocsCalloutBytes.tsx diff --git a/app/components/DocsCalloutQueryGG.tsx b/src/components/DocsCalloutQueryGG.tsx similarity index 100% rename from app/components/DocsCalloutQueryGG.tsx rename to src/components/DocsCalloutQueryGG.tsx diff --git a/app/components/DocsLayout.tsx b/src/components/DocsLayout.tsx similarity index 100% rename from app/components/DocsLayout.tsx rename to src/components/DocsLayout.tsx diff --git a/app/components/DocsLogo.tsx b/src/components/DocsLogo.tsx similarity index 100% rename from app/components/DocsLogo.tsx rename to src/components/DocsLogo.tsx diff --git a/app/components/FileExplorer.tsx b/src/components/FileExplorer.tsx similarity index 100% rename from app/components/FileExplorer.tsx rename to src/components/FileExplorer.tsx diff --git a/app/components/Footer.tsx b/src/components/Footer.tsx similarity index 100% rename from app/components/Footer.tsx rename to src/components/Footer.tsx diff --git a/app/components/FrameworkSelect.tsx b/src/components/FrameworkSelect.tsx similarity index 100% rename from app/components/FrameworkSelect.tsx rename to src/components/FrameworkSelect.tsx diff --git a/app/components/GoogleScripts.tsx b/src/components/GoogleScripts.tsx similarity index 100% rename from app/components/GoogleScripts.tsx rename to src/components/GoogleScripts.tsx diff --git a/app/components/InteractiveSandbox.tsx b/src/components/InteractiveSandbox.tsx similarity index 100% rename from app/components/InteractiveSandbox.tsx rename to src/components/InteractiveSandbox.tsx diff --git a/app/components/LandingPageGad.tsx b/src/components/LandingPageGad.tsx similarity index 100% rename from app/components/LandingPageGad.tsx rename to src/components/LandingPageGad.tsx diff --git a/app/components/LibraryFeatureHighlights.tsx b/src/components/LibraryFeatureHighlights.tsx similarity index 100% rename from app/components/LibraryFeatureHighlights.tsx rename to src/components/LibraryFeatureHighlights.tsx diff --git a/app/components/Logo.tsx b/src/components/Logo.tsx similarity index 100% rename from app/components/Logo.tsx rename to src/components/Logo.tsx diff --git a/app/components/LogoColor.tsx b/src/components/LogoColor.tsx similarity index 100% rename from app/components/LogoColor.tsx rename to src/components/LogoColor.tsx diff --git a/app/components/LogoQueryGG.tsx b/src/components/LogoQueryGG.tsx similarity index 100% rename from app/components/LogoQueryGG.tsx rename to src/components/LogoQueryGG.tsx diff --git a/app/components/LogoQueryGGSmall.tsx b/src/components/LogoQueryGGSmall.tsx similarity index 100% rename from app/components/LogoQueryGGSmall.tsx rename to src/components/LogoQueryGGSmall.tsx diff --git a/app/components/Markdown.tsx b/src/components/Markdown.tsx similarity index 100% rename from app/components/Markdown.tsx rename to src/components/Markdown.tsx diff --git a/app/components/MarkdownLink.tsx b/src/components/MarkdownLink.tsx similarity index 100% rename from app/components/MarkdownLink.tsx rename to src/components/MarkdownLink.tsx diff --git a/app/components/Mounted.tsx b/src/components/Mounted.tsx similarity index 100% rename from app/components/Mounted.tsx rename to src/components/Mounted.tsx diff --git a/app/components/NotFound.tsx b/src/components/NotFound.tsx similarity index 100% rename from app/components/NotFound.tsx rename to src/components/NotFound.tsx diff --git a/app/components/NpmStatsChart.tsx b/src/components/NpmStatsChart.tsx similarity index 100% rename from app/components/NpmStatsChart.tsx rename to src/components/NpmStatsChart.tsx diff --git a/app/components/OpenSourceStats.tsx b/src/components/OpenSourceStats.tsx similarity index 100% rename from app/components/OpenSourceStats.tsx rename to src/components/OpenSourceStats.tsx diff --git a/app/components/QueryGGBanner.tsx b/src/components/QueryGGBanner.tsx similarity index 100% rename from app/components/QueryGGBanner.tsx rename to src/components/QueryGGBanner.tsx diff --git a/app/components/QueryGGBannerSale.tsx b/src/components/QueryGGBannerSale.tsx similarity index 100% rename from app/components/QueryGGBannerSale.tsx rename to src/components/QueryGGBannerSale.tsx diff --git a/app/components/RedirectVersionBanner.tsx b/src/components/RedirectVersionBanner.tsx similarity index 100% rename from app/components/RedirectVersionBanner.tsx rename to src/components/RedirectVersionBanner.tsx diff --git a/app/components/Scarf.tsx b/src/components/Scarf.tsx similarity index 100% rename from app/components/Scarf.tsx rename to src/components/Scarf.tsx diff --git a/app/components/SearchButton.tsx b/src/components/SearchButton.tsx similarity index 100% rename from app/components/SearchButton.tsx rename to src/components/SearchButton.tsx diff --git a/app/components/SearchModal.tsx b/src/components/SearchModal.tsx similarity index 100% rename from app/components/SearchModal.tsx rename to src/components/SearchModal.tsx diff --git a/app/components/SponsorPack.tsx b/src/components/SponsorPack.tsx similarity index 100% rename from app/components/SponsorPack.tsx rename to src/components/SponsorPack.tsx diff --git a/app/components/Style.tsx b/src/components/Style.tsx similarity index 100% rename from app/components/Style.tsx rename to src/components/Style.tsx diff --git a/app/components/ThemeToggle.tsx b/src/components/ThemeToggle.tsx similarity index 100% rename from app/components/ThemeToggle.tsx rename to src/components/ThemeToggle.tsx diff --git a/app/components/Toc.tsx b/src/components/Toc.tsx similarity index 100% rename from app/components/Toc.tsx rename to src/components/Toc.tsx diff --git a/app/components/TocMobile.tsx b/src/components/TocMobile.tsx similarity index 100% rename from app/components/TocMobile.tsx rename to src/components/TocMobile.tsx diff --git a/app/components/Tooltip.tsx b/src/components/Tooltip.tsx similarity index 100% rename from app/components/Tooltip.tsx rename to src/components/Tooltip.tsx diff --git a/app/components/useBytesSubmit.tsx b/src/components/useBytesSubmit.tsx similarity index 100% rename from app/components/useBytesSubmit.tsx rename to src/components/useBytesSubmit.tsx diff --git a/app/contexts/SearchContext.tsx b/src/contexts/SearchContext.tsx similarity index 100% rename from app/contexts/SearchContext.tsx rename to src/contexts/SearchContext.tsx diff --git a/app/hooks/useMounted.ts b/src/hooks/useMounted.ts similarity index 100% rename from app/hooks/useMounted.ts rename to src/hooks/useMounted.ts diff --git a/app/hooks/useMutation.ts b/src/hooks/useMutation.ts similarity index 100% rename from app/hooks/useMutation.ts rename to src/hooks/useMutation.ts diff --git a/app/hooks/useQueryGGPPPDiscount.ts b/src/hooks/useQueryGGPPPDiscount.ts similarity index 100% rename from app/hooks/useQueryGGPPPDiscount.ts rename to src/hooks/useQueryGGPPPDiscount.ts diff --git a/app/hooks/useScript.ts b/src/hooks/useScript.ts similarity index 100% rename from app/hooks/useScript.ts rename to src/hooks/useScript.ts diff --git a/app/hooks/useSessionStorage.ts b/src/hooks/useSessionStorage.ts similarity index 100% rename from app/hooks/useSessionStorage.ts rename to src/hooks/useSessionStorage.ts diff --git a/app/hooks/useWindowSize.ts b/src/hooks/useWindowSize.ts similarity index 100% rename from app/hooks/useWindowSize.ts rename to src/hooks/useWindowSize.ts diff --git a/app/images/ag-grid-dark.svg b/src/images/ag-grid-dark.svg similarity index 100% rename from app/images/ag-grid-dark.svg rename to src/images/ag-grid-dark.svg diff --git a/app/images/ag-grid-light.svg b/src/images/ag-grid-light.svg similarity index 100% rename from app/images/ag-grid-light.svg rename to src/images/ag-grid-light.svg diff --git a/app/images/ag-grid.png b/src/images/ag-grid.png similarity index 100% rename from app/images/ag-grid.png rename to src/images/ag-grid.png diff --git a/app/images/angular-logo.svg b/src/images/angular-logo.svg similarity index 100% rename from app/images/angular-logo.svg rename to src/images/angular-logo.svg diff --git a/app/images/background.jpg b/src/images/background.jpg similarity index 100% rename from app/images/background.jpg rename to src/images/background.jpg diff --git a/app/images/bytes-uidotdev.png b/src/images/bytes-uidotdev.png similarity index 100% rename from app/images/bytes-uidotdev.png rename to src/images/bytes-uidotdev.png diff --git a/app/images/bytes.svg b/src/images/bytes.svg similarity index 100% rename from app/images/bytes.svg rename to src/images/bytes.svg diff --git a/app/images/clerk-logo-dark.svg b/src/images/clerk-logo-dark.svg similarity index 100% rename from app/images/clerk-logo-dark.svg rename to src/images/clerk-logo-dark.svg diff --git a/app/images/clerk-logo-light.svg b/src/images/clerk-logo-light.svg similarity index 100% rename from app/images/clerk-logo-light.svg rename to src/images/clerk-logo-light.svg diff --git a/app/images/convex-color.svg b/src/images/convex-color.svg similarity index 100% rename from app/images/convex-color.svg rename to src/images/convex-color.svg diff --git a/app/images/convex-dark.svg b/src/images/convex-dark.svg similarity index 100% rename from app/images/convex-dark.svg rename to src/images/convex-dark.svg diff --git a/app/images/convex-white.svg b/src/images/convex-white.svg similarity index 100% rename from app/images/convex-white.svg rename to src/images/convex-white.svg diff --git a/app/images/discord-logo-white.svg b/src/images/discord-logo-white.svg similarity index 100% rename from app/images/discord-logo-white.svg rename to src/images/discord-logo-white.svg diff --git a/app/images/file-icons/css.svg b/src/images/file-icons/css.svg similarity index 100% rename from app/images/file-icons/css.svg rename to src/images/file-icons/css.svg diff --git a/app/images/file-icons/html.svg b/src/images/file-icons/html.svg similarity index 100% rename from app/images/file-icons/html.svg rename to src/images/file-icons/html.svg diff --git a/app/images/file-icons/javascript.svg b/src/images/file-icons/javascript.svg similarity index 100% rename from app/images/file-icons/javascript.svg rename to src/images/file-icons/javascript.svg diff --git a/app/images/file-icons/json.svg b/src/images/file-icons/json.svg similarity index 100% rename from app/images/file-icons/json.svg rename to src/images/file-icons/json.svg diff --git a/app/images/file-icons/svelte.svg b/src/images/file-icons/svelte.svg similarity index 100% rename from app/images/file-icons/svelte.svg rename to src/images/file-icons/svelte.svg diff --git a/app/images/file-icons/txt.svg b/src/images/file-icons/txt.svg similarity index 100% rename from app/images/file-icons/txt.svg rename to src/images/file-icons/txt.svg diff --git a/app/images/file-icons/typescript.svg b/src/images/file-icons/typescript.svg similarity index 100% rename from app/images/file-icons/typescript.svg rename to src/images/file-icons/typescript.svg diff --git a/app/images/file-icons/vue.svg b/src/images/file-icons/vue.svg similarity index 100% rename from app/images/file-icons/vue.svg rename to src/images/file-icons/vue.svg diff --git a/app/images/header-left-overlay.svg b/src/images/header-left-overlay.svg similarity index 100% rename from app/images/header-left-overlay.svg rename to src/images/header-left-overlay.svg diff --git a/app/images/javascript-logo-white.svg b/src/images/javascript-logo-white.svg similarity index 100% rename from app/images/javascript-logo-white.svg rename to src/images/javascript-logo-white.svg diff --git a/app/images/js-logo.svg b/src/images/js-logo.svg similarity index 100% rename from app/images/js-logo.svg rename to src/images/js-logo.svg diff --git a/app/images/lit-logo.svg b/src/images/lit-logo.svg similarity index 100% rename from app/images/lit-logo.svg rename to src/images/lit-logo.svg diff --git a/app/images/logo-600w.png b/src/images/logo-600w.png similarity index 100% rename from app/images/logo-600w.png rename to src/images/logo-600w.png diff --git a/app/images/logo-color-100w.png b/src/images/logo-color-100w.png similarity index 100% rename from app/images/logo-color-100w.png rename to src/images/logo-color-100w.png diff --git a/app/images/logo-color-600w.png b/src/images/logo-color-600w.png similarity index 100% rename from app/images/logo-color-600w.png rename to src/images/logo-color-600w.png diff --git a/app/images/logo-white.svg b/src/images/logo-white.svg similarity index 100% rename from app/images/logo-white.svg rename to src/images/logo-white.svg diff --git a/app/images/neon-dark.svg b/src/images/neon-dark.svg similarity index 100% rename from app/images/neon-dark.svg rename to src/images/neon-dark.svg diff --git a/app/images/neon-light.svg b/src/images/neon-light.svg similarity index 100% rename from app/images/neon-light.svg rename to src/images/neon-light.svg diff --git a/app/images/netlify-dark.svg b/src/images/netlify-dark.svg similarity index 100% rename from app/images/netlify-dark.svg rename to src/images/netlify-dark.svg diff --git a/app/images/netlify-light.svg b/src/images/netlify-light.svg similarity index 100% rename from app/images/netlify-light.svg rename to src/images/netlify-light.svg diff --git a/app/images/nozzle-dark.svg b/src/images/nozzle-dark.svg similarity index 100% rename from app/images/nozzle-dark.svg rename to src/images/nozzle-dark.svg diff --git a/app/images/nozzle-light.svg b/src/images/nozzle-light.svg similarity index 100% rename from app/images/nozzle-light.svg rename to src/images/nozzle-light.svg diff --git a/app/images/nozzle.png b/src/images/nozzle.png similarity index 100% rename from app/images/nozzle.png rename to src/images/nozzle.png diff --git a/app/images/og-light.png b/src/images/og-light.png similarity index 100% rename from app/images/og-light.png rename to src/images/og-light.png diff --git a/app/images/og.png b/src/images/og.png similarity index 100% rename from app/images/og.png rename to src/images/og.png diff --git a/app/images/people/corbincrutchley.jpeg b/src/images/people/corbincrutchley.jpeg similarity index 100% rename from app/images/people/corbincrutchley.jpeg rename to src/images/people/corbincrutchley.jpeg diff --git a/app/images/people/dominikdorfmeister.jpg b/src/images/people/dominikdorfmeister.jpg similarity index 100% rename from app/images/people/dominikdorfmeister.jpg rename to src/images/people/dominikdorfmeister.jpg diff --git a/app/images/people/kevinvancott.jpeg b/src/images/people/kevinvancott.jpeg similarity index 100% rename from app/images/people/kevinvancott.jpeg rename to src/images/people/kevinvancott.jpeg diff --git a/app/images/people/tannerlinsley.jpeg b/src/images/people/tannerlinsley.jpeg similarity index 100% rename from app/images/people/tannerlinsley.jpeg rename to src/images/people/tannerlinsley.jpeg diff --git a/app/images/preact-logo.svg b/src/images/preact-logo.svg similarity index 100% rename from app/images/preact-logo.svg rename to src/images/preact-logo.svg diff --git a/app/images/query-corner-fish-bottom-right.svg b/src/images/query-corner-fish-bottom-right.svg similarity index 100% rename from app/images/query-corner-fish-bottom-right.svg rename to src/images/query-corner-fish-bottom-right.svg diff --git a/app/images/query-corner-top-left.svg b/src/images/query-corner-top-left.svg similarity index 100% rename from app/images/query-corner-top-left.svg rename to src/images/query-corner-top-left.svg diff --git a/app/images/query-corner-top-right.svg b/src/images/query-corner-top-right.svg similarity index 100% rename from app/images/query-corner-top-right.svg rename to src/images/query-corner-top-right.svg diff --git a/app/images/query-header-course.svg b/src/images/query-header-course.svg similarity index 100% rename from app/images/query-header-course.svg rename to src/images/query-header-course.svg diff --git a/app/images/qwik-logo.svg b/src/images/qwik-logo.svg similarity index 100% rename from app/images/qwik-logo.svg rename to src/images/qwik-logo.svg diff --git a/app/images/react-logo-white.svg b/src/images/react-logo-white.svg similarity index 100% rename from app/images/react-logo-white.svg rename to src/images/react-logo-white.svg diff --git a/app/images/react-logo.svg b/src/images/react-logo.svg similarity index 100% rename from app/images/react-logo.svg rename to src/images/react-logo.svg diff --git a/app/images/sentry-wordmark-dark.svg b/src/images/sentry-wordmark-dark.svg similarity index 100% rename from app/images/sentry-wordmark-dark.svg rename to src/images/sentry-wordmark-dark.svg diff --git a/app/images/sentry-wordmark-light.svg b/src/images/sentry-wordmark-light.svg similarity index 100% rename from app/images/sentry-wordmark-light.svg rename to src/images/sentry-wordmark-light.svg diff --git a/app/images/solid-logo.svg b/src/images/solid-logo.svg similarity index 100% rename from app/images/solid-logo.svg rename to src/images/solid-logo.svg diff --git a/app/images/speakeasy-dark.svg b/src/images/speakeasy-dark.svg similarity index 100% rename from app/images/speakeasy-dark.svg rename to src/images/speakeasy-dark.svg diff --git a/app/images/speakeasy-light.svg b/src/images/speakeasy-light.svg similarity index 100% rename from app/images/speakeasy-light.svg rename to src/images/speakeasy-light.svg diff --git a/app/images/splash-dark.png b/src/images/splash-dark.png similarity index 100% rename from app/images/splash-dark.png rename to src/images/splash-dark.png diff --git a/app/images/splash-light.png b/src/images/splash-light.png similarity index 100% rename from app/images/splash-light.png rename to src/images/splash-light.png diff --git a/app/images/svelte-logo.svg b/src/images/svelte-logo.svg similarity index 100% rename from app/images/svelte-logo.svg rename to src/images/svelte-logo.svg diff --git a/app/images/toy-palm-chair.png b/src/images/toy-palm-chair.png similarity index 100% rename from app/images/toy-palm-chair.png rename to src/images/toy-palm-chair.png diff --git a/app/images/unkey-black.svg b/src/images/unkey-black.svg similarity index 100% rename from app/images/unkey-black.svg rename to src/images/unkey-black.svg diff --git a/app/images/unkey-white.svg b/src/images/unkey-white.svg similarity index 100% rename from app/images/unkey-white.svg rename to src/images/unkey-white.svg diff --git a/app/images/vercel-dark.svg b/src/images/vercel-dark.svg similarity index 100% rename from app/images/vercel-dark.svg rename to src/images/vercel-dark.svg diff --git a/app/images/vercel-light.svg b/src/images/vercel-light.svg similarity index 100% rename from app/images/vercel-light.svg rename to src/images/vercel-light.svg diff --git a/app/images/vue-logo.svg b/src/images/vue-logo.svg similarity index 100% rename from app/images/vue-logo.svg rename to src/images/vue-logo.svg diff --git a/app/libraries/config.tsx b/src/libraries/config.tsx similarity index 100% rename from app/libraries/config.tsx rename to src/libraries/config.tsx diff --git a/app/libraries/form.tsx b/src/libraries/form.tsx similarity index 100% rename from app/libraries/form.tsx rename to src/libraries/form.tsx diff --git a/app/libraries/index.tsx b/src/libraries/index.tsx similarity index 100% rename from app/libraries/index.tsx rename to src/libraries/index.tsx diff --git a/app/libraries/optimistic.tsx b/src/libraries/optimistic.tsx similarity index 100% rename from app/libraries/optimistic.tsx rename to src/libraries/optimistic.tsx diff --git a/app/libraries/pacer.tsx b/src/libraries/pacer.tsx similarity index 100% rename from app/libraries/pacer.tsx rename to src/libraries/pacer.tsx diff --git a/app/libraries/query.tsx b/src/libraries/query.tsx similarity index 100% rename from app/libraries/query.tsx rename to src/libraries/query.tsx diff --git a/app/libraries/ranger.tsx b/src/libraries/ranger.tsx similarity index 100% rename from app/libraries/ranger.tsx rename to src/libraries/ranger.tsx diff --git a/app/libraries/react-charts.ts b/src/libraries/react-charts.ts similarity index 100% rename from app/libraries/react-charts.ts rename to src/libraries/react-charts.ts diff --git a/app/libraries/router.tsx b/src/libraries/router.tsx similarity index 100% rename from app/libraries/router.tsx rename to src/libraries/router.tsx diff --git a/app/libraries/start.tsx b/src/libraries/start.tsx similarity index 100% rename from app/libraries/start.tsx rename to src/libraries/start.tsx diff --git a/app/libraries/store.tsx b/src/libraries/store.tsx similarity index 100% rename from app/libraries/store.tsx rename to src/libraries/store.tsx diff --git a/app/libraries/table.tsx b/src/libraries/table.tsx similarity index 100% rename from app/libraries/table.tsx rename to src/libraries/table.tsx diff --git a/app/libraries/virtual.tsx b/src/libraries/virtual.tsx similarity index 100% rename from app/libraries/virtual.tsx rename to src/libraries/virtual.tsx diff --git a/app/routeTree.gen.ts b/src/routeTree.gen.ts similarity index 100% rename from app/routeTree.gen.ts rename to src/routeTree.gen.ts diff --git a/app/router.tsx b/src/router.tsx similarity index 100% rename from app/router.tsx rename to src/router.tsx diff --git a/app/routes/$libraryId/$version.docs.$.tsx b/src/routes/$libraryId/$version.docs.$.tsx similarity index 100% rename from app/routes/$libraryId/$version.docs.$.tsx rename to src/routes/$libraryId/$version.docs.$.tsx diff --git a/app/routes/$libraryId/$version.docs.framework.$framework.$.tsx b/src/routes/$libraryId/$version.docs.framework.$framework.$.tsx similarity index 100% rename from app/routes/$libraryId/$version.docs.framework.$framework.$.tsx rename to src/routes/$libraryId/$version.docs.framework.$framework.$.tsx diff --git a/app/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx b/src/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx similarity index 100% rename from app/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx rename to src/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx diff --git a/app/routes/$libraryId/$version.docs.framework.$framework.index.tsx b/src/routes/$libraryId/$version.docs.framework.$framework.index.tsx similarity index 100% rename from app/routes/$libraryId/$version.docs.framework.$framework.index.tsx rename to src/routes/$libraryId/$version.docs.framework.$framework.index.tsx diff --git a/app/routes/$libraryId/$version.docs.framework.index.tsx b/src/routes/$libraryId/$version.docs.framework.index.tsx similarity index 100% rename from app/routes/$libraryId/$version.docs.framework.index.tsx rename to src/routes/$libraryId/$version.docs.framework.index.tsx diff --git a/app/routes/$libraryId/$version.docs.index.tsx b/src/routes/$libraryId/$version.docs.index.tsx similarity index 100% rename from app/routes/$libraryId/$version.docs.index.tsx rename to src/routes/$libraryId/$version.docs.index.tsx diff --git a/app/routes/$libraryId/$version.docs.tsx b/src/routes/$libraryId/$version.docs.tsx similarity index 100% rename from app/routes/$libraryId/$version.docs.tsx rename to src/routes/$libraryId/$version.docs.tsx diff --git a/app/routes/$libraryId/$version.tsx b/src/routes/$libraryId/$version.tsx similarity index 100% rename from app/routes/$libraryId/$version.tsx rename to src/routes/$libraryId/$version.tsx diff --git a/app/routes/$libraryId/index.tsx b/src/routes/$libraryId/index.tsx similarity index 100% rename from app/routes/$libraryId/index.tsx rename to src/routes/$libraryId/index.tsx diff --git a/app/routes/$libraryId/route.tsx b/src/routes/$libraryId/route.tsx similarity index 100% rename from app/routes/$libraryId/route.tsx rename to src/routes/$libraryId/route.tsx diff --git a/app/routes/__root.tsx b/src/routes/__root.tsx similarity index 100% rename from app/routes/__root.tsx rename to src/routes/__root.tsx diff --git a/app/routes/_libraries/blog.$.tsx b/src/routes/_libraries/blog.$.tsx similarity index 100% rename from app/routes/_libraries/blog.$.tsx rename to src/routes/_libraries/blog.$.tsx diff --git a/app/routes/_libraries/blog.index.tsx b/src/routes/_libraries/blog.index.tsx similarity index 100% rename from app/routes/_libraries/blog.index.tsx rename to src/routes/_libraries/blog.index.tsx diff --git a/app/routes/_libraries/blog.tsx b/src/routes/_libraries/blog.tsx similarity index 100% rename from app/routes/_libraries/blog.tsx rename to src/routes/_libraries/blog.tsx diff --git a/app/routes/_libraries/config.$version.index.tsx b/src/routes/_libraries/config.$version.index.tsx similarity index 100% rename from app/routes/_libraries/config.$version.index.tsx rename to src/routes/_libraries/config.$version.index.tsx diff --git a/app/routes/_libraries/dedicated-support.tsx b/src/routes/_libraries/dedicated-support.tsx similarity index 100% rename from app/routes/_libraries/dedicated-support.tsx rename to src/routes/_libraries/dedicated-support.tsx diff --git a/app/routes/_libraries/ethos.tsx b/src/routes/_libraries/ethos.tsx similarity index 100% rename from app/routes/_libraries/ethos.tsx rename to src/routes/_libraries/ethos.tsx diff --git a/app/routes/_libraries/form.$version.index.tsx b/src/routes/_libraries/form.$version.index.tsx similarity index 100% rename from app/routes/_libraries/form.$version.index.tsx rename to src/routes/_libraries/form.$version.index.tsx diff --git a/app/routes/_libraries/index.tsx b/src/routes/_libraries/index.tsx similarity index 100% rename from app/routes/_libraries/index.tsx rename to src/routes/_libraries/index.tsx diff --git a/app/routes/_libraries/learn.tsx b/src/routes/_libraries/learn.tsx similarity index 100% rename from app/routes/_libraries/learn.tsx rename to src/routes/_libraries/learn.tsx diff --git a/app/routes/_libraries/pacer.$version.index.tsx b/src/routes/_libraries/pacer.$version.index.tsx similarity index 100% rename from app/routes/_libraries/pacer.$version.index.tsx rename to src/routes/_libraries/pacer.$version.index.tsx diff --git a/app/routes/_libraries/privacy.tsx b/src/routes/_libraries/privacy.tsx similarity index 100% rename from app/routes/_libraries/privacy.tsx rename to src/routes/_libraries/privacy.tsx diff --git a/app/routes/_libraries/query.$version.index.tsx b/src/routes/_libraries/query.$version.index.tsx similarity index 100% rename from app/routes/_libraries/query.$version.index.tsx rename to src/routes/_libraries/query.$version.index.tsx diff --git a/app/routes/_libraries/ranger.$version.index.tsx b/src/routes/_libraries/ranger.$version.index.tsx similarity index 100% rename from app/routes/_libraries/ranger.$version.index.tsx rename to src/routes/_libraries/ranger.$version.index.tsx diff --git a/app/routes/_libraries/route.tsx b/src/routes/_libraries/route.tsx similarity index 100% rename from app/routes/_libraries/route.tsx rename to src/routes/_libraries/route.tsx diff --git a/app/routes/_libraries/router.$version.index.tsx b/src/routes/_libraries/router.$version.index.tsx similarity index 100% rename from app/routes/_libraries/router.$version.index.tsx rename to src/routes/_libraries/router.$version.index.tsx diff --git a/app/routes/_libraries/start.$version.index.tsx b/src/routes/_libraries/start.$version.index.tsx similarity index 100% rename from app/routes/_libraries/start.$version.index.tsx rename to src/routes/_libraries/start.$version.index.tsx diff --git a/app/routes/_libraries/store.$version.index.tsx b/src/routes/_libraries/store.$version.index.tsx similarity index 100% rename from app/routes/_libraries/store.$version.index.tsx rename to src/routes/_libraries/store.$version.index.tsx diff --git a/app/routes/_libraries/support.tsx b/src/routes/_libraries/support.tsx similarity index 100% rename from app/routes/_libraries/support.tsx rename to src/routes/_libraries/support.tsx diff --git a/app/routes/_libraries/table.$version.index.tsx b/src/routes/_libraries/table.$version.index.tsx similarity index 100% rename from app/routes/_libraries/table.$version.index.tsx rename to src/routes/_libraries/table.$version.index.tsx diff --git a/app/routes/_libraries/terms.tsx b/src/routes/_libraries/terms.tsx similarity index 100% rename from app/routes/_libraries/terms.tsx rename to src/routes/_libraries/terms.tsx diff --git a/app/routes/_libraries/virtual.$version.index.tsx b/src/routes/_libraries/virtual.$version.index.tsx similarity index 100% rename from app/routes/_libraries/virtual.$version.index.tsx rename to src/routes/_libraries/virtual.$version.index.tsx diff --git a/app/routes/dashboard.tsx b/src/routes/dashboard.tsx similarity index 100% rename from app/routes/dashboard.tsx rename to src/routes/dashboard.tsx diff --git a/app/routes/login.tsx b/src/routes/login.tsx similarity index 100% rename from app/routes/login.tsx rename to src/routes/login.tsx diff --git a/app/routes/merch.tsx b/src/routes/merch.tsx similarity index 100% rename from app/routes/merch.tsx rename to src/routes/merch.tsx diff --git a/app/routes/sponsors-embed.tsx b/src/routes/sponsors-embed.tsx similarity index 100% rename from app/routes/sponsors-embed.tsx rename to src/routes/sponsors-embed.tsx diff --git a/app/routes/stats/index.tsx b/src/routes/stats/index.tsx similarity index 100% rename from app/routes/stats/index.tsx rename to src/routes/stats/index.tsx diff --git a/app/routes/stats/npm/-comparisons.ts b/src/routes/stats/npm/-comparisons.ts similarity index 100% rename from app/routes/stats/npm/-comparisons.ts rename to src/routes/stats/npm/-comparisons.ts diff --git a/app/routes/stats/npm/index.tsx b/src/routes/stats/npm/index.tsx similarity index 100% rename from app/routes/stats/npm/index.tsx rename to src/routes/stats/npm/index.tsx diff --git a/app/server/airtable.ts b/src/server/airtable.ts similarity index 100% rename from app/server/airtable.ts rename to src/server/airtable.ts diff --git a/app/server/discord-github.ts b/src/server/discord-github.ts similarity index 100% rename from app/server/discord-github.ts rename to src/server/discord-github.ts diff --git a/app/server/discord.ts b/src/server/discord.ts similarity index 100% rename from app/server/discord.ts rename to src/server/discord.ts diff --git a/app/server/github.ts b/src/server/github.ts similarity index 100% rename from app/server/github.ts rename to src/server/github.ts diff --git a/app/server/sponsors.ts b/src/server/sponsors.ts similarity index 100% rename from app/server/sponsors.ts rename to src/server/sponsors.ts diff --git a/app/server/tiers.ts b/src/server/tiers.ts similarity index 100% rename from app/server/tiers.ts rename to src/server/tiers.ts diff --git a/app/ssr.tsx b/src/ssr.tsx similarity index 100% rename from app/ssr.tsx rename to src/ssr.tsx diff --git a/app/styles/app.css b/src/styles/app.css similarity index 100% rename from app/styles/app.css rename to src/styles/app.css diff --git a/app/styles/app.generated.css b/src/styles/app.generated.css similarity index 100% rename from app/styles/app.generated.css rename to src/styles/app.generated.css diff --git a/app/styles/carbon.css b/src/styles/carbon.css similarity index 100% rename from app/styles/carbon.css rename to src/styles/carbon.css diff --git a/app/types/images.d.ts b/src/types/images.d.ts similarity index 100% rename from app/types/images.d.ts rename to src/types/images.d.ts diff --git a/app/utils/blog.ts b/src/utils/blog.ts similarity index 100% rename from app/utils/blog.ts rename to src/utils/blog.ts diff --git a/app/utils/cache.server.ts b/src/utils/cache.server.ts similarity index 100% rename from app/utils/cache.server.ts rename to src/utils/cache.server.ts diff --git a/app/utils/config.ts b/src/utils/config.ts similarity index 100% rename from app/utils/config.ts rename to src/utils/config.ts diff --git a/app/utils/docs.ts b/src/utils/docs.ts similarity index 100% rename from app/utils/docs.ts rename to src/utils/docs.ts diff --git a/app/utils/documents.server.ts b/src/utils/documents.server.ts similarity index 100% rename from app/utils/documents.server.ts rename to src/utils/documents.server.ts diff --git a/app/utils/env.ts b/src/utils/env.ts similarity index 100% rename from app/utils/env.ts rename to src/utils/env.ts diff --git a/app/utils/handleRedirects.server.ts b/src/utils/handleRedirects.server.ts similarity index 100% rename from app/utils/handleRedirects.server.ts rename to src/utils/handleRedirects.server.ts diff --git a/app/utils/partners.tsx b/src/utils/partners.tsx similarity index 100% rename from app/utils/partners.tsx rename to src/utils/partners.tsx diff --git a/app/utils/sandbox.ts b/src/utils/sandbox.ts similarity index 100% rename from app/utils/sandbox.ts rename to src/utils/sandbox.ts diff --git a/app/utils/sentry.ts b/src/utils/sentry.ts similarity index 100% rename from app/utils/sentry.ts rename to src/utils/sentry.ts diff --git a/app/utils/seo.ts b/src/utils/seo.ts similarity index 100% rename from app/utils/seo.ts rename to src/utils/seo.ts diff --git a/app/utils/useClientOnlyRender.ts b/src/utils/useClientOnlyRender.ts similarity index 100% rename from app/utils/useClientOnlyRender.ts rename to src/utils/useClientOnlyRender.ts diff --git a/app/utils/useLocalStorage.ts b/src/utils/useLocalStorage.ts similarity index 100% rename from app/utils/useLocalStorage.ts rename to src/utils/useLocalStorage.ts diff --git a/app/utils/usePrefersReducedMotion.ts b/src/utils/usePrefersReducedMotion.ts similarity index 100% rename from app/utils/usePrefersReducedMotion.ts rename to src/utils/usePrefersReducedMotion.ts diff --git a/app/utils/utils.ts b/src/utils/utils.ts similarity index 100% rename from app/utils/utils.ts rename to src/utils/utils.ts diff --git a/tailwind.config.cjs b/tailwind.config.cjs index ed34bdbda..821368431 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -1,6 +1,6 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: ['./app/**/*.{js,ts,jsx,tsx}'], + content: ['./src/**/*.{js,ts,jsx,tsx}'], plugins: [require('@tailwindcss/typography')], darkMode: 'class', theme: { diff --git a/tsconfig.json b/tsconfig.json index 3483ad2f6..58b47991f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "forceConsistentCasingInFileNames": true, "baseUrl": ".", "paths": { - "~/*": ["./app/*"], + "~/*": ["./src/*"], "content-collections": ["./.content-collections/generated"] }, "types": ["vite/client"], diff --git a/tsr.config.json b/tsr.config.json index bc7055a01..9577888fb 100644 --- a/tsr.config.json +++ b/tsr.config.json @@ -1,5 +1,6 @@ { + "appDirectory": "src", "rootDirectory": ".", - "routesDirectory": "./app/routes", - "generatedRouteTree": "./app/routeTree.gen.ts" + "routesDirectory": "./src/routes", + "generatedRouteTree": "./src/routeTree.gen.ts" }