Skip to content

Commit

Permalink
setup-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nalchevanidze committed Apr 21, 2024
1 parent 3326090 commit b04fc03
Show file tree
Hide file tree
Showing 12 changed files with 166 additions and 161 deletions.
23 changes: 10 additions & 13 deletions examples/client/package.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
name: morpheus-graphql-examples-client
version: 0.1.0
github: "nalchevanidze/morpheus-graphql"
version: 0.27.3
github: nalchevanidze/morpheus-graphql
license: MIT
author: "Daviti Nalchevanidze"
author: Daviti Nalchevanidze
category: web, graphql
synopsis: examples
copyright: "(c) 2019 Daviti Nalchevanidze"
copyright: (c) 2019 Daviti Nalchevanidze
description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4
- text >= 1.2.3.0
- base >= 4.7.0 && < 5.0.0
- bytestring >= 0.10.4 && < 0.15.0
- file-embed >= 0.0.10 && < 1.0.0
- morpheus-graphql-client
- req >= 2.1.0
- file-embed

- req >= 3.0.0 && < 4.0.0
- text >= 1.2.3 && < 3.0.0
data-files:
- assets/**/*.gql
- assets/**/*.json

executables:
morpheus-client-example:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
20 changes: 9 additions & 11 deletions examples/code-gen-docs/package.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
name: morpheus-graphql-examples-code-gen-docs
version: 0.1.0
github: "nalchevanidze/morpheus-graphql"
version: 0.27.3
github: nalchevanidze/morpheus-graphql
license: MIT
author: "Daviti Nalchevanidze"
author: Daviti Nalchevanidze
category: web, graphql , code-gen
synopsis: examples
copyright: "(c) 2019 Daviti Nalchevanidze"
copyright: (c) 2019 Daviti Nalchevanidze
description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4
- text >= 1.2.3.0
- base >= 4.7.0 && < 5.0.0
- bytestring >= 0.10.4 && < 0.15.0
- containers >= 0.4.2.1 && < 0.7.0
- morpheus-graphql
- morpheus-graphql-server
- morpheus-graphql-client
- scotty
- containers >= 0.4.2.1

- text >= 1.2.3 && < 3.0.0
executables:
code-gen-docs-server:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
20 changes: 9 additions & 11 deletions examples/code-gen/package.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
name: morpheus-graphql-examples-code-gen
version: 0.1.0
github: "nalchevanidze/morpheus-graphql"
version: 0.27.3
github: nalchevanidze/morpheus-graphql
license: MIT
author: "Daviti Nalchevanidze"
author: Daviti Nalchevanidze
category: web, graphql , code-gen
synopsis: examples
copyright: "(c) 2019 Daviti Nalchevanidze"
copyright: (c) 2019 Daviti Nalchevanidze
description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4
- text >= 1.2.3.0
- base >= 4.7.0 && < 5.0.0
- bytestring >= 0.10.4 && < 0.15.0
- containers >= 0.4.2.1 && < 0.7.0
- morpheus-graphql
- morpheus-graphql-server
- morpheus-graphql-client
- scotty
- containers >= 0.4.2.1

- text >= 1.2.3 && < 3.0.0
executables:
generated-server:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
22 changes: 10 additions & 12 deletions examples/scotty-fraxl/package.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
name: morpheus-graphql-examples-scotty-fraxl
version: 0.1.0
github: "nalchevanidze/morpheus-graphql"
version: 0.27.3
github: nalchevanidze/morpheus-graphql
license: MIT
author: "Daviti Nalchevanidze"
author: Daviti Nalchevanidze
category: web, graphql
synopsis: examples
copyright: "(c) 2019 Daviti Nalchevanidze"
copyright: (c) 2019 Daviti Nalchevanidze
description: Fraxl example of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- mtl >= 2.0
- text >= 1.2.3.0
- containers >= 0.4.2.1
- base >= 4.7.0 && < 5.0.0
- containers >= 0.4.2.1 && < 0.7.0
- fraxl
- mtl >= 2.0.0 && < 3.0.0
- morpheus-graphql
- scotty
- fraxl

- text >= 1.2.3 && < 3.0.0
executables:
scotty-server-fraxl:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
24 changes: 11 additions & 13 deletions examples/scotty-freer-simple/package.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
name: morpheus-graphql-examples-scotty-freer
version: 0.1.0.0
github: "githubuser/morpheus-graphql-examples-scotty-freer-simple"
version: 0.27.3
github: githubuser/morpheus-graphql-examples-scotty-freer-simple
license: BSD3
author: "Author name here"
maintainer: "[email protected]"
copyright: "2021 Author name here"
author: Author name here
maintainer: [email protected]
copyright: 2021 Author name here
description: example of graphql apis with scotty and freer-simple

