mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-03 07:59:31 -05:00
chore(contributing): adapt deps, hardcode generator versions (#6)
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
- [`Taskfile`](https://taskfile.dev/installation/)
|
||||
- The following additional devtools:
|
||||
- `protoc`: `brew install protobuf`
|
||||
- `sqlc`: `brew install sqlc`
|
||||
- `caddy` and `nss`: `brew install caddy nss`
|
||||
|
||||
### Setup
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ tasks:
|
||||
generate-sqlc:
|
||||
cmds:
|
||||
- npx --yes prisma migrate diff --from-empty --to-schema-datasource prisma/schema.prisma --script > internal/repository/prisma/dbsqlc/schema.sql
|
||||
- sqlc generate --file internal/repository/prisma/dbsqlc/sqlc.yaml
|
||||
- go run github.com/sqlc-dev/sqlc/cmd/sqlc@v1.24.0 generate --file internal/repository/prisma/dbsqlc/sqlc.yaml
|
||||
kill-query-engines:
|
||||
cmds:
|
||||
- ps -A | grep 'prisma-query-engine-darwin-arm64' | grep -v grep | awk '{print $1}' | xargs kill -9 $1
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
set -eux
|
||||
|
||||
npx --yes swagger-cli bundle ./api-contracts/openapi/openapi.yaml --outfile bin/oas/openapi.yaml --type yaml
|
||||
go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@latest -config ./api/v1/server/oas/gen/codegen.yaml ./bin/oas/openapi.yaml
|
||||
go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@v2.0.0 -config ./api/v1/server/oas/gen/codegen.yaml ./bin/oas/openapi.yaml
|
||||
|
||||
Reference in New Issue
Block a user