From def41ae8b2410e5e889ea45bf61ff1ecac8fe4f8 Mon Sep 17 00:00:00 2001 From: longdayi <13477510+longdayilongdayi@user.noreply.gitee.com> Date: Tue, 3 Sep 2024 11:04:19 +0800 Subject: [PATCH] 09031104 --- apps/{web-client => web}/.env.example | 0 apps/{web-client => web}/.eslintrc.cjs | 0 apps/{web-client => web}/README.md | 0 apps/{web-client => web}/index.html | 0 apps/{web-client => web}/package.json | 0 apps/{web-client => web}/postcss.config.js | 0 apps/{web-client => web}/public/vite.svg | 0 apps/{web-client => web}/src/App.css | 0 apps/{web-client => web}/src/App.tsx | 0 apps/{web-client => web}/src/app/error.tsx | 0 apps/{web-client => web}/src/app/layout.tsx | 0 apps/{web-client => web}/src/app/main/page.tsx | 0 apps/{web-client => web}/src/assets/react.svg | 0 apps/{web-client => web}/src/index.css | 0 apps/{web-client => web}/src/main.tsx | 2 +- apps/{web-client => web}/src/providers/query-provider.tsx | 0 apps/{web-client => web}/src/routes/index.tsx | 0 apps/{web-client => web}/src/utils/idb.ts | 0 apps/{web-client => web}/src/utils/trpc.ts | 0 apps/{web-client => web}/src/vite-env.d.ts | 0 apps/{web-client => web}/tailwind.config.js | 0 apps/{web-client => web}/tsconfig.app.json | 0 apps/{web-client => web}/tsconfig.json | 0 apps/{web-client => web}/tsconfig.node.json | 0 apps/{web-client => web}/vite.config.ts | 0 tsconfig.json | 2 +- 26 files changed, 2 insertions(+), 2 deletions(-) rename apps/{web-client => web}/.env.example (100%) rename apps/{web-client => web}/.eslintrc.cjs (100%) rename apps/{web-client => web}/README.md (100%) rename apps/{web-client => web}/index.html (100%) rename apps/{web-client => web}/package.json (100%) rename apps/{web-client => web}/postcss.config.js (100%) rename apps/{web-client => web}/public/vite.svg (100%) rename apps/{web-client => web}/src/App.css (100%) rename apps/{web-client => web}/src/App.tsx (100%) rename apps/{web-client => web}/src/app/error.tsx (100%) rename apps/{web-client => web}/src/app/layout.tsx (100%) rename apps/{web-client => web}/src/app/main/page.tsx (100%) rename apps/{web-client => web}/src/assets/react.svg (100%) rename apps/{web-client => web}/src/index.css (100%) rename apps/{web-client => web}/src/main.tsx (88%) rename apps/{web-client => web}/src/providers/query-provider.tsx (100%) rename apps/{web-client => web}/src/routes/index.tsx (100%) rename apps/{web-client => web}/src/utils/idb.ts (100%) rename apps/{web-client => web}/src/utils/trpc.ts (100%) rename apps/{web-client => web}/src/vite-env.d.ts (100%) rename apps/{web-client => web}/tailwind.config.js (100%) rename apps/{web-client => web}/tsconfig.app.json (100%) rename apps/{web-client => web}/tsconfig.json (100%) rename apps/{web-client => web}/tsconfig.node.json (100%) rename apps/{web-client => web}/vite.config.ts (100%) diff --git a/apps/web-client/.env.example b/apps/web/.env.example similarity index 100% rename from apps/web-client/.env.example rename to apps/web/.env.example diff --git a/apps/web-client/.eslintrc.cjs b/apps/web/.eslintrc.cjs similarity index 100% rename from apps/web-client/.eslintrc.cjs rename to apps/web/.eslintrc.cjs diff --git a/apps/web-client/README.md b/apps/web/README.md similarity index 100% rename from apps/web-client/README.md rename to apps/web/README.md diff --git a/apps/web-client/index.html b/apps/web/index.html similarity index 100% rename from apps/web-client/index.html rename to apps/web/index.html diff --git a/apps/web-client/package.json b/apps/web/package.json similarity index 100% rename from apps/web-client/package.json rename to apps/web/package.json diff --git a/apps/web-client/postcss.config.js b/apps/web/postcss.config.js similarity index 100% rename from apps/web-client/postcss.config.js rename to apps/web/postcss.config.js diff --git a/apps/web-client/public/vite.svg b/apps/web/public/vite.svg similarity index 100% rename from apps/web-client/public/vite.svg rename to apps/web/public/vite.svg diff --git a/apps/web-client/src/App.css b/apps/web/src/App.css similarity index 100% rename from apps/web-client/src/App.css rename to apps/web/src/App.css diff --git a/apps/web-client/src/App.tsx b/apps/web/src/App.tsx similarity index 100% rename from apps/web-client/src/App.tsx rename to apps/web/src/App.tsx diff --git a/apps/web-client/src/app/error.tsx b/apps/web/src/app/error.tsx similarity index 100% rename from apps/web-client/src/app/error.tsx rename to apps/web/src/app/error.tsx diff --git a/apps/web-client/src/app/layout.tsx b/apps/web/src/app/layout.tsx similarity index 100% rename from apps/web-client/src/app/layout.tsx rename to apps/web/src/app/layout.tsx diff --git a/apps/web-client/src/app/main/page.tsx b/apps/web/src/app/main/page.tsx similarity index 100% rename from apps/web-client/src/app/main/page.tsx rename to apps/web/src/app/main/page.tsx diff --git a/apps/web-client/src/assets/react.svg b/apps/web/src/assets/react.svg similarity index 100% rename from apps/web-client/src/assets/react.svg rename to apps/web/src/assets/react.svg diff --git a/apps/web-client/src/index.css b/apps/web/src/index.css similarity index 100% rename from apps/web-client/src/index.css rename to apps/web/src/index.css diff --git a/apps/web-client/src/main.tsx b/apps/web/src/main.tsx similarity index 88% rename from apps/web-client/src/main.tsx rename to apps/web/src/main.tsx index 3d7150d..973961b 100644 --- a/apps/web-client/src/main.tsx +++ b/apps/web/src/main.tsx @@ -1,6 +1,6 @@ import React from 'react' import ReactDOM from 'react-dom/client' -import App from './App.tsx' +import App from './App.js' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( diff --git a/apps/web-client/src/providers/query-provider.tsx b/apps/web/src/providers/query-provider.tsx similarity index 100% rename from apps/web-client/src/providers/query-provider.tsx rename to apps/web/src/providers/query-provider.tsx diff --git a/apps/web-client/src/routes/index.tsx b/apps/web/src/routes/index.tsx similarity index 100% rename from apps/web-client/src/routes/index.tsx rename to apps/web/src/routes/index.tsx diff --git a/apps/web-client/src/utils/idb.ts b/apps/web/src/utils/idb.ts similarity index 100% rename from apps/web-client/src/utils/idb.ts rename to apps/web/src/utils/idb.ts diff --git a/apps/web-client/src/utils/trpc.ts b/apps/web/src/utils/trpc.ts similarity index 100% rename from apps/web-client/src/utils/trpc.ts rename to apps/web/src/utils/trpc.ts diff --git a/apps/web-client/src/vite-env.d.ts b/apps/web/src/vite-env.d.ts similarity index 100% rename from apps/web-client/src/vite-env.d.ts rename to apps/web/src/vite-env.d.ts diff --git a/apps/web-client/tailwind.config.js b/apps/web/tailwind.config.js similarity index 100% rename from apps/web-client/tailwind.config.js rename to apps/web/tailwind.config.js diff --git a/apps/web-client/tsconfig.app.json b/apps/web/tsconfig.app.json similarity index 100% rename from apps/web-client/tsconfig.app.json rename to apps/web/tsconfig.app.json diff --git a/apps/web-client/tsconfig.json b/apps/web/tsconfig.json similarity index 100% rename from apps/web-client/tsconfig.json rename to apps/web/tsconfig.json diff --git a/apps/web-client/tsconfig.node.json b/apps/web/tsconfig.node.json similarity index 100% rename from apps/web-client/tsconfig.node.json rename to apps/web/tsconfig.node.json diff --git a/apps/web-client/vite.config.ts b/apps/web/vite.config.ts similarity index 100% rename from apps/web-client/vite.config.ts rename to apps/web/vite.config.ts diff --git a/tsconfig.json b/tsconfig.json index 4acddeb..ad7f37c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "./apps/server/src/*" ], "@web/*": [ - "./apps/web-client/*" + "apps/web/*" ] } }