Skip to content

Commit 84e06b4

Browse files
Update installation instructions
1 parent 8b3a2f4 commit 84e06b4

File tree

1 file changed

+21
-26
lines changed

1 file changed

+21
-26
lines changed

README.md

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Formless helps you write forms in Halogen without the boilerplate.
1010
- [Source code for examples](./example)
1111
- [Migration of Real World Halogen from Formless 2 to Formless 3](https://github.com/thomashoneyman/purescript-halogen-realworld/pull/102)
1212

13-
⚠️ You are looking at the pre-release for Formless 3, which is not in the package sets. Please use the [v2.2.0](https://github.com/thomashoneyman/purescript-halogen-formless/tree/v2.2.0) tag if you are using Formless 2. ⚠️
14-
1513
## Installation
1614

1715
Install Formless with Spago:
@@ -20,36 +18,33 @@ Install Formless with Spago:
2018
$ spago install halogen-formless
2119
```
2220

23-
Formless 3 is not yet in the package sets. You can add it manually to your package set with the addition below. This library also requires `variant >= 7.1.0`, which you may need to add to your pacakge set as well.
21+
Formless 3 is available in package sets beginning with `psc-0.14.7-20220303`. If you are using an older package set, then you should add an override to your `packages.dhall` file as in the example below. Older package sets do not include `variant >=7.1.0` either, so you will need to override that also.
2422

2523
```dhall
2624
let upstream = ...
2725

2826
in upstream
2927
with variant.version = "v7.1.0"
30-
with halogen-formless = {
31-
repo = "https://github.com/thomashoneyman/purescript-halogen-formless",
32-
version = "main",
33-
dependencies =
34-
[ "convertable-options"
35-
, "effect"
36-
, "either"
37-
, "foldable-traversable"
38-
, "foreign-object"
39-
, "halogen"
40-
, "heterogeneous"
41-
, "maybe"
42-
, "prelude"
43-
, "record"
44-
, "safe-coerce"
45-
, "type-equality"
46-
, "unsafe-coerce"
47-
, "unsafe-reference"
48-
, "variant"
49-
, "web-events"
50-
, "web-uievents"
51-
]
52-
}
28+
with halogen-formless.version = "v3.0.0"
29+
with halogen-formless.dependencies =
30+
[ "convertable-options"
31+
, "effect"
32+
, "either"
33+
, "foldable-traversable"
34+
, "foreign-object"
35+
, "halogen"
36+
, "heterogeneous"
37+
, "maybe"
38+
, "prelude"
39+
, "record"
40+
, "safe-coerce"
41+
, "type-equality"
42+
, "unsafe-coerce"
43+
, "unsafe-reference"
44+
, "variant"
45+
, "web-events"
46+
, "web-uievents"
47+
]
5348
```
5449

5550
## Tutorial

0 commit comments

Comments
 (0)