Skip to content

Commit

Permalink
feat(@whook/example): add GraphQL server
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed Sep 27, 2021
1 parent da55737 commit ac03c65
Show file tree
Hide file tree
Showing 14 changed files with 520 additions and 23 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions packages/whook-create/src/services/createWhook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,14 @@ Mr Bean
"@whook/authorization": "<current_version>",
"@whook/cli": "<current_version>",
"@whook/cors": "<current_version>",
"@whook/graphiql": "^8.4.2",
"@whook/graphql": "^8.4.2",
"@whook/http-router": "<current_version>",
"@whook/http-transaction": "<current_version>",
"@whook/swagger-ui": "<current_version>",
"@whook/whook": "<current_version>",
"common-services": "^9.0.1",
"graphql": "^15.5.0",
"http-auth-utils": "^3.0.1",
"jwt-service": "^7.1.3",
"knifecycle": "^11.1.1",
Expand Down Expand Up @@ -444,11 +447,14 @@ Mr Bean
"@whook/authorization": "<current_version>",
"@whook/cli": "<current_version>",
"@whook/cors": "<current_version>",
"@whook/graphiql": "^8.4.2",
"@whook/graphql": "^8.4.2",
"@whook/http-router": "<current_version>",
"@whook/http-transaction": "<current_version>",
"@whook/swagger-ui": "<current_version>",
"@whook/whook": "<current_version>",
"common-services": "^9.0.1",
"graphql": "^15.5.0",
"http-auth-utils": "^3.0.1",
"jwt-service": "^7.1.3",
"knifecycle": "^11.1.1",
Expand Down Expand Up @@ -687,11 +693,14 @@ Mr Bean
"@whook/authorization": "<current_version>",
"@whook/cli": "<current_version>",
"@whook/cors": "<current_version>",
"@whook/graphiql": "^8.4.2",
"@whook/graphql": "^8.4.2",
"@whook/http-router": "<current_version>",
"@whook/http-transaction": "<current_version>",
"@whook/swagger-ui": "<current_version>",
"@whook/whook": "<current_version>",
"common-services": "^9.0.1",
"graphql": "^15.5.0",
"http-auth-utils": "^3.0.1",
"jwt-service": "^7.1.3",
"knifecycle": "^11.1.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/whook-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,14 @@
"@whook/authorization": "^8.4.2",
"@whook/cli": "^8.4.2",
"@whook/cors": "^8.4.2",
"@whook/graphql": "^8.4.2",
"@whook/graphiql": "^8.4.2",
"@whook/http-router": "^8.4.2",
"@whook/http-transaction": "^8.3.0",
"@whook/swagger-ui": "^8.4.2",
"@whook/whook": "^8.4.2",
"common-services": "^9.0.1",
"graphql": "^15.5.0",
"http-auth-utils": "^3.0.1",
"jwt-service": "^7.1.3",
"knifecycle": "^11.1.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/whook-example/src/__snapshots__/cli.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Object {
- printEnv: A command printing every env values
# Provided by \\"@whook/graphql\\": none
# Provided by \\"@whook/cli\\": 6 commands
- config: A simple program that returns the queryed config value
- create: A command helping to create new Whook files easily
Expand Down
Loading

0 comments on commit ac03c65

Please sign in to comment.