From 94af7f47f8d79de798af3672fbdaa7df1ed57a8f Mon Sep 17 00:00:00 2001 From: saeidex Date: Sat, 26 Oct 2024 10:21:41 +0600 Subject: [PATCH] rename: nextjs to next --- apps/{nextjs => next}/README.md | 0 apps/{nextjs => next}/eslint.config.js | 0 apps/{nextjs => next}/next.config.js | 0 apps/{nextjs => next}/package.json | 2 +- apps/{nextjs => next}/postcss.config.cjs | 0 apps/{nextjs => next}/public/bus.png | Bin apps/{nextjs => next}/public/bus.svg | 0 apps/{nextjs => next}/public/favicon.ico | Bin apps/{nextjs => next}/public/hero-map.svg | 0 apps/{nextjs => next}/public/hey.svg | 0 apps/{nextjs => next}/public/hr.svg | 0 apps/{nextjs => next}/public/ubus-dark.svg | 0 apps/{nextjs => next}/public/ubus.svg | 0 .../src/app/_components/auth-showcase.tsx | 0 .../src/app/_components/contact.tsx | 0 .../src/app/_components/features.tsx | 0 .../{nextjs => next}/src/app/_components/footer.tsx | 0 .../{nextjs => next}/src/app/_components/header.tsx | 0 apps/{nextjs => next}/src/app/_components/hero.tsx | 0 apps/{nextjs => next}/src/app/_components/logo.tsx | 0 .../src/app/_components/logout-button.tsx | 0 .../{nextjs => next}/src/app/_components/navbar.tsx | 0 .../src/app/_components/navlink.tsx | 0 .../src/app/_components/our-team.tsx | 0 apps/{nextjs => next}/src/app/_components/posts.tsx | 0 .../src/app/_components/tailwind-indicator.tsx | 0 .../src/app/_components/testimonials.tsx | 0 .../src/app/_components/user-avatar.tsx | 0 .../src/app/api/auth/[...nextauth]/route.ts | 0 .../src/app/api/trpc/[trpc]/route.ts | 0 apps/{nextjs => next}/src/app/dashboard/page.tsx | 0 apps/{nextjs => next}/src/app/get-started/page.tsx | 0 apps/{nextjs => next}/src/app/globals.css | 0 apps/{nextjs => next}/src/app/layout.tsx | 0 apps/{nextjs => next}/src/app/login/page.tsx | 0 apps/{nextjs => next}/src/app/page.tsx | 0 apps/{nextjs => next}/src/env.ts | 0 apps/{nextjs => next}/src/middleware.ts | 0 apps/{nextjs => next}/src/trpc/query-client.ts | 0 apps/{nextjs => next}/src/trpc/react.tsx | 0 apps/{nextjs => next}/src/trpc/server.ts | 0 apps/{nextjs => next}/tailwind.config.ts | 0 apps/{nextjs => next}/tsconfig.json | 0 apps/{nextjs => next}/turbo.json | 0 package.json | 2 +- 45 files changed, 2 insertions(+), 2 deletions(-) rename apps/{nextjs => next}/README.md (100%) rename apps/{nextjs => next}/eslint.config.js (100%) rename apps/{nextjs => next}/next.config.js (100%) rename apps/{nextjs => next}/package.json (98%) rename apps/{nextjs => next}/postcss.config.cjs (100%) rename apps/{nextjs => next}/public/bus.png (100%) rename apps/{nextjs => next}/public/bus.svg (100%) rename apps/{nextjs => next}/public/favicon.ico (100%) rename apps/{nextjs => next}/public/hero-map.svg (100%) rename apps/{nextjs => next}/public/hey.svg (100%) rename apps/{nextjs => next}/public/hr.svg (100%) rename apps/{nextjs => next}/public/ubus-dark.svg (100%) rename apps/{nextjs => next}/public/ubus.svg (100%) rename apps/{nextjs => next}/src/app/_components/auth-showcase.tsx (100%) rename apps/{nextjs => next}/src/app/_components/contact.tsx (100%) rename apps/{nextjs => next}/src/app/_components/features.tsx (100%) rename apps/{nextjs => next}/src/app/_components/footer.tsx (100%) rename apps/{nextjs => next}/src/app/_components/header.tsx (100%) rename apps/{nextjs => next}/src/app/_components/hero.tsx (100%) rename apps/{nextjs => next}/src/app/_components/logo.tsx (100%) rename apps/{nextjs => next}/src/app/_components/logout-button.tsx (100%) rename apps/{nextjs => next}/src/app/_components/navbar.tsx (100%) rename apps/{nextjs => next}/src/app/_components/navlink.tsx (100%) rename apps/{nextjs => next}/src/app/_components/our-team.tsx (100%) rename apps/{nextjs => next}/src/app/_components/posts.tsx (100%) rename apps/{nextjs => next}/src/app/_components/tailwind-indicator.tsx (100%) rename apps/{nextjs => next}/src/app/_components/testimonials.tsx (100%) rename apps/{nextjs => next}/src/app/_components/user-avatar.tsx (100%) rename apps/{nextjs => next}/src/app/api/auth/[...nextauth]/route.ts (100%) rename apps/{nextjs => next}/src/app/api/trpc/[trpc]/route.ts (100%) rename apps/{nextjs => next}/src/app/dashboard/page.tsx (100%) rename apps/{nextjs => next}/src/app/get-started/page.tsx (100%) rename apps/{nextjs => next}/src/app/globals.css (100%) rename apps/{nextjs => next}/src/app/layout.tsx (100%) rename apps/{nextjs => next}/src/app/login/page.tsx (100%) rename apps/{nextjs => next}/src/app/page.tsx (100%) rename apps/{nextjs => next}/src/env.ts (100%) rename apps/{nextjs => next}/src/middleware.ts (100%) rename apps/{nextjs => next}/src/trpc/query-client.ts (100%) rename apps/{nextjs => next}/src/trpc/react.tsx (100%) rename apps/{nextjs => next}/src/trpc/server.ts (100%) rename apps/{nextjs => next}/tailwind.config.ts (100%) rename apps/{nextjs => next}/tsconfig.json (100%) rename apps/{nextjs => next}/turbo.json (100%) diff --git a/apps/nextjs/README.md b/apps/next/README.md similarity index 100% rename from apps/nextjs/README.md rename to apps/next/README.md diff --git a/apps/nextjs/eslint.config.js b/apps/next/eslint.config.js similarity index 100% rename from apps/nextjs/eslint.config.js rename to apps/next/eslint.config.js diff --git a/apps/nextjs/next.config.js b/apps/next/next.config.js similarity index 100% rename from apps/nextjs/next.config.js rename to apps/next/next.config.js diff --git a/apps/nextjs/package.json b/apps/next/package.json similarity index 98% rename from apps/nextjs/package.json rename to apps/next/package.json index 34477c8..7a40ade 100644 --- a/apps/nextjs/package.json +++ b/apps/next/package.json @@ -1,5 +1,5 @@ { - "name": "@ubus/nextjs", + "name": "@ubus/next", "version": "0.1.0", "private": true, "type": "module", diff --git a/apps/nextjs/postcss.config.cjs b/apps/next/postcss.config.cjs similarity index 100% rename from apps/nextjs/postcss.config.cjs rename to apps/next/postcss.config.cjs diff --git a/apps/nextjs/public/bus.png b/apps/next/public/bus.png similarity index 100% rename from apps/nextjs/public/bus.png rename to apps/next/public/bus.png diff --git a/apps/nextjs/public/bus.svg b/apps/next/public/bus.svg similarity index 100% rename from apps/nextjs/public/bus.svg rename to apps/next/public/bus.svg diff --git a/apps/nextjs/public/favicon.ico b/apps/next/public/favicon.ico similarity index 100% rename from apps/nextjs/public/favicon.ico rename to apps/next/public/favicon.ico diff --git a/apps/nextjs/public/hero-map.svg b/apps/next/public/hero-map.svg similarity index 100% rename from apps/nextjs/public/hero-map.svg rename to apps/next/public/hero-map.svg diff --git a/apps/nextjs/public/hey.svg b/apps/next/public/hey.svg similarity index 100% rename from apps/nextjs/public/hey.svg rename to apps/next/public/hey.svg diff --git a/apps/nextjs/public/hr.svg b/apps/next/public/hr.svg similarity index 100% rename from apps/nextjs/public/hr.svg rename to apps/next/public/hr.svg diff --git a/apps/nextjs/public/ubus-dark.svg b/apps/next/public/ubus-dark.svg similarity index 100% rename from apps/nextjs/public/ubus-dark.svg rename to apps/next/public/ubus-dark.svg diff --git a/apps/nextjs/public/ubus.svg b/apps/next/public/ubus.svg similarity index 100% rename from apps/nextjs/public/ubus.svg rename to apps/next/public/ubus.svg diff --git a/apps/nextjs/src/app/_components/auth-showcase.tsx b/apps/next/src/app/_components/auth-showcase.tsx similarity index 100% rename from apps/nextjs/src/app/_components/auth-showcase.tsx rename to apps/next/src/app/_components/auth-showcase.tsx diff --git a/apps/nextjs/src/app/_components/contact.tsx b/apps/next/src/app/_components/contact.tsx similarity index 100% rename from apps/nextjs/src/app/_components/contact.tsx rename to apps/next/src/app/_components/contact.tsx diff --git a/apps/nextjs/src/app/_components/features.tsx b/apps/next/src/app/_components/features.tsx similarity index 100% rename from apps/nextjs/src/app/_components/features.tsx rename to apps/next/src/app/_components/features.tsx diff --git a/apps/nextjs/src/app/_components/footer.tsx b/apps/next/src/app/_components/footer.tsx similarity index 100% rename from apps/nextjs/src/app/_components/footer.tsx rename to apps/next/src/app/_components/footer.tsx diff --git a/apps/nextjs/src/app/_components/header.tsx b/apps/next/src/app/_components/header.tsx similarity index 100% rename from apps/nextjs/src/app/_components/header.tsx rename to apps/next/src/app/_components/header.tsx diff --git a/apps/nextjs/src/app/_components/hero.tsx b/apps/next/src/app/_components/hero.tsx similarity index 100% rename from apps/nextjs/src/app/_components/hero.tsx rename to apps/next/src/app/_components/hero.tsx diff --git a/apps/nextjs/src/app/_components/logo.tsx b/apps/next/src/app/_components/logo.tsx similarity index 100% rename from apps/nextjs/src/app/_components/logo.tsx rename to apps/next/src/app/_components/logo.tsx diff --git a/apps/nextjs/src/app/_components/logout-button.tsx b/apps/next/src/app/_components/logout-button.tsx similarity index 100% rename from apps/nextjs/src/app/_components/logout-button.tsx rename to apps/next/src/app/_components/logout-button.tsx diff --git a/apps/nextjs/src/app/_components/navbar.tsx b/apps/next/src/app/_components/navbar.tsx similarity index 100% rename from apps/nextjs/src/app/_components/navbar.tsx rename to apps/next/src/app/_components/navbar.tsx diff --git a/apps/nextjs/src/app/_components/navlink.tsx b/apps/next/src/app/_components/navlink.tsx similarity index 100% rename from apps/nextjs/src/app/_components/navlink.tsx rename to apps/next/src/app/_components/navlink.tsx diff --git a/apps/nextjs/src/app/_components/our-team.tsx b/apps/next/src/app/_components/our-team.tsx similarity index 100% rename from apps/nextjs/src/app/_components/our-team.tsx rename to apps/next/src/app/_components/our-team.tsx diff --git a/apps/nextjs/src/app/_components/posts.tsx b/apps/next/src/app/_components/posts.tsx similarity index 100% rename from apps/nextjs/src/app/_components/posts.tsx rename to apps/next/src/app/_components/posts.tsx diff --git a/apps/nextjs/src/app/_components/tailwind-indicator.tsx b/apps/next/src/app/_components/tailwind-indicator.tsx similarity index 100% rename from apps/nextjs/src/app/_components/tailwind-indicator.tsx rename to apps/next/src/app/_components/tailwind-indicator.tsx diff --git a/apps/nextjs/src/app/_components/testimonials.tsx b/apps/next/src/app/_components/testimonials.tsx similarity index 100% rename from apps/nextjs/src/app/_components/testimonials.tsx rename to apps/next/src/app/_components/testimonials.tsx diff --git a/apps/nextjs/src/app/_components/user-avatar.tsx b/apps/next/src/app/_components/user-avatar.tsx similarity index 100% rename from apps/nextjs/src/app/_components/user-avatar.tsx rename to apps/next/src/app/_components/user-avatar.tsx diff --git a/apps/nextjs/src/app/api/auth/[...nextauth]/route.ts b/apps/next/src/app/api/auth/[...nextauth]/route.ts similarity index 100% rename from apps/nextjs/src/app/api/auth/[...nextauth]/route.ts rename to apps/next/src/app/api/auth/[...nextauth]/route.ts diff --git a/apps/nextjs/src/app/api/trpc/[trpc]/route.ts b/apps/next/src/app/api/trpc/[trpc]/route.ts similarity index 100% rename from apps/nextjs/src/app/api/trpc/[trpc]/route.ts rename to apps/next/src/app/api/trpc/[trpc]/route.ts diff --git a/apps/nextjs/src/app/dashboard/page.tsx b/apps/next/src/app/dashboard/page.tsx similarity index 100% rename from apps/nextjs/src/app/dashboard/page.tsx rename to apps/next/src/app/dashboard/page.tsx diff --git a/apps/nextjs/src/app/get-started/page.tsx b/apps/next/src/app/get-started/page.tsx similarity index 100% rename from apps/nextjs/src/app/get-started/page.tsx rename to apps/next/src/app/get-started/page.tsx diff --git a/apps/nextjs/src/app/globals.css b/apps/next/src/app/globals.css similarity index 100% rename from apps/nextjs/src/app/globals.css rename to apps/next/src/app/globals.css diff --git a/apps/nextjs/src/app/layout.tsx b/apps/next/src/app/layout.tsx similarity index 100% rename from apps/nextjs/src/app/layout.tsx rename to apps/next/src/app/layout.tsx diff --git a/apps/nextjs/src/app/login/page.tsx b/apps/next/src/app/login/page.tsx similarity index 100% rename from apps/nextjs/src/app/login/page.tsx rename to apps/next/src/app/login/page.tsx diff --git a/apps/nextjs/src/app/page.tsx b/apps/next/src/app/page.tsx similarity index 100% rename from apps/nextjs/src/app/page.tsx rename to apps/next/src/app/page.tsx diff --git a/apps/nextjs/src/env.ts b/apps/next/src/env.ts similarity index 100% rename from apps/nextjs/src/env.ts rename to apps/next/src/env.ts diff --git a/apps/nextjs/src/middleware.ts b/apps/next/src/middleware.ts similarity index 100% rename from apps/nextjs/src/middleware.ts rename to apps/next/src/middleware.ts diff --git a/apps/nextjs/src/trpc/query-client.ts b/apps/next/src/trpc/query-client.ts similarity index 100% rename from apps/nextjs/src/trpc/query-client.ts rename to apps/next/src/trpc/query-client.ts diff --git a/apps/nextjs/src/trpc/react.tsx b/apps/next/src/trpc/react.tsx similarity index 100% rename from apps/nextjs/src/trpc/react.tsx rename to apps/next/src/trpc/react.tsx diff --git a/apps/nextjs/src/trpc/server.ts b/apps/next/src/trpc/server.ts similarity index 100% rename from apps/nextjs/src/trpc/server.ts rename to apps/next/src/trpc/server.ts diff --git a/apps/nextjs/tailwind.config.ts b/apps/next/tailwind.config.ts similarity index 100% rename from apps/nextjs/tailwind.config.ts rename to apps/next/tailwind.config.ts diff --git a/apps/nextjs/tsconfig.json b/apps/next/tsconfig.json similarity index 100% rename from apps/nextjs/tsconfig.json rename to apps/next/tsconfig.json diff --git a/apps/nextjs/turbo.json b/apps/next/turbo.json similarity index 100% rename from apps/nextjs/turbo.json rename to apps/next/turbo.json diff --git a/package.json b/package.json index 6393f3f..8c2bebf 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "db:push": "turbo -F @ubus/db push", "db:studio": "turbo -F @ubus/db studio", "dev": "turbo watch dev", - "dev:next": "turbo watch dev -F @ubus/nextjs...", + "dev:next": "turbo watch dev -F @ubus/next...", "dev:server": "turbo watch dev -F @ubus/server...", "format": "turbo run format --continue -- --cache --cache-location .cache/.prettiercache", "format:fix": "turbo run format --continue -- --write --cache --cache-location .cache/.prettiercache",