Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 2713653

Browse files
authored
Merge pull request #12 from slamdata/ps-0.14
Update for GH actions, PS 0.14
2 parents 1f63639 + a412112 commit 2713653

File tree

26 files changed

+810
-767
lines changed

26 files changed

+810
-767
lines changed

.github/workflows/ci.yml

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

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/example/example.js
2-
/output/
1+
/.*
2+
!/.gitignore
3+
!/.github
34
/bower_components/
45
/node_modules/
5-
npm-debug.log*
6-
.psc-ide-port
6+
/output/
77
package-lock.json

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# purescript-halogen-datepicker
22

33
[![Latest release](http://img.shields.io/github/release/slamdata/purescript-halogen-datepicker.svg)](https://github.com/slamdata/purescript-halogen-datepicker/releases)
4-
[![Build status](https://travis-ci.org/slamdata/purescript-halogen-datepicker.svg?branch=master)](https://travis-ci.org/slamdata/purescript-halogen-datepicker)
4+
![Build Status](https://github.com/slamdata/purescript-halogen-datepicker/actions/workflows/ci.yml/badge.svg)
55

66
## Pickers included:
77

bower.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"license": "Apache-2.0",
44
"repository": {
55
"type": "git",
6-
"url": "git://github.com/slamdata/purescript-halogen-datepicker.git"
6+
"url": "https://github.com/slamdata/purescript-halogen-datepicker.git"
77
},
88
"authors": [
99
"Irakli Safareli <[email protected]>"
@@ -20,15 +20,14 @@
2020
"example"
2121
],
2222
"dependencies": {
23-
"purescript-enums": "^4.0.0",
24-
"purescript-formatters": "^4.0.0",
25-
"purescript-datetime": "^4.1.0",
26-
"purescript-halogen": "^4.0.0",
27-
"purescript-halogen-css": "^8.0.0",
28-
"purescript-generics-rep": "^6.1.0",
29-
"purescript-validation": "^4.0.0",
30-
"purescript-profunctor": "^4.0.0",
31-
"purescript-numbers": "^6.0.0",
32-
"purescript-these": "^4.0.0"
23+
"purescript-enums": "^5.0.0",
24+
"purescript-formatters": "^5.0.0",
25+
"purescript-datetime": "^5.0.2",
26+
"purescript-halogen": "^6.1.1",
27+
"purescript-halogen-css": "^9.0.0",
28+
"purescript-validation": "^5.0.0",
29+
"purescript-profunctor": "^5.0.0",
30+
"purescript-numbers": "^8.0.0",
31+
"purescript-these": "^5.0.0"
3332
}
3433
}

example/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@
3535
color: red;
3636
outline-color: red;
3737
}
38+
.Picker-input--length-4 {
39+
width: 4.3em;
40+
}
41+
.Picker-input--length-3 {
42+
width: 3.5em;
43+
}
44+
.Picker-input--length-2 {
45+
width: 2.7em;
46+
}
3847
.Picker-placeholder {
3948
white-space: pre;
4049
}

0 commit comments

Comments
 (0)