Skip to content

Commit

Permalink
Update to v0.15.0 (#37)
Browse files Browse the repository at this point in the history
* Convert foreign modules to try bundling with esbuild

* Replaced 'export var' with 'export const'

* Removed '"use strict";' in FFI files

* Update to CI to use 'unstable' purescript

* Update pulp to 16.0.0-0 and psa to 0.8.2

* Update Bower dependencies to master

* Update .eslintrc.json to ES6

* Added changelog entry

Co-authored-by: Cyril Sobierajewicz <[email protected]>
  • Loading branch information
JordanMartinez and kl0tl authored Mar 14, 2022
1 parent bbcc2b0 commit 69ea03c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 20 deletions.
6 changes: 2 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"parserOptions": {
"ecmaVersion": 5
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "eslint:recommended",
"env": {
"commonjs": true
},
"rules": {
"strict": [2, "global"],
"block-scoped-var": 2,
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"

- uses: actions/setup-node@v1
with:
Expand Down
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:
- Migrate FFI to ES modules (#37 by @kl0tl and @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 @@
"package.json"
],
"dependencies": {
"purescript-foldable-traversable": "^5.0.0",
"purescript-maybe": "^5.0.0",
"purescript-partial": "^3.0.0",
"purescript-prelude": "^5.0.0",
"purescript-tuples": "^6.0.0"
"purescript-foldable-traversable": "master",
"purescript-maybe": "master",
"purescript-partial": "master",
"purescript-prelude": "master",
"purescript-tuples": "master"
},
"devDependencies": {
"purescript-assert": "^5.0.0",
"purescript-console": "^5.0.0",
"purescript-psci-support": "^5.0.0"
"purescript-assert": "master",
"purescript-console": "master",
"purescript-psci-support": "master"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"devDependencies": {
"eslint": "^7.15.0",
"pulp": "^15.0.0",
"purescript-psa": "^0.8.0",
"pulp": "16.0.0-0",
"purescript-psa": "^0.8.2",
"rimraf": "^3.0.2"
}
}
4 changes: 1 addition & 3 deletions src/Data/Unfoldable.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"use strict";

exports.unfoldrArrayImpl = function (isNothing) {
export const unfoldrArrayImpl = function (isNothing) {
return function (fromJust) {
return function (fst) {
return function (snd) {
Expand Down
4 changes: 1 addition & 3 deletions src/Data/Unfoldable1.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"use strict";

exports.unfoldr1ArrayImpl = function (isNothing) {
export const unfoldr1ArrayImpl = function (isNothing) {
return function (fromJust) {
return function (fst) {
return function (snd) {
Expand Down

0 comments on commit 69ea03c

Please sign in to comment.