[Flow] using user id. TODO : tests.
[gargantext.git] / package.yaml
index 6bb7963b8c86bd36aa3b549f222201a025d65f5e..68852014fd2565e12c88c91e3e8104a6ba78652e 100644 (file)
@@ -1,5 +1,5 @@
 name: gargantext
-version: '4.0.0.2'
+version: '0.0.0.4'
 synopsis: Search, map, share
 description: Please see README.md
 category: Data
@@ -10,6 +10,8 @@ copyright:
 license: BSD3
 homepage: https://gargantext.org
 ghc-options: -Wall
+extra-libraries:
+- gfortran
 dependencies:
 - extra
 - text
@@ -28,117 +30,182 @@ library:
   - Gargantext.API.Auth
   - Gargantext.API.Count
   - Gargantext.API.FrontEnd
-  - Gargantext.API.Orchestrator
+  - Gargantext.API.Ngrams
+  - Gargantext.API.Node
+    #  - Gargantext.API.Orchestrator
   - Gargantext.API.Search
   - Gargantext.API.Settings
+  - Gargantext.API.Types
   - Gargantext.Core
   - Gargantext.Core.Types
   - Gargantext.Core.Types.Main
   - Gargantext.Core.Utils.Prefix
   - Gargantext.Database
-  - Gargantext.Database.Bashql
-  - Gargantext.Database.Node.Document.Import
+  - Gargantext.Database.Init
+  - Gargantext.Database.Config
+  - Gargantext.Database.Flow
+  - Gargantext.Database.Schema.Node
+  - Gargantext.Database.Tree
   - Gargantext.Database.Types.Node
-  - Gargantext.Database.User
+  - Gargantext.Database.Utils
+  - Gargantext.Database.Schema.User
   - Gargantext.Prelude
   - Gargantext.Text
   - Gargantext.Text.Context
+  - Gargantext.Text.Corpus.Parsers
+  - Gargantext.Text.Corpus.API
+  - Gargantext.Text.Corpus.Parsers.CSV
   - Gargantext.Text.Examples
   - Gargantext.Text.List.CSV
   - Gargantext.Text.Metrics
+  - Gargantext.Text.Metrics.TFICF
   - Gargantext.Text.Metrics.CharByChar
   - Gargantext.Text.Metrics.Count
-  - Gargantext.Text.Parsers.CSV
-  - Gargantext.Text.Parsers.Date
-  - Gargantext.Text.Parsers.WOS
   - Gargantext.Text.Search
   - Gargantext.Text.Terms
-  - Gargantext.Text.Terms.Stop
   - Gargantext.Text.Terms.Mono
   - Gargantext.Text.Terms.Multi.Lang.En
   - Gargantext.Text.Terms.Multi.Lang.Fr
   - Gargantext.Text.Terms.Multi.RAKE
   - Gargantext.Text.Terms.WithList
-  - Gargantext.TextFlow
+  - Gargantext.Text.Flow
   - Gargantext.Viz.Graph
   - Gargantext.Viz.Graph.Distances.Matrice
   - Gargantext.Viz.Graph.Index
+  - Gargantext.Viz.Phylo
+  - Gargantext.Viz.AdaptativePhylo
+  - Gargantext.Viz.Phylo.PhyloMaker
+  - Gargantext.Viz.Phylo.Tools
+  - Gargantext.Viz.Phylo.PhyloTools
+  - Gargantext.Viz.Phylo.PhyloExport
+  - Gargantext.Viz.Phylo.SynchronicClustering
+  - Gargantext.Viz.Phylo.Example
+  - Gargantext.Viz.Phylo.LevelMaker
+  - Gargantext.Viz.Phylo.View.Export
+  - Gargantext.Viz.Phylo.View.ViewMaker
   dependencies:
+  - HSvm
+  - KMP
+  - MonadRandom
   - QuickCheck
+  - SHA
+  - Unique
   - accelerate
   - aeson
   - aeson-lens
   - aeson-pretty
+  - argon2
+  - array
   - async
   - attoparsec
+  - auto-update
   - base >=4.7 && <5
   - base16-bytestring
+  - base64-bytestring
+  - blaze-html
+  - blaze-markup
+  - blaze-svg
   - bytestring
   - case-insensitive
   - cassava
+  - cereal     # (IGraph)
+  - clock
   - clustering-louvain
   - conduit
   - conduit-extra
   - containers
   - contravariant
+  - crawlerHAL
+  - crawlerISTEX
+  - crawlerIsidore
+  - crawlerPubMed
   - data-time-segment
