File tree Expand file tree Collapse file tree 8 files changed +46
-12
lines changed
Expand file tree Collapse file tree 8 files changed +46
-12
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,14 @@ jobs:
1111
1212 steps :
1313 - uses : actions/checkout@v2
14-
14+
1515 - uses : purescript-contrib/setup-purescript@main
1616 with :
1717 purs-tidy : " latest"
1818
19+ - name : Install esbuild
20+ run : npm install --global esbuild@0.14.38
21+
1922 - name : Build source
2023 run : npm run build
2124
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ main :: Effect Unit
1414main = launchAff_ do
1515 body <- HA .awaitBody
1616 root <- runStoreT BS .initialStore BS .reduce Counter .component
17- runUI root unit body
17+ void $ runUI root unit body
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ main :: Effect Unit
1414main = launchAff_ do
1515 body <- HA .awaitBody
1616 root <- runStoreT NAS .initialStore (#) Counter .component
17- runUI root unit body
17+ void $ runUI root unit body
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ main :: Effect Unit
1414main = launchAff_ do
1515 body <- HA .awaitBody
1616 root <- runStoreT BS .initialStore BS .reduce Counter .component
17- runUI root unit body
17+ void $ runUI root unit body
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ main :: Effect Unit
1414main = launchAff_ do
1515 body <- HA .awaitBody
1616 root <- runStoreT Store .initialStore Store .reduce app
17- runUI root unit body
17+ void $ runUI root unit body
Original file line number Diff line number Diff line change 11let upstream =
2- https:// github. com/ purescript/ package- sets/ releases/ download/ psc- 0.14 . 7 - 20220303 / packages. dhall
3- sha256: d7cbc15ea16768e4a4f99baa58a54559dd2648c6c1362de2469d9e41c23b28c3
2+ https:// github. com/ purescript/ package- sets/ releases/ download/ psc- 0.15 . 0 - 20220502 / packages. dhall
3+ sha256: 38 d347aeba9fe6359c208abe87a5cecf1ffb14294f11ad19664ae35c59b6e29a
44
55in upstream
6+ with
7+ halogen- hooks =
8+ { repo = " https://github.com/thomashoneyman/purescript-halogen-hooks"
9+ , version = " v0.6.0"
10+ , dependencies =
11+ [ " aff"
12+ , " arrays"
13+ , " bifunctors"
14+ , " effect"
15+ , " exceptions"
16+ , " foldable-traversable"
17+ , " foreign-object"
18+ , " free"
19+ , " freeap"
20+ , " halogen"
21+ , " halogen-subscriptions"
22+ , " maybe"
23+ , " newtype"
24+ , " ordered-collections"
25+ , " parallel"
26+ , " partial"
27+ , " prelude"
28+ , " refs"
29+ , " tailrec"
30+ , " transformers"
31+ , " tuples"
32+ , " unsafe-coerce"
33+ , " unsafe-reference"
34+ , " web-dom"
35+ , " web-html"
36+ ]
37+ }
Original file line number Diff line number Diff line change 11let
22 pkgs = import ( builtins . fetchTarball {
3- url = "https://github.com/NixOS/nixpkgs/archive/21.05 .tar.gz" ;
3+ url = "https://github.com/NixOS/nixpkgs/archive/21.11 .tar.gz" ;
44 } ) { } ;
55
66 # To update to a newer version of easy-purescript-nix, run:
1010 pursPkgs = import ( pkgs . fetchFromGitHub {
1111 owner = "justinwoo" ;
1212 repo = "easy-purescript-nix" ;
13- rev = "aa72388ca0fb72ed64467f59a121db1f104897db " ;
14- sha256 = "1j37v3ncnakhq7p4l2vqdn4li8bgwcc8cd2hk2fblxhnlglikgx2 " ;
13+ rev = "0ad5775c1e80cdd952527db2da969982e39ff592 " ;
14+ sha256 = "0x53ads5v8zqsk4r1mfpzf5913byifdpv5shnvxpgw634ifyj1kg " ;
1515 } ) { inherit pkgs ; } ;
1616
1717in pkgs . stdenv . mkDerivation {
@@ -24,5 +24,6 @@ in pkgs.stdenv.mkDerivation {
2424 pursPkgs . purescript-language-server
2525
2626 pkgs . nodejs-16_x
27+ pkgs . esbuild
2728 ] ;
2829}
Original file line number Diff line number Diff line change 33 [ " aff"
44 , " distributive"
55 , " effect"
6- , " foldable-traversable"
76 , " fork"
87 , " halogen"
98 , " halogen-hooks"
1413 , " tailrec"
1514 , " transformers"
1615 , " tuples"
17- , " unsafe-coerce"
1816 , " unsafe-reference"
1917 ]
2018, packages = ./ packages. dhall
You can’t perform that action at this time.
0 commit comments