James Eversole
6a0b5b0144
commit 86ee3c4d262916bec531ad5616273b391cdffeb3 Author: James Eversole <james@eversole.co> Date: Tue Jul 5 20:09:22 2022 -0500 Refactored findByLink for modularity, started prototyping document creation commit 65b68df295069edb57adcdc16a3300c9d762dc2f Author: James Eversole <james@eversole.co> Date: Tue Jul 5 18:45:25 2022 -0500 Feature parity with MongoDB implementation in main; need to refactor Feature.Sharing.Couch.findByLink into multiple functions so that more information regarding retrieved documents can be used compositionally to DRY before merging into main commit e10cc4de8acd45488679f0587732f02fee950c77 Author: James Eversole <james@eversole.co> Date: Mon Jul 4 20:53:55 2022 -0500 Better configuration file keys commit d683a51cac4ad891856f7782aa6221402988fea4 Author: James Eversole <james@eversole.co> Date: Mon Jul 4 20:38:40 2022 -0500 Added beginnings of CouchDB logic while removing all Mongo references and dependencies. Updated configuration file and related data types. Added a MonadHttp instance for PurrAction to enable requests in their monadic context. Will merge into main once feature parity on the Sharing Feature is reached
130 lines
2.8 KiB
Plaintext
130 lines
2.8 KiB
Plaintext
cabal-version: 1.12
|
|
|
|
-- This file has been generated from package.yaml by hpack version 0.34.4.
|
|
--
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
name: Purr
|
|
version: 0.1.0.0
|
|
description: https://git.eversole.co/James/Purr
|
|
author: James Eversole
|
|
maintainer: james@eversole.co
|
|
copyright: 2022 James Eversole
|
|
license: ISC
|
|
license-file: LICENSE
|
|
build-type: Simple
|
|
extra-source-files:
|
|
README.md
|
|
ChangeLog.md
|
|
|
|
library
|
|
exposed-modules:
|
|
Core.Configuration
|
|
Core.Couch
|
|
Core.HTTP
|
|
Core.Templates
|
|
Core.Types
|
|
Feature.Sharing.Couch
|
|
Feature.Sharing.HTTP
|
|
Feature.Sharing.Templates
|
|
Feature.Sharing.Types
|
|
Lib
|
|
other-modules:
|
|
Paths_Purr
|
|
hs-source-dirs:
|
|
src
|
|
default-extensions:
|
|
ConstraintKinds
|
|
DeriveGeneric
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GeneralizedNewtypeDeriving
|
|
OverloadedStrings
|
|
ScopedTypeVariables
|
|
build-depends:
|
|
aeson >=2.0.0.0
|
|
, base >=4.7
|
|
, blaze-html >=0.9.1.0
|
|
, bytestring
|
|
, containers
|
|
, dhall >=1.40 && <1.41.2
|
|
, http-types >=0.12.3
|
|
, iso8601-time >=0.1.5
|
|
, mtl >=2.2.2
|
|
, req >=3.10.0
|
|
, scotty ==0.12
|
|
, shakespeare >=2.0.20
|
|
, text >=1.2
|
|
, time >=1.9
|
|
, wai-extra >=3.1.12.1
|
|
default-language: Haskell2010
|
|
|
|
executable Purr-exe
|
|
main-is: Main.hs
|
|
other-modules:
|
|
Paths_Purr
|
|
hs-source-dirs:
|
|
app
|
|
default-extensions:
|
|
ConstraintKinds
|
|
DeriveGeneric
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GeneralizedNewtypeDeriving
|
|
OverloadedStrings
|
|
ScopedTypeVariables
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
build-depends:
|
|
Purr
|
|
, aeson >=2.0.0.0
|
|
, base >=4.7
|
|
, blaze-html >=0.9.1.0
|
|
, bytestring
|
|
, containers
|
|
, dhall >=1.40 && <1.41.2
|
|
, http-types >=0.12.3
|
|
, iso8601-time >=0.1.5
|
|
, mtl >=2.2.2
|
|
, req >=3.10.0
|
|
, scotty ==0.12
|
|
, shakespeare >=2.0.20
|
|
, text >=1.2
|
|
, time >=1.9
|
|
, wai-extra >=3.1.12.1
|
|
default-language: Haskell2010
|
|
|
|
test-suite Purr-test
|
|
type: exitcode-stdio-1.0
|
|
main-is: Spec.hs
|
|
other-modules:
|
|
Paths_Purr
|
|
hs-source-dirs:
|
|
test
|
|
default-extensions:
|
|
ConstraintKinds
|
|
DeriveGeneric
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GeneralizedNewtypeDeriving
|
|
OverloadedStrings
|
|
ScopedTypeVariables
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
build-depends:
|
|
Purr
|
|
, aeson >=2.0.0.0
|
|
, base >=4.7
|
|
, blaze-html >=0.9.1.0
|
|
, bytestring
|
|
, containers
|
|
, dhall >=1.40 && <1.41.2
|
|
, http-types >=0.12.3
|
|
, iso8601-time >=0.1.5
|
|
, mtl >=2.2.2
|
|
, req >=3.10.0
|
|
, scotty ==0.12
|
|
, shakespeare >=2.0.20
|
|
, text >=1.2
|
|
, time >=1.9
|
|
, wai-extra >=3.1.12.1
|
|
default-language: Haskell2010
|