From 34a3529539543bd0aca01aa17400393e56bcb3ec Mon Sep 17 00:00:00 2001 From: Simon Yang Date: Sat, 1 Apr 2017 11:49:20 -0700 Subject: [PATCH 1/2] Updates for purescript 0.11 --- bower.json | 14 +++++++------- package.json | 8 ++++---- test/Test/Main.purs | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bower.json b/bower.json index c8548ae..53b1ec2 100644 --- a/bower.json +++ b/bower.json @@ -16,14 +16,14 @@ "!LICENSE" ], "dependencies": { - "purescript-foreign": "^3.0.0", - "purescript-maps": "^2.0.0", - "purescript-tuples": "^3.0.0", - "purescript-monoid": "^2.0.0", - "purescript-maybe": "^2.0.0", - "purescript-contravariant": "^2.0.0" + "purescript-foreign": "^4.0.0", + "purescript-maps": "^3.0.0", + "purescript-tuples": "^4.0.0", + "purescript-monoid": "^3.0.0", + "purescript-maybe": "^3.0.0", + "purescript-contravariant": "^3.0.0" }, "devDependencies": { - "purescript-console": "^2.0.0" + "purescript-console": "^3.0.0" } } diff --git a/package.json b/package.json index b718f0e..24a8f03 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "private": true, "scripts": { "clean": "rimraf output && rimraf .pulp-cache", - "build": "pulp build --censor-lib --strict", + "build": "pulp build -- --censor-lib --strict", "test": "pulp test" }, "devDependencies": { - "pulp": "^9.0.1", - "purescript-psa": "^0.3.9", - "purescript": "^0.10.1", + "pulp": "^10.0.4", + "purescript-psa": "^0.5.0", + "purescript": "^0.11.1", "rimraf": "^2.5.4" } } diff --git a/test/Test/Main.purs b/test/Test/Main.purs index d88ac54..e69e6d7 100644 --- a/test/Test/Main.purs +++ b/test/Test/Main.purs @@ -17,7 +17,7 @@ instance shapeShow :: Show Shape where show Square = "square" show Triangle = "triangle" -foreign import data Foo :: * +foreign import data Foo :: Type foo :: Option Foo String foo = opt "foo" From b6ce8b00fbaa4621b032dbc42c14aa414b8ea07e Mon Sep 17 00:00:00 2001 From: Simon Yang Date: Sun, 2 Apr 2017 13:55:28 -0700 Subject: [PATCH 2/2] Bumping pulp version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 24a8f03..da76be2 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "test": "pulp test" }, "devDependencies": { - "pulp": "^10.0.4", + "pulp": "^11.0.0", "purescript-psa": "^0.5.0", "purescript": "^0.11.1", "rimraf": "^2.5.4"