Check that garg-init has been executed at startup, abort with helpful error if not
[gargantext.git] / package.yaml
index 3f8b02ce8ba9e193236cab8e619edc0551652c85..1ca2f00421af26970bf9265ec1d761021f79ad8c 100644 (file)
@@ -1,5 +1,12 @@
 name: gargantext
-version: '0.0.4.2'
+
+#         +------------ Layer 3
+#         | +--+------- Layer 2
+#         | | +-------- Layer 1  : New versions with API changes
+#         | | | +-----  Layers * : New versions with API additions
+#         | | | | +---  Layers * : New versions without API breaking changes
+#         | | | | |
+version: '0.0.6'
 synopsis: Search, map, share
 description: Please see README.md
 category: Data
@@ -25,6 +32,15 @@ default-extensions:
   - OverloadedStrings
   - RankNTypes
   - RecordWildCards
+data-files:
+  - ekg-assets/index.html
+  - ekg-assets/monitor.js
+  - ekg-assets/monitor.css
+  - ekg-assets/jquery.flot.min.js
+  - ekg-assets/jquery-1.6.4.min.js
+  - ekg-assets/bootstrap-1.4.0.min.css
+  - ekg-assets/chart_line_add.png
+  - ekg-assets/cross.png
 library:
   source-dirs: src
   ghc-options:
@@ -45,10 +61,13 @@ library:
   - Gargantext.API.Ngrams
   - Gargantext.API.Ngrams.Tools
   - Gargantext.API.Ngrams.Types
+  - Gargantext.API.Ngrams.Prelude
   - Gargantext.API.Admin.Settings
   - Gargantext.API.Admin.EnvTypes
+  - Gargantext.API.Admin.Auth.Types
   - Gargantext.API.Admin.Types
   - Gargantext.API.Prelude
+  - Gargantext.API.Client
   - Gargantext.Core
   - Gargantext.Core.NodeStory
   - Gargantext.Core.Methods.Distances
@@ -63,11 +82,13 @@ library:
   - Gargantext.Database.Query.Table.Node
   - Gargantext.Database.Query.Table.Node.UpdateOpaleye
   - Gargantext.Database.Query.Table.NgramsPostag
+  - Gargantext.Database.Schema.Ngrams
   - Gargantext.Database.Prelude
   - Gargantext.Database.Admin.Trigger.Init
   - Gargantext.Database.Admin.Config
   - Gargantext.Database.Admin.Types.Hyperdata
   - Gargantext.Database.Admin.Types.Node
+  - Gargantext.Defaults
   - Gargantext.Core.Text
   - Gargantext.Core.Text.Context
   - Gargantext.Core.Text.Corpus.Parsers
@@ -90,7 +111,9 @@ library:
   - Gargantext.Core.Viz.Graph.Tools
   - Gargantext.Core.Viz.Graph.Tools.IGraph
   - Gargantext.Core.Viz.Graph.Index
-  - Gargantext.Core.Viz.AdaptativePhylo
+  - Gargantext.Core.Viz.Phylo
+  - Gargantext.Core.Viz.Phylo.API
+  - Gargantext.Core.Viz.Phylo.API.Tools
   - Gargantext.Core.Viz.Phylo.PhyloMaker
   - Gargantext.Core.Viz.Phylo.PhyloTools
   - Gargantext.Core.Viz.Phylo.PhyloExport
@@ -105,6 +128,7 @@ library:
   - Unique
   - accelerate
   - accelerate-arithmetic
+  - accelerate-llvm-native
   - accelerate-utility
   - aeson
   - aeson-lens
@@ -128,6 +152,7 @@ library:
   - conduit-extra
   - containers
   - contravariant
+  - crawlerArxiv
   - crawlerHAL
   - crawlerISTEX
   - crawlerIsidore
@@ -137,6 +162,8 @@ library:
   - deepseq
   - directory
   - duckling
+  - ekg-core
+  - ekg-json
   - exceptions
   - fast-logger
   - fclabels
@@ -147,10 +174,12 @@ library:
   - full-text-search
   - fullstop
   - gargantext-prelude
