From 40ad656b02a124047131c57d825f79b75efd8eba Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Mon, 11 Aug 2025 16:46:38 +0200 Subject: [PATCH 1/2] fix wording: asset market -> assets --- .../template-nextjs/Components/Layout.tsx | 2 +- .../Components/explore-tabs.tsx | 2 +- .../{asset-market => assets}/page.tsx | 2 +- .../src/components/explore-tabs.tsx | 2 +- .../template-vite-react/src/routeTree.gen.ts | 37 +++++++++---------- .../{asset-market.tsx => assets.tsx} | 4 +- 6 files changed, 24 insertions(+), 25 deletions(-) rename apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/{asset-market => assets}/page.tsx (99%) rename apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge/{asset-market.tsx => assets.tsx} (98%) diff --git a/apps/create-hypergraph/template-nextjs/Components/Layout.tsx b/apps/create-hypergraph/template-nextjs/Components/Layout.tsx index 21adf05c..635f33cb 100644 --- a/apps/create-hypergraph/template-nextjs/Components/Layout.tsx +++ b/apps/create-hypergraph/template-nextjs/Components/Layout.tsx @@ -23,7 +23,7 @@ export function Layout({ children }: Readonly<{ children: React.ReactNode }>) { const { redirectToConnect, logout } = useHypergraphApp(); useLayoutEffect(() => { - if (pathname.startsWith('/login') || pathname.startsWith('/authenticate-success') || pathname === '/' || pathname === '/explore-public-knowledge' || pathname === '/explore-public-knowledge/projects' || pathname === '/explore-public-knowledge/dapps' || pathname === '/explore-public-knowledge/investors' || pathname === '/explore-public-knowledge/investment-rounds' || pathname === '/explore-public-knowledge/asset-market') { + if (pathname.startsWith('/login') || pathname.startsWith('/authenticate-success') || pathname === '/' || pathname === '/explore-public-knowledge' || pathname === '/explore-public-knowledge/projects' || pathname === '/explore-public-knowledge/dapps' || pathname === '/explore-public-knowledge/investors' || pathname === '/explore-public-knowledge/investment-rounds' || pathname === '/explore-public-knowledge/assets') { return; } diff --git a/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx b/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx index f5105092..5ceef62c 100644 --- a/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx +++ b/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx @@ -13,7 +13,7 @@ const tabs: Tab[] = [ { label: 'Projects', href: '/explore-public-knowledge/projects' }, { label: 'dApps', href: '/explore-public-knowledge/dapps' }, { label: 'Investment Rounds', href: '/explore-public-knowledge/investment-rounds' }, - { label: 'Asset Market', href: '/explore-public-knowledge/asset-market' }, + { label: 'Assets', href: '/explore-public-knowledge/assets' }, ]; export function ExploreTabs() { diff --git a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/asset-market/page.tsx b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/assets/page.tsx similarity index 99% rename from apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/asset-market/page.tsx rename to apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/assets/page.tsx index d5652d92..89844b0b 100644 --- a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/asset-market/page.tsx +++ b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/assets/page.tsx @@ -14,7 +14,7 @@ export default function ExploreAssetMarketPage() { <>

- Asset Market + Assets

diff --git a/apps/create-hypergraph/template-vite-react/src/components/explore-tabs.tsx b/apps/create-hypergraph/template-vite-react/src/components/explore-tabs.tsx index c0c0e174..c6a949ae 100644 --- a/apps/create-hypergraph/template-vite-react/src/components/explore-tabs.tsx +++ b/apps/create-hypergraph/template-vite-react/src/components/explore-tabs.tsx @@ -10,7 +10,7 @@ const tabs: Tab[] = [ { label: 'Projects', to: '/explore-public-knowledge/projects' }, { label: 'dApps', to: '/explore-public-knowledge/dapps' }, { label: 'Investment Rounds', to: '/explore-public-knowledge/investment-rounds' }, - { label: 'Asset Market', to: '/explore-public-knowledge/asset-market' }, + { label: 'Assets', to: '/explore-public-knowledge/assets' }, ]; export function ExploreTabs() { diff --git a/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts b/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts index 11206355..61c0f85a 100644 --- a/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts +++ b/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts @@ -19,7 +19,7 @@ import { Route as PrivateSpaceSpaceIdRouteImport } from './routes/private-space/ import { Route as ExplorePublicKnowledgeProjectsRouteImport } from './routes/explore-public-knowledge/projects' import { Route as ExplorePublicKnowledgeInvestmentRoundsRouteImport } from './routes/explore-public-knowledge/investment-rounds' import { Route as ExplorePublicKnowledgeDappsRouteImport } from './routes/explore-public-knowledge/dapps' -import { Route as ExplorePublicKnowledgeAssetMarketRouteImport } from './routes/explore-public-knowledge/asset-market' +import { Route as ExplorePublicKnowledgeAssetsRouteImport } from './routes/explore-public-knowledge/assets' const LoginRoute = LoginRouteImport.update({ id: '/login', @@ -75,10 +75,10 @@ const ExplorePublicKnowledgeDappsRoute = path: '/dapps', getParentRoute: () => ExplorePublicKnowledgeRoute, } as any) -const ExplorePublicKnowledgeAssetMarketRoute = - ExplorePublicKnowledgeAssetMarketRouteImport.update({ - id: '/asset-market', - path: '/asset-market', +const ExplorePublicKnowledgeAssetsRoute = + ExplorePublicKnowledgeAssetsRouteImport.update({ + id: '/assets', + path: '/assets', getParentRoute: () => ExplorePublicKnowledgeRoute, } as any) @@ -87,7 +87,7 @@ export interface FileRoutesByFullPath { '/authenticate-success': typeof AuthenticateSuccessRoute '/explore-public-knowledge': typeof ExplorePublicKnowledgeRouteWithChildren '/login': typeof LoginRoute - '/explore-public-knowledge/asset-market': typeof ExplorePublicKnowledgeAssetMarketRoute + '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute @@ -99,7 +99,7 @@ export interface FileRoutesByTo { '/': typeof IndexRoute '/authenticate-success': typeof AuthenticateSuccessRoute '/login': typeof LoginRoute - '/explore-public-knowledge/asset-market': typeof ExplorePublicKnowledgeAssetMarketRoute + '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute @@ -113,7 +113,7 @@ export interface FileRoutesById { '/authenticate-success': typeof AuthenticateSuccessRoute '/explore-public-knowledge': typeof ExplorePublicKnowledgeRouteWithChildren '/login': typeof LoginRoute - '/explore-public-knowledge/asset-market': typeof ExplorePublicKnowledgeAssetMarketRoute + '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute @@ -128,7 +128,7 @@ export interface FileRouteTypes { | '/authenticate-success' | '/explore-public-knowledge' | '/login' - | '/explore-public-knowledge/asset-market' + | '/explore-public-knowledge/assets' | '/explore-public-knowledge/dapps' | '/explore-public-knowledge/investment-rounds' | '/explore-public-knowledge/projects' @@ -140,7 +140,7 @@ export interface FileRouteTypes { | '/' | '/authenticate-success' | '/login' - | '/explore-public-knowledge/asset-market' + | '/explore-public-knowledge/assets' | '/explore-public-knowledge/dapps' | '/explore-public-knowledge/investment-rounds' | '/explore-public-knowledge/projects' @@ -153,7 +153,7 @@ export interface FileRouteTypes { | '/authenticate-success' | '/explore-public-knowledge' | '/login' - | '/explore-public-knowledge/asset-market' + | '/explore-public-knowledge/assets' | '/explore-public-knowledge/dapps' | '/explore-public-knowledge/investment-rounds' | '/explore-public-knowledge/projects' @@ -243,18 +243,18 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof ExplorePublicKnowledgeDappsRouteImport parentRoute: typeof ExplorePublicKnowledgeRoute } - '/explore-public-knowledge/asset-market': { - id: '/explore-public-knowledge/asset-market' - path: '/asset-market' - fullPath: '/explore-public-knowledge/asset-market' - preLoaderRoute: typeof ExplorePublicKnowledgeAssetMarketRouteImport + '/explore-public-knowledge/assets': { + id: '/explore-public-knowledge/assets' + path: '/assets' + fullPath: '/explore-public-knowledge/assets' + preLoaderRoute: typeof ExplorePublicKnowledgeAssetsRouteImport parentRoute: typeof ExplorePublicKnowledgeRoute } } } interface ExplorePublicKnowledgeRouteChildren { - ExplorePublicKnowledgeAssetMarketRoute: typeof ExplorePublicKnowledgeAssetMarketRoute + ExplorePublicKnowledgeAssetsRoute: typeof ExplorePublicKnowledgeAssetsRoute ExplorePublicKnowledgeDappsRoute: typeof ExplorePublicKnowledgeDappsRoute ExplorePublicKnowledgeInvestmentRoundsRoute: typeof ExplorePublicKnowledgeInvestmentRoundsRoute ExplorePublicKnowledgeProjectsRoute: typeof ExplorePublicKnowledgeProjectsRoute @@ -263,8 +263,7 @@ interface ExplorePublicKnowledgeRouteChildren { const ExplorePublicKnowledgeRouteChildren: ExplorePublicKnowledgeRouteChildren = { - ExplorePublicKnowledgeAssetMarketRoute: - ExplorePublicKnowledgeAssetMarketRoute, + ExplorePublicKnowledgeAssetsRoute: ExplorePublicKnowledgeAssetsRoute, ExplorePublicKnowledgeDappsRoute: ExplorePublicKnowledgeDappsRoute, ExplorePublicKnowledgeInvestmentRoundsRoute: ExplorePublicKnowledgeInvestmentRoundsRoute, diff --git a/apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge/asset-market.tsx b/apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge/assets.tsx similarity index 98% rename from apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge/asset-market.tsx rename to apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge/assets.tsx index f0520efb..7d293fe4 100644 --- a/apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge/asset-market.tsx +++ b/apps/create-hypergraph/template-vite-react/src/routes/explore-public-knowledge/assets.tsx @@ -2,7 +2,7 @@ import { Asset } from '@/schema'; import { useQuery } from '@graphprotocol/hypergraph-react'; import { createFileRoute } from '@tanstack/react-router'; -export const Route = createFileRoute('/explore-public-knowledge/asset-market')({ +export const Route = createFileRoute('/explore-public-knowledge/assets')({ component: AssetMarket, }); @@ -17,7 +17,7 @@ function AssetMarket() { <>

- Asset Market + Assets

From b62ba06b91f548a6a505b2cd03e5e1fe05340f75 Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Mon, 11 Aug 2025 16:47:52 +0200 Subject: [PATCH 2/2] apply prettier in templates --- .../template-nextjs/Components/Layout.tsx | 12 +- .../Components/explore-tabs.tsx | 2 - .../explore-public-knowledge/assets/page.tsx | 9 +- .../explore-public-knowledge/dapps/page.tsx | 15 +- .../investment-rounds/page.tsx | 9 +- .../app/explore-public-knowledge/layout.tsx | 8 +- .../projects/page.tsx | 22 +- .../template-vite-react/.prettierrc | 2 +- .../template-vite-react/README.md | 2 +- .../template-vite-react/eslint.config.mjs | 17 +- .../template-vite-react/src/index.css | 4 +- .../template-vite-react/src/main.tsx | 2 +- .../template-vite-react/src/routeTree.gen.ts | 352 +++++++++--------- .../src/routes/private-space/$space-id.tsx | 6 +- .../template-vite-react/tsconfig.app.json | 16 +- .../template-vite-react/tsconfig.json | 2 +- .../template-vite-react/tsconfig.node.json | 10 +- 17 files changed, 246 insertions(+), 244 deletions(-) diff --git a/apps/create-hypergraph/template-nextjs/Components/Layout.tsx b/apps/create-hypergraph/template-nextjs/Components/Layout.tsx index 635f33cb..3e52e3b2 100644 --- a/apps/create-hypergraph/template-nextjs/Components/Layout.tsx +++ b/apps/create-hypergraph/template-nextjs/Components/Layout.tsx @@ -23,7 +23,17 @@ export function Layout({ children }: Readonly<{ children: React.ReactNode }>) { const { redirectToConnect, logout } = useHypergraphApp(); useLayoutEffect(() => { - if (pathname.startsWith('/login') || pathname.startsWith('/authenticate-success') || pathname === '/' || pathname === '/explore-public-knowledge' || pathname === '/explore-public-knowledge/projects' || pathname === '/explore-public-knowledge/dapps' || pathname === '/explore-public-knowledge/investors' || pathname === '/explore-public-knowledge/investment-rounds' || pathname === '/explore-public-knowledge/assets') { + if ( + pathname.startsWith('/login') || + pathname.startsWith('/authenticate-success') || + pathname === '/' || + pathname === '/explore-public-knowledge' || + pathname === '/explore-public-knowledge/projects' || + pathname === '/explore-public-knowledge/dapps' || + pathname === '/explore-public-knowledge/investors' || + pathname === '/explore-public-knowledge/investment-rounds' || + pathname === '/explore-public-knowledge/assets' + ) { return; } diff --git a/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx b/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx index 5ceef62c..0bdf238e 100644 --- a/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx +++ b/apps/create-hypergraph/template-nextjs/Components/explore-tabs.tsx @@ -41,5 +41,3 @@ export function ExploreTabs() { ); } - - diff --git a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/assets/page.tsx b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/assets/page.tsx index 89844b0b..55b3863a 100644 --- a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/assets/page.tsx +++ b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/assets/page.tsx @@ -55,7 +55,12 @@ export default function ExploreAssetMarketPage() {
- +

No Assets Found

@@ -65,5 +70,3 @@ export default function ExploreAssetMarketPage() { ); } - - diff --git a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/dapps/page.tsx b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/dapps/page.tsx index 59b35495..00d4fb2f 100644 --- a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/dapps/page.tsx +++ b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/dapps/page.tsx @@ -33,7 +33,11 @@ export default function ExploreDappsPage() {
{dapp.avatar?.[0]?.url ? ( - + ) : ( {dapp.name.charAt(0).toUpperCase()} )} @@ -85,7 +89,12 @@ export default function ExploreDappsPage() {
- +

No Dapps Found

@@ -95,5 +104,3 @@ export default function ExploreDappsPage() { ); } - - diff --git a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/investment-rounds/page.tsx b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/investment-rounds/page.tsx index cffbba7b..689d297d 100644 --- a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/investment-rounds/page.tsx +++ b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/investment-rounds/page.tsx @@ -70,7 +70,12 @@ export default function ExploreInvestmentRoundsPage() {
- +

No Investment Rounds Found

@@ -80,5 +85,3 @@ export default function ExploreInvestmentRoundsPage() { ); } - - diff --git a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/layout.tsx b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/layout.tsx index 251731cf..7309eb92 100644 --- a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/layout.tsx +++ b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/layout.tsx @@ -1,10 +1,6 @@ import { ExploreTabs } from '../../Components/explore-tabs'; -export default function ExplorePublicKnowledgeLayout({ - children, -}: { - children: React.ReactNode; -}) { +export default function ExplorePublicKnowledgeLayout({ children }: { children: React.ReactNode }) { return (
@@ -22,5 +18,3 @@ export default function ExplorePublicKnowledgeLayout({
); } - - diff --git a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/projects/page.tsx b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/projects/page.tsx index 8be7a41a..6603f54c 100644 --- a/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/projects/page.tsx +++ b/apps/create-hypergraph/template-nextjs/app/explore-public-knowledge/projects/page.tsx @@ -32,7 +32,12 @@ export default function ExploreProjectsPage() {
- +
{project.avatar?.[0]?.url ? ( - + ) : ( {project.name.charAt(0).toUpperCase()} )} @@ -96,7 +105,12 @@ export default function ExploreProjectsPage() {
- +

No Projects Found

@@ -106,5 +120,3 @@ export default function ExploreProjectsPage() { ); } - - diff --git a/apps/create-hypergraph/template-vite-react/.prettierrc b/apps/create-hypergraph/template-vite-react/.prettierrc index f65aabcb..0981b7cc 100644 --- a/apps/create-hypergraph/template-vite-react/.prettierrc +++ b/apps/create-hypergraph/template-vite-react/.prettierrc @@ -1,4 +1,4 @@ { "singleQuote": true, "printWidth": 120 -} \ No newline at end of file +} diff --git a/apps/create-hypergraph/template-vite-react/README.md b/apps/create-hypergraph/template-vite-react/README.md index de323c10..726a5613 100644 --- a/apps/create-hypergraph/template-vite-react/README.md +++ b/apps/create-hypergraph/template-vite-react/README.md @@ -1,3 +1,3 @@ # Hypergraph + Vite + React -This template is a minimal setup for a [Hypergraph](https://github.com/graphprotocol/hypergraph) app using Vite and React. \ No newline at end of file +This template is a minimal setup for a [Hypergraph](https://github.com/graphprotocol/hypergraph) app using Vite and React. diff --git a/apps/create-hypergraph/template-vite-react/eslint.config.mjs b/apps/create-hypergraph/template-vite-react/eslint.config.mjs index fc7617f8..cfd81c93 100644 --- a/apps/create-hypergraph/template-vite-react/eslint.config.mjs +++ b/apps/create-hypergraph/template-vite-react/eslint.config.mjs @@ -1,8 +1,8 @@ -import js from '@eslint/js' -import globals from 'globals' -import reactHooks from 'eslint-plugin-react-hooks' -import reactRefresh from 'eslint-plugin-react-refresh' -import tseslint from 'typescript-eslint' +import js from '@eslint/js'; +import globals from 'globals'; +import reactHooks from 'eslint-plugin-react-hooks'; +import reactRefresh from 'eslint-plugin-react-refresh'; +import tseslint from 'typescript-eslint'; export default tseslint.config( { ignores: ['dist'] }, @@ -19,10 +19,7 @@ export default tseslint.config( }, rules: { ...reactHooks.configs.recommended.rules, - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], + 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], }, }, -) \ No newline at end of file +); diff --git a/apps/create-hypergraph/template-vite-react/src/index.css b/apps/create-hypergraph/template-vite-react/src/index.css index cab93eb5..c2f75965 100644 --- a/apps/create-hypergraph/template-vite-react/src/index.css +++ b/apps/create-hypergraph/template-vite-react/src/index.css @@ -1,5 +1,5 @@ @import 'tailwindcss'; -@import "tw-animate-css"; +@import 'tw-animate-css'; @custom-variant dark (&:is(.dark *)); @@ -117,4 +117,4 @@ body { @apply bg-background text-foreground; } -} \ No newline at end of file +} diff --git a/apps/create-hypergraph/template-vite-react/src/main.tsx b/apps/create-hypergraph/template-vite-react/src/main.tsx index 5a5fcd00..0cfcb1ac 100644 --- a/apps/create-hypergraph/template-vite-react/src/main.tsx +++ b/apps/create-hypergraph/template-vite-react/src/main.tsx @@ -28,4 +28,4 @@ if (rootElement && !rootElement.innerHTML) { , // , ); -} \ No newline at end of file +} diff --git a/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts b/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts index 61c0f85a..78413e5a 100644 --- a/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts +++ b/apps/create-hypergraph/template-vite-react/src/routeTree.gen.ts @@ -8,121 +8,116 @@ // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. -import { Route as rootRouteImport } from './routes/__root' -import { Route as LoginRouteImport } from './routes/login' -import { Route as ExplorePublicKnowledgeRouteImport } from './routes/explore-public-knowledge' -import { Route as AuthenticateSuccessRouteImport } from './routes/authenticate-success' -import { Route as IndexRouteImport } from './routes/index' -import { Route as ExplorePublicKnowledgeIndexRouteImport } from './routes/explore-public-knowledge/index' -import { Route as PublicSpaceSpaceIdRouteImport } from './routes/public-space/$space-id' -import { Route as PrivateSpaceSpaceIdRouteImport } from './routes/private-space/$space-id' -import { Route as ExplorePublicKnowledgeProjectsRouteImport } from './routes/explore-public-knowledge/projects' -import { Route as ExplorePublicKnowledgeInvestmentRoundsRouteImport } from './routes/explore-public-knowledge/investment-rounds' -import { Route as ExplorePublicKnowledgeDappsRouteImport } from './routes/explore-public-knowledge/dapps' -import { Route as ExplorePublicKnowledgeAssetsRouteImport } from './routes/explore-public-knowledge/assets' +import { Route as rootRouteImport } from './routes/__root'; +import { Route as LoginRouteImport } from './routes/login'; +import { Route as ExplorePublicKnowledgeRouteImport } from './routes/explore-public-knowledge'; +import { Route as AuthenticateSuccessRouteImport } from './routes/authenticate-success'; +import { Route as IndexRouteImport } from './routes/index'; +import { Route as ExplorePublicKnowledgeIndexRouteImport } from './routes/explore-public-knowledge/index'; +import { Route as PublicSpaceSpaceIdRouteImport } from './routes/public-space/$space-id'; +import { Route as PrivateSpaceSpaceIdRouteImport } from './routes/private-space/$space-id'; +import { Route as ExplorePublicKnowledgeProjectsRouteImport } from './routes/explore-public-knowledge/projects'; +import { Route as ExplorePublicKnowledgeInvestmentRoundsRouteImport } from './routes/explore-public-knowledge/investment-rounds'; +import { Route as ExplorePublicKnowledgeDappsRouteImport } from './routes/explore-public-knowledge/dapps'; +import { Route as ExplorePublicKnowledgeAssetsRouteImport } from './routes/explore-public-knowledge/assets'; const LoginRoute = LoginRouteImport.update({ id: '/login', path: '/login', getParentRoute: () => rootRouteImport, -} as any) +} as any); const ExplorePublicKnowledgeRoute = ExplorePublicKnowledgeRouteImport.update({ id: '/explore-public-knowledge', path: '/explore-public-knowledge', getParentRoute: () => rootRouteImport, -} as any) +} as any); const AuthenticateSuccessRoute = AuthenticateSuccessRouteImport.update({ id: '/authenticate-success', path: '/authenticate-success', getParentRoute: () => rootRouteImport, -} as any) +} as any); const IndexRoute = IndexRouteImport.update({ id: '/', path: '/', getParentRoute: () => rootRouteImport, -} as any) -const ExplorePublicKnowledgeIndexRoute = - ExplorePublicKnowledgeIndexRouteImport.update({ - id: '/', - path: '/', - getParentRoute: () => ExplorePublicKnowledgeRoute, - } as any) +} as any); +const ExplorePublicKnowledgeIndexRoute = ExplorePublicKnowledgeIndexRouteImport.update({ + id: '/', + path: '/', + getParentRoute: () => ExplorePublicKnowledgeRoute, +} as any); const PublicSpaceSpaceIdRoute = PublicSpaceSpaceIdRouteImport.update({ id: '/public-space/$space-id', path: '/public-space/$space-id', getParentRoute: () => rootRouteImport, -} as any) +} as any); const PrivateSpaceSpaceIdRoute = PrivateSpaceSpaceIdRouteImport.update({ id: '/private-space/$space-id', path: '/private-space/$space-id', getParentRoute: () => rootRouteImport, -} as any) -const ExplorePublicKnowledgeProjectsRoute = - ExplorePublicKnowledgeProjectsRouteImport.update({ - id: '/projects', - path: '/projects', - getParentRoute: () => ExplorePublicKnowledgeRoute, - } as any) -const ExplorePublicKnowledgeInvestmentRoundsRoute = - ExplorePublicKnowledgeInvestmentRoundsRouteImport.update({ - id: '/investment-rounds', - path: '/investment-rounds', - getParentRoute: () => ExplorePublicKnowledgeRoute, - } as any) -const ExplorePublicKnowledgeDappsRoute = - ExplorePublicKnowledgeDappsRouteImport.update({ - id: '/dapps', - path: '/dapps', - getParentRoute: () => ExplorePublicKnowledgeRoute, - } as any) -const ExplorePublicKnowledgeAssetsRoute = - ExplorePublicKnowledgeAssetsRouteImport.update({ - id: '/assets', - path: '/assets', - getParentRoute: () => ExplorePublicKnowledgeRoute, - } as any) +} as any); +const ExplorePublicKnowledgeProjectsRoute = ExplorePublicKnowledgeProjectsRouteImport.update({ + id: '/projects', + path: '/projects', + getParentRoute: () => ExplorePublicKnowledgeRoute, +} as any); +const ExplorePublicKnowledgeInvestmentRoundsRoute = ExplorePublicKnowledgeInvestmentRoundsRouteImport.update({ + id: '/investment-rounds', + path: '/investment-rounds', + getParentRoute: () => ExplorePublicKnowledgeRoute, +} as any); +const ExplorePublicKnowledgeDappsRoute = ExplorePublicKnowledgeDappsRouteImport.update({ + id: '/dapps', + path: '/dapps', + getParentRoute: () => ExplorePublicKnowledgeRoute, +} as any); +const ExplorePublicKnowledgeAssetsRoute = ExplorePublicKnowledgeAssetsRouteImport.update({ + id: '/assets', + path: '/assets', + getParentRoute: () => ExplorePublicKnowledgeRoute, +} as any); export interface FileRoutesByFullPath { - '/': typeof IndexRoute - '/authenticate-success': typeof AuthenticateSuccessRoute - '/explore-public-knowledge': typeof ExplorePublicKnowledgeRouteWithChildren - '/login': typeof LoginRoute - '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute - '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute - '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute - '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute - '/private-space/$space-id': typeof PrivateSpaceSpaceIdRoute - '/public-space/$space-id': typeof PublicSpaceSpaceIdRoute - '/explore-public-knowledge/': typeof ExplorePublicKnowledgeIndexRoute + '/': typeof IndexRoute; + '/authenticate-success': typeof AuthenticateSuccessRoute; + '/explore-public-knowledge': typeof ExplorePublicKnowledgeRouteWithChildren; + '/login': typeof LoginRoute; + '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute; + '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute; + '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute; + '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute; + '/private-space/$space-id': typeof PrivateSpaceSpaceIdRoute; + '/public-space/$space-id': typeof PublicSpaceSpaceIdRoute; + '/explore-public-knowledge/': typeof ExplorePublicKnowledgeIndexRoute; } export interface FileRoutesByTo { - '/': typeof IndexRoute - '/authenticate-success': typeof AuthenticateSuccessRoute - '/login': typeof LoginRoute - '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute - '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute - '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute - '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute - '/private-space/$space-id': typeof PrivateSpaceSpaceIdRoute - '/public-space/$space-id': typeof PublicSpaceSpaceIdRoute - '/explore-public-knowledge': typeof ExplorePublicKnowledgeIndexRoute + '/': typeof IndexRoute; + '/authenticate-success': typeof AuthenticateSuccessRoute; + '/login': typeof LoginRoute; + '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute; + '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute; + '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute; + '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute; + '/private-space/$space-id': typeof PrivateSpaceSpaceIdRoute; + '/public-space/$space-id': typeof PublicSpaceSpaceIdRoute; + '/explore-public-knowledge': typeof ExplorePublicKnowledgeIndexRoute; } export interface FileRoutesById { - __root__: typeof rootRouteImport - '/': typeof IndexRoute - '/authenticate-success': typeof AuthenticateSuccessRoute - '/explore-public-knowledge': typeof ExplorePublicKnowledgeRouteWithChildren - '/login': typeof LoginRoute - '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute - '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute - '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute - '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute - '/private-space/$space-id': typeof PrivateSpaceSpaceIdRoute - '/public-space/$space-id': typeof PublicSpaceSpaceIdRoute - '/explore-public-knowledge/': typeof ExplorePublicKnowledgeIndexRoute + __root__: typeof rootRouteImport; + '/': typeof IndexRoute; + '/authenticate-success': typeof AuthenticateSuccessRoute; + '/explore-public-knowledge': typeof ExplorePublicKnowledgeRouteWithChildren; + '/login': typeof LoginRoute; + '/explore-public-knowledge/assets': typeof ExplorePublicKnowledgeAssetsRoute; + '/explore-public-knowledge/dapps': typeof ExplorePublicKnowledgeDappsRoute; + '/explore-public-knowledge/investment-rounds': typeof ExplorePublicKnowledgeInvestmentRoundsRoute; + '/explore-public-knowledge/projects': typeof ExplorePublicKnowledgeProjectsRoute; + '/private-space/$space-id': typeof PrivateSpaceSpaceIdRoute; + '/public-space/$space-id': typeof PublicSpaceSpaceIdRoute; + '/explore-public-knowledge/': typeof ExplorePublicKnowledgeIndexRoute; } export interface FileRouteTypes { - fileRoutesByFullPath: FileRoutesByFullPath + fileRoutesByFullPath: FileRoutesByFullPath; fullPaths: | '/' | '/authenticate-success' @@ -134,8 +129,8 @@ export interface FileRouteTypes { | '/explore-public-knowledge/projects' | '/private-space/$space-id' | '/public-space/$space-id' - | '/explore-public-knowledge/' - fileRoutesByTo: FileRoutesByTo + | '/explore-public-knowledge/'; + fileRoutesByTo: FileRoutesByTo; to: | '/' | '/authenticate-success' @@ -146,7 +141,7 @@ export interface FileRouteTypes { | '/explore-public-knowledge/projects' | '/private-space/$space-id' | '/public-space/$space-id' - | '/explore-public-knowledge' + | '/explore-public-knowledge'; id: | '__root__' | '/' @@ -159,122 +154,119 @@ export interface FileRouteTypes { | '/explore-public-knowledge/projects' | '/private-space/$space-id' | '/public-space/$space-id' - | '/explore-public-knowledge/' - fileRoutesById: FileRoutesById + | '/explore-public-knowledge/'; + fileRoutesById: FileRoutesById; } export interface RootRouteChildren { - IndexRoute: typeof IndexRoute - AuthenticateSuccessRoute: typeof AuthenticateSuccessRoute - ExplorePublicKnowledgeRoute: typeof ExplorePublicKnowledgeRouteWithChildren - LoginRoute: typeof LoginRoute - PrivateSpaceSpaceIdRoute: typeof PrivateSpaceSpaceIdRoute - PublicSpaceSpaceIdRoute: typeof PublicSpaceSpaceIdRoute + IndexRoute: typeof IndexRoute; + AuthenticateSuccessRoute: typeof AuthenticateSuccessRoute; + ExplorePublicKnowledgeRoute: typeof ExplorePublicKnowledgeRouteWithChildren; + LoginRoute: typeof LoginRoute; + PrivateSpaceSpaceIdRoute: typeof PrivateSpaceSpaceIdRoute; + PublicSpaceSpaceIdRoute: typeof PublicSpaceSpaceIdRoute; } declare module '@tanstack/react-router' { interface FileRoutesByPath { '/login': { - id: '/login' - path: '/login' - fullPath: '/login' - preLoaderRoute: typeof LoginRouteImport - parentRoute: typeof rootRouteImport - } + id: '/login'; + path: '/login'; + fullPath: '/login'; + preLoaderRoute: typeof LoginRouteImport; + parentRoute: typeof rootRouteImport; + }; '/explore-public-knowledge': { - id: '/explore-public-knowledge' - path: '/explore-public-knowledge' - fullPath: '/explore-public-knowledge' - preLoaderRoute: typeof ExplorePublicKnowledgeRouteImport - parentRoute: typeof rootRouteImport - } + id: '/explore-public-knowledge'; + path: '/explore-public-knowledge'; + fullPath: '/explore-public-knowledge'; + preLoaderRoute: typeof ExplorePublicKnowledgeRouteImport; + parentRoute: typeof rootRouteImport; + }; '/authenticate-success': { - id: '/authenticate-success' - path: '/authenticate-success' - fullPath: '/authenticate-success' - preLoaderRoute: typeof AuthenticateSuccessRouteImport - parentRoute: typeof rootRouteImport - } + id: '/authenticate-success'; + path: '/authenticate-success'; + fullPath: '/authenticate-success'; + preLoaderRoute: typeof AuthenticateSuccessRouteImport; + parentRoute: typeof rootRouteImport; + }; '/': { - id: '/' - path: '/' - fullPath: '/' - preLoaderRoute: typeof IndexRouteImport - parentRoute: typeof rootRouteImport - } + id: '/'; + path: '/'; + fullPath: '/'; + preLoaderRoute: typeof IndexRouteImport; + parentRoute: typeof rootRouteImport; + }; '/explore-public-knowledge/': { - id: '/explore-public-knowledge/' - path: '/' - fullPath: '/explore-public-knowledge/' - preLoaderRoute: typeof ExplorePublicKnowledgeIndexRouteImport - parentRoute: typeof ExplorePublicKnowledgeRoute - } + id: '/explore-public-knowledge/'; + path: '/'; + fullPath: '/explore-public-knowledge/'; + preLoaderRoute: typeof ExplorePublicKnowledgeIndexRouteImport; + parentRoute: typeof ExplorePublicKnowledgeRoute; + }; '/public-space/$space-id': { - id: '/public-space/$space-id' - path: '/public-space/$space-id' - fullPath: '/public-space/$space-id' - preLoaderRoute: typeof PublicSpaceSpaceIdRouteImport - parentRoute: typeof rootRouteImport - } + id: '/public-space/$space-id'; + path: '/public-space/$space-id'; + fullPath: '/public-space/$space-id'; + preLoaderRoute: typeof PublicSpaceSpaceIdRouteImport; + parentRoute: typeof rootRouteImport; + }; '/private-space/$space-id': { - id: '/private-space/$space-id' - path: '/private-space/$space-id' - fullPath: '/private-space/$space-id' - preLoaderRoute: typeof PrivateSpaceSpaceIdRouteImport - parentRoute: typeof rootRouteImport - } + id: '/private-space/$space-id'; + path: '/private-space/$space-id'; + fullPath: '/private-space/$space-id'; + preLoaderRoute: typeof PrivateSpaceSpaceIdRouteImport; + parentRoute: typeof rootRouteImport; + }; '/explore-public-knowledge/projects': { - id: '/explore-public-knowledge/projects' - path: '/projects' - fullPath: '/explore-public-knowledge/projects' - preLoaderRoute: typeof ExplorePublicKnowledgeProjectsRouteImport - parentRoute: typeof ExplorePublicKnowledgeRoute - } + id: '/explore-public-knowledge/projects'; + path: '/projects'; + fullPath: '/explore-public-knowledge/projects'; + preLoaderRoute: typeof ExplorePublicKnowledgeProjectsRouteImport; + parentRoute: typeof ExplorePublicKnowledgeRoute; + }; '/explore-public-knowledge/investment-rounds': { - id: '/explore-public-knowledge/investment-rounds' - path: '/investment-rounds' - fullPath: '/explore-public-knowledge/investment-rounds' - preLoaderRoute: typeof ExplorePublicKnowledgeInvestmentRoundsRouteImport - parentRoute: typeof ExplorePublicKnowledgeRoute - } + id: '/explore-public-knowledge/investment-rounds'; + path: '/investment-rounds'; + fullPath: '/explore-public-knowledge/investment-rounds'; + preLoaderRoute: typeof ExplorePublicKnowledgeInvestmentRoundsRouteImport; + parentRoute: typeof ExplorePublicKnowledgeRoute; + }; '/explore-public-knowledge/dapps': { - id: '/explore-public-knowledge/dapps' - path: '/dapps' - fullPath: '/explore-public-knowledge/dapps' - preLoaderRoute: typeof ExplorePublicKnowledgeDappsRouteImport - parentRoute: typeof ExplorePublicKnowledgeRoute - } + id: '/explore-public-knowledge/dapps'; + path: '/dapps'; + fullPath: '/explore-public-knowledge/dapps'; + preLoaderRoute: typeof ExplorePublicKnowledgeDappsRouteImport; + parentRoute: typeof ExplorePublicKnowledgeRoute; + }; '/explore-public-knowledge/assets': { - id: '/explore-public-knowledge/assets' - path: '/assets' - fullPath: '/explore-public-knowledge/assets' - preLoaderRoute: typeof ExplorePublicKnowledgeAssetsRouteImport - parentRoute: typeof ExplorePublicKnowledgeRoute - } + id: '/explore-public-knowledge/assets'; + path: '/assets'; + fullPath: '/explore-public-knowledge/assets'; + preLoaderRoute: typeof ExplorePublicKnowledgeAssetsRouteImport; + parentRoute: typeof ExplorePublicKnowledgeRoute; + }; } } interface ExplorePublicKnowledgeRouteChildren { - ExplorePublicKnowledgeAssetsRoute: typeof ExplorePublicKnowledgeAssetsRoute - ExplorePublicKnowledgeDappsRoute: typeof ExplorePublicKnowledgeDappsRoute - ExplorePublicKnowledgeInvestmentRoundsRoute: typeof ExplorePublicKnowledgeInvestmentRoundsRoute - ExplorePublicKnowledgeProjectsRoute: typeof ExplorePublicKnowledgeProjectsRoute - ExplorePublicKnowledgeIndexRoute: typeof ExplorePublicKnowledgeIndexRoute + ExplorePublicKnowledgeAssetsRoute: typeof ExplorePublicKnowledgeAssetsRoute; + ExplorePublicKnowledgeDappsRoute: typeof ExplorePublicKnowledgeDappsRoute; + ExplorePublicKnowledgeInvestmentRoundsRoute: typeof ExplorePublicKnowledgeInvestmentRoundsRoute; + ExplorePublicKnowledgeProjectsRoute: typeof ExplorePublicKnowledgeProjectsRoute; + ExplorePublicKnowledgeIndexRoute: typeof ExplorePublicKnowledgeIndexRoute; } -const ExplorePublicKnowledgeRouteChildren: ExplorePublicKnowledgeRouteChildren = - { - ExplorePublicKnowledgeAssetsRoute: ExplorePublicKnowledgeAssetsRoute, - ExplorePublicKnowledgeDappsRoute: ExplorePublicKnowledgeDappsRoute, - ExplorePublicKnowledgeInvestmentRoundsRoute: - ExplorePublicKnowledgeInvestmentRoundsRoute, - ExplorePublicKnowledgeProjectsRoute: ExplorePublicKnowledgeProjectsRoute, - ExplorePublicKnowledgeIndexRoute: ExplorePublicKnowledgeIndexRoute, - } +const ExplorePublicKnowledgeRouteChildren: ExplorePublicKnowledgeRouteChildren = { + ExplorePublicKnowledgeAssetsRoute: ExplorePublicKnowledgeAssetsRoute, + ExplorePublicKnowledgeDappsRoute: ExplorePublicKnowledgeDappsRoute, + ExplorePublicKnowledgeInvestmentRoundsRoute: ExplorePublicKnowledgeInvestmentRoundsRoute, + ExplorePublicKnowledgeProjectsRoute: ExplorePublicKnowledgeProjectsRoute, + ExplorePublicKnowledgeIndexRoute: ExplorePublicKnowledgeIndexRoute, +}; -const ExplorePublicKnowledgeRouteWithChildren = - ExplorePublicKnowledgeRoute._addFileChildren( - ExplorePublicKnowledgeRouteChildren, - ) +const ExplorePublicKnowledgeRouteWithChildren = ExplorePublicKnowledgeRoute._addFileChildren( + ExplorePublicKnowledgeRouteChildren, +); const rootRouteChildren: RootRouteChildren = { IndexRoute: IndexRoute, @@ -283,7 +275,5 @@ const rootRouteChildren: RootRouteChildren = { LoginRoute: LoginRoute, PrivateSpaceSpaceIdRoute: PrivateSpaceSpaceIdRoute, PublicSpaceSpaceIdRoute: PublicSpaceSpaceIdRoute, -} -export const routeTree = rootRouteImport - ._addFileChildren(rootRouteChildren) - ._addFileTypes() +}; +export const routeTree = rootRouteImport._addFileChildren(rootRouteChildren)._addFileTypes(); diff --git a/apps/create-hypergraph/template-vite-react/src/routes/private-space/$space-id.tsx b/apps/create-hypergraph/template-vite-react/src/routes/private-space/$space-id.tsx index f1c26d4f..7e8cdb35 100644 --- a/apps/create-hypergraph/template-vite-react/src/routes/private-space/$space-id.tsx +++ b/apps/create-hypergraph/template-vite-react/src/routes/private-space/$space-id.tsx @@ -6,7 +6,7 @@ import { useQuery, useSpace, useSpaces, - usePublishToPublicSpace + usePublishToPublicSpace, } from '@graphprotocol/hypergraph-react'; import { createFileRoute } from '@tanstack/react-router'; import { useState } from 'react'; @@ -34,7 +34,7 @@ function PrivateSpace() { const [addressName, setAddressName] = useState(''); const { mutate: publishToPublicSpace, isPending } = usePublishToPublicSpace({ onSuccess: () => alert('Address published to public space'), - onError: () => alert('Error publishing address to public space') + onError: () => alert('Error publishing address to public space'), }); if (!ready) { @@ -168,4 +168,4 @@ function PrivateSpace() {
); -} \ No newline at end of file +} diff --git a/apps/create-hypergraph/template-vite-react/tsconfig.app.json b/apps/create-hypergraph/template-vite-react/tsconfig.app.json index ce6a27b7..37d1f1ed 100644 --- a/apps/create-hypergraph/template-vite-react/tsconfig.app.json +++ b/apps/create-hypergraph/template-vite-react/tsconfig.app.json @@ -3,11 +3,7 @@ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "target": "ESNext", "useDefineForClassFields": true, - "lib": [ - "ESNext", - "DOM", - "DOM.Iterable" - ], + "lib": ["ESNext", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true, "moduleResolution": "bundler", @@ -41,12 +37,8 @@ "noUncheckedIndexedAccess": false, "baseUrl": ".", "paths": { - "@/*": [ - "./src/*" - ] + "@/*": ["./src/*"] } }, - "include": [ - "src" - ] -} \ No newline at end of file + "include": ["src"] +} diff --git a/apps/create-hypergraph/template-vite-react/tsconfig.json b/apps/create-hypergraph/template-vite-react/tsconfig.json index a2313e81..566c2d64 100644 --- a/apps/create-hypergraph/template-vite-react/tsconfig.json +++ b/apps/create-hypergraph/template-vite-react/tsconfig.json @@ -14,4 +14,4 @@ "path": "./tsconfig.node.json" } ] -} \ No newline at end of file +} diff --git a/apps/create-hypergraph/template-vite-react/tsconfig.node.json b/apps/create-hypergraph/template-vite-react/tsconfig.node.json index 3d47fb03..0bfd1d99 100644 --- a/apps/create-hypergraph/template-vite-react/tsconfig.node.json +++ b/apps/create-hypergraph/template-vite-react/tsconfig.node.json @@ -2,9 +2,7 @@ "compilerOptions": { "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", "target": "ESNext", - "lib": [ - "ESNext" - ], + "lib": ["ESNext"], "module": "ESNext", "skipLibCheck": true, "moduleResolution": "bundler", @@ -18,7 +16,5 @@ "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true }, - "include": [ - "vite.config.ts" - ] -} \ No newline at end of file + "include": ["vite.config.ts"] +}