Scheduling infrastructure for absolutely everyone.
chore: app router - /teams single page (#18184)
Benny Joo0a7a0e36876d
diff --git a/.env.example b/.env.exampleindex 931ed06679c..3a20de51d2d 100644--- a/.env.example+++ b/.env.example@@ -365,7 +365,6 @@ APP_ROUTER_BOOKING_ENABLED=0APP_ROUTER_BOOKINGS_STATUS_ENABLED=0APP_ROUTER_APPS_ENABLED=0APP_ROUTER_TEAM_ENABLED=0-APP_ROUTER_TEAMS_ENABLED=0APP_ROUTER_AUTH_FORGOT_PASSWORD_ENABLED=0APP_ROUTER_AUTH_LOGIN_ENABLED=0APP_ROUTER_AUTH_LOGOUT_ENABLED=0diff --git a/apps/web/abTest/middlewareFactory.ts b/apps/web/abTest/middlewareFactory.tsindex 4428b29d5b5..33fc3776c95 100644--- a/apps/web/abTest/middlewareFactory.ts+++ b/apps/web/abTest/middlewareFactory.ts@@ -23,7 +23,6 @@ const ROUTES: [URLPattern, boolean][] = [["/bookings/:status", process.env.APP_ROUTER_BOOKINGS_STATUS_ENABLED === "1"] as const,["/booking/:path*", process.env.APP_ROUTER_BOOKING_ENABLED === "1"] as const,["/team", process.env.APP_ROUTER_TEAM_ENABLED === "1"] as const,- ["/teams", process.env.APP_ROUTER_TEAMS_ENABLED === "1"] as const,].map(([pathname, enabled]) => [new URLPattern({pathname,diff --git a/apps/web/app/future/teams/page.tsx b/apps/web/app/teams/page.tsxsimilarity index 100%rename from apps/web/app/future/teams/page.tsxrename to apps/web/app/teams/page.tsxdiff --git a/apps/web/pages/teams/index.tsx b/apps/web/pages/teams/index.tsxdeleted file mode 100644index 271dd9941a1..00000000000--- a/apps/web/pages/teams/index.tsx+++ /dev/null@@ -1,10 +0,0 @@-import PageWrapper from "@components/PageWrapper";--import type { PageProps } from "~/teams/teams-view";-import Teams from "~/teams/teams-view";--export { getServerSideProps } from "@lib/teams/getServerSideProps";--const Page = (props: PageProps) => <Teams {...props} />;-Page.PageWrapper = PageWrapper;-export default Page;diff --git a/apps/web/scripts/vercel-app-router-deploy.sh b/apps/web/scripts/vercel-app-router-deploy.shindex 1e4fcb745be..5ec76216837 100755--- a/apps/web/scripts/vercel-app-router-deploy.sh+++ b/apps/web/scripts/vercel-app-router-deploy.sh@@ -23,7 +23,6 @@ checkRoute "$APP_ROUTER_AUTH_OAUTH2_ENABLED" app/future/auth/oauth2checkRoute "$APP_ROUTER_BOOKINGS_STATUS_ENABLED" app/future/bookingscheckRoute "$APP_ROUTER_BOOKING_ENABLED" app/future/bookingcheckRoute "$APP_ROUTER_TEAM_ENABLED" app/future/team-checkRoute "$APP_ROUTER_TEAMS_ENABLED" app/future/teams# These are routes that don't have and environment variable to enable or disable them# Will stop removing gradually as we test and confirm that they are workingdiff --git a/turbo.json b/turbo.jsonindex f288885af3c..04fc464950a 100644--- a/turbo.json+++ b/turbo.json@@ -252,7 +252,6 @@"APP_ROUTER_AUTH_PLATFORM_ENABLED","APP_ROUTER_AUTH_OAUTH2_ENABLED","APP_ROUTER_TEAM_ENABLED",- "APP_ROUTER_TEAMS_ENABLED","APP_USER_NAME","BASECAMP3_CLIENT_ID","BASECAMP3_CLIENT_SECRET",