diff options
| -rw-r--r-- | backend/justfile | 5 | ||||
| -rw-r--r-- | compose.yaml | 1 | ||||
| -rw-r--r-- | frontend/package.json | 3 | ||||
| -rw-r--r-- | justfile | 8 |
4 files changed, 12 insertions, 5 deletions
diff --git a/backend/justfile b/backend/justfile index 7dba240..d37ae8b 100644 --- a/backend/justfile +++ b/backend/justfile @@ -1,4 +1,7 @@ -build: generate +list: + @just -l + +build: go build -o feedaka . fmt: diff --git a/compose.yaml b/compose.yaml index 1a40ecc..9097b0c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,6 +8,5 @@ services: - '127.0.0.1:8002:8080' environment: TZ: Asia/Tokyo - FEEDAKA_BASE_PATH: '' FEEDAKA_PORT: '8080' restart: always diff --git a/frontend/package.json b/frontend/package.json index a4121dc..98448e1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,10 +4,11 @@ "version": "0.0.0", "type": "module", "scripts": { - "build": "npm run graphql-codegen && tsc -b && vite build", + "build": "tsc -b && vite build", "check": "biome check .", "dev": "vite", "fix": "biome check --write .", + "generate": "npm run graphql-codegen", "graphql-codegen": "graphql-codegen --config graphql-codegen.ts", "preview": "vite preview" }, @@ -2,9 +2,9 @@ list: @just -l serve: - FEEDAKA_BASE_PATH="" FEEDAKA_PORT=8080 ./backend/feedaka + FEEDAKA_PORT=8080 ./backend/feedaka -build: +build: generate cd frontend && npm run build cd backend && just build @@ -15,3 +15,7 @@ fmt: check: cd frontend && npm run check cd backend && just check + +generate: + cd frontend && npm run generate + cd backend && just generate |
