Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to v0.15.0 #47

Merged
merged 10 commits into from
Mar 22, 2022
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- name: Set up a PureScript toolchain
uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"
purs-tidy: "latest"

- name: Cache PureScript dependencies
Expand All @@ -32,8 +33,17 @@ 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

- 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (#47 by @JordanMartinez)

New features:

Expand Down
16 changes: 8 additions & 8 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"!LICENSE"
],
"dependencies": {
"purescript-contravariant": "^5.0.0",
"purescript-foreign": "^6.0.0",
"purescript-foreign-object": "^3.0.0",
"purescript-maybe": "^5.0.0",
"purescript-tuples": "^6.0.0"
"purescript-contravariant": "master",
"purescript-foreign": "master",
"purescript-foreign-object": "master",
"purescript-maybe": "master",
"purescript-tuples": "master"
},
"devDependencies": {
"purescript-assert": "^5.0.0",
"purescript-console": "^5.0.0",
"purescript-effect": "^3.0.0"
"purescript-assert": "master",
"purescript-console": "master",
"purescript-effect": "master"
}
}
2 changes: 1 addition & 1 deletion packages.dhall
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
, "maybe"
, "newtype"
, "prelude"
, "psci-support"
, "tuples"
]
, packages = ./packages.dhall
Expand Down
6 changes: 1 addition & 5 deletions test/Test/Main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
'use strict';

function showForeign(a){
export function showForeign(a){
return JSON.stringify(a);
}

exports.showForeign = showForeign;