Skip to content

Commit

Permalink
Core: Define version bounds of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed May 3, 2024
1 parent 3a8926e commit bbae951
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 102 deletions.
97 changes: 47 additions & 50 deletions tasklite-core/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,60 +43,57 @@ ghc-options:
- -Wunused-packages

dependencies:
- base >= 4.7 && < 5
- protolude
- base >= 4.18 && < 5
- protolude >= 0.3

library:
source-dirs: source
dependencies:
- aeson
- airgql
- ansi-terminal
- bytestring
- cassava
- colour
- directory
- editor-open
- exceptions
- file-embed
- filepath
- generic-random
- githash
- hourglass
- hourglass
- hsemail
- huzzy
- iso8601-duration
- optparse-applicative
- parsec
- portable-lines
- prettyprinter
- prettyprinter-ansi-terminal
- process
- protolude
- QuickCheck
- quickcheck-instances
- random
- servant
- servant-blaze
- servant-multipart
- servant-server
- simple-sql-parser
- sqlite-simple
- sqlite-simple
- syb
- text
- text
- time
- ulid
- unix
- vector
- wai
- wai-cors
- wai-app-static
- warp
- yaml
- wai-extra
- aeson >= 2.2.1 && < 2.3
- airgql >= 0.7.1.2 && < 0.8
- ansi-terminal >= 0.11 && < 1.1
- bytestring >= 0.11 && < 0.13
- cassava >= 0.5.2 && < 0.6
- colour >= 2.3 && < 2.4
- directory >= 1.3 && < 1.4
- editor-open >= 0.4 && < 0.7
- exceptions >= 0.10 && < 0.11
- file-embed >= 0.0.14 && < 0.1
- filepath >= 1.4 && < 1.6
- generic-random >= 1.3 && < 1.6
- githash >= 0.1.6 && < 0.2
- hourglass >= 0.2.10 && < 0.3
- hsemail >= 2.0 && < 2.3
- huzzy >= 0.1 && < 0.2
- iso8601-duration >= 0.1.1 && < 0.2
- optparse-applicative >= 0.16 && < 0.19
- parsec >= 3.1 && < 3.2
- portable-lines >= 0.1 && < 0.2
- prettyprinter >= 1.6 && < 1.8
- prettyprinter-ansi-terminal >= 1.1 && < 1.2
- process >= 1.6 && < 1.7
- protolude >= 0.3 && < 0.4
- QuickCheck >= 2.14 && < 2.15
- quickcheck-instances >= 0.3.28 && < 0.4
- random >= 1.2 && < 1.3
- servant >= 0.18 && < 0.21
- servant-blaze >= 0.7 && < 0.10
- servant-multipart >= 0.11 && < 0.13
- servant-server >= 0.18 && < 0.21
- simple-sql-parser >= 0.6 && < 0.8
- sqlite-simple >= 0.4 && < 0.5
- syb >= 0.7 && < 0.8
- text >= 1.2 && < 2.2
- time >= 1.11 && < 1.15
- ulid >= 0.3 && < 0.4
- unix >= 2.8 && < 2.9
- vector >= 0.12 && < 0.14
- wai >= 3.2 && < 3.3
- wai-cors >= 0.2 && < 0.3
- wai-app-static >= 3.1 && < 3.2
- warp >= 3.3 && < 3.5
- yaml >= 0.11 && < 0.12
- wai-extra >= 3.1 && < 3.2

executables:
tasklite:
Expand Down
104 changes: 52 additions & 52 deletions tasklite-core/tasklite-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -65,52 +65,52 @@ library
UndecidableInstances
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wno-orphans -Wredundant-constraints -Wunused-packages
build-depends:
QuickCheck
, aeson
, airgql
, ansi-terminal
, base >=4.7 && <5
, bytestring
, cassava
, colour
, directory
, editor-open
, exceptions
, file-embed
, filepath
, generic-random
, githash
, hourglass
, hsemail
, huzzy
, iso8601-duration
, optparse-applicative
, parsec
, portable-lines
, prettyprinter
, prettyprinter-ansi-terminal
, process
, protolude
, quickcheck-instances
, random
, servant
, servant-blaze
, servant-multipart
, servant-server
, simple-sql-parser
, sqlite-simple
, syb
, text
, time
, ulid
, unix
, vector
, wai
, wai-app-static
, wai-cors
, wai-extra
, warp
, yaml
QuickCheck ==2.14.*
, aeson >=2.2.1 && <2.3
, airgql >=0.7.1.2 && <0.8
, ansi-terminal >=0.11 && <1.1
, base >=4.18 && <5
, bytestring >=0.11 && <0.13
, cassava >=0.5.2 && <0.6
, colour ==2.3.*
, directory ==1.3.*
, editor-open >=0.4 && <0.7
, exceptions ==0.10.*
, file-embed >=0.0.14 && <0.1
, filepath >=1.4 && <1.6
, generic-random >=1.3 && <1.6
, githash >=0.1.6 && <0.2
, hourglass >=0.2.10 && <0.3
, hsemail >=2.0 && <2.3
, huzzy ==0.1.*
, iso8601-duration >=0.1.1 && <0.2
, optparse-applicative >=0.16 && <0.19
, parsec ==3.1.*
, portable-lines ==0.1.*
, prettyprinter >=1.6 && <1.8
, prettyprinter-ansi-terminal ==1.1.*
, process ==1.6.*
, protolude ==0.3.*
, quickcheck-instances >=0.3.28 && <0.4
, random ==1.2.*
, servant >=0.18 && <0.21
, servant-blaze >=0.7 && <0.10
, servant-multipart >=0.11 && <0.13
, servant-server >=0.18 && <0.21
, simple-sql-parser >=0.6 && <0.8
, sqlite-simple ==0.4.*
, syb ==0.7.*
, text >=1.2 && <2.2
, time >=1.11 && <1.15
, ulid ==0.3.*
, unix ==2.8.*
, vector >=0.12 && <0.14
, wai ==3.2.*
, wai-app-static ==3.1.*
, wai-cors ==0.2.*
, wai-extra ==3.1.*
, warp >=3.3 && <3.5
, yaml ==0.11.*
default-language: GHC2021

executable tasklite
Expand All @@ -133,10 +133,10 @@ executable tasklite
UndecidableInstances
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wno-orphans -Wredundant-constraints -Wunused-packages
build-depends:
base >=4.7 && <5
base >=4.18 && <5
, directory
, filepath
, protolude
, protolude >=0.3
, tasklite-core
, text
, yaml
Expand Down Expand Up @@ -168,12 +168,12 @@ test-suite tasklite-test
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wno-orphans -Wredundant-constraints -Wunused-packages
build-depends:
aeson
, base >=4.7 && <5
, base >=4.18 && <5
, hourglass
, hspec
, neat-interpolation
, optparse-applicative
, protolude
, protolude >=0.3
, sqlite-simple
, tasklite-core
, text
Expand Down Expand Up @@ -201,7 +201,7 @@ benchmark tasklite-bench
UndecidableInstances
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wno-orphans -Wredundant-constraints -Wunused-packages
build-depends:
base >=4.7 && <5
base >=4.18 && <5
, criterion
, protolude
, protolude >=0.3
default-language: GHC2021

0 comments on commit bbae951

Please sign in to comment.