Skip to content

Commit 426a1c4

Browse files
Update to PureScript v0.15.0 (#106)
* Update to CI to use 'unstable' purescript * Add CI test: verify 'bower.json' file works via pulp * Ignore spago-based tests (temporarily) * Update Bower dependencies to master or main * Update packages.dhall to 'prepare-0.15' package set * Removed unneeded 'psci-support' package * Added changelog entry * Update .github/workflows/ci.yml Co-authored-by: Thomas Honeyman <hello@thomashoneyman.com> Co-authored-by: Thomas Honeyman <hello@thomashoneyman.com>
1 parent 28a1f14 commit 426a1c4

File tree

5 files changed

+37
-27
lines changed

5 files changed

+37
-27
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- name: Set up a PureScript toolchain
1717
uses: purescript-contrib/setup-purescript@main
1818
with:
19+
purescript: "unstable"
1920
purs-tidy: "latest"
2021

2122
- name: Cache PureScript dependencies
@@ -32,8 +33,17 @@ jobs:
3233
- name: Build source
3334
run: spago build --no-install --purs-args '--censor-lib --strict'
3435

35-
- name: Run tests
36-
run: spago test --no-install
36+
# - name: Run tests
37+
# run: spago test --no-install
3738

3839
- name: Check formatting
3940
run: purs-tidy check src test
41+
42+
- name: Verify Bower & Pulp
43+
run: |
44+
npm install bower pulp@16.0.0-0
45+
npx bower install
46+
npx pulp build -- --censor-lib --strict
47+
if [ -d "test" ]; then
48+
npx pulp test
49+
fi

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
55
## [Unreleased]
66

77
Breaking changes:
8+
- Update project and deps to PureScript v0.15.0 (#106 by @JordanMartinez)
89

910
New features:
1011

bower.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,30 @@
1414
"output"
1515
],
1616
"dependencies": {
17-
"purescript-argonaut-core": "^6.0.0",
18-
"purescript-arrays": "^6.0.0",
19-
"purescript-bifunctors": "^5.0.0",
20-
"purescript-effect": "^3.0.0",
21-
"purescript-either": "^5.0.0",
22-
"purescript-foldable-traversable": "^5.0.0",
23-
"purescript-foreign-object": "^3.0.0",
24-
"purescript-identity": "^5.0.0",
25-
"purescript-integers": "^5.0.0",
26-
"purescript-lists": "^6.0.0",
27-
"purescript-maybe": "^5.0.0",
28-
"purescript-nonempty": "^6.0.0",
29-
"purescript-ordered-collections": "^2.0.0",
30-
"purescript-prelude": "^5.0.0",
31-
"purescript-record": "^3.0.0",
32-
"purescript-strings": "^5.0.0",
33-
"purescript-tuples": "^6.0.0"
17+
"purescript-argonaut-core": "main",
18+
"purescript-arrays": "master",
19+
"purescript-bifunctors": "master",
20+
"purescript-effect": "master",
21+
"purescript-either": "master",
22+
"purescript-foldable-traversable": "master",
23+
"purescript-foreign-object": "master",
24+
"purescript-identity": "master",
25+
"purescript-integers": "master",
26+
"purescript-lists": "master",
27+
"purescript-maybe": "master",
28+
"purescript-nonempty": "master",
29+
"purescript-ordered-collections": "master",
30+
"purescript-prelude": "master",
31+
"purescript-record": "master",
32+
"purescript-strings": "master",
33+
"purescript-tuples": "master"
3434
},
3535
"devDependencies": {
36-
"purescript-assert": "^5.0.0",
37-
"purescript-console": "^5.0.0",
38-
"purescript-exceptions": "^5.0.0",
39-
"purescript-gen": "^3.0.0",
40-
"purescript-quickcheck": "^7.0.0",
41-
"purescript-transformers": "^5.0.0"
36+
"purescript-assert": "master",
37+
"purescript-console": "master",
38+
"purescript-exceptions": "master",
39+
"purescript-gen": "master",
40+
"purescript-quickcheck": "master",
41+
"purescript-transformers": "master"
4242
}
4343
}

packages.dhall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
let upstream =
2-
https://github.com/purescript/package-sets/releases/download/psc-0.14.3-20210722/packages.dhall sha256:1ceb43aa59436bf5601bac45f6f3781c4e1f0e4c2b8458105b018e5ed8c30f8c
2+
https://raw.githubusercontent.com/purescript/package-sets/prepare-0.15/src/packages.dhall
33

44
in upstream

spago.dhall

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
, "nonempty"
2222
, "ordered-collections"
2323
, "prelude"
24-
, "psci-support"
2524
, "quickcheck"
2625
, "record"
2726
, "strings"

0 commit comments

Comments
 (0)