Skip to content

Commit 9f16486

Browse files
Transition library into the purescript organization
1 parent 32b50d7 commit 9f16486

File tree

8 files changed

+113
-42
lines changed

8 files changed

+113
-42
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 11 additions & 0 deletions
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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- uses: purescript-contrib/setup-purescript@main
15+
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: "12"
19+
20+
- name: Install dependencies
21+
run: |
22+
npm install -g bower
23+
npm install
24+
bower install --production
25+
26+
- name: Build source
27+
run: npm run-script build
28+
29+
- name: Run tests
30+
run: |
31+
bower install
32+
npm run-script test --if-present

.gitignore

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
/.*
2-
!/.gitignore
3-
!/.jscsrc
4-
!/.jshintrc
5-
!/.travis.yml
6-
/bower_components/
7-
/node_modules/
8-
/output/
1+
.*
2+
!.gitignore
3+
!.github
4+
5+
output
6+
generated-docs
7+
bower_components
8+
node_modules
9+
910
package-lock.json
11+
*.lock

.travis.yml

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

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Changelog
2+
3+
Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4+
5+
## [Unreleased]
6+
7+
Breaking changes:
8+
9+
- Added support for PureScript 0.14 and dropped support for all previous versions
10+
11+
New features:
12+
13+
Bugfixes:
14+
15+
Other improvements:
16+
17+
## [v3.0.1](https://github.com/purescript/purescript-filterable/releases/tag/v3.0.1) - 2018-06-29
18+
19+
- Added missing exports in Data.Compactable (@gabejohnson)
20+
21+
## [v3.0.0](https://github.com/purescript/purescript-filterable/releases/tag/v3.0.0) - 2018-05-25
22+
23+
- Added support for PureScript 0.12, dropping support for previous compiler versions
24+
25+
## [v2.4.0](https://github.com/purescript/purescript-filterable/releases/tag/v2.4.0) - 2017-08-09
26+
27+
- Added extra defaults for `partition` and `filter` (#10 by @i-am-tom)
28+
29+
## [v2.2.0](https://github.com/purescript/purescript-filterable/releases/tag/v2.2.0) - 2017-05-13
30+
31+
- Added instances for `Map`
32+
33+
## [v2.0.1](https://github.com/purescript/purescript-filterable/releases/tag/v2.0.1) - 2017-05-13
34+
35+
- Backported `partitionDefault`/`eitherBool` fix to 2.0.x
36+
37+
## [v2.1.0](https://github.com/purescript/purescript-filterable/releases/tag/v2.1.0) - 2017-05-13
38+
39+
- Added instance of `Filterable` for `Data.List` (@afcondon)
40+
41+
## [v2.0.0](https://github.com/purescript/purescript-filterable/releases/tag/v2.0.0) - 2017-04-10
42+
43+
- Added support for PureScript 0.11, dropping support for previous compiler versions
44+
45+
## [v1.0.0](https://github.com/purescript/purescript-filterable/releases/tag/v1.0.0) - 2016-10-18
46+
47+
- Initial release of the `filterable` library

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# purescript-filterable
1+
# Filterable
22

3-
[![Build status](https://travis-ci.org/LiamGoodacre/purescript-filterable.svg?branch=master)](https://travis-ci.org/LiamGoodacre/purescript-filterable)
3+
[![CI](https://github.com/purescript/purescript-filterable/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-filterable/actions?query=workflow%3ACI+branch%3Amaster)
4+
[![Release](https://img.shields.io/github/release/purescript/purescript-filterable.svg)](https://github.com/purescript/purescript-filterable/releases)
5+
[![Pursuit](https://pursuit.purescript.org/packages/purescript-filterable/badge)](https://pursuit.purescript.org/packages/purescript-filterable)
46

5-
Classes for *compactable*, *filterable*, and *witherable* data structures.
7+
Classes for _compactable_, _filterable_, and _witherable_ data structures.
68

79
Inspired by [compactable](https://hackage.haskell.org/package/compactable) and [witherable](https://hackage.haskell.org/package/witherable) on hackage.
810

911
## Installation
1012

11-
```
12-
bower install purescript-filterable
13+
Install `filterable` with [Spago](https://github.com/purescript/spago):
14+
15+
```sh
16+
spago install filterable
1317
```
1418

1519
## Documentation
1620

17-
See on [Pursuit](https://pursuit.purescript.org/packages/purescript-filterable/).
18-
19-
Or build docs with `npm run build:docs`.
21+
Module documentation is [published on Pursuit](https://pursuit.purescript.org/packages/purescript-filterable).

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "purescript-filterable",
3-
"homepage": "https://github.com/LiamGoodacre/purescript-filterable",
3+
"homepage": "https://github.com/purescript/purescript-filterable",
44
"description": "Classes for filterable and witherable data structures",
55
"author": "Liam Goodacre",
66
"license": "MIT",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/LiamGoodacre/purescript-filterable.git"
9+
"url": "https://github.com/purescript/purescript-filterable.git"
1010
},
1111
"ignore": [
1212
"**/.*",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"devDependencies": {
1010
"pulp": "^15.0.0",
11-
"purescript-psa": "^0.8.0",
11+
"purescript-psa": "^0.8.2",
1212
"rimraf": "^3.0.2"
1313
}
1414
}

0 commit comments

Comments
 (0)