+  - gargantext-graph >= 0.1.0.0
   - graphviz
   - hashable
   - haskell-igraph
   - hlcm
+  - hsinfomap
   - hsparql
   - hstatistics
   - http-api-data
@@ -160,16 +189,24 @@ library:
   - http-media
   - http-types
   - hxt
+  - ihaskell
   - ini
   - insert-ordered-containers
   - jose
   - json-stream
   - lens
+  - lifted-base
+  - listsafe
   - located-base
   - logging-effect
   - matrix
   - monad-control
   - monad-logger
+  - monad-logger-aeson
+  - morpheus-graphql
+  - morpheus-graphql-app
+  - morpheus-graphql-core
+  - morpheus-graphql-subscriptions
   - mtl
   - natural-transformation
   - opaleye
@@ -183,6 +220,7 @@ library:
   - postgresql-simple
   - pretty-simple
   - probability
+  - process
   - product-profunctors
   - profunctors
   - protolude
@@ -201,11 +239,14 @@ library:
   - serialise
   - servant
   - servant-auth
+  - servant-auth-client
   - servant-auth-server >= 0.4.4.0
   - servant-auth-swagger
   - servant-blaze
   - servant-cassava
   - servant-client
+  - servant-ekg
+  - servant-flatten
   - servant-job
   - servant-mock
   - servant-multipart
@@ -219,25 +260,32 @@ library:
   - split
   - stemmer
   - swagger2
+  - taggy-lens
   - tagsoup
   - template-haskell
   - temporary
+  - text-conversions
   - text-metrics
   - time
   - time-locale-compat
   - timezone-series
   - transformers
   - transformers-base
+  - tuple
   - unordered-containers
   - utf8-string
   - uuid
+  - uri-encode
   - validity
   - vector
   - wai
   - wai-app-static
   - wai-cors
   - wai-extra
+  - wai-websockets
   - warp
+  - wikiparsec
+  - websockets
   - wreq
   - xml-conduit
   - xml-types
@@ -257,6 +305,7 @@ executables:
     - -rtsopts
     - -threaded
     - -with-rtsopts=-N
+    - -with-rtsopts=-T
     - -fprof-auto
     dependencies:
       - base
@@ -295,9 +344,45 @@ executables:
       - unordered-containers
       - full-text-search
 
-  gargantext-adaptative-phylo:
+
+  gargantext-client:
     main: Main.hs
-    source-dirs: bin/gargantext-adaptative-phylo
+    source-dirs: bin/gargantext-client
+    ghc-options:
+    - -Wall
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    default-extensions:
+    - DataKinds
+    - DeriveGeneric
+    - FlexibleContexts
+    - FlexibleInstances
+    - GeneralizedNewtypeDeriving
+    - MultiParamTypeClasses
+    - NamedFieldPuns
+    - NoImplicitPrelude
+    - OverloadedStrings
+    - RankNTypes
+    - RecordWildCards
+    dependencies:
+    - base
+    - extra
+    - servant
+    - text
+    - optparse-generic
+    - exceptions
+    - servant-client
+    - servant-auth-client
+    - gargantext
+    - ekg-json
+    - http-client
+
+  gargantext-phylo:
+    main: Main.hs
+    source-dirs: bin/gargantext-phylo
     ghc-options:
     - -threaded
     - -rtsopts
@@ -352,6 +437,21 @@ executables:
       - gargantext-prelude
       - base
 
+  gargantext-invitations:
+    main: Main.hs
+    source-dirs: bin/gargantext-invitations
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - gargantext-prelude
+      - base
+
+
   gargantext-upgrade:
     main: Main.hs
     source-dirs: bin/gargantext-upgrade
@@ -365,6 +465,7 @@ executables:
       - gargantext
       - gargantext-prelude
       - base
+      - postgresql-simple
 
   gargantext-admin:
     main: Main.hs
@@ -380,6 +481,7 @@ executables:
       - gargantext-prelude
       - base
 
+
   gargantext-cbor2json:
     main: Main.hs
     source-dirs: bin/gargantext-cbor2json