Initial commit: Publisher dashboard monorepo
Turborepo + Bun monorepo with: - apps/publisher-dashboard: Svelte 5 SPA with SvelteKit, Tailwind CSS v4, shadcn-svelte - packages/publisher-utils: Shared TypeScript utilities Features: - Performance dashboard page with metrics, charts, and data tables - shadcn-svelte UI components with OKLCH color system - Biome for linting/formatting with Svelte-specific overrides 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
11
packages/publisher-utils/src/index.ts
Normal file
11
packages/publisher-utils/src/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export function greet(name: string): string {
|
||||
return `Hello, ${name}!`;
|
||||
}
|
||||
|
||||
export function formatDate(date: Date): string {
|
||||
return date.toLocaleDateString("en-US", {
|
||||
year: "numeric",
|
||||
month: "long",
|
||||
day: "numeric",
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user