Skip to content

Commit

Permalink
chore: update deps. (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
knightedcodemonkey authored Dec 13, 2024
1 parent 044308f commit 2c9cd36
Show file tree
Hide file tree
Showing 6 changed files with 502 additions and 451 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
version: ['20.11.0', '22.9.0']
version: ['20.18.1', '22.12.0']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].2
- name: Setup Node
uses: actions/setup-node@v4.0.4
uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.version }}
- name: Install Dependencies
run: npm ci
- name: Save error log
uses: actions/[email protected].0
uses: actions/[email protected].3
if: ${{ failure() }}
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Test
run: npm test
- name: Report Coverage
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Pack
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].2
- name: Setup Node
uses: actions/setup-node@v4.0.4
uses: actions/setup-node@v4.1.0
with:
node-version: '20.11.0'
node-version: '22.12.0'
- name: Install Dependencies
run: npm ci
- name: Save error log
uses: actions/[email protected].0
uses: actions/[email protected].3
if: ${{ failure() }}
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Tool for building a Node.js [dual package](https://nodejs.org/api/packages.html#
First, install this package to create the `duel` executable inside your `node_modules/.bin` directory.

```console
user@comp ~ $ npm i @knighted/duel --save-dev
npm i @knighted/duel --save-dev
```

Then, given a `package.json` that defines `"type": "module"` and a `tsconfig.json` file that looks something like the following:
Expand All @@ -51,7 +51,7 @@ You can create an ES module build for the project defined by the above configura
And then running it:

```console
user@comp ~ $ npm run build
npm run build
```

If everything worked, you should have an ESM build inside of `dist` and a CJS build inside of `dist/cjs`. Now you can update your [`exports`](https://nodejs.org/api/packages.html#exports) to match the build output.
Expand Down
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export default [
ignores: [
// No longer experimental with v22.3.0
'fs/promises.cp',
// No longer experimental with v22.0.0
'test.describe',
],
},
],
Expand Down
Loading

0 comments on commit 2c9cd36

Please sign in to comment.