rename autodocodec-aeson-schema to autodocodec-schema

This commit is contained in:
Tom Sydney Kerckhove 2021-11-06 15:06:32 +01:00
parent 6a3566b775
commit d1d4d57e95
15 changed files with 16 additions and 21 deletions

View File

@ -30,8 +30,8 @@ library
QuickCheck
, aeson
, autodocodec
, autodocodec-aeson-schema
, autodocodec-openapi3
, autodocodec-schema
, autodocodec-swagger2
, autodocodec-yaml
, base >=4.7 && <5
@ -66,9 +66,9 @@ test-suite autodocodec-api-usage-test
QuickCheck
, aeson
, autodocodec
, autodocodec-aeson-schema
, autodocodec-api-usage
, autodocodec-openapi3
, autodocodec-schema
, autodocodec-swagger2
, autodocodec-yaml
, base >=4.7 && <5

View File

@ -16,8 +16,8 @@ library:
- QuickCheck
- aeson
- autodocodec
- autodocodec-aeson-schema
- autodocodec-openapi3
- autodocodec-schema
- autodocodec-swagger2
- autodocodec-yaml
- bytestring
@ -45,9 +45,9 @@ tests:
- QuickCheck
- aeson
- autodocodec
- autodocodec-aeson-schema
- autodocodec-api-usage
- autodocodec-openapi3
- autodocodec-schema
- autodocodec-swagger2
- autodocodec-yaml
- bytestring

View File

@ -8,8 +8,7 @@
module Autodocodec.Aeson.SchemaSpec (spec) where
import Autodocodec
import Autodocodec.Aeson
import Autodocodec.Aeson.Schema
import Autodocodec.Schema
import Autodocodec.Usage
import qualified Data.Aeson as JSON
import Data.Data

View File

@ -6,7 +6,6 @@
module Autodocodec.AesonSpec (spec) where
import Autodocodec
import Autodocodec.Aeson
import Autodocodec.Usage
import Data.Aeson (FromJSON (..), ToJSON (..))
import qualified Data.Aeson as JSON

View File

@ -8,7 +8,6 @@
module Autodocodec.OpenAPISpec (spec) where
import Autodocodec
import Autodocodec.Aeson
import Autodocodec.OpenAPI
import Autodocodec.Usage
import qualified Data.Aeson as JSON

View File

@ -8,7 +8,6 @@
module Autodocodec.SwaggerSpec (spec) where
import Autodocodec
import Autodocodec.Aeson
import Autodocodec.Swagger
import Autodocodec.Usage
import qualified Data.Aeson as JSON

View File

@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
name: autodocodec-aeson-schema
name: autodocodec-schema
version: 0.0.0.0
synopsis: Autodocodec JSON Schemas
homepage: https://github.com/NorfairKing/autodocodec#readme
@ -21,9 +21,9 @@ source-repository head
library
exposed-modules:
Autodocodec.Aeson.Schema
Autodocodec.Schema
other-modules:
Paths_autodocodec_aeson_schema
Paths_autodocodec_schema
hs-source-dirs:
src
build-depends:

View File

@ -1,4 +1,4 @@
name: autodocodec-aeson-schema
name: autodocodec-schema
version: 0.0.0.0
github: "NorfairKing/autodocodec"
license: MIT

View File

@ -6,7 +6,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
module Autodocodec.Aeson.Schema where
module Autodocodec.Schema where
import Autodocodec
import Control.Applicative

View File

@ -29,7 +29,7 @@ library
src
build-depends:
autodocodec
, autodocodec-aeson-schema
, autodocodec-schema
, base >=4.7 && <5
, bytestring
, containers

View File

@ -14,7 +14,7 @@ library:
source-dirs: src
dependencies:
- autodocodec
- autodocodec-aeson-schema
- autodocodec-schema
- bytestring
- containers
- safe-coloured-text

View File

@ -7,7 +7,7 @@
module Autodocodec.Yaml.Document where
import Autodocodec
import Autodocodec.Aeson.Schema
import Autodocodec.Schema
import Data.ByteString (ByteString)
import Data.List.NonEmpty (NonEmpty (..))
import qualified Data.Map as M

View File

@ -9,9 +9,9 @@ with final.haskell.lib;
in
final.lib.genAttrs [
"autodocodec"
"autodocodec-aeson-schema"
"autodocodec-api-usage"
"autodocodec-openapi3"
"autodocodec-schema"
"autodocodec-swagger2"
"autodocodec-yaml"
]

View File

@ -1,12 +1,11 @@
resolver: nightly-2021-05-10
packages:
- autodocodec
- autodocodec-aeson-schema
- autodocodec-api-usage
- autodocodec-openapi3
- autodocodec-schema
- autodocodec-swagger2
- autodocodec-yaml
# Test-only
- autodocodec-api-usage
extra-deps:
- github: NorfairKing/validity