Skip to content

Commit

Permalink
v2.7.0 - native and cross-os compat for old node.js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Dec 30, 2023
1 parent 3f05b2a commit 1bc4711
Show file tree
Hide file tree
Showing 9 changed files with 380 additions and 214 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bevry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- run: npm run our:compile
- run: npm run our:meta
- name: publish to npm
uses: bevry-actions/npm@v1.1.6
uses: bevry-actions/npm@v1.1.7
with:
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}
npmBranchTag: ':next'
Expand Down
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# History

## v2.7.0 2023 December 30

- Rewrote to support a Node.js 10 fallback, and an all Node.js versions fallback, depreacting the use of calling the `find` executable; enabling Windows compatibility
- Added an extremely basic CLI
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
- Thank you to the sponsors: [Andrew Nesbitt](https://nesbitt.io), [Balsa](https://balsa.com), [Codecov](https://codecov.io), [Poonacha Medappa](https://poonachamedappa.com), [Rob Morris](https://github.com/Rob-Morris), [Sentry](https://sentry.io), [Syntax](https://syntax.fm)

## v2.6.0 2023 December 29

- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,22 @@ List the entire contents of a directory.

### [npm](https://npmjs.com "npm is a package manager for javascript")

#### Install Globally

- Install: `npm install --global @bevry/fs-list`
- Executable: `@bevry/fs-list`

#### Install Locally

- Install: `npm install --save @bevry/fs-list`
- Executable: `npx @bevry/fs-list`
- Import: `import pkg from ('@bevry/fs-list')`
- Require: `const pkg = require('@bevry/fs-list').default`

### [Deno](https://deno.land "Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js")

``` typescript
import pkg from 'https://unpkg.com/@bevry/fs-list@^2.6.0/edition-deno/index.ts'
import pkg from 'https://unpkg.com/@bevry/fs-list@^2.7.0/edition-deno/index.ts'
```
### [Editions](https://editions.bevry.me "Editions are the best way to produce and consume packages you care about.")

Expand Down
5 changes: 5 additions & 0 deletions bin.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node
'use strict'
// auto-generated by boundation, do not update manually
/** @type {typeof import("./edition-types/bin.d.ts") } */
module.exports = require('editions').requirePackage(__dirname, require, 'bin.js')

0 comments on commit 1bc4711

Please sign in to comment.