Skip to content

Commit

Permalink
Merge pull request #285 from trivikr/node23
Browse files Browse the repository at this point in the history
Support Node 23
  • Loading branch information
orta authored Nov 23, 2024
2 parents 501da2b + 619c58d commit 0e2ba35
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,20 @@ Add to your `tsconfig.json`:
```json
"extends": "@tsconfig/node22/tsconfig.json"
```
### Node 23 <kbd><a href="./bases/node23.json">tsconfig.json</a></kbd>

Install:

```sh
npm install --save-dev @tsconfig/node23
yarn add --dev @tsconfig/node23
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/node23/tsconfig.json"
```
### Nuxt <kbd><a href="./bases/nuxt.json">tsconfig.json</a></kbd>

Install:
Expand Down
16 changes: 16 additions & 0 deletions bases/node23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 23",
"_version": "23.0.0",

"compilerOptions": {
"lib": ["es2024"],
"module": "node16",
"target": "es2024",

"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "node16"
}
}

0 comments on commit 0e2ba35

Please sign in to comment.