From e56c6ae9a0a766b5eab77040e92b2e034ce52d2e Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Tue, 7 Mar 2023 07:36:02 +0100 Subject: [PATCH] chore: update project config, fix broken badges (#53) --- .github/workflows/js-test-and-release.yml | 20 +++++++++---------- .gitignore | 16 +++++++-------- README.md | 6 +++--- packages/blob-to-it/README.md | 15 +++++++++++--- packages/blob-to-it/package.json | 2 +- .../browser-readablestream-to-it/README.md | 15 +++++++++++--- .../browser-readablestream-to-it/package.json | 2 +- packages/it-all/README.md | 15 +++++++++++--- packages/it-all/package.json | 2 +- packages/it-batch/README.md | 15 +++++++++++--- packages/it-batch/package.json | 2 +- packages/it-batched-bytes/README.md | 15 +++++++++++--- packages/it-batched-bytes/package.json | 2 +- packages/it-buffer-stream/README.md | 15 +++++++++++--- packages/it-buffer-stream/package.json | 2 +- packages/it-drain/README.md | 15 +++++++++++--- packages/it-drain/package.json | 2 +- packages/it-filter/README.md | 15 +++++++++++--- packages/it-filter/package.json | 2 +- packages/it-first/README.md | 15 +++++++++++--- packages/it-first/package.json | 2 +- packages/it-flat-batch/README.md | 15 +++++++++++--- packages/it-flat-batch/package.json | 2 +- packages/it-foreach/README.md | 15 +++++++++++--- packages/it-foreach/package.json | 2 +- packages/it-glob/README.md | 6 +++--- packages/it-glob/package.json | 2 +- packages/it-last/README.md | 15 +++++++++++--- packages/it-last/package.json | 2 +- packages/it-length/README.md | 15 +++++++++++--- packages/it-length/package.json | 2 +- packages/it-map/README.md | 15 +++++++++++--- packages/it-map/package.json | 2 +- packages/it-merge/README.md | 15 +++++++++++--- packages/it-merge/package.json | 2 +- packages/it-multipart/README.md | 6 +++--- packages/it-multipart/package.json | 2 +- packages/it-ndjson/README.md | 15 +++++++++++--- packages/it-ndjson/package.json | 2 +- packages/it-parallel-batch/README.md | 15 +++++++++++--- packages/it-parallel-batch/package.json | 2 +- packages/it-parallel/README.md | 15 +++++++++++--- packages/it-parallel/package.json | 2 +- packages/it-peekable/README.md | 15 +++++++++++--- packages/it-peekable/package.json | 2 +- packages/it-reduce/README.md | 15 +++++++++++--- packages/it-reduce/package.json | 2 +- packages/it-skip/README.md | 15 +++++++++++--- packages/it-skip/package.json | 2 +- packages/it-sort/README.md | 15 +++++++++++--- packages/it-sort/package.json | 2 +- packages/it-split/README.md | 15 +++++++++++--- packages/it-split/package.json | 2 +- packages/it-take/README.md | 15 +++++++++++--- packages/it-take/package.json | 2 +- .../it-to-browser-readablestream/README.md | 15 +++++++++++--- .../it-to-browser-readablestream/package.json | 2 +- packages/it-to-buffer/README.md | 15 +++++++++++--- packages/it-to-buffer/package.json | 2 +- 59 files changed, 366 insertions(+), 134 deletions(-) diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml index 3cb16216..ca2c25c0 100644 --- a/.github/workflows/js-test-and-release.yml +++ b/.github/workflows/js-test-and-release.yml @@ -2,7 +2,7 @@ name: test & maybe release on: push: branches: - - master # with #262 - ${{{ github.default_branch }}} + - master pull_request: jobs: @@ -33,7 +33,7 @@ jobs: node-version: ${{ matrix.node }} - uses: ipfs/aegir/actions/cache-node-modules@master - run: npm run --if-present test:node - - uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 + - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 with: flags: node @@ -47,7 +47,7 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npm run --if-present test:chrome - - uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 + - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 with: flags: chrome @@ -61,7 +61,7 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npm run --if-present test:chrome-webworker - - uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 + - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 with: flags: chrome-webworker @@ -75,7 +75,7 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npm run --if-present test:firefox - - uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 + - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 with: flags: firefox @@ -89,7 +89,7 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npm run --if-present test:firefox-webworker - - uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 + - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 with: flags: firefox-webworker @@ -103,7 +103,7 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npx xvfb-maybe npm run --if-present test:electron-main - - uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 + - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 with: flags: electron-main @@ -117,14 +117,14 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npx xvfb-maybe npm run --if-present test:electron-renderer - - uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0 + - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1 with: flags: electron-renderer release: needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer] runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/master' # with #262 - 'refs/heads/${{{ github.default_branch }}}' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v3 with: @@ -139,5 +139,5 @@ jobs: docker-username: ${{ secrets.DOCKER_USERNAME }} - run: npm run --if-present release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN || github.token }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.gitignore b/.gitignore index 3dc28415..7ad9e674 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,9 @@ node_modules -*.log -.DS_Store -Thumbs.db -.vscode -.nyc_output -coverage -bin -packages/*/dist +build +dist +.docs +.coverage +node_modules package-lock.json - +yarn.lock +.vscode diff --git a/README.md b/README.md index 16c12659..68e91551 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # it [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > A collection of utilities for making working with iterables more bearable @@ -9,7 +9,7 @@ - [Structure](#structure) - [License](#license) -- [Contribute](#contribute) +- [Contribution](#contribution) ## Structure @@ -49,6 +49,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/blob-to-it/README.md b/packages/blob-to-it/README.md index 29051c82..948bd618 100644 --- a/packages/blob-to-it/README.md +++ b/packages/blob-to-it/README.md @@ -1,16 +1,17 @@ # blob-to-it [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Turns a blob into an async iterator ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -38,6 +47,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/blob-to-it/package.json b/packages/blob-to-it/package.json index c33ad261..a4692173 100644 --- a/packages/blob-to-it/package.json +++ b/packages/blob-to-it/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/browser-readablestream-to-it/README.md b/packages/browser-readablestream-to-it/README.md index cd99078e..17516727 100644 --- a/packages/browser-readablestream-to-it/README.md +++ b/packages/browser-readablestream-to-it/README.md @@ -1,17 +1,18 @@ # browser-readablestream-to-it [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Turns a browser readble stream into an async iterator ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -62,6 +71,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/browser-readablestream-to-it/package.json b/packages/browser-readablestream-to-it/package.json index f55b8a69..8538be79 100644 --- a/packages/browser-readablestream-to-it/package.json +++ b/packages/browser-readablestream-to-it/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-all/README.md b/packages/it-all/README.md index d9f96421..cf5c4c2c 100644 --- a/packages/it-all/README.md +++ b/packages/it-all/README.md @@ -1,16 +1,17 @@ # it-all [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Collects all values from an (async) iterable and returns them as an array ## Table of contents - [Install](#install) + - [Browser ` +``` + For when you need a one-liner to collect iterable values. ## Usage @@ -40,6 +49,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-all/package.json b/packages/it-all/package.json index 1607d330..e95c75f3 100644 --- a/packages/it-all/package.json +++ b/packages/it-all/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-batch/README.md b/packages/it-batch/README.md index 2493ec55..cfe7cc72 100644 --- a/packages/it-batch/README.md +++ b/packages/it-batch/README.md @@ -1,16 +1,17 @@ # it-batch [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Takes an async iterator that emits things and emits them as fixed size batches ## Table of contents - [Install](#install) + - [Browser ` +``` + The final batch may be smaller than the max. ## Usage @@ -42,6 +51,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-batch/package.json b/packages/it-batch/package.json index 2ebe6e10..2e86c0b5 100644 --- a/packages/it-batch/package.json +++ b/packages/it-batch/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-batched-bytes/README.md b/packages/it-batched-bytes/README.md index 64935216..8f4e2dd8 100644 --- a/packages/it-batched-bytes/README.md +++ b/packages/it-batched-bytes/README.md @@ -1,16 +1,17 @@ # it-batched-bytes [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Takes an async iterator that emits byte arrays and emits them as fixed size batches ## Table of contents - [Install](#install) + - [Browser ` +``` + The final batch may be smaller than the max. ## Usage @@ -48,6 +57,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-batched-bytes/package.json b/packages/it-batched-bytes/package.json index 10f107a0..9f90b8fd 100644 --- a/packages/it-batched-bytes/package.json +++ b/packages/it-batched-bytes/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-buffer-stream/README.md b/packages/it-buffer-stream/README.md index 6a46afbb..9153e9e1 100644 --- a/packages/it-buffer-stream/README.md +++ b/packages/it-buffer-stream/README.md @@ -1,16 +1,17 @@ # it-buffer-stream [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > An async iterator that emits buffers containing bytes up to a certain length ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -55,6 +64,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-buffer-stream/package.json b/packages/it-buffer-stream/package.json index 8e7c2c4c..3c651a95 100644 --- a/packages/it-buffer-stream/package.json +++ b/packages/it-buffer-stream/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-drain/README.md b/packages/it-drain/README.md index 2d3d933b..b4a8cef9 100644 --- a/packages/it-drain/README.md +++ b/packages/it-drain/README.md @@ -1,16 +1,17 @@ # it-drain [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Empties an async iterator ## Table of contents - [Install](#install) + - [Browser ` +``` + Mostly useful for tests or when you want to be explicit about consuming an iterable without doing anything with any yielded values. ## Usage @@ -38,6 +47,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-drain/package.json b/packages/it-drain/package.json index 53e791e9..6b84e58a 100644 --- a/packages/it-drain/package.json +++ b/packages/it-drain/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-filter/README.md b/packages/it-filter/README.md index dc3701b4..91ce989a 100644 --- a/packages/it-filter/README.md +++ b/packages/it-filter/README.md @@ -1,16 +1,17 @@ # it-filter [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Filters the passed iterable by using the filter function ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -41,6 +50,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-filter/package.json b/packages/it-filter/package.json index 2cd358c5..06e138e0 100644 --- a/packages/it-filter/package.json +++ b/packages/it-filter/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-first/README.md b/packages/it-first/README.md index e8fc4d54..fd7dd57d 100644 --- a/packages/it-first/README.md +++ b/packages/it-first/README.md @@ -1,16 +1,17 @@ # it-first [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Returns the first result from an async iterator ## Table of contents - [Install](#install) + - [Browser ` +``` + Mostly useful for tests. ## Usage @@ -40,6 +49,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-first/package.json b/packages/it-first/package.json index 7e0e17ac..079b11c9 100644 --- a/packages/it-first/package.json +++ b/packages/it-first/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-flat-batch/README.md b/packages/it-flat-batch/README.md index e8aeaeae..b546e15a 100644 --- a/packages/it-flat-batch/README.md +++ b/packages/it-flat-batch/README.md @@ -1,16 +1,17 @@ # it-flat-batch [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Takes an async iterator that emits variable length arrays and emits them as fixed size batches ## Table of contents - [Install](#install) + - [Browser ` +``` + The final batch may be smaller than requested batch size. ## Usage @@ -42,6 +51,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-flat-batch/package.json b/packages/it-flat-batch/package.json index 22378f58..96308086 100644 --- a/packages/it-flat-batch/package.json +++ b/packages/it-flat-batch/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-foreach/README.md b/packages/it-foreach/README.md index 71c5160f..098836ed 100644 --- a/packages/it-foreach/README.md +++ b/packages/it-foreach/README.md @@ -1,16 +1,17 @@ # it-foreach [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Invokes the passed function for each item in an iterable ## Table of contents - [Install](#install) + - [Browser ` +``` + For when you need a one-liner to collect iterable values. ## Usage @@ -42,6 +51,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-foreach/package.json b/packages/it-foreach/package.json index 01e64c9d..ed47e099 100644 --- a/packages/it-foreach/package.json +++ b/packages/it-foreach/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-glob/README.md b/packages/it-glob/README.md index df22b57d..23d2635e 100644 --- a/packages/it-glob/README.md +++ b/packages/it-glob/README.md @@ -1,7 +1,7 @@ # it-glob [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Async iterable filename pattern matcher @@ -10,7 +10,7 @@ - [Install](#install) - [Usage](#usage) - [License](#license) -- [Contribute](#contribute) +- [Contribution](#contribution) ## Install @@ -47,6 +47,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-glob/package.json b/packages/it-glob/package.json index 83eb58e7..ab368646 100644 --- a/packages/it-glob/package.json +++ b/packages/it-glob/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-last/README.md b/packages/it-last/README.md index d87900d0..caa194a2 100644 --- a/packages/it-last/README.md +++ b/packages/it-last/README.md @@ -1,16 +1,17 @@ # it-last [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Returns the last result from an async iterator ## Table of contents - [Install](#install) + - [Browser ` +``` + Mostly useful for tests. ## Usage @@ -40,6 +49,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-last/package.json b/packages/it-last/package.json index 950fb047..7d655e26 100644 --- a/packages/it-last/package.json +++ b/packages/it-last/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-length/README.md b/packages/it-length/README.md index 5bbadcc1..3b3a3c43 100644 --- a/packages/it-length/README.md +++ b/packages/it-length/README.md @@ -1,16 +1,17 @@ # it-length [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Counts the number of items in an async iterable ## Table of contents - [Install](#install) + - [Browser ` +``` + N.b. will consume the iterable ## Usage @@ -40,6 +49,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-length/package.json b/packages/it-length/package.json index 334eae08..2286eae9 100644 --- a/packages/it-length/package.json +++ b/packages/it-length/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-map/README.md b/packages/it-map/README.md index c7c5a2a0..b4881c83 100644 --- a/packages/it-map/README.md +++ b/packages/it-map/README.md @@ -1,16 +1,17 @@ # it-map [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Maps the values yielded by an async iterator ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -38,6 +47,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-map/package.json b/packages/it-map/package.json index 555e33a5..9dc97d07 100644 --- a/packages/it-map/package.json +++ b/packages/it-map/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-merge/README.md b/packages/it-merge/README.md index 7b753812..30965015 100644 --- a/packages/it-merge/README.md +++ b/packages/it-merge/README.md @@ -1,16 +1,17 @@ # it-merge [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Treat one or more iterables as a single iterable ## Table of contents - [Install](#install) + - [Browser ` +``` + Nb. sources are iterated over in parallel so the order of emitted items is not guaranteed. ## Usage @@ -42,6 +51,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-merge/package.json b/packages/it-merge/package.json index 09df1834..8c7c9bc2 100644 --- a/packages/it-merge/package.json +++ b/packages/it-merge/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-multipart/README.md b/packages/it-multipart/README.md index 903bac43..0e37fcdb 100644 --- a/packages/it-multipart/README.md +++ b/packages/it-multipart/README.md @@ -1,7 +1,7 @@ # it-multipart [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Async iterable http multipart message parser @@ -10,7 +10,7 @@ - [Install](#install) - [Example](#example) - [License](#license) -- [Contribute](#contribute) +- [Contribution](#contribution) ## Install @@ -54,6 +54,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-multipart/package.json b/packages/it-multipart/package.json index 80ac4b35..77d5fe6f 100644 --- a/packages/it-multipart/package.json +++ b/packages/it-multipart/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-ndjson/README.md b/packages/it-ndjson/README.md index 4bf603e8..a7b6019a 100644 --- a/packages/it-ndjson/README.md +++ b/packages/it-ndjson/README.md @@ -1,16 +1,17 @@ # it-ndjson [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Parse iterators as ndjson and transform iterators to ndjson ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -43,6 +52,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-ndjson/package.json b/packages/it-ndjson/package.json index c66464c8..68d98e5f 100644 --- a/packages/it-ndjson/package.json +++ b/packages/it-ndjson/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-parallel-batch/README.md b/packages/it-parallel-batch/README.md index 2d92bcaa..12fba7b6 100644 --- a/packages/it-parallel-batch/README.md +++ b/packages/it-parallel-batch/README.md @@ -1,16 +1,17 @@ # it-parallel-batch [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Takes an async iterator that emits promise-returning functions, invokes them in parallel and emits the results in the same order as the input ## Table of contents - [Install](#install) + - [Browser ` +``` + The final batch may be smaller than the batch size. ## Usage @@ -60,6 +69,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-parallel-batch/package.json b/packages/it-parallel-batch/package.json index bbc7249b..5fb2ba4f 100644 --- a/packages/it-parallel-batch/package.json +++ b/packages/it-parallel-batch/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-parallel/README.md b/packages/it-parallel/README.md index b003277e..e8ecb110 100644 --- a/packages/it-parallel/README.md +++ b/packages/it-parallel/README.md @@ -1,16 +1,17 @@ # it-parallel [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Takes an (async) iterable that emits promise-returning functions, invokes them in parallel up to the concurrency limit and emits the results as they become available, optionally in the same order as the input ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -91,6 +100,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-parallel/package.json b/packages/it-parallel/package.json index 1ee3652a..f86f9537 100644 --- a/packages/it-parallel/package.json +++ b/packages/it-parallel/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-peekable/README.md b/packages/it-peekable/README.md index 34e5c7f6..5ba80a56 100644 --- a/packages/it-peekable/README.md +++ b/packages/it-peekable/README.md @@ -1,16 +1,17 @@ # it-peekable [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Allows peeking/pushing an iterable ## Table of contents - [Install](#install) + - [Browser ` +``` + Lets you look at the contents of an async iterator and decide what to do ## Usage @@ -47,6 +56,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-peekable/package.json b/packages/it-peekable/package.json index 8d9868dc..aa98e060 100644 --- a/packages/it-peekable/package.json +++ b/packages/it-peekable/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-reduce/README.md b/packages/it-reduce/README.md index d6058925..1cb6c279 100644 --- a/packages/it-reduce/README.md +++ b/packages/it-reduce/README.md @@ -1,16 +1,17 @@ # it-reduce [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Reduces the values yielded from an async iterator ## Table of contents - [Install](#install) + - [Browser ` +``` + Mostly useful for tests or when you want to be explicit about consuming an iterable without doing anything with any yielded values. ## Usage @@ -40,6 +49,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-reduce/package.json b/packages/it-reduce/package.json index db1f176b..ea45af9d 100644 --- a/packages/it-reduce/package.json +++ b/packages/it-reduce/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-skip/README.md b/packages/it-skip/README.md index 54aa6004..1ee0cc48 100644 --- a/packages/it-skip/README.md +++ b/packages/it-skip/README.md @@ -1,16 +1,17 @@ # it-skip [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Skip items from an iterable ## Table of contents - [Install](#install) + - [Browser ` +``` + For when you are only interested in later values from an iterable. ## Usage @@ -41,6 +50,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-skip/package.json b/packages/it-skip/package.json index 70b4f51f..234c6887 100644 --- a/packages/it-skip/package.json +++ b/packages/it-skip/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-sort/README.md b/packages/it-sort/README.md index 3d3af7d6..06448cdd 100644 --- a/packages/it-sort/README.md +++ b/packages/it-sort/README.md @@ -1,16 +1,17 @@ # it-sort [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Collects all values from an async iterator, sorts them using the passed function and yields them ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -43,6 +52,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-sort/package.json b/packages/it-sort/package.json index cbe6171e..afcca252 100644 --- a/packages/it-sort/package.json +++ b/packages/it-sort/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-split/README.md b/packages/it-split/README.md index 6bac2672..cac50f4d 100644 --- a/packages/it-split/README.md +++ b/packages/it-split/README.md @@ -1,16 +1,17 @@ # it-split [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Splits Uint8Arrays emitted by an (async) iterable by a delimiter ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -60,6 +69,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-split/package.json b/packages/it-split/package.json index 39401756..06e37c1c 100644 --- a/packages/it-split/package.json +++ b/packages/it-split/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-take/README.md b/packages/it-take/README.md index daa891c1..72f780fd 100644 --- a/packages/it-take/README.md +++ b/packages/it-take/README.md @@ -1,16 +1,17 @@ # it-take [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Stop iteration after n items have been received ## Table of contents - [Install](#install) + - [Browser ` +``` + For when you only want a few values out of an iterable. ## Usage @@ -41,6 +50,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-take/package.json b/packages/it-take/package.json index 8249afcb..7a6999ed 100644 --- a/packages/it-take/package.json +++ b/packages/it-take/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-to-browser-readablestream/README.md b/packages/it-to-browser-readablestream/README.md index df502e78..a1fd4fc7 100644 --- a/packages/it-to-browser-readablestream/README.md +++ b/packages/it-to-browser-readablestream/README.md @@ -1,16 +1,17 @@ # it-to-browser-readablestream [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Takes an async iterator and turns it into a browser readable stream ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -40,6 +49,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-to-browser-readablestream/package.json b/packages/it-to-browser-readablestream/package.json index e1caa667..db3666ed 100644 --- a/packages/it-to-browser-readablestream/package.json +++ b/packages/it-to-browser-readablestream/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ], diff --git a/packages/it-to-buffer/README.md b/packages/it-to-buffer/README.md index b02fb4df..34bb1907 100644 --- a/packages/it-to-buffer/README.md +++ b/packages/it-to-buffer/README.md @@ -1,16 +1,17 @@ # it-to-buffer [![codecov](https://img.shields.io/codecov/c/github/achingbrain/it.svg?style=flat-square)](https://codecov.io/gh/achingbrain/it) -[![CI](https://img.shields.io/github/workflow/status/achingbrain/it/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml) +[![CI](https://img.shields.io/github/actions/workflow/status/achingbrain/it/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/achingbrain/it/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) > Takes an async iterator that yields buffers and concatenates them all together ## Table of contents - [Install](#install) + - [Browser ` +``` + ## Usage ```javascript @@ -38,6 +47,6 @@ Licensed under either of - Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) - MIT ([LICENSE-MIT](LICENSE-MIT) / ) -## Contribute +## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. diff --git a/packages/it-to-buffer/package.json b/packages/it-to-buffer/package.json index 145ffb0c..1132c5e4 100644 --- a/packages/it-to-buffer/package.json +++ b/packages/it-to-buffer/package.json @@ -20,7 +20,7 @@ "types": "./dist/src/index.d.ts", "files": [ "src", - "dist/src", + "dist", "!dist/test", "!**/*.tsbuildinfo" ],