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:
11
devenv.nix
11
devenv.nix
@@ -18,15 +18,24 @@
|
||||
|
||||
services.postgres = {
|
||||
enable = true;
|
||||
initialDatabases = [{ name = "reviq-dashboard"; }];
|
||||
initialDatabases = [ { name = "reviq-dashboard"; } ];
|
||||
initialScript = ''
|
||||
CREATE USER reviq WITH PASSWORD 'reviq' SUPERUSER;
|
||||
GRANT ALL PRIVILEGES ON DATABASE "reviq-dashboard" TO reviq;
|
||||
'';
|
||||
listen_addresses = "localhost";
|
||||
};
|
||||
|
||||
processes = {
|
||||
"dev-publisher-dashboard".exec = "bun run --cwd apps/publisher-dashboard dev";
|
||||
"build-watch".exec = "bun run build:watch:packages";
|
||||
"api-server".exec = "bun run --cwd apps/api-server dev";
|
||||
};
|
||||
|
||||
scripts = {
|
||||
"db-up".exec = "dbmate up";
|
||||
"db-new".exec = "dbmate new \"$1\"";
|
||||
"db-status".exec = "dbmate status";
|
||||
"db-gen".exec = "bun run --cwd packages/db-schema generate";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user