Skip to content

Commit 6fa2339

Browse files
Update to PureScript v0.15.0 (#35)
* 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
1 parent dbacf1d commit 6fa2339

File tree

5 files changed

+25
-15
lines changed

5 files changed

+25
-15
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 (#35 by @JordanMartinez)
89

910
New features:
1011

bower.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
"url": "https://github.com/purescript-contrib/purescript-freet.git"
1616
},
1717
"dependencies": {
18-
"purescript-aff": "^6.0.0",
19-
"purescript-bifunctors": "^5.0.0",
20-
"purescript-effect": "^3.0.0",
21-
"purescript-either": "^5.0.0",
22-
"purescript-exists": "^5.0.0",
23-
"purescript-free": "^6.0.0",
24-
"purescript-prelude": "^5.0.0",
25-
"purescript-tailrec": "^5.0.0",
26-
"purescript-transformers": "^5.0.0",
27-
"purescript-tuples": "^6.0.0"
18+
"purescript-aff": "main",
19+
"purescript-bifunctors": "master",
20+
"purescript-effect": "master",
21+
"purescript-either": "master",
22+
"purescript-exists": "master",
23+
"purescript-free": "master",
24+
"purescript-prelude": "master",
25+
"purescript-tailrec": "master",
26+
"purescript-transformers": "master",
27+
"purescript-tuples": "master"
2828
},
2929
"devDependencies": {
30-
"purescript-console": "^5.0.0"
30+
"purescript-console": "master"
3131
}
3232
}

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
@@ -12,7 +12,6 @@
1212
, "lists"
1313
, "maybe"
1414
, "prelude"
15-
, "psci-support"
1615
, "tailrec"
1716
, "transformers"
1817
, "tuples"

0 commit comments

Comments
 (0)