diff --git a/.travis.yml b/.travis.yml index 1d74256..c273fc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,5 @@ script: after_success: - >- test $TRAVIS_TAG && - node_modules/.bin/psc-publish > .pursuit.json && - curl -X POST http://pursuit.purescript.org/packages \ - -d @.pursuit.json \ - -H 'Accept: application/json' \ - -H "Authorization: token ${GITHUB_TOKEN}" + echo $GITHUB_TOKEN | pulp login && + echo y | pulp publish --no-push diff --git a/bower.json b/bower.json index f7933d4..4966a98 100644 --- a/bower.json +++ b/bower.json @@ -25,7 +25,7 @@ "dependencies": { "purescript-ace": "^0.11.0", "purescript-datetime": "^0.9.1", - "purescript-halogen": "^0.7.0", + "purescript-halogen": "^0.8.0", "purescript-random": "^0.2.3", "purescript-refs": "^0.2.0" } diff --git a/package.json b/package.json index 94cb43b..8858693 100644 --- a/package.json +++ b/package.json @@ -2,14 +2,15 @@ "private": true, "scripts": { "clean": "rimraf output && rimraf .pulp-cache", - "build": "pulp build", + "build": "pulp build --censor-lib --strict", "example": "bower link && cd example && bower link purescript-ace-halogen && npm run build" }, "dependencies": { "virtual-dom": "^2.1.1" }, "devDependencies": { - "pulp": "^8.1.0", + "pulp": "^8.2.0", + "purescript-psa": "^0.3.8", "purescript": "^0.8.5", "rimraf": "^2.5.2" } diff --git a/src/Ace/Halogen/Component.purs b/src/Ace/Halogen/Component.purs index 6e60673..c6f6a82 100644 --- a/src/Ace/Halogen/Component.purs +++ b/src/Ace/Halogen/Component.purs @@ -4,31 +4,31 @@ module Ace.Halogen.Component , AceQuery(..) , AceState(..) , initialAceState - , AceEffects() + , AceEffects , Autocomplete(..) - , CompleteFn() + , CompleteFn ) where import Prelude import Control.Monad (when) -import Control.Monad.Aff (Aff(), runAff) -import Control.Monad.Aff.AVar (AVAR()) -import Control.Monad.Eff (Eff()) -import Control.Monad.Eff.Random (random, RANDOM()) -import Control.Monad.Eff.Ref (Ref(), REF(), readRef, writeRef, modifyRef) +import Control.Monad.Aff (Aff, runAff) +import Control.Monad.Aff.AVar (AVAR) +import Control.Monad.Eff (Eff) +import Control.Monad.Eff.Random (random, RANDOM) +import Control.Monad.Eff.Ref (Ref, REF, readRef, writeRef, modifyRef) -import Data.Date (nowEpochMilliseconds, Now()) +import Data.Date (nowEpochMilliseconds, Now) import Data.Foldable (traverse_) import Data.Functor (($>)) import Data.Maybe (Maybe(..), maybe) -import Data.NaturalTransformation (Natural()) -import Data.StrMap (StrMap()) +import Data.NaturalTransformation (Natural) +import Data.StrMap (StrMap) import Data.StrMap as Sm import Data.Time (Milliseconds(..)) -import DOM (DOM()) -import DOM.HTML.Types (HTMLElement()) +import DOM (DOM) +import DOM.HTML.Types (HTMLElement) import Halogen as H import Halogen.HTML.Indexed as HH @@ -38,7 +38,7 @@ import Ace.Editor as Editor import Ace.EditSession as Session import Ace.Ext.LanguageTools as LanguageTools import Ace.Ext.LanguageTools.Completer as Completer -import Ace.Types (Editor(), Completion(), Position(), EditSession(), ACE()) +import Ace.Types (Editor, Completion, Position, EditSession, ACE) -- | Effectful knot of autocomplete functions. It's needed because -- | `languageTools.addCompleter` is global and adds completer to