Skip to content

Commit

Permalink
USe script
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Oct 31, 2024
1 parent d983ae1 commit 501da2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bases/node-lts.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node LTS (22)",
"_version": "22.11.0",

"_version": "22.0.0",
"compilerOptions": {
"lib": ["es2023"],
"lib": [
"es2023"
],
"module": "node16",
"target": "es2022",

"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-lts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const baseMajorVersion = (lts.version.match(versionRegex) || [])[1];
const base = `node${baseMajorVersion}`;
const versioned = {
$schema: "https://json.schemastore.org/tsconfig",
display: "Node LTS",
display: `Node LTS (${baseMajorVersion})`,
_version: lts.version.substring(lts.version.indexOf("v") + 1)
};

Expand Down

0 comments on commit 501da2b

Please sign in to comment.