Skip to content

Commit

Permalink
build(Dependencies): Update meta package
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed Dec 3, 2017
1 parent 4db00e0 commit 693766f
Show file tree
Hide file tree
Showing 15 changed files with 3,959 additions and 113 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
@@ -1,6 +1,6 @@
# This file is automatically generated by a `metapak`
# module. Do not change it elsewhere, changes would
# be overriden.
# be overridden.
engines:
eslint:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
@@ -1,6 +1,6 @@
# This file is automatically generated by a `metapak`
# module. Do not change it elsewhere, changes would
# be overriden.
# be overridden.

# EditorConfig is awesome: http://EditorConfig.org

Expand Down
10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

17 changes: 17 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,17 @@
module.exports = {
extends: 'eslint:recommended',
parserOptions: {
sourceType: 'script',
modules: true,
},
env: {
es6: true,
node: true,
jest: true,
mocha: true,
},
plugins: ['prettier'],
rules: {
'prettier/prettier': 'error',
},
};
3 changes: 2 additions & 1 deletion .gitattributes
@@ -1,2 +1,3 @@
* text=auto
*.md text eol=lf
*.html text eol=lf
*.js text eol=lf
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE
Expand Up @@ -15,9 +15,9 @@ Finally scroll down if you asking for a feature ;)
-->

I'm a gentledev i:
[ ] fully read the README recently
[ ] searched for existing issues
[ ] checked i'm up to date with the latest version of the project
- [ ] fully read the README recently
- [ ] searched for existing issues
- [ ] checked i'm up to date with the latest version of the project

### Expected behavior

Expand Down Expand Up @@ -56,4 +56,4 @@ If you think a feature need to be added, your suggestions

### Use cases

[ ] I will do it
- [ ] I will/have implement the feature
14 changes: 7 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE
Expand Up @@ -17,16 +17,16 @@ Fixes #
<!-- Check the boxes with a `x` like so `[x]` -->

### Code quality
[ ] I made some tests for my changes
[ ] I added my name in the
- [ ] I made some tests for my changes
- [ ] I added my name in the
[contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
field of the package.json file

### License
To get your contribution merged, you must check the following.

[ ] I read the project license in the LICENSE file
[ ] I agree with publishing under this project license
- [ ] I read the project license in the LICENSE file
- [ ] I agree with publishing under this project license

<!--

Expand All @@ -43,8 +43,8 @@ GitHub/NPM r/w access.

-->
### Join
[ ] I wish to join the core team
[ ] I agree that with great powers comes responsibilities
[ ] I'm a nice person
- [ ] I wish to join the core team
- [ ] I agree that with great powers comes responsibilities
- [ ] I'm a nice person

My NPM username:
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,6 +1,6 @@
# This file is automatically generated by a `metapak`
# module. Do not change it elsewhere, changes would
# be overriden.
# be overridden.

# Logs
logs
Expand Down
7 changes: 7 additions & 0 deletions .prettierrc.js
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
printWidth: 80,
singleQuote: true,
trailingComma: 'es5',
proseWrap: true,
};
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,6 +1,6 @@
# This file is automatically generated by a `metapak`
# module. Do not change it elsewhere, changes would
# be overriden.
# be overridden.

language: node_js
node_js:
Expand Down
22 changes: 11 additions & 11 deletions README.md
@@ -1,7 +1,7 @@
<!--
# This file is automatically generated by a `metapak`
# module. Do not change it elsewhere, changes would
# be overriden.
# be overridden.
-->
# streamtest
> Streams test library
Expand Down Expand Up @@ -63,49 +63,49 @@ describe('My Stream Lib', function() {
});
```

## API
## API

### StreamTest.versions:Array
### StreamTest.versions:Array
List of supported versions (currently v1 and v2).

### StreamTest[version]:Object
### StreamTest[version]:Object
Object available for each version containing the following methods.

### StreamTest[version].fromChunks(chunks:Array, timeout:Number)
### StreamTest[version].fromChunks(chunks:Array, timeout:Number)

Create a readable stream streaming `chunks` each `timeout` milliseconds and then
end. Usefull for testing buffer based streams.

### StreamTest[version].fromObjects(objects:Array, timeout:Number)
### StreamTest[version].fromObjects(objects:Array, timeout:Number)

Create a readable stream streaming `objects` each `timeout` milliseconds and
then end. Usefull for testing objectMode based streams.

### StreamTest[version].fromErroredChunks(err:Error, chunks:Array, timeout:Number)
### StreamTest[version].fromErroredChunks(err:Error, chunks:Array, timeout:Number)

Create a readable stream streaming `chunks` each `timeout` milliseconds, emit
the `err` error and then end. Usefull for testing buffer based streams.

### StreamTest[version].fromErroredObjects(err:Error, objects:Array, timeout:Number)
### StreamTest[version].fromErroredObjects(err:Error, objects:Array, timeout:Number)

Create a readable stream streaming `objects` each `timeout` milliseconds, emit
the `err` error and then end. Usefull for testing objectMode based streams.

### StreamTest[version].toChunks(cb:Function)
### StreamTest[version].toChunks(cb:Function)

Create a writable stream collecting written `chunks` and calling the `cb`
function when it finishes.

The `cb` function take in an error and an Array of chunks.

### StreamTest[version].toObjects(cb:Function)
### StreamTest[version].toObjects(cb:Function)

Create a writable stream collecting written `chunks` and calling the `cb`
function when it finishes.

The `cb` function take in an error and an Array of objects.

### StreamTest[version].toText(cb:Function)
### StreamTest[version].toText(cb:Function)

Create a writable stream collecting written `chunks` and calling the `cb`
function when it finishes with the whole content converted to text.
Expand Down

0 comments on commit 693766f

Please sign in to comment.