Skip to content

Commit 61de558

Browse files
Migrate to registry-backed Spago
1 parent eab370b commit 61de558

10 files changed

Lines changed: 874 additions & 102 deletions

File tree

‎.eslintrc.json‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v7
15+
16+
- name: Set up Node toolchain
17+
uses: actions/setup-node@v7
18+
with:
19+
node-version: "24.x"
1520

1621
- name: Set up PureScript toolchain
1722
uses: purescript-contrib/setup-purescript@main
@@ -20,20 +25,14 @@ jobs:
2025
purs-tidy: "latest"
2126

2227
- name: Cache PureScript dependencies
23-
uses: actions/cache@v2
28+
uses: actions/cache@v6
2429
with:
25-
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
30+
key: ${{ runner.os }}-spago-${{ hashFiles('spago.yaml', 'spago.lock') }}
2631
path: |
2732
.spago
28-
output
29-
30-
- name: Set up Node toolchain
31-
uses: actions/setup-node@v2
32-
with:
33-
node-version: "14.x"
3433
3534
- name: Cache NPM dependencies
36-
uses: actions/cache@v2
35+
uses: actions/cache@v6
3736
env:
3837
cache-name: cache-node-modules
3938
with:
@@ -56,11 +55,5 @@ jobs:
5655
- name: Check formatting
5756
run: purs-tidy check src test
5857

59-
- name: Verify Bower & Pulp
60-
run: |
61-
npm install bower pulp@16.0.0-0
62-
npx bower install
63-
npx pulp build -- --censor-lib --strict
64-
if [ -d "test" ]; then
65-
npx pulp test
66-
fi
58+
- name: Lint JavaScript
59+
run: npm run lint

‎.gitignore‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
!.github
44
!.editorconfig
55
!.tidyrc.json
6-
!.eslintrc.json
76

87
output
98
generated-docs
10-
bower_components
119

1210
node_modules
1311
package-lock.json
1412
*.lock
13+
!spago.lock

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ New features:
1111
Bugfixes:
1212

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

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

‎bower.json‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

‎package.json‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"private": true,
33
"scripts": {
4-
"build": "spago build --purs-args '--censor-lib --strict'",
5-
"test": "spago test --no-install"
4+
"build": "spago build --strict --pedantic-packages",
5+
"test": "spago test --pedantic-packages",
6+
"lint": "oxlint src test"
67
},
78
"devDependencies": {
8-
"eslint": "^7.10.0",
9-
"purescript-psa": "^0.8.2"
9+
"oxlint": "^1.87.0",
10+
"purescript-psa": "^0.9.0"
1011
}
1112
}

‎packages.dhall‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎spago.dhall‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)