Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .eslintrc.json

This file was deleted.

34 changes: 11 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

- name: Set up Node toolchain
uses: actions/setup-node@v7
with:
node-version: "24.x"

- name: Set up PureScript toolchain
uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"
purs-tidy: "latest"
spago: "latest"

- name: Cache PureScript dependencies
uses: actions/cache@v2
uses: actions/cache@v6
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
key: ${{ runner.os }}-spago-${{ hashFiles('spago.yaml', 'spago.lock', 'package.json') }}
path: |
.spago
output

- name: Set up Node toolchain
uses: actions/setup-node@v2
with:
node-version: "14.x"

- name: Cache NPM dependencies
uses: actions/cache@v2
uses: actions/cache@v6
env:
cache-name: cache-node-modules
with:
Expand All @@ -50,17 +50,5 @@ jobs:
- name: Build the project
run: npm run build

- name: Run tests
run: npm run test

- 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
run: purs-tidy check src
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
!.github
!.editorconfig
!.tidyrc.json
!.eslintrc.json

output
generated-docs
bower_components

node_modules
package-lock.json
*.lock
!spago.lock
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ New features:
Bugfixes:

Other improvements:
- Migrate to registry-backed Spago, preserving published dependency ranges.
- Update repository tooling and CI actions.

## [v13.0.0](https://github.com/purescript-contrib/purescript-affjax/releases/tag/v13.0.0) - 2022-04-28

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ This library provides types and common functionality that work across environmen

1. Module documentation is [published on Pursuit](https://pursuit.purescript.org/packages/purescript-affjax).
2. Written documentation is kept in the [docs directory](./docs).
3. Usage examples can be found in [the test suite](./test).

If you get stuck, there are several ways to get help:

Expand Down
56 changes: 0 additions & 56 deletions bower.json

This file was deleted.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"private": true,
"scripts": {
"build": "eslint src && spago build --purs-args '--censor-lib --strict'"
"build": "oxlint src && spago build --strict"
},
"devDependencies": {
"body-parser": "^1.19.0",
"eslint": "^7.10.0",
"express": "^4.17.1",
"purescript-psa": "^0.8.2",
"xhr2": "^0.2.0"
"body-parser": "^2.3.0",
"express": "^5.3.0",
"oxlint": "^1.87.0",
"xhr2": "^0.2.1"
}
}
4 changes: 0 additions & 4 deletions packages.dhall

This file was deleted.

32 changes: 0 additions & 32 deletions spago.dhall

This file was deleted.

Loading
Loading