fix: prepare publish

This commit is contained in:
orion 2024-04-02 22:16:42 -05:00
parent e93c360d54
commit 544c7114ea
Signed by: orion
GPG Key ID: 6D4165AE4C928719
4 changed files with 36 additions and 43 deletions

View File

@ -1,42 +1,41 @@
workspace:
packages:
pg:
postgresql:
path: ./
dependencies:
- aff
- aff-promise
- arrays
- bifunctors
- control
- datetime
- effect
- either
- exceptions
- foldable-traversable
- foreign
- foreign-object
- fork
- integers
- js-bigints
- lists
- maybe
- mmorph
- newtype
- node-buffer
- node-event-emitter
- nullable
- parallel
- partial
- precise-datetime
- prelude
- profunctor
- record
- simple-json
- strings
- transformers
- tuples
- typelevel-prelude
- unsafe-coerce
- aff: ">=7.1.0 <8.0.0"
- aff-promise: ">=4.0.0 <5.0.0"
- arrays: ">=7.3.0 <8.0.0"
- bifunctors: ">=6.0.0 <7.0.0"
- control: ">=6.0.0 <7.0.0"
- datetime: ">=6.1.0 <7.0.0"
- effect: ">=4.0.0 <5.0.0"
- either: ">=6.1.0 <7.0.0"
- exceptions: ">=6.0.0 <7.0.0"
- foldable-traversable: ">=6.0.0 <7.0.0"
- foreign: ">=7.0.0 <8.0.0"
- fork: ">=6.0.0 <7.0.0"
- integers: ">=6.0.0 <7.0.0"
- js-bigints: ">=2.2.1 <3.0.0"
- lists: ">=7.0.0 <8.0.0"
- maybe: ">=6.0.0 <7.0.0"
- mmorph: ">=7.0.0 <8.0.0"
- newtype: ">=5.0.0 <6.0.0"
- node-buffer: ">=9.0.0 <10.0.0"
- node-event-emitter: ">=3.0.0 <4.0.0"
- nullable: ">=6.0.0 <7.0.0"
- parallel: ">=7.0.0 <8.0.0"
- partial: ">=4.0.0 <5.0.0"
- precise-datetime: ">=7.0.0 <8.0.0"
- prelude: ">=6.0.1 <7.0.0"
- profunctor: ">=6.0.1 <7.0.0"
- record: ">=4.0.0 <5.0.0"
- simple-json: ">=9.0.0 <10.0.0"
- strings: ">=6.0.1 <7.0.0"
- transformers: ">=6.0.0 <7.0.0"
- tuples: ">=7.0.0 <8.0.0"
- typelevel-prelude: ">=7.0.0 <8.0.0"
- unsafe-coerce: ">=6.0.0 <7.0.0"
test_dependencies:
- filterable
- foreign-object

View File

@ -1,5 +1,5 @@
package:
name: pg
name: postgresql
publish:
version: '1.0.0'
license: 'GPL-3.0-or-later'
@ -24,7 +24,6 @@ package:
- exceptions: ">=6.0.0 <7.0.0"
- foldable-traversable: ">=6.0.0 <7.0.0"
- foreign: ">=7.0.0 <8.0.0"
- foreign-object: ">=4.1.0 <5.0.0"
- fork: ">=6.0.0 <7.0.0"
- integers: ">=6.0.0 <7.0.0"
- js-bigints: ">=2.2.1 <3.0.0"

View File

@ -2,15 +2,12 @@ module Control.Monad.Postgres.Session where
import Prelude
import Control.Monad.Fork.Class (class MonadBracket)
import Control.Monad.Reader (class MonadReader, ReaderT, ask)
import Control.Monad.Reader (ReaderT, ask)
import Data.Postgres.Query (class AsQuery)
import Data.Postgres.Result (class FromRows)
import Effect.Aff (Fiber)
import Effect.Aff.Class (class MonadAff, liftAff)
import Effect.Aff.Postgres.Client (Client)
import Effect.Aff.Postgres.Client as Client
import Effect.Exception (Error)
type SessionT :: forall k. (k -> Type) -> k -> Type
type SessionT = ReaderT Client

View File

@ -5,7 +5,6 @@ import Prelude
import Control.Alt ((<|>))
import Data.Array as Array
import Data.Foldable (class Foldable, foldl)
import Data.FoldableWithIndex (foldMapDefault)
import Data.Generic.Rep (class Generic)
import Data.Maybe (Maybe(..), fromMaybe)
import Data.Newtype (class Newtype, unwrap)
@ -13,7 +12,6 @@ import Data.Postgres.Raw (Raw, rawMaybeNull, rawNullMaybe)
import Data.Show.Generic (genericShow)
import Data.Traversable (class Traversable, foldMapDefaultL, foldrDefault, sequenceDefault, traverse)
import Effect (Effect)
import Foreign.Object (foldMap)
-- | A range of values with optional upper & lower bounds.
-- |