fix(CI): upgrade prettier oxc plugin version (#8242)

* fix: upgrade prettier oxc plugin version

* fix: type errors
This commit is contained in:
sriram veeraghanta 2025-12-04 18:27:50 +05:30 committed by GitHub
parent 1090b3e938
commit c3906048ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 237 additions and 243 deletions

View file

@ -20,7 +20,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"tsdown": "catalog:",

View file

@ -22,7 +22,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/express": "4.17.23",
"@types/node": "catalog:",
"@types/ws": "^8.5.10",

View file

@ -80,7 +80,7 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",

View file

@ -28,7 +28,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"tsdown": "catalog:",

View file

@ -33,7 +33,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",

View file

@ -26,7 +26,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/express": "4.17.23",
"@types/node": "catalog:",
"tsdown": "catalog:",

View file

@ -84,7 +84,7 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@storybook/addon-designs": "10.0.2",
"@storybook/addon-docs": "9.1.10",
"@storybook/react-vite": "9.1.10",

View file

@ -30,7 +30,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"tsdown": "catalog:",
"typescript": "catalog:"
},

View file

@ -27,7 +27,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"typescript": "catalog:"

View file

@ -8,9 +8,10 @@ import type { IFilterAdapter, TExternalFilter, TFilterExpression, TFilterPropert
* @template K - Property key type that extends TFilterProperty
* @template E - External filter type that extends TExternalFilter
*/
export abstract class FilterAdapter<K extends TFilterProperty, E extends TExternalFilter>
implements IFilterAdapter<K, E>
{
export abstract class FilterAdapter<K extends TFilterProperty, E extends TExternalFilter> implements IFilterAdapter<
K,
E
> {
/**
* Converts an external filter format to internal filter expression.
* Must be implemented by concrete adapter classes.

View file

@ -55,9 +55,10 @@ export type TConfigManagerParams = {
* @template V - The filter value type extending TFilterValue
* @template E - The external filter type extending TExternalFilter
*/
export class FilterConfigManager<P extends TFilterProperty, E extends TExternalFilter = TExternalFilter>
implements IFilterConfigManager<P>
{
export class FilterConfigManager<
P extends TFilterProperty,
E extends TExternalFilter = TExternalFilter,
> implements IFilterConfigManager<P> {
// observables
filterConfigs: IFilterConfigManager<P>["filterConfigs"];
configOptions: IFilterConfigManager<P>["configOptions"];

View file

@ -25,8 +25,10 @@ type TOperatorOptionForDisplay = {
label: string;
};
export interface IFilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue>
extends TFilterConfig<P, V> {
export interface IFilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue> extends TFilterConfig<
P,
V
> {
// computed
allEnabledSupportedOperators: TSupportedOperators[];
firstOperator: TSupportedOperators | undefined;
@ -44,9 +46,10 @@ export interface IFilterConfig<P extends TFilterProperty, V extends TFilterValue
mutate: (updates: Partial<TFilterConfig<P, V>>) => void;
}
export class FilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue>
implements IFilterConfig<P, V>
{
export class FilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue> implements IFilterConfig<
P,
V
> {
// observables
id: IFilterConfig<P, V>["id"];
label: IFilterConfig<P, V>["label"];

View file

@ -70,9 +70,10 @@ export interface IFilterInstanceHelper<P extends TFilterProperty, E extends TExt
* @template K - The filter property type extending TFilterProperty
* @template E - The external filter type extending TExternalFilter
*/
export class FilterInstanceHelper<P extends TFilterProperty, E extends TExternalFilter>
implements IFilterInstanceHelper<P, E>
{
export class FilterInstanceHelper<
P extends TFilterProperty,
E extends TExternalFilter,
> implements IFilterInstanceHelper<P, E> {
// parent filter instance
private _filterInstance: IFilterInstance<P, E>;
// adapter

View file

@ -25,7 +25,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",

View file

@ -79,8 +79,7 @@ export interface IBaseLayoutsBaseProps<T extends IBaseLayoutsBaseItem> extends I
// Group Props
export interface IBaseLayoutsBaseGroupProps<T extends IBaseLayoutsBaseItem>
extends IDragDropHandlers<T>,
IRenderProps<T> {
extends IDragDropHandlers<T>, IRenderProps<T> {
group: IBaseLayoutsBaseGroup;
itemIds: string[];
items: Record<string, T>;
@ -92,8 +91,7 @@ export interface IBaseLayoutsBaseGroupProps<T extends IBaseLayoutsBaseItem>
// Item Props
export interface IBaseLayoutsBaseItemProps<T extends IBaseLayoutsBaseItem>
extends IDragDropHandlers<T>,
IItemRenderProps<T> {
extends IDragDropHandlers<T>, IItemRenderProps<T> {
item: T;
index: number;
groupId: string;

View file

@ -56,7 +56,8 @@ export type TGanttDisplayOptions = {
// Main Gantt Layout Props
export interface IBaseLayoutsGanttProps<T extends IBaseLayoutsGanttItem>
extends Omit<IBaseLayoutsBaseProps<T>, "renderItem" | "enableDragDrop" | "onDrop" | "canDrag">,
extends
Omit<IBaseLayoutsBaseProps<T>, "renderItem" | "enableDragDrop" | "onDrop" | "canDrag">,
IGanttRenderProps<T>,
IGanttCapabilities,
TGanttDisplayOptions {

View file

@ -153,31 +153,30 @@ export type TWorkItemWidgets = "sub-work-items" | "relations" | "links" | "attac
export type TIssueServiceType = EIssueServiceType.ISSUES | EIssueServiceType.EPICS | EIssueServiceType.WORK_ITEMS;
export interface IPublicIssue
extends Pick<
TIssue,
| "description_html"
| "created_at"
| "updated_at"
| "created_by"
| "id"
| "name"
| "priority"
| "state_id"
| "project_id"
| "sequence_id"
| "sort_order"
| "start_date"
| "target_date"
| "cycle_id"
| "module_ids"
| "label_ids"
| "assignee_ids"
| "attachment_count"
| "sub_issues_count"
| "link_count"
| "estimate_point"
> {
export interface IPublicIssue extends Pick<
TIssue,
| "description_html"
| "created_at"
| "updated_at"
| "created_by"
| "id"
| "name"
| "priority"
| "state_id"
| "project_id"
| "sequence_id"
| "sort_order"
| "start_date"
| "target_date"
| "cycle_id"
| "module_ids"
| "label_ids"
| "assignee_ids"
| "attachment_count"
| "sub_issues_count"
| "link_count"
| "estimate_point"
> {
comments: TIssuePublicComment[];
reaction_items: IIssuePublicReaction[];
vote_items: IPublicVote[];

View file

@ -60,7 +60,7 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@storybook/addon-essentials": "^8.1.1",
"@storybook/addon-interactions": "^8.1.1",
"@storybook/addon-links": "^8.1.1",

View file

@ -2,8 +2,10 @@ import React, { useState } from "react";
import { cn } from "@plane/utils";
import { AuthInput } from "./auth-input";
export interface AuthConfirmPasswordInputProps
extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "autoComplete"> {
export interface AuthConfirmPasswordInputProps extends Omit<
React.InputHTMLAttributes<HTMLInputElement>,
"autoComplete"
> {
password: string;
label?: string;
error?: string;

View file

@ -45,7 +45,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/hast": "^3.0.4",
"@types/lodash-es": "catalog:",
"@types/mdast": "^4.0.4",