purescript-react/purescript-react-basic-hooks

Release for purescript 0.14

darichey opened this issue · 3 comments

I believe this is blocked by purescript-react/purescript-react-basic#135 and garyb/purescript-indexed-monad#31. After that, the ps-0.14 branch can be rebased and merged.

For folks who'd like to use react-basic-hooks with 0.14, but are still waiting on the latest package set, here are some additions you can add to packages.dhall to unblock development. I'm using my own fork of react-basic-hooks which contains the rebased ps-0.14 branch and #47.

Applied these additions to the book in purescript-contrib/purescript-book#311

let additions =
      { react-basic =
        { dependencies = [ "prelude", "effect", "record" ]
        , repo = "https://github.com/lumihq/purescript-react-basic.git"
        , version = "main"
        }
      , react-basic-hooks =
        { dependencies =
          [ "prelude"
          , "aff-promise"
          , "aff"
          , "console"
          , "datetime"
          , "effect"
          , "either"
          , "indexed-monad"
          , "maybe"
          , "newtype"
          , "numbers"
          , "react-basic"
          , "type-equality"
          , "unsafe-coerce"
          , "unsafe-reference"
          , "web-html"
          ]
        , repo =
            "https://github.com/milesfrain/purescript-react-basic-hooks.git"
        , version = "v6.3.0-ps-0.14"
        }
      , react-basic-dom =
        { dependencies =
          [ "prelude"
          , "effect"
          , "foreign-object"
          , "react-basic"
          , "unsafe-coerce"
          , "web-dom"
          , "web-events"
          , "web-file"
          , "web-html"
          ]
        , repo = "https://github.com/lumihq/purescript-react-basic-dom.git"
        , version = "v3.2.0"
        }
      , indexed-monad =
        { dependencies = [ "control", "newtype" ]
        , repo = "https://github.com/garyb/purescript-indexed-monad.git"
        , version = "master"
        }
      }

Waiting on nwolverson/purescript-aff-promise#20 for release as well

Released as v7.0.0