Skip to content

Commit f0c6036

Browse files
Update to PureScript v0.15.0 (#85)
* Migrated FFI to ES modules via 'lebab' * Removed '"use strict";' in FFI files * Update to CI to use 'unstable' purescript * Update Bower dependencies to master or main * Update pulp to 16.0.0-0 * Update psa to 0.8.2 * Update .eslintrc.json to ES6 * Added changelog entry * Update node to 14 in ci
1 parent 6890d96 commit f0c6036

File tree

6 files changed

+154
-153
lines changed

6 files changed

+154
-153
lines changed

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"parserOptions": {
3-
"ecmaVersion": 5
3+
"ecmaVersion": 6,
4+
"sourceType": "module"
45
},
56
"extends": "eslint:recommended",
67
"env": {
7-
"commonjs": true,
88
"browser": true
99
},
1010
"rules": {

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- uses: purescript-contrib/setup-purescript@main
16+
with:
17+
purescript: "unstable"
1618

17-
- uses: actions/setup-node@v1
19+
- uses: actions/setup-node@v2
1820
with:
19-
node-version: "10"
21+
node-version: "14"
2022

2123
- name: Install dependencies
2224
run: |

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+
- Migrate FFI to ES modules (#85 by @JordanMartinez)
89

910
New features:
1011
- Added `createImageDataWith` (#81)

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"url": "https://github.com/purescript-web/purescript-canvas.git"
2121
},
2222
"dependencies": {
23-
"purescript-arraybuffer-types": "^3.0.0",
24-
"purescript-effect": "^3.0.0",
25-
"purescript-exceptions": "^5.0.0",
26-
"purescript-functions": "^5.0.0",
27-
"purescript-maybe": "^5.0.0"
23+
"purescript-arraybuffer-types": "main",
24+
"purescript-effect": "master",
25+
"purescript-exceptions": "master",
26+
"purescript-functions": "master",
27+
"purescript-maybe": "master"
2828
}
2929
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
},
77
"devDependencies": {
88
"eslint": "^7.32.0",
9-
"pulp": "^15.0.0",
10-
"purescript-psa": "^0.8.0",
9+
"pulp": "16.0.0-0",
10+
"purescript-psa": "^0.8.2",
1111
"rimraf": "^3.0.2"
1212
}
1313
}

0 commit comments

Comments
 (0)