Skip to content

Commit 1bae2f6

Browse files
authored
Merge pull request #11 from purescript-node/bump
Prepare for 2.0 release
2 parents a3b8afa + 66f84de commit 1bae2f6

File tree

14 files changed

+150
-384
lines changed

14 files changed

+150
-384
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
/.*
2+
!/.gitignore
3+
!/.jscsrc
4+
!/.jshintrc
5+
!/.travis.yml
16
/bower_components/
27
/node_modules/
38
/output/
4-
/.psci*
5-
/src/.webpack.js

.jscsrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"preset": "grunt",
3+
"disallowSpacesInFunctionExpression": null,
4+
"requireSpacesInFunctionExpression": {
5+
"beforeOpeningRoundBrace": true,
6+
"beforeOpeningCurlyBrace": true
7+
},
8+
"disallowSpacesInAnonymousFunctionExpression": null,
9+
"requireSpacesInAnonymousFunctionExpression": {
10+
"beforeOpeningRoundBrace": true,
11+
"beforeOpeningCurlyBrace": true
12+
},
13+
"disallowSpacesInsideObjectBrackets": null,
14+
"requireSpacesInsideObjectBrackets": "all",
15+
"validateQuoteMarks": "\"",
16+
"requireCurlyBraces": null
17+
}

.jshintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"bitwise": true,
3+
"eqeqeq": true,
4+
"forin": true,
5+
"freeze": true,
6+
"funcscope": true,
7+
"futurehostile": true,
8+
"strict": "global",
9+
"latedef": true,
10+
"noarg": true,
11+
"nocomma": true,
12+
"nonew": true,
13+
"notypeof": true,
14+
"singleGroups": true,
15+
"undef": true,
16+
"unused": true,
17+
"eqnull": true,
18+
"predef": ["exports", "require", "process"]
19+
}

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
dist: trusty
3+
sudo: required
4+
node_js: 6
5+
install:
6+
- npm install -g bower
7+
- npm install
8+
script:
9+
- bower install --production
10+
- npm run -s build
11+
- bower install
12+
- npm test
13+
after_success:
14+
- >-
15+
test $TRAVIS_TAG &&
16+
echo $GITHUB_TOKEN | pulp login &&
17+
echo y | pulp publish --no-push

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# purescript-node-http
22

3-
A wrapper for Node's HTTP APIs
3+
[![Latest release](http://img.shields.io/github/release/purescript-node/purescript-node-http.svg)](https://github.com/purescript/purescript-node-http/releases)
4+
[![Build Status](https://travis-ci.org/purescript-node/purescript-node-http.svg?branch=master)](https://travis-ci.org/purescript-node/purescript-node-http)
45

5-
- [Module Documentation](docs/Node)
6-
- [Example](test/Main.purs)
6+
A wrapper for Node's HTTP APIs.
7+
8+
## Installation
9+
10+
```
11+
bower install purescript-node-http
12+
```
13+
14+
## Documentation
15+
16+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-node-http).

bower.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"url": "git://github.com/purescript-node/purescript-node-http.git"
1313
},
1414
"devDependencies": {
15-
"purescript-console": "^1.0.0"
15+
"purescript-console": "^2.0.0"
1616
},
1717
"dependencies": {
18-
"purescript-maps": "^1.0.0",
19-
"purescript-node-streams": "^1.0.0",
20-
"purescript-node-url": "^1.0.0",
21-
"purescript-options": "^1.0.0",
22-
"purescript-unsafe-coerce": "^1.0.0"
18+
"purescript-maps": "^2.0.0",
19+
"purescript-node-streams": "^2.0.0",
20+
"purescript-node-url": "^2.0.0",
21+
"purescript-options": "^2.0.0",
22+
"purescript-unsafe-coerce": "^2.0.0"
2323
}
2424
}

docs/Node/HTTP.md

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

0 commit comments

Comments
 (0)