♻️ refactor(core): Restructure project for better module separation

This commit is contained in:
web@ppanel
2024-12-26 02:53:28 +07:00
parent 17ce96a423
commit 9d0cb8b869
368 changed files with 152606 additions and 47239 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { intlFormat } from '@shadcn/ui/lib/date-fns';
import { intlFormat } from 'date-fns';
export function formatBytes(bytes: number) {
if (bytes === 0) return '0 B';
+4 -4
View File
@@ -1,8 +1,8 @@
import { startOfMonth } from '@shadcn/ui/lib/date-fns';
import { startOfMonth } from 'date-fns';
export * from './countries';
export * from './formatting';
export * from './unit-conversions';
export * from '@workspace/ui/utils/countries';
export * from '@workspace/ui/utils/formatting';
export * from '@workspace/ui/utils/unit-conversions';
export const isBrowser = () => typeof window !== 'undefined';