Skip to content

Commit

Permalink
Support Typescript 5.6 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlansley authored Oct 17, 2024
1 parent a89528f commit b79c09c
Show file tree
Hide file tree
Showing 12 changed files with 1,167 additions and 699 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x', '22.x']
node-version: ['20.x', '22.x', '23.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x', '22.x']
node-version: ['20.x', '22.x', '23.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Dependency Review
uses: actions/dependency-review-action@v4
with:
allow-licenses: ${{ vars.ALLOW_LICENSES }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This module contains the standard Check Digit Typescript configuration, along wi

### Typescript Configuration

- currently requires Node 20.13 or above.
- currently requires Node 20.17 or above.
- emits `esnext`, with the default libraries, to avoid down-leveling. It is intended that application spec tests pick
up any issues with using newer features unavailable in a particular environment. Browsers and Node.js are fast-moving
targets, and can add language features at any time.
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js → eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import prettier from 'eslint-config-prettier';

const ignores = [
...(await fs.readFile('.gitignore', 'utf-8')).split('\n').filter((path) => path.trim() !== ''),
'eslint.config.js',
'eslint.config.mjs',
];

export default [
Expand Down
Loading

0 comments on commit b79c09c

Please sign in to comment.