Skip to content

Commit 47fe731

Browse files
authored
Upgrade to PureScript 0.15.15 and Spago Next (#21)
1 parent ab9a61d commit 47fe731

13 files changed

+2231
-6348
lines changed

.github/workflows/build.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313

14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: "22.4"
17+
1418
- name: Install & build
1519
run: npm install && npx spago build
1620

17-
- name: Cache PureScript dependencies
18-
uses: actions/cache@v2
19-
with:
20-
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
21-
path: |
22-
.spago
23-
output
24-
2521
- name: Build and test project
2622
run: ./run_tests.sh
2723

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.5

.travis.yml

-19
This file was deleted.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you bundle your compiled PureScript it can be run with `mocha bundle.js` or
3838
using Karma and [karma-mocha](https://github.com/karma-runner/karma-mocha).
3939

4040
```bash
41-
spago bundle-app --main Test.Main --to bundle.js
41+
spago bundle --outfile bundle.js
4242
mocha bundle.js
4343
```
4444

@@ -70,7 +70,7 @@ mocha.run();
7070

7171
Running `npm run test:watch` in one terminal window and `npm run test:browser` in another will watch purescript source and tests files and automatically run node and browser tests.
7272

73-
### Usage with headless browser
73+
### Usage with headless browser
7474

7575
You can run `yarn test:headless` or `npm run test:headless` in this repo to see an example using the `test/index.html` file together with `mocha-headless-chrome`. Note that we need to disable-web-security in chromium to allow cross-origin requests.
7676

bower.json

-26
This file was deleted.

0 commit comments

Comments
 (0)