first commit

This commit is contained in:
Tomas Dvorak committed 2026-04-10 12:01:36 +02:00
commit 035ac8ddb5
61 files changed
+6600

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
{
"name": "bookra",
"version": "0.1.0",
"private": true,
"type": "module",
"workspaces": [
"apps/frontend",
"packages/api-client",
"packages/shared-types"
],
"scripts": {
"dev:frontend": "npm run dev --workspace @bookra/frontend",
"dev:backend": "cd apps/backend && go run ./cmd/api",
"build:frontend": "npm run build --workspace @bookra/frontend",
"build:backend": "cd apps/backend && go build ./...",
"db:generate": "cd apps/backend && go run github.com/sqlc-dev/sqlc/cmd/[email protected] generate -f sqlc.yaml",
"db:migrate:up": "cd apps/backend && go run github.com/pressly/goose/v3/cmd/[email protected] -dir migrations postgres \"$BOOKRA_DATABASE_DIRECT_URL\" up",
"db:migrate:status": "cd apps/backend && go run github.com/pressly/goose/v3/cmd/[email protected] -dir migrations postgres \"$BOOKRA_DATABASE_DIRECT_URL\" status",
"lint:frontend": "npm run lint --workspace @bookra/frontend",
"generate:api-client": "npm run generate --workspace @bookra/api-client",
"verify": "npm run generate:api-client && npm run build:frontend && npm run build:backend"
},
"engines": {
"node": ">=20.0.0"
}
}