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";
export function FormContainer({ children }: { children: React.ReactNode }) {
return (
<div className="flex flex-col justify-center items-center flex-grow w-full py-6 mt-10">

View file

@ -1,5 +1,3 @@
"use client";
export function AuthFormHeader({ title, description }: { title: string; description: string }) {
return (
<div className="flex flex-col gap-1">

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React, { useEffect, useState } from "react";
import { CircleCheck, XCircle } from "lucide-react";
import { API_BASE_URL, AUTH_TRACKER_ELEMENTS, AUTH_TRACKER_EVENTS } from "@plane/constants";

View file

@ -1,5 +1,3 @@
"use client";
import React, { useState } from "react";
import { Trash2 } from "lucide-react";
import { Dialog, Transition } from "@headlessui/react";

View file

@ -1,5 +1,3 @@
"use client";
import * as React from "react";
import type {
ColumnDef,

View file

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

View file

@ -1,4 +1,3 @@
"use client";
// plane package imports
import type { ChartXAxisProperty } from "@plane/types";
import { CustomSelect } from "@plane/ui";

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React from "react";
// ui
import { Button } from "@plane/propel/button";

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { Copy } from "lucide-react";
import { useTranslation } from "@plane/i18n";
import { Button } from "@plane/propel/button";

View file

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

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
import { AuthRoot } from "@/components/account/auth-forms/auth-root";
import type { EAuthModes } from "@/helpers/authentication.helper";

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
import { AccentureLogo, DolbyLogo, SonyLogo, ZerodhaLogo } from "@plane/propel/icons";

View file

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

View file

@ -1,4 +1,3 @@
"use client";
import { useState } from "react";
import { useParams } from "next/navigation";
import { ClipboardList } from "lucide-react";

View file

@ -1,5 +1,3 @@
"use client";
import Link from "next/link";
// ui
import { Button } from "@plane/propel/button";

View file

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

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useMemo } from "react";
import { observer } from "mobx-react";
import { GANTT_TIMELINE_TYPE } from "@plane/types";

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React from "react";
import { Tooltip } from "@plane/propel/tooltip";
import type { TBaseLayoutType } from "@plane/types";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import type { IBaseLayoutsListItem, IBaseLayoutsListProps } from "@plane/types";
import { cn } from "@plane/ui";

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import type { FC, ReactNode } from "react";
import { Network } from "lucide-react";
// 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 { observer } from "mobx-react";
import { CloseIcon } from "@plane/propel/icons";
// plane ui

View file

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

View file

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

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
// ui

View file

@ -1,5 +1,3 @@
"use client";
import { useMemo, useState } from "react";
import { sortBy } from "lodash-es";
import { observer } from "mobx-react";

View file

@ -1,4 +1,3 @@
"use client";
import React, { useState } from "react";
// ui

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import { Crown } from "lucide-react";
// helpers

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import type { ReactNode } from "react";
// helpers
import { cn } from "@plane/utils";

View file

@ -1,4 +1,3 @@
"use client";
import { Fragment } from "react";
import { Controller, useForm } from "react-hook-form";

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
import { CalendarDays } from "lucide-react";
// ui

View file

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

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React, { useEffect, useState, useRef } from "react";
import { Rocket, Search } from "lucide-react";
import { Combobox, Dialog, Transition } from "@headlessui/react";

View file

@ -1,5 +1,3 @@
"use client";
import type { Ref } from "react";
import React, { useEffect, useState, useRef, Fragment } from "react";
import type { Placement } from "@popperjs/core";

View file

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

View file

@ -1,4 +1,3 @@
"use client";
import React, { 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";
// ui
import { Checkbox } from "@plane/ui";

View file

@ -1,4 +1,3 @@
"use client";
// ui
import { Checkbox } from "@plane/ui";
// helpers

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { PanelRight } from "lucide-react";
import { useAppTheme } from "@/hooks/store/use-app-theme";

View file

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

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import { Fragment, useCallback, useRef, useState } from "react";
import { isEmpty } from "lodash-es";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import { useMemo } from "react";
import { isEmpty } from "lodash-es";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React 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";
import { isEmpty } from "lodash-es";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { useState, Fragment } from "react";
import { Dialog, Transition } from "@headlessui/react";
// ui

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { useEffect } from "react";
import { Controller, useForm } from "react-hook-form";
// plane imports

View file

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

View file

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

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,4 +1,3 @@
"use client";
import type { FC, MouseEvent } from "react";
import { useRef } from "react";
import { observer } from "mobx-react";

View file

@ -1,4 +1,3 @@
"use client";
import React, { useEffect, useState } from "react";
import { mutate } from "swr";
// types

View file

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

View file

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

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
import { AlertCircle } from "lucide-react";
// ui

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
// helpers
import { Tooltip } from "@plane/propel/tooltip";

View file

@ -1,5 +1,3 @@
"use client";
import type { FC } from "react";
import { useEffect, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React, { useEffect, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";
import { observer } from "mobx-react";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import type { LucideIcon } from "lucide-react";
import { MembersPropertyIcon } from "@plane/propel/icons";

View file

@ -1,5 +1,3 @@
"use client";
import { useEffect, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";
import { observer } from "mobx-react";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
// plane imports
import { CloseIcon, ModuleIcon, ChevronDownIcon } from "@plane/propel/icons";
import { Tooltip } from "@plane/propel/tooltip";

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import { useEffect, useRef, useState } from "react";
import type { Placement } from "@popperjs/core";
import { observer } from "mobx-react";

View file

@ -1,4 +1,3 @@
"use client";
import type { ReactNode } from "react";
import { Fragment, useRef, useState } from "react";
import { useTheme } from "next-themes";

View file

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

View file

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

View file

@ -1,5 +1,3 @@
"use client";
import React, { useEffect, useState, useCallback } from "react";
import type { LucideIcon } from "lucide-react";
import { Globe2, Lock } from "lucide-react";

View file

@ -1,5 +1,3 @@
"use client";
import type { PageProps } from "@react-pdf/renderer";
import { Document, Font, Page } from "@react-pdf/renderer";
import { Html } from "react-pdf-html";

View file

@ -1,5 +1,3 @@
"use client";
import { useCallback, useEffect, useState, useRef } from "react";
import { debounce } from "lodash-es";
import { observer } from "mobx-react";

View file

@ -1,5 +1,3 @@
"use client";
import React, { useEffect, useState, useCallback } from "react";
import { Palette, Trash2 } from "lucide-react";
// editor

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