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,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { AlertOctagon, BarChart4, CircleDashed, Folder, Microscope, Search } from "lucide-react";
// plane imports

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
export function AppRailRoot() {

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
// plane imports
import type { EProjectFeatureKey } from "@plane/constants";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { Logo } from "@plane/propel/emoji-icon-picker";
import { ProjectIcon } from "@plane/propel/icons";

View file

@ -1,5 +1,3 @@
"use client";
import { LayoutGrid } from "lucide-react";
// plane imports
import { CycleIcon, ModuleIcon, PageIcon, ProjectIcon, ViewsIcon } from "@plane/propel/icons";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
// components
import type { TPowerKSearchResultGroupDetails } from "@/components/power-k/ui/modal/search-results-map";
// local imports

View file

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

View file

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

View file

@ -1,4 +1,3 @@
"use client";
import type { FC } from "react";
import React from "react";
// components

View file

@ -1,4 +1,3 @@
"use client";
import type { FC } from "react";
import React from "react";
// local components

View file

@ -1,5 +1,3 @@
"use-client";
import type { FC } from "react";
// types
import type { TDeDupeIssue } from "@plane/types";

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 type { FC } from "react";
type TDeDupeIssueButtonLabelProps = {

View file

@ -1,4 +1,3 @@
"use client";
import type { FC } from "react";
import React from "react";
import type { TIssue } from "@plane/types";

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@plane/types";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { IssuePeekOverview } from "@/components/issues/peek-overview";
export function HomePeekOverviewsRoot() {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
// plane imports
import type { TActivityFilters, TActivityFilterOption } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import type { TIssueActivityComment } from "@plane/types";

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
type TIssueActivityWorklogCreateButton = {

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
type TIssueWorklogProperty = {

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React, { useEffect, useRef, useState } from "react";
import type { LucideIcon } from "lucide-react";
import { CornerDownRight, RefreshCcw, Sparkles, TriangleAlert } from "lucide-react";

View file

@ -1,5 +1,3 @@
"use client";
// store
import type { TPageInstance } from "@/store/pages/base-page";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
// store
import type { TPageInstance } from "@/store/pages/base-page";

View file

@ -1,5 +1,3 @@
"use client";
import type { EPageStoreType } from "@/plane-web/hooks/store";
// store
import type { TPageInstance } from "@/store/pages/base-page";

View file

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

View file

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

View file

@ -1,4 +1,3 @@
"use client";
import type { FC } from "react";
import { Controller, useFormContext } from "react-hook-form";
// plane imports

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { ProjectsBaseHeader } from "@/components/project/header";
export function ProjectsListHeader() {

View file

@ -1,4 +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 { observer } from "mobx-react";
import { useParams } from "next/navigation";
import useSWR from "swr";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
// components
import { ProjectNavigation } from "@/components/workspace/sidebar/project-navigation";

View file

@ -1,5 +1,3 @@
"use client";
import type { IProjectView } from "@plane/types";
type Props = {

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React from "react";
export function WorkspaceAppSwitcher() {

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
export type TBillingActionsButtonProps = {

View file

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

View file

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

View file

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