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
21 changes: 8 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

- uses: purescript-contrib/setup-purescript@main
- uses: actions/setup-node@v7
with:
purescript: "unstable"
node-version: "24"

- uses: actions/setup-node@v2
- uses: purescript-contrib/setup-purescript@main
with:
node-version: "14"
purescript: "unstable"

- name: Install dependencies
run: |
npm install -g bower
npm install
bower install --production
run: npm install

- name: Build source
run: npm run-script build

- name: Run tests
run: |
bower install
npm run-script test --if-present
- name: Compile test example
run: npm test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
!/.eslintrc.json
!/.github/
package-lock.json
/bower_components/
spago.lock
/node_modules/
/output/
28 changes: 0 additions & 28 deletions bower.json

This file was deleted.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"private": true,
"author": "Nathan Faubion <nathan@n-son.com>",
"scripts": {
"clean": "rimraf output && rimraf",
"test": "pulp build -I test -- --censor-lib --strict",
"build": "pulp build -- --censor-lib --strict"
"clean": "rimraf output",
"test": "spago build --strict",
"build": "spago build --strict"
},
"devDependencies": {
"pulp": "^16.0.0-0",
"purescript-psa": "^0.8.2",
"rimraf": "^3.0.2"
"rimraf": "^6.1.3",
"spago": "^1.0.4"
}
}
36 changes: 36 additions & 0 deletions spago.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package:
name: halogen-vdom
description: An extensible virtual-dom library for PureScript
dependencies:
- arrays: ">=7.0.0 <8.0.0"
- bifunctors: ">=6.0.0 <7.0.0"
- effect: ">=4.0.0 <5.0.0"
- foreign: ">=7.0.0 <8.0.0"
- foreign-object: ">=4.0.0 <5.0.0"
- functions: ">=6.0.0 <7.0.0"
- maybe: ">=6.0.0 <7.0.0"
- newtype: ">=5.0.0 <6.0.0"
- nullable: ">=6.0.0 <7.0.0"
- prelude: ">=6.0.0 <7.0.0"
- refs: ">=6.0.0 <7.0.0"
- tuples: ">=7.0.0 <8.0.0"
- unsafe-coerce: ">=6.0.0 <7.0.0"
- web-dom: ">=6.0.0 <7.0.0"
- web-events: ">=4.0.0 <5.0.0"
test:
main: Test.Main
dependencies:
- exists: ">=6.0.0 <7.0.0"
- foldable-traversable
- web-html: ">=4.0.0 <5.0.0"
publish:
version: 8.0.1
license: Apache-2.0
location:
githubOwner: purescript-halogen
githubRepo: purescript-halogen-vdom
workspace:
packageSet:
registry: 81.4.0
buildOpts:
censorLibraryWarnings: all
Loading