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.

29 changes: 11 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ 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
Expand All @@ -20,20 +25,14 @@ jobs:
purs-tidy: "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') }}
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 @@ -56,11 +55,5 @@ jobs:
- 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
- name: Lint JavaScript
run: npm run lint
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ New features:
Bugfixes:

Other improvements:
- Migrate to registry-backed Spago and update repository tooling and CI actions.

## [v11.0.0](https://github.com/purescript-contrib/purescript-react/releases/tag/v11.0.0) - 2023-01-04

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

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"private": true,
"scripts": {
"build": "spago build --purs-args '--censor-lib --strict'",
"test": "spago test --no-install"
"build": "spago build --strict --pedantic-packages",
"test": "spago test --pedantic-packages",
"lint": "oxlint src test"
},
"devDependencies": {
"eslint": "^7.10.0",
"purescript-psa": "^0.8.2"
"oxlint": "^1.87.0",
"spago": "^1.0.4"
}
}
5 changes: 0 additions & 5 deletions packages.dhall

This file was deleted.

14 changes: 0 additions & 14 deletions spago.dhall

This file was deleted.

Loading
Loading