Skip to content

Commit 4b82fa3

Browse files
committed
feat: update spago to spago@next
1 parent ba14a29 commit 4b82fa3

18 files changed

+794
-280
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Bug report
3+
about: Report an issue
4+
title: ""
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of the bug.
11+
12+
**To Reproduce**
13+
A minimal code example (preferably a runnable example on [Try PureScript](https://try.purescript.org)!) or steps to reproduce the issue.
14+
15+
**Expected behavior**
16+
A clear and concise description of what you expected to happen.
17+
18+
**Additional context**
19+
Add any other context about the problem here.
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Change request
3+
about: Propose an improvement to this library
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
**Is your change request related to a problem? Please describe.**
10+
A clear and concise description of the problem.
11+
12+
Examples:
13+
14+
- It's frustrating to have to [...]
15+
- I was looking for a function to [...]
16+
17+
**Describe the solution you'd like**
18+
A clear and concise description of what a good solution to you looks like, including any solutions you've already considered.
19+
20+
**Additional context**
21+
Add any other context about the change request here.

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: PureScript Discourse
4+
url: https://discourse.purescript.org/
5+
about: Ask and answer questions on the PureScript discussion forum.
6+
- name: PureScript Discord
7+
url: https://purescript.org/chat
8+
about: Ask and answer questions on the PureScript chat.

.github/PULL_REQUEST_TEMPLATE.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
**Description of the change**
2+
Clearly and concisely describe the purpose of the pull request. If this PR relates to an existing issue or change proposal, please link to it. Include any other background context that would help reviewers understand the motivation for this PR.
3+
4+
---
5+
6+
**Checklist:**
7+
8+
- [ ] Added the change to the changelog's "Unreleased" section with a link to this PR and your username
9+
- [ ] Linked any existing issues or proposals that this pull request should close
10+
- [ ] Updated or added relevant documentation in the README and/or documentation directory
11+
- [ ] Added a test for the contribution (if applicable)

.github/workflows/ci.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
branches: [master, main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up a PureScript toolchain
16+
uses: purescript-contrib/setup-purescript@main
17+
with:
18+
purescript: "latest"
19+
purs-tidy: "latest"
20+
spago: "unstable"
21+
22+
- name: Cache PureScript dependencies
23+
uses: actions/cache@v4
24+
with:
25+
key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock') }}
26+
path: |
27+
.spago
28+
output
29+
30+
- name: Build source
31+
run: spago build --censor-stats --strict --ensure-ranges --pedantic-packages
32+
33+
- name: Run tests
34+
run: spago test --offline --censor-stats --strict --pedantic-packages
35+
36+
- name: Verify formatting
37+
run: purs-tidy check src test

.github/workflows/node.js.yml

-25
This file was deleted.

bower.json

-17
This file was deleted.

package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,10 @@
1111
"devDependencies": {
1212
"@testing-library/react": "^16.2.0",
1313
"@testing-library/user-event": "^14.6.1",
14-
"bower": "^1.8.14",
1514
"global-jsdom": "^26.0.0",
1615
"jsdom": "^26.0.0",
1716
"jsdom-global": "^3.0.2",
18-
"npm-run-all": "^4.1.5",
19-
"pulp": "^16.0.2",
20-
21-
17+
"npm-run-all": "^4.1.5"
2218
},
2319
"scripts": {
2420
"deps": "run-s deps:*",
@@ -41,4 +37,4 @@
4137
"url": "https://github.com/spicydonuts/purescript-react-basic-hooks/issues"
4238
},
4339
"homepage": "https://github.com/spicydonuts/purescript-react-basic-hooks#readme"
44-
}
40+
}

packages.dhall

-31
This file was deleted.

spago.dhall

-38
This file was deleted.

0 commit comments

Comments
 (0)