dependencies:
- base >= 4.7 && < 5
- bytestring
- file-embed
- base >= 4.7.0 && < 5.0.0
- bytestring >= 0.10.4 && < 0.15.0
- file-embed >= 0.0.10 && < 1.0.0
- freer-simple
- morpheus-graphql
- scotty
- text
- transformers
- text >= 1.2.3 && < 3.0.0
- transformers >= 0.3.0 && < 0.7.0
- wai
- warp

executables:
scotty-freer-server:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
24 changes: 11 additions & 13 deletions examples/scotty-haxl/package.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
name: morpheus-graphql-examples-scotty-haxl
version: 0.1.0
github: "nalchevanidze/morpheus-graphql"
version: 0.27.3
github: nalchevanidze/morpheus-graphql
license: MIT
author: "Daviti Nalchevanidze"
author: Daviti Nalchevanidze
category: web, graphql
synopsis: examples
copyright: "(c) 2019 Daviti Nalchevanidze"
copyright: (c) 2019 Daviti Nalchevanidze
description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- mtl >= 2.0
- text >= 1.2.3.0
- containers >= 0.4.2.1
- base >= 4.7.0 && < 5.0.0
- containers >= 0.4.2.1 && < 0.7.0
- haxl
- hashable >= 1.0.0 && < 2.0.0
- mtl >= 2.0.0 && < 3.0.0
- morpheus-graphql
- morpheus-graphql-app
- scotty
- haxl
- hashable

- text >= 1.2.3 && < 3.0.0
executables:
scotty-server-haxl:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
36 changes: 17 additions & 19 deletions examples/scotty/package.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
name: morpheus-graphql-examples-scotty
version: 0.1.0
github: "nalchevanidze/morpheus-graphql"
version: 0.27.3
github: nalchevanidze/morpheus-graphql
license: MIT
author: "Daviti Nalchevanidze"
author: Daviti Nalchevanidze
category: web, graphql
synopsis: examples
copyright: "(c) 2019 Daviti Nalchevanidze"
copyright: (c) 2019 Daviti Nalchevanidze
description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- aeson >= 1.4.4.0
- bytestring >= 0.10.4
- text >= 1.2.3.0
- containers >= 0.4.2.1
- mtl >= 2.0
- websockets >= 0.11.0
- wai-websockets >= 1.0
- aeson >= 1.4.4 && < 3.0.0
- base >= 4.7.0 && < 5.0.0
- bytestring >= 0.10.4 && < 0.15.0
- containers >= 0.4.2.1 && < 0.7.0
- extra
- http-types
- mtl >= 2.0.0 && < 3.0.0
- morpheus-graphql
- morpheus-graphql-core
- morpheus-graphql-app
- morpheus-graphql-subscriptions
- scotty
- warp
- transformers
- extra
- http-types
- stm

- text >= 1.2.3 && < 3.0.0
- transformers >= 0.3.0 && < 0.7.0
- websockets >= 0.12.6.0 && < 1.0.0
- wai-websockets
- warp
executables:
scotty-server:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
30 changes: 14 additions & 16 deletions examples/servant/package.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
name: morpheus-graphql-examples-servant
version: 0.1.0
github: "nalchevanidze/morpheus-graphql"
version: 0.27.3
github: nalchevanidze/morpheus-graphql
license: MIT
author: "Daviti Nalchevanidze"
author: Daviti Nalchevanidze
category: web, graphql
synopsis: examples
copyright: "(c) 2019 Daviti Nalchevanidze"
copyright: (c) 2019 Daviti Nalchevanidze
description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4
- text >= 1.2.3
- mtl >= 2.0
- base >= 4.7.0 && < 5.0.0
- bytestring >= 0.10.4 && < 0.15.0
- file-embed >= 0.0.10 && < 1.0.0
- http-media
- mtl >= 2.0.0 && < 3.0.0
- morpheus-graphql
- morpheus-graphql-subscriptions
- wai-websockets >= 1.0
- websockets >= 0.11.0
- warp
- servant-server
- http-media
- file-embed

- text >= 1.2.3 && < 3.0.0
- wai-websockets
- websockets >= 0.12.6.0 && < 1.0.0
- warp
executables:
servant-server:
main: Main.hs
source-dirs: src
ghc-options: -Wall
ghc-options: '-Wall'
Loading

0 comments on commit b04fc03

Please sign in to comment.