From 7568134cb885a024c6f37e9190edec84ca2aa4b2 Mon Sep 17 00:00:00 2001 From: Simon Yang Date: Tue, 4 Apr 2017 15:56:36 -0700 Subject: [PATCH] Update for PureScript 0.11 --- bower.json | 18 +++++++++--------- package.json | 8 ++++---- src/Node/Process.purs | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bower.json b/bower.json index 7ac3626..0300eb7 100644 --- a/bower.json +++ b/bower.json @@ -12,14 +12,14 @@ "output" ], "dependencies": { - "purescript-console": "^2.0.0", - "purescript-exceptions": "^2.0.0", - "purescript-maps": "^2.0.0", - "purescript-maybe": "^2.0.0", - "purescript-node-fs": "^3.0.0", - "purescript-node-streams": "^2.0.0", - "purescript-posix-types": "^2.0.0", - "purescript-unsafe-coerce": "^2.0.0", - "purescript-partial": "^1.1.2" + "purescript-console": "^3.0.0", + "purescript-exceptions": "^3.0.0", + "purescript-maps": "^3.0.0", + "purescript-maybe": "^3.0.0", + "purescript-node-fs": "^4.0.0", + "purescript-node-streams": "^3.0.0", + "purescript-posix-types": "^3.0.0", + "purescript-unsafe-coerce": "^3.0.0", + "purescript-partial": "^1.2.0" } } diff --git a/package.json b/package.json index 8e20023..2bbc80f 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,15 @@ "private": true, "scripts": { "clean": "rimraf output && rimraf .pulp-cache", - "build": "jshint src && jscs src && pulp build --censor-lib --strict", + "build": "jshint src && jscs src && pulp build -- --censor-lib --strict", "test": "pulp test" }, "devDependencies": { "jscs": "^3.0.7", "jshint": "^2.9.4", - "pulp": "^9.0.1", - "purescript-psa": "^0.3.9", - "purescript": "^0.10.1", + "pulp": "^11.0.0", + "purescript-psa": "^0.5.0", + "purescript": "^0.11.1", "rimraf": "^2.5.4" } } diff --git a/src/Node/Process.purs b/src/Node/Process.purs index 55f4af2..12135f9 100644 --- a/src/Node/Process.purs +++ b/src/Node/Process.purs @@ -25,7 +25,7 @@ module Node.Process import Prelude -import Control.Monad.Eff (Eff) +import Control.Monad.Eff (Eff, kind Effect) import Control.Monad.Eff.Console (CONSOLE) import Control.Monad.Eff.Exception (EXCEPTION) @@ -45,7 +45,7 @@ import Partial.Unsafe (unsafePartial) import Unsafe.Coerce (unsafeCoerce) -- | An effect tracking interaction with the global `process` object. -foreign import data PROCESS :: ! +foreign import data PROCESS :: Effect -- YOLO foreign import process :: forall props. { | props }