Skip to content

Commit

Permalink
Merge pull request #291 from dayuy/main
Browse files Browse the repository at this point in the history
chore: remove the bff-sdk directory & add the command gql-sdk-upgrade to the Makefile
  • Loading branch information
bjwswang authored Nov 28, 2023
2 parents 62ee08f + e554a9f commit 935795b
Show file tree
Hide file tree
Showing 21 changed files with 48 additions and 11,302 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ gql-gen:
@go run github.com/99designs/[email protected] generate
build-graphql-server: gql-gen
@CGO_ENABLED=0 GOOS=linux go build -o bin/graphql-server graphql-server/go-server/main.go
run-graphql-server:
POD_NAMESPACE=arcadia go run graphql-server/go-server/main.go --enable-playground=true &

# sdk for graphql-server api
GRL_SDK_GENERATOR_IMAGE ?= kubebb/gql-sdk-generator
.PHONY: gql-sdk-generator
gql-sdk-generator: run-graphql-server
docker run -v $(shell pwd)/graphql-server/go-server/graph/schema:/schema ${GRL_SDK_GENERATOR_IMAGE}:main


# prepare for git push
Expand Down
19 changes: 0 additions & 19 deletions graphql-server/bff-sdk/.fatherrc.ts

This file was deleted.

3 changes: 0 additions & 3 deletions graphql-server/bff-sdk/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions graphql-server/bff-sdk/.npmrc

This file was deleted.

110 changes: 0 additions & 110 deletions graphql-server/bff-sdk/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions graphql-server/bff-sdk/codegen-gql.mjs

This file was deleted.

11 changes: 0 additions & 11 deletions graphql-server/bff-sdk/codegen.yml

This file was deleted.

59 changes: 0 additions & 59 deletions graphql-server/bff-sdk/package.json

This file was deleted.

Loading

0 comments on commit 935795b

Please sign in to comment.