From 501da2bcd640cf95c95805783e1012b992338f28 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Thu, 31 Oct 2024 14:27:32 +0000 Subject: [PATCH] USe script --- bases/node-lts.json | 8 ++++---- scripts/generate-lts.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bases/node-lts.json b/bases/node-lts.json index c684f26..97fb188 100644 --- a/bases/node-lts.json +++ b/bases/node-lts.json @@ -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, diff --git a/scripts/generate-lts.ts b/scripts/generate-lts.ts index 48e8c1d..74f6569 100644 --- a/scripts/generate-lts.ts +++ b/scripts/generate-lts.ts @@ -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) };