Skip to content

Commit

Permalink
chore: remove the bff-sdk directory & add the command gql-sdk-upgrade…
Browse files Browse the repository at this point in the history
… to the Makefile
  • Loading branch information
dayuy committed Nov 28, 2023
1 parent 59d84d2 commit 066bd51
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 11,296 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 nohup 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 066bd51

Please sign in to comment.