Move the Share server into its own package.

This commit is contained in:
Chris Penner 2022-04-11 09:57:58 -06:00
parent 49d4f295a9
commit b224bb09c7
19 changed files with 72 additions and 17 deletions

View File

@ -131,21 +131,6 @@ library
Unison.Runtime.SparseVector
Unison.Runtime.Stack
Unison.Runtime.Vector
Unison.Server.Backend
Unison.Server.CodebaseServer
Unison.Server.Doc
Unison.Server.Doc.AsHtml
Unison.Server.Endpoints.FuzzyFind
Unison.Server.Endpoints.GetDefinitions
Unison.Server.Endpoints.NamespaceDetails
Unison.Server.Endpoints.NamespaceListing
Unison.Server.Endpoints.Projects
Unison.Server.Errors
Unison.Server.QueryResult
Unison.Server.SearchResult
Unison.Server.SearchResult'
Unison.Server.Syntax
Unison.Server.Types
Unison.TermParser
Unison.TermPrinter
Unison.Typechecker
@ -169,7 +154,6 @@ library
Unison.Util.CyclicOrd
Unison.Util.EnumContainers
Unison.Util.Exception
Unison.Util.Find
Unison.Util.Free
Unison.Util.Logger
Unison.Util.PinBoard

View File

@ -17,6 +17,33 @@ dependencies:
- bytestring
- aeson
- memory
- unison-util-relation
- unison-core1
- unison-prelude
- unison-parser-typechecker
- unison-pretty-printer
- lucid
- openapi3
- extra
- lens
- fuzzyfind
- filepath
- directory
- yaml
- errors
- servant-server
- servant-docs
- servant-openapi3
- mwc-random
- warp
- wai
- uri-encode
- http-types
- http-media
- NanoID
- utf8-string
- async
- regex-tdfa
ghc-options:
-Wall

View File

@ -5,6 +5,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE ApplicativeDo #-}
module Unison.Server.Backend where

View File

@ -17,8 +17,24 @@ source-repository head
library
exposed-modules:
Unison.Server.Backend
Unison.Server.CodebaseServer
Unison.Server.Doc
Unison.Server.Doc.AsHtml
Unison.Server.Endpoints.FuzzyFind
Unison.Server.Endpoints.GetDefinitions
Unison.Server.Endpoints.NamespaceDetails
Unison.Server.Endpoints.NamespaceListing
Unison.Server.Endpoints.Projects
Unison.Server.Errors
Unison.Server.QueryResult
Unison.Server.SearchResult
Unison.Server.SearchResult'
Unison.Server.Syntax
Unison.Server.Types
Unison.Sync.API
Unison.Sync.Types
Unison.Util.Find
other-modules:
Paths_unison_share_api
hs-source-dirs:
@ -50,15 +66,42 @@ library
ViewPatterns
ghc-options: -Wall
build-depends:
aeson
NanoID
, aeson
, async
, base
, bytestring
, containers
, directory
, errors
, extra
, filepath
, fuzzyfind
, http-media
, http-types
, lens
, lucid
, memory
, mtl
, mwc-random
, nonempty-containers
, openapi3
, regex-tdfa
, servant
, servant-docs
, servant-openapi3
, servant-server
, text
, transformers
, unison-core1
, unison-parser-typechecker
, unison-prelude
, unison-pretty-printer
, unison-util-relation
, unliftio
, uri-encode
, utf8-string
, wai
, warp
, yaml
default-language: Haskell2010