Skip to content

Commit 4c38bed

Browse files
Update to PureScript v0.15.0 (#16)
* Update to CI to use 'unstable' purescript * Add CI test: verify 'bower.json' file works via pulp * Update Bower dependencies to master or main * Update packages.dhall to 'prepare-0.15' package set * Removed unneeded 'psci-support' package * Add changelog entry
1 parent 45db026 commit 4c38bed

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 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
@@ -34,3 +35,12 @@ jobs:
3435

3536
- name: Check formatting
3637
run: purs-tidy check src test
38+
39+
- name: Verify Bower & Pulp
40+
run: |
41+
npm install bower [email protected]
42+
npx bower install
43+
npx pulp build -- --censor-lib --strict
44+
if [ -d "test" ]; then
45+
npx pulp test
46+
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 (#16 by @JordanMartinez)
89

910
New features:
1011

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"package.json"
1818
],
1919
"dependencies": {
20-
"purescript-either": "^5.0.0",
21-
"purescript-prelude": "^5.0.0",
22-
"purescript-strings": "^5.0.0"
20+
"purescript-either": "master",
21+
"purescript-prelude": "master",
22+
"purescript-strings": "master"
2323
},
2424
"devDependencies": {
25-
"purescript-console": "^5.0.0",
26-
"purescript-effect": "^3.0.0"
25+
"purescript-console": "master",
26+
"purescript-effect": "master"
2727
}
2828
}

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{ name = "http-methods"
22
, dependencies =
3-
[ "console", "effect", "either", "prelude", "psci-support", "strings" ]
3+
[ "console", "effect", "either", "prelude", "strings" ]
44
, packages = ./packages.dhall
55
, sources = [ "src/**/*.purs", "test/**/*.purs" ]
66
}

0 commit comments

Comments
 (0)