build: migrate workspace tooling to Oxc
Replace Turbo task orchestration with Bun workspace scripts and remove the Prettier configuration. Add Oxlint and Oxfmt project configuration, including Tailwind class sorting, generated-file exclusions, and unified check/fix commands. Apply the new formatter and resolve Hook dependency errors surfaced by Oxlint.
This commit is contained in:
@@ -5,10 +5,14 @@ export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
|
||||
export function separate<T, R>({ items, iterator, separator }: {
|
||||
items: ReadonlyArray<T>,
|
||||
iterator: (item: T, index: number) => R,
|
||||
separator: (index: number) => R,
|
||||
export function separate<T, R>({
|
||||
items,
|
||||
iterator,
|
||||
separator,
|
||||
}: {
|
||||
items: ReadonlyArray<T>
|
||||
iterator: (item: T, index: number) => R
|
||||
separator: (index: number) => R
|
||||
}): R[] {
|
||||
return items.reduce<R[]>((acc, item, index) => {
|
||||
if (index > 0) {
|
||||
|
||||
Reference in New Issue
Block a user