Stop using classy-prelude-yesod
This commit is contained in:
parent
ec9fc486ee
commit
40b4f4e475
4 changed files with 43 additions and 11 deletions
|
@ -15,11 +15,24 @@
|
|||
|
||||
module Vervis.Import.NoFoundation ( module Import ) where
|
||||
|
||||
import ClassyPrelude.Yesod as Import
|
||||
import ClassyPrelude.Conduit as Import
|
||||
import Data.Default as Import (Default (..))
|
||||
import Database.Persist.Sql as Import ( SqlBackend
|
||||
, SqlPersistT
|
||||
, runMigration
|
||||
)
|
||||
import Network.HTTP.Client.Conduit as Import
|
||||
import Network.HTTP.Types as Import
|
||||
import Yesod as Import hiding (Header, parseTime)
|
||||
import Yesod.Auth as Import
|
||||
import Yesod.Core.Types as Import (loggerSet)
|
||||
import Yesod.Default.Config2 as Import
|
||||
--import Yesod.Feed as Import
|
||||
import Yesod.Static as Import
|
||||
|
||||
import qualified Yesod
|
||||
|
||||
import Vervis.Style as Import
|
||||
import Vervis.Model as Import
|
||||
import Vervis.Settings as Import
|
||||
import Vervis.Settings.StaticFiles as Import
|
||||
import Yesod.Auth as Import
|
||||
import Yesod.Core.Types as Import (loggerSet)
|
||||
import Yesod.Default.Config2 as Import
|
||||
|
|
|
@ -17,7 +17,15 @@
|
|||
|
||||
module Vervis.Model where
|
||||
|
||||
import ClassyPrelude.Yesod
|
||||
import ClassyPrelude.Conduit
|
||||
import Yesod hiding (Header, parseTime)
|
||||
import qualified Yesod
|
||||
import Yesod.Static
|
||||
import Network.HTTP.Client.Conduit
|
||||
import Network.HTTP.Types
|
||||
import Database.Persist.Sql (SqlBackend, SqlPersistT, runMigration)
|
||||
import Data.Default (Default (..))
|
||||
|
||||
import Database.Persist.Quasi
|
||||
import Yesod.Auth.HashDB (HashDBUser (..))
|
||||
|
||||
|
|
|
@ -22,7 +22,15 @@
|
|||
-- declared in the Foundation.hs file.
|
||||
module Vervis.Settings where
|
||||
|
||||
import ClassyPrelude.Yesod
|
||||
import ClassyPrelude.Conduit
|
||||
import Yesod hiding (Header, parseTime)
|
||||
import qualified Yesod
|
||||
import Yesod.Static
|
||||
import Network.HTTP.Client.Conduit
|
||||
import Network.HTTP.Types
|
||||
import Database.Persist.Sql (SqlBackend, SqlPersistT, runMigration)
|
||||
import Data.Default (Default (..))
|
||||
|
||||
import Control.Exception (throw)
|
||||
import Data.Aeson (Result (..), fromJSON, withObject, (.!=),
|
||||
(.:?))
|
||||
|
|
|
@ -35,6 +35,7 @@ flag library-only
|
|||
|
||||
library
|
||||
exposed-modules: Data.Char.Local
|
||||
Data.Git.Local
|
||||
Data.Graph.Inductive.Local
|
||||
Data.List.Local
|
||||
Vervis.Application
|
||||
|
@ -91,7 +92,7 @@ library
|
|||
, case-insensitive
|
||||
, classy-prelude >= 0.10.2
|
||||
, classy-prelude-conduit >= 0.10.2
|
||||
, classy-prelude-yesod >= 0.10.2
|
||||
--, classy-prelude-yesod >= 0.10.2
|
||||
, conduit >= 1.0 && < 2.0
|
||||
, containers
|
||||
, data-default
|
||||
|
@ -105,6 +106,7 @@ library
|
|||
, hjsmin >= 0.1 && < 0.2
|
||||
, hourglass
|
||||
, http-conduit >= 2.1 && < 2.2
|
||||
, http-types
|
||||
, monad-control >= 0.3 && < 1.1
|
||||
, monad-logger >= 0.3 && < 0.4
|
||||
, persistent >= 2.0 && < 2.3
|
||||
|
@ -115,6 +117,7 @@ library
|
|||
, template-haskell
|
||||
, text >= 0.11 && < 2.0
|
||||
, time
|
||||
, transformers
|
||||
, unordered-containers
|
||||
, vector
|
||||
, wai
|
||||
|
|
Loading…
Reference in a new issue