From c9892e0ab48cc40712c8d63b1f4fa0039ce9bf0c Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 22 Mar 2022 09:22:59 -0500 Subject: [PATCH 1/7] Update to CI to use 'unstable' purescript --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f671d6c..a3a2c8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ jobs: - name: Set up PureScript toolchain uses: purescript-contrib/setup-purescript@main with: + purescript: "unstable" purs-tidy: "latest" - name: Cache PureScript dependencies From 05f00546fe5fefeb8969e68877e7a22542bddd45 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 22 Mar 2022 09:22:59 -0500 Subject: [PATCH 2/7] Add CI test: verify 'bower.json' file works via pulp --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3a2c8b..61c59f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,3 +38,12 @@ jobs: - name: Check formatting run: purs-tidy check src test + + - name: Verify Bower & Pulp + run: | + npm install bower pulp@16.0.0-0 + npx bower install + npx pulp build -- --censor-lib --strict + if [ -d "test" ]; then + npx pulp test + fi From 95cb06592a25813e18472c07c29a413164e66e18 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 22 Mar 2022 09:22:59 -0500 Subject: [PATCH 3/7] Ignore spago-based tests (temporarily) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61c59f0..4fb3d92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,8 +33,8 @@ jobs: - name: Build source run: spago build --no-install --purs-args '--censor-lib --strict' - - name: Run tests - run: spago test --no-install +# - name: Run tests +# run: spago test --no-install - name: Check formatting run: purs-tidy check src test From 013b05e5941de5ae043166f2290398d75245ce1f Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 22 Mar 2022 09:22:59 -0500 Subject: [PATCH 4/7] Update Bower dependencies to master or main --- bower.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bower.json b/bower.json index 0d9c444..66d9c7c 100644 --- a/bower.json +++ b/bower.json @@ -19,15 +19,15 @@ "package.json" ], "dependencies": { - "purescript-foldable-traversable": "^5.0.0", - "purescript-maybe": "^5.0.0", - "purescript-strings": "^5.0.0" + "purescript-foldable-traversable": "master", + "purescript-maybe": "master", + "purescript-strings": "master" }, "devDependencies": { - "purescript-assert": "^5.0.0", - "purescript-console": "^5.0.0", - "purescript-effect": "^3.0.0", - "purescript-quickcheck": "^7.0.0", - "purescript-random": "^5.0.0" + "purescript-assert": "master", + "purescript-console": "master", + "purescript-effect": "master", + "purescript-quickcheck": "master", + "purescript-random": "master" } } From 766083bc2654ea520003f7620bd393c6c24cc365 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 22 Mar 2022 09:22:59 -0500 Subject: [PATCH 5/7] Update packages.dhall to 'prepare-0.15' package set --- packages.dhall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages.dhall b/packages.dhall index 7a6905b..582d6d3 100644 --- a/packages.dhall +++ b/packages.dhall @@ -1,4 +1,4 @@ let upstream = - https://github.com/purescript/package-sets/releases/download/psc-0.14.3-20210722/packages.dhall sha256:1ceb43aa59436bf5601bac45f6f3781c4e1f0e4c2b8458105b018e5ed8c30f8c + https://raw.githubusercontent.com/purescript/package-sets/prepare-0.15/src/packages.dhall in upstream From 15948c71dd0e4eb87b425c686b28038c97ce5145 Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 22 Mar 2022 09:22:59 -0500 Subject: [PATCH 6/7] Removed unneeded 'psci-support' package --- spago.dhall | 1 - 1 file changed, 1 deletion(-) diff --git a/spago.dhall b/spago.dhall index c18e1e8..a1d8c52 100644 --- a/spago.dhall +++ b/spago.dhall @@ -12,7 +12,6 @@ , "maybe" , "partial" , "prelude" - , "psci-support" , "quickcheck" , "random" , "strings" From cfaca324bafde6b5ef1455cb2d389bfd5b2366da Mon Sep 17 00:00:00 2001 From: Jordan Martinez Date: Tue, 22 Mar 2022 12:34:07 -0500 Subject: [PATCH 7/7] Added changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a31bf6..6bf632a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based ## [Unreleased] Breaking changes: +- Update project and deps to PureScript v0.15.0 (#40 by @JordanMartinez) New features: