Update devenv and cleanup packages
- Add api-server process to devenv.nix - Add dbmate and kysely-codegen scripts - Configure PostgreSQL with localhost listener - Update publisher-dashboard package to @apps/publisher-dashboard - Fix deprecated asChild prop in mobile-nav component - Remove unused publisher-utils package - Update bun.lock with new dependencies Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@publisher/dashboard",
|
||||
"name": "@apps/publisher-dashboard",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
@@ -10,7 +10,6 @@
|
||||
"typecheck": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@publisher/utils": "workspace:*",
|
||||
"@tanstack/svelte-query": "^6.0.14",
|
||||
"@tanstack/svelte-query-devtools": "^6.0.3",
|
||||
"bits-ui": "^2.15.4",
|
||||
@@ -21,17 +20,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@internationalized/date": "^3.10.1",
|
||||
"@lucide/svelte": "^0.561.0",
|
||||
"@lucide/svelte": "^0.562.0",
|
||||
"@macalinao/tsconfig": "catalog:",
|
||||
"@sveltejs/adapter-static": "^3.0.8",
|
||||
"@sveltejs/kit": "^2.21.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
||||
"@sveltejs/kit": "^2.49.4",
|
||||
"@sveltejs/vite-plugin-svelte": "^6.2.3",
|
||||
"@tailwindcss/vite": "^4.1.4",
|
||||
"svelte": "^5.28.2",
|
||||
"svelte-check": "^4.2.1",
|
||||
"tailwindcss": "^4.1.4",
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"typescript": "catalog:",
|
||||
"vite": "^7.3.0"
|
||||
"vite": "^7.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ function handleNavClick() {
|
||||
</script>
|
||||
|
||||
<Sheet.Root bind:open>
|
||||
<Sheet.Trigger asChild>
|
||||
<Sheet.Trigger>
|
||||
{#snippet child({ props })}
|
||||
<Button variant="ghost" size="icon" class={cn("h-9 w-9 lg:hidden", className)} {...props}>
|
||||
<svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75">
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { greet } from "@publisher/utils";
|
||||
|
||||
const message = greet("Publisher Dashboard");
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -10,7 +7,7 @@ const message = greet("Publisher Dashboard");
|
||||
|
||||
<div class="space-y-6">
|
||||
<h1 class="text-3xl font-bold tracking-tight">Publisher Dashboard</h1>
|
||||
<p class="text-muted-foreground">{message}</p>
|
||||
<p class="text-muted-foreground">Welcome to the Publisher Dashboard</p>
|
||||
|
||||
<nav class="flex gap-4">
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user