From e8b21b593a93bde6d7fc58a863556bd1a243f416 Mon Sep 17 00:00:00 2001 From: naskya Date: Sat, 2 Dec 2023 06:23:18 +0900 Subject: [PATCH] chore: remove unneeded files --- .node-version | 1 - .npmrc | 1 - .vsls.json | 4 ---- packages/backend/src/boot/master.ts | 4 +--- 4 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 .node-version delete mode 100644 .npmrc delete mode 100644 .vsls.json diff --git a/.node-version b/.node-version deleted file mode 100644 index 8ddbc0c64a..0000000000 --- a/.node-version +++ /dev/null @@ -1 +0,0 @@ -v18.16.0 diff --git a/.npmrc b/.npmrc deleted file mode 100644 index abb787e4c2..0000000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -use-lockfile-v6=true diff --git a/.vsls.json b/.vsls.json deleted file mode 100644 index 3fff862442..0000000000 --- a/.vsls.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "http://json.schemastore.org/vsls", - "gitignore": "exclude" -} diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index bc0dd182c4..f330d69f4b 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -148,9 +148,7 @@ function showNodejsVersion(): void { nodejsLogger.info(`Version ${process.version} detected.`); - const minVersion = fs - .readFileSync(`${_dirname}/../../../../.node-version`, "utf-8") - .trim(); + const minVersion = "v18.16.0"; if (semver.lt(process.version, minVersion)) { nodejsLogger.error(`At least Node.js ${minVersion} required!`); process.exit(1);