Skip to content

Commit

Permalink
Merge pull request #21 from Yqnn/2.0.0
Browse files Browse the repository at this point in the history
Migrate to typescript + Bump minimatch + Add ESM support
  • Loading branch information
Yqnn authored Apr 12, 2024
2 parents a3504ab + 2eaa847 commit e1b2513
Show file tree
Hide file tree
Showing 12 changed files with 454 additions and 303 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm test
coverage:
runs-on: ubuntu-latest
Expand All @@ -26,6 +27,7 @@ jobs:
with:
node-version: 20.x
- run: npm ci
- run: npm run build
- run: npm test
- uses: coverallsapp/github-action@master
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.*.swp
/dist/
/node_modules/*
/v8.log
/profile.txt
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Recursive version of fs.readdir wih stream API and glob filtering.
Uses the `minimatch` library to do its matching.

Requires Node.js 10.0 or later.
Requirements:
- 1.x.x requires Node.js 10.0 or later.
- 2.x.x requires Node.js 14.0 or later.

## Performances

Expand Down
243 changes: 0 additions & 243 deletions index.js

This file was deleted.

49 changes: 41 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e1b2513

Please sign in to comment.