Skip to content

Commit

Permalink
Update docs, yarn cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
elvincheng3 committed Feb 6, 2025
1 parent a6ebfd7 commit b78d2dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ NextJS, NestJS, Prisma, PostgreSQL
- `test`: run all tests
- `tsc`: run ts checker
- `migrate`: run prisma migrate and make changes to local db in `apps/server`
- `gen-client`: regenerate client used to communicate with backend in `apps/web`
- `openapi-ts`: regenerate client used to communicate with backend in `apps/web`
- `dev:db:up`: start up the database in `apps`
- `dev:db:down`: stop the database in `apps`
- `backend:docker:build`: build the docker image for the backend in `apps`
Expand Down
3 changes: 1 addition & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"start": "next start",
"lint": "next lint",
"test": "jest",
"openapi-ts": "openapi-ts",
"gen-client": "openapi --input http://localhost:4000/api-json --output ./src/client --client axios"
"openapi-ts": "openapi-ts"
},
"dependencies": {
"@azure/identity": "4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "yarn workspaces run test --passWithNoTests",
"tsc": "yarn workspaces run tsc -p tsconfig.json",
"migrate": "yarn --cwd apps/server prisma migrate dev",
"gen-client": "yarn --cwd apps/web openapi --input http://localhost:8080/api-json --output ./src/client --client axios",
"gen-client": "yarn --cwd apps/web openapi-ts",
"dev:db:up": "docker compose -f apps/server/docker-compose.db.yml up -d",
"dev:db:down": "docker compose -f apps/server/docker-compose.db.yml down",
"backend:docker:build": "docker compose -f apps/server/docker-compose.yml build",
Expand Down

0 comments on commit b78d2dc

Please sign in to comment.