fix: source map warning during build (#8148)

* [WEB-5473] fix: source map errors

* [WEB-5473] chore: run codemod

* fix: build errors in editor

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Aaron 2025-11-21 15:13:52 +07:00 committed by GitHub
parent 9611cd1e73
commit 2e15e4f786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
956 changed files with 778 additions and 2267 deletions

View file

@ -1,4 +1,3 @@
"use client";
import type { FC } from "react";
import { useState } from "react";
import { observer } from "mobx-react";

View file

@ -1,4 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useTranslation } from "@plane/i18n";
// ui

View file

@ -1,5 +1,3 @@
"use client";
// components
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// components
import { PageHead } from "@/components/core/page-title";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useTranslation } from "@plane/i18n";
import { AnalyticsIcon } from "@plane/propel/icons";

View file

@ -1,4 +1,3 @@
"use client";
// components
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { useMemo } from "react";
import { observer } from "mobx-react";
import { useRouter } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
// components
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { useEffect } from "react";
import { observer } from "mobx-react";
import { useTheme } from "next-themes";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
// components
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
// components
import { PageHead } from "@/components/core/page-title";
import { WorkspaceDraftIssuesRoot } from "@/components/issues/workspace-draft";

View file

@ -1,5 +1,3 @@
"use client";
import React, { useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import React from "react";
import { observer } from "mobx-react";

View file

@ -1,5 +1,3 @@
"use client";
import React, { useMemo, useRef } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { Shapes } from "lucide-react";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { Outlet } from "react-router";
import { ProjectsAppPowerKProvider } from "@/components/power-k/projects-app-provider";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { NotificationsSidebarRoot } from "@/components/workspace-notifications/sidebar";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// plane imports
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// components
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
import React from "react";
// components
import { PageHead } from "@/components/core/page-title";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
// ui
import type { FC } from "react";
import { observer } from "mobx-react";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { usePathname } from "next/navigation";
import { Outlet } from "react-router";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import useSWR from "swr";
// plane imports
import { GROUP_CHOICES } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// components
import { PageHead } from "@/components/core/page-title";

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useRouter } from "next/navigation";
import useSWR from "swr";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import useSWR from "swr";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// components
import { PageHead } from "@/components/core/page-title";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// components
import { PageHead } from "@/components/core/page-title";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// plane imports
import { cn } from "@plane/utils";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import type React from "react";
import { observer } from "mobx-react";
// ui

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,4 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useSearchParams } from "next/navigation";
import { useTheme } from "next-themes";

View file

@ -1,5 +1,3 @@
"use client";
import { useTheme } from "next-themes";
import { redirect } from "react-router";
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
// components
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// i18n
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import useSWR from "swr";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useRef, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { MODULE_VIEW_LAYOUTS } from "@plane/constants";
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback } from "react";
import { observer } from "mobx-react";
import { useTheme } from "next-themes";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useEffect, useMemo } from "react";
import { observer } from "mobx-react";
import Link from "next/link";

View file

@ -1,4 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { EProjectFeatureKey } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
// component
import { Outlet } from "react-router";
import useSWR from "swr";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
import { useParams, useRouter, useSearchParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
// components
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useSearchParams } from "next/navigation";
import { useTheme } from "next-themes";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useRef } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import useSWR from "swr";
// assets

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";
import { ContentWrapper } from "@/components/core/content-wrapper";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// ui

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";
import { ContentWrapper } from "@/components/core/content-wrapper";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// icons
import { ListFilter } from "lucide-react";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback } from "react";
import { observer } from "mobx-react";
import { useTheme } from "next-themes";

View file

@ -1,5 +1,3 @@
"use client";
// components
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// plane web layouts
import { ProjectAuthWrapper } from "@/plane-web/layouts/project-wrapper";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { AppHeader } from "@/components/core/app-header";

View file

@ -1,5 +1,3 @@
"use client";
import { useTheme } from "next-themes";
// plane imports
import { HEADER_GITHUB_ICON, GITHUB_REDIRECTED_TRACKER_EVENT } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";
import { ContentWrapper } from "@/components/core/content-wrapper";

View file

@ -1,5 +1,3 @@
"use client";
// components
import { PageHead } from "@/components/core/page-title";
import { StickiesInfinite } from "@/components/stickies/layout/stickies-infinite";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
// plane imports

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useMemo, useState } from "react";
import { observer } from "mobx-react";
import { useParams } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
import { AppHeader } from "@/components/core/app-header";
import { ContentWrapper } from "@/components/core/content-wrapper";

View file

@ -1,5 +1,3 @@
"use client";
import React, { useState } from "react";
import { observer } from "mobx-react";
import { Search } from "lucide-react";

View file

@ -1,5 +1,3 @@
"use client";
import { Outlet } from "react-router";
// components
import { ContentWrapper } from "@/components/core/content-wrapper";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// component
import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// components
import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// components
import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants";

View file

@ -1,4 +1,3 @@
"use client";
import { observer } from "mobx-react";
import useSWR from "swr";
// components

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { usePathname } from "next/navigation";
import { Outlet } from "react-router";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
import { Search } from "lucide-react";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// plane imports
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
import useSWR from "swr";

View file

@ -1,5 +1,3 @@
"use client";
import { useEffect, useState } from "react";
import { observer } from "mobx-react";
import useSWR from "swr";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
import { useTheme } from "next-themes";

View file

@ -1,5 +1,3 @@
"use client";
import React, { useState } from "react";
import { observer } from "mobx-react";
import useSWR from "swr";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { usePathname } from "next/navigation";
import { Outlet } from "react-router";

View file

@ -1,5 +1,3 @@
"use client";
import useSWR from "swr";
// plane imports
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useTranslation } from "@plane/i18n";
// components

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
// plane imports
import { useTranslation } from "@plane/i18n";

View file

@ -1,5 +1,3 @@
"use client";
import { useState } from "react";
import { observer } from "mobx-react";
import { Controller, useForm } from "react-hook-form";

Some files were not shown because too many files have changed in this diff Show more