Commit 17c363c
committed
refactor: remove babel transpilation
This removes the babel transpiler and refactors the code to be
compatible with commonjs imports.
Test: npm test
Test: echo "foo\nfoobar\nbar" | ./src/cli.js grep 'foo'
Test: echo "foo\nfoobar\nbar" | ./src/cli.js sed 's/foo/bar/'
Test: ./src/cli.js grep 'foo' ~/foobartest.txt
Test: ./src/cli.js sed 's/foo/bar/' ~/foobartest.txt1 parent bd48247 commit 17c363c
File tree
12 files changed
+3336
-13449
lines changed- .github/workflows
- src
- test
- specs
12 files changed
+3336
-13449
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
0 commit comments