+  - deepseq
   - directory
   - duckling
   - exceptions
-  - filepath
-  - fullstop
-  - fclabels
   - fast-logger
+  - fclabels
+  - fgl
+  - filelock
+  - filepath
+  - formatting
   - full-text-search
+  - fullstop
+  - graphviz
+  - haskell-igraph
+  - hlcm
+  - hsparql
+  - hstatistics
+  - http-api-data
   - http-client
   - http-client-tls
   - http-conduit
-  - http-api-data
+  - http-media
   - http-types
   - hxt
-  - hlcm
   - ini
-  - jose-jwt
-  - kmeans-vector
-  - KMP
+  - insert-ordered-containers
+  - jose
+  - json-stream
   - lens
+  - located-base
   - logging-effect
   - matrix
+  - monad-control
   - monad-logger
   - mtl
   - natural-transformation
   - opaleye
+  - pandoc
+  - parallel
   - parsec
+  - patches-class
+  - patches-map
   - path
   - path-io
   - postgresql-simple
-  - pretty
+  - pretty-simple
   - probability
   - product-profunctors
   - profunctors
   - protolude
   - pureMD5
-  - SHA
+  - quickcheck-instances
   - rake
+  - random
+  - random-shuffle
+  - rdf4h
   - regex-compat
+  - resource-pool
   - resourcet
   - safe
   - semigroups
+  - serialise
   - servant
   - servant-auth
+  - servant-auth-server >= 0.4.4.0
+  - servant-auth-swagger
+  - servant-blaze
+  - servant-cassava
   - servant-client
+  - servant-flatten
   - servant-job
   - servant-mock
   - servant-multipart
   - servant-server
+  - servant-static-th
   - servant-swagger
   - servant-swagger-ui
-  - servant-static-th
+  - servant-xml
+  - simple-reflect
+  - singletons # (IGraph)
   - split
   - stemmer
   - string-conversions
   - swagger2
   - tagsoup
+  - temporary
   - text-metrics
   - time
   - time-locale-compat
@@ -147,27 +214,35 @@ library:
   - transformers-base
   - unordered-containers
   - uuid
+  - validity
   - vector
   - wai
   - wai-cors
   - wai-extra
   - warp
+  - wreq
+  - xml-conduit
+  - xml-types
+  - xmlbf
   - yaml
   - zip
   - zlib
+    #  - kmeans-vector
+  #- charsetdetect-ae  # detect charset
 #  - utc
+#  API external connections
 
 executables:
   gargantext-server:
     main: Main.hs
     source-dirs: bin/gargantext-server
     ghc-options:
-    - -threaded
-    - -rtsopts
-    - -with-rtsopts=-N
     - -O2
-    - -Wmissing-signatures
     - -Wcompat
+    - -Wmissing-signatures
+    - -rtsopts
+    - -threaded
+    - -with-rtsopts=-N
     dependencies:
       - base
       - containers
@@ -203,6 +278,84 @@ executables:
       - unordered-containers
       - full-text-search
 
+  gargantext-phylo:
+    main: Main.hs
+    source-dirs: bin/gargantext-phylo
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - aeson
+      - async
+      - base
+      - bytestring
+      - containers
+      - directory
+      - gargantext
+      - vector
+      - parallel
+      - cassava
+      - ini
+      - optparse-generic
+      - split
+      - unordered-containers
+
+  gargantext-adaptative-phylo:
+    main: Main.hs
+    source-dirs: bin/gargantext-adaptative-phylo
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - aeson
+      - async
+      - base
+      - bytestring
+      - containers
+      - directory
+      - gargantext
+      - vector
+      - parallel
+      - cassava
+      - ini
+      - optparse-generic
+      - split
+      - unordered-containers      
+
+  gargantext-import:
+    main: Main.hs
+    source-dirs: bin/gargantext-import
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - base
+      - servant-server
+
+  gargantext-init:
+    main: Main.hs
+    source-dirs: bin/gargantext-init
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - base
+
+
 tests:
 #   garg-test:
 #     main: Main.hs
@@ -225,11 +378,12 @@ tests:
     main: Main.hs
     source-dirs: src-doctest
     ghc-options:
-    - -Werror
-    - -threaded
+    - -O2
+    - -Wcompat
+    - -Wmissing-signatures
     - -rtsopts
+    - -threaded
     - -with-rtsopts=-N
-    - -Wmissing-signatures
     dependencies:
     - doctest
     - Glob