File tree Expand file tree Collapse file tree 7 files changed +29
-21
lines changed Expand file tree Collapse file tree 7 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 11{
2- "env" : { "browser" : true , "commonjs" : true },
2+ "env" : { "browser" : true },
33 "extends" : " eslint:recommended" ,
4- "parserOptions" : { "ecmaVersion" : 5 },
4+ "parserOptions" : { "ecmaVersion" : 6 , "sourceType" : " module " },
55 "rules" : {
66 "block-scoped-var" : " error" ,
77 "consistent-return" : " error" ,
Original file line number Diff line number Diff line change 1616 - name : Set up PureScript toolchain
1717 uses : purescript-contrib/setup-purescript@main
1818 with :
19+ purescript : " unstable"
1920 purs-tidy : " latest"
2021
2122 - name : Cache PureScript dependencies
4950 - name : Build the project
5051 run : npm run build
5152
52- - name : Run tests
53- run : npm run test
53+ # - name: Run tests
54+ # run: npm run test
5455
5556 - name : Check formatting
5657 run : purs-tidy check src test
58+
59+ - name : Verify Bower & Pulp
60+ run : |
61+ npm install bower [email protected] 62+ npx bower install
63+ npx pulp build -- --censor-lib --strict
64+ if [ -d "test" ]; then
65+ npx pulp test
66+ fi
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
55## [ Unreleased]
66
77Breaking changes:
8+ - Migrate FFI to ES modules (#25 by @JordanMartinez )
89
910New features:
1011
Original file line number Diff line number Diff line change 1616 " package.json"
1717 ],
1818 "dependencies" : {
19- "purescript-datetime" : " ^5.0.0 " ,
20- "purescript-effect" : " ^3.0.0 "
19+ "purescript-datetime" : " master " ,
20+ "purescript-effect" : " master "
2121 },
2222 "devDependencies" : {
23- "purescript-assert" : " ^5.0.0 " ,
24- "purescript-console" : " ^5.0.0 " ,
25- "purescript-either" : " ^5.0.0 " ,
26- "purescript-exceptions" : " ^5.0.0 " ,
27- "purescript-node-process" : " ^8.0.0 " ,
28- "purescript-prelude" : " ^5.0.0 " ,
29- "purescript-transformers" : " ^5.0.0 "
23+ "purescript-assert" : " master " ,
24+ "purescript-console" : " master " ,
25+ "purescript-either" : " master " ,
26+ "purescript-exceptions" : " master " ,
27+ "purescript-node-process" : " master " ,
28+ "purescript-prelude" : " master " ,
29+ "purescript-transformers" : " master "
3030 }
3131}
Original file line number Diff line number Diff line change 11let upstream =
2- https:// github . com/ purescript/ package- sets/ releases / download / psc - 0.14 . 3 - 20210722 / packages. dhall sha256 : 1 ceb43aa59436bf5601bac45f6f3781c4e1f0e4c2b8458105b018e5ed8c30f8c
2+ https:// raw . githubusercontent . com/ purescript/ package- sets/ prepare - 0.15 / src / packages. dhall
33
44in upstream
Original file line number Diff line number Diff line change 88 , " exceptions"
99 , " node-process"
1010 , " prelude"
11- , " psci-support"
1211 , " transformers"
1312 ]
1413, packages = ./ packages. dhall
Original file line number Diff line number Diff line change 1- "use strict" ;
2-
3- exports . now = function ( ) {
1+ export function now ( ) {
42 return Date . now ( ) ;
5- } ;
3+ }
64
7- exports . getTimezoneOffset = function ( ) {
5+ export function getTimezoneOffset ( ) {
86 var n = new Date ( Date . now ( ) ) ;
97 return n . getTimezoneOffset ( ) ;
10- } ;
8+ }
You can’t perform that action at this time.
0 commit comments