Commit 52502e6
feat: provide bundled API (#49)
* feat: provide bundled API
Node.js core doesn't support relative require calls, so this change
provides a bundles API for Postject, so that it can be used easily
in Node.js. Undici too follows the same strategy.
Refs: nodejs/undici#1183
Signed-off-by: Darshan Sen <[email protected]>
* fixup! test: bump timeout value from 60000 to 65000
Signed-off-by: Darshan Sen <[email protected]>
* fixup! test: bump timeout value from 65000 to 70000
Signed-off-by: Darshan Sen <[email protected]>
* fixup! fix: --output-api-header handling
Signed-off-by: Darshan Sen <[email protected]>
* fixup! refactor: bundling and copying to dist logic
Signed-off-by: Darshan Sen <[email protected]>
* fixup! chore: Error -> TypeError
Co-authored-by: David Sanders <[email protected]>
Signed-off-by: Darshan Sen <[email protected]>
Co-authored-by: David Sanders <[email protected]>1 parent 4fe587c commit 52502e6
File tree
9 files changed
+483
-2055
lines changed- scripts
- src
- test
9 files changed
+483
-2055
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
| |||
0 commit comments