Skip to content

Commit 67fe203

Browse files
Update to PureScript v0.15.0 (#86)
* 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 * Update Bower dependencies to master or main * Added changelog entry
1 parent 14582f6 commit 67fe203

File tree

5 files changed

+33
-23
lines changed

5 files changed

+33
-23
lines changed

.github/workflows/ci.yml

+12-2
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 [email protected]
45+
npx bower install
46+
npx pulp build -- --censor-lib --strict
47+
if [ -d "test" ]; then
48+
npx pulp test
49+
fi

CHANGELOG.md

+1
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 (#86 by @JordanMartinez)
89

910
New features:
1011

bower.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,26 @@
2424
"package.json"
2525
],
2626
"dependencies": {
27-
"purescript-aff": "^6.0.0",
28-
"purescript-console": "^5.0.0",
29-
"purescript-control": "^5.0.0",
30-
"purescript-effect": "^3.0.0",
31-
"purescript-either": "^5.0.0",
32-
"purescript-foldable-traversable": "^5.0.0",
33-
"purescript-integers": "^5.0.0",
34-
"purescript-js-uri": "https://github.com/purescript-contrib/purescript-js-uri.git#2.0.0",
35-
"purescript-lists": "^6.0.0",
36-
"purescript-maybe": "^5.0.0",
37-
"purescript-numbers": "^8.0.0",
38-
"purescript-partial": "^3.0.0",
39-
"purescript-prelude": "^5.0.0",
40-
"purescript-semirings": "^6.0.0",
41-
"purescript-tuples": "^6.0.0",
42-
"purescript-validation": "^5.0.0",
43-
"purescript-web-html": "^3.0.0"
27+
"purescript-aff": "main",
28+
"purescript-console": "master",
29+
"purescript-control": "master",
30+
"purescript-effect": "master",
31+
"purescript-either": "master",
32+
"purescript-foldable-traversable": "master",
33+
"purescript-integers": "master",
34+
"purescript-js-uri": "https://github.com/purescript-contrib/purescript-js-uri.git#main",
35+
"purescript-lists": "master",
36+
"purescript-maybe": "master",
37+
"purescript-numbers": "master",
38+
"purescript-partial": "master",
39+
"purescript-prelude": "master",
40+
"purescript-semirings": "master",
41+
"purescript-tuples": "master",
42+
"purescript-validation": "master",
43+
"purescript-web-html": "master"
4444
},
4545
"devDependencies": {
46-
"purescript-assert": "^5.0.0",
47-
"purescript-record": "^3.0.0"
46+
"purescript-assert": "master",
47+
"purescript-record": "master"
4848
}
4949
}

packages.dhall

+1-1
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

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
, "ordered-collections"
1919
, "partial"
2020
, "prelude"
21-
, "psci-support"
2221
, "record"
2322
, "refs"
2423
, "semirings"

0 commit comments

Comments
 (0)