Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(stream-transform-from): create a new package #68

Merged
merged 50 commits into from
May 22, 2021
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
5b703eb
chore(stream-transform-from): create directory for `@sounisi5011/stre…
sounisi5011 May 19, 2021
0b2f95c
test(stream-transform-from): add tests
sounisi5011 May 19, 2021
7bead5c
test(stream-transform-from): remove the `createPipeline()` function f…
sounisi5011 May 20, 2021
529d175
feat(stream-transform-from): add a type definition for the public API
sounisi5011 May 20, 2021
ad40522
feat(stream-transform-from): add `transformFrom()` function and `Tran…
sounisi5011 May 20, 2021
9d5522a
fix(stream-transform-from): change the complex `createSource()` metho…
sounisi5011 May 20, 2021
ddcc202
test(stream-transform-from): fix the tests
sounisi5011 May 20, 2021
fdb758c
refactor(stream-transform-from): use the `catch()` method instead of …
sounisi5011 May 20, 2021
26c1fee
fix(stream-transform-from): don't call the callback multiple times & …
sounisi5011 May 20, 2021
3f42981
test(stream-transform-from): use the `break` keyword while transformi…
sounisi5011 May 20, 2021
b85833e
fix(stream-transform-from): use the `break` keyword while transformin…
sounisi5011 May 20, 2021
2056ed3
refactor(stream-transform-from): refactoring the `TransformFromAsyncI…
sounisi5011 May 20, 2021
5d7c52c
test(stream-transform-from): add tests
sounisi5011 May 20, 2021
112097c
fix(stream-transform-from): fix the type definition of return values
sounisi5011 May 20, 2021
65e352b
test(stream-transform-from): add a test to merge multiple chunks
sounisi5011 May 20, 2021
e5e961d
fix(stream-transform-from): `transformCallback` should be called when…
sounisi5011 May 20, 2021
6c4d977
test(stream-transform-from): add type definition tests
sounisi5011 May 20, 2021
b789611
fix(stream-transform-from): fix `InputChunkType`
sounisi5011 May 20, 2021
39538f2
test(stream-transform-from): add type definition tests for output values
sounisi5011 May 20, 2021
8344c03
docs(stream-transform-from): add example code
sounisi5011 May 20, 2021
d1397da
test(stream-transform-from): add a test for the timing of data flowin…
sounisi5011 May 20, 2021
0280830
test(stream-transform-from): fix the timing test for data flowing in …
sounisi5011 May 21, 2021
e0a882e
test(stream-transform-from): eliminate the PromiseRejectionHandledWar…
sounisi5011 May 21, 2021
551485b
test(stream-transform-from): fix the timing test for data flowing in …
sounisi5011 May 21, 2021
e44a275
fix(stream-transform-from): create a source iterator in the constructor
sounisi5011 May 21, 2021
5c1eb3d
refactor(stream-transform-from): remove `src/utils.ts`
sounisi5011 May 21, 2021
38d4cfe
refactor(stream-transform-from): reduce Cognitive Complexity in the `…
sounisi5011 May 21, 2021
28e9901
test(stream-transform-from): add tests that inherit from the `Transfo…
sounisi5011 May 21, 2021
5a87d04
revert:"test(stream-transform-from): add tests that inherit from the …
sounisi5011 May 21, 2021
631e02d
test(stream-transform-from): add tests to convert strings of differen…
sounisi5011 May 21, 2021
86ce878
feat(stream-transform-from): can use the encoding passed with the chunk
sounisi5011 May 21, 2021
768b841
feat(stream-transform-from): export some types
sounisi5011 May 21, 2021
2830d23
test(stream-transform-from): can't get the error after processing all…
sounisi5011 May 22, 2021
e56a0fa
test(stream-transform-from): the bug with not being able to get error…
sounisi5011 May 22, 2021
40406fc
test(stream-transform-from): fix the bug that no error occurs after g…
sounisi5011 May 22, 2021
934e9a1
fix(stream-transform-from): fix the bug that no error occurs after ge…
sounisi5011 May 22, 2021
62033f1
test(stream-transform-from): make the conditional branches of the tes…
sounisi5011 May 22, 2021
394a23e
test(stream-transform-from): refactoring test code
sounisi5011 May 22, 2021
6875a8a
build(stream-transform-from): disable the inlineSources option in Typ…
sounisi5011 May 22, 2021
86475fb
docs(stream-transform-from): add `README.md`
sounisi5011 May 22, 2021
ba85879
ci(stream-transform-from): add custom publish scripts
sounisi5011 May 22, 2021
29d53cb
docs(stream-transform-from): update `README.md`
sounisi5011 May 22, 2021
beef9d4
test(stream-transform-from): add tests for options that should be ign…
sounisi5011 May 22, 2021
8ef282c
fix(stream-transform-from): ignore some options
sounisi5011 May 22, 2021
f516fd0
fix(stream-transform-from): add "construct" in the options to ignore
sounisi5011 May 22, 2021
9a83da9
docs(stream-transform-from): update `README.md`: add fields that are …
sounisi5011 May 22, 2021
62d0f73
refactor(stream-transform-from): don't use the global object `process`
sounisi5011 May 22, 2021
4be84c4
docs(stream-transform-from): fix the code for the example in `README.md`
sounisi5011 May 22, 2021
8d33a5a
refactor(stream-transform-from): move utility type functions to the t…
sounisi5011 May 22, 2021
c307fad
style(stream-transform-from): update `src/index.ts`
sounisi5011 May 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build(stream-transform-from): disable the inlineSources option in Typ…
…eScript

The size of the package is now smaller if `src` directory contents are included.
  • Loading branch information
sounisi5011 committed May 22, 2021
commit 6875a8a1949eb22b945b0af482a55b9420a0356a
3 changes: 2 additions & 1 deletion packages/stream-transform-from/package.json
Original file line number Diff line number Diff line change
@@ -50,7 +50,8 @@
"test": "./tests/"
},
"files": [
"dist/"
"dist/",
"src/"
],
"scripts": {
"build": "tsc",
5 changes: 1 addition & 4 deletions packages/stream-transform-from/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -4,9 +4,6 @@
/* Visit https://aka.ms/tsconfig.json to read more about this file */

/* Basic Options */
"declarationMap": false,

/* Source Map Options */
"inlineSources": true
"declarationMap": false
}
}