chore: remove unneeded files

This commit is contained in:
naskya 2023-12-02 06:23:18 +09:00
parent bb5a6d02ce
commit e8b21b593a
No known key found for this signature in database
GPG key ID: 164DFF24E2D40139
4 changed files with 1 additions and 9 deletions

View file

@ -1 +0,0 @@
v18.16.0

1
.npmrc
View file

@ -1 +0,0 @@
use-lockfile-v6=true

View file

@ -1,4 +0,0 @@
{
"$schema": "http://json.schemastore.org/vsls",
"gitignore": "exclude"
}

View file

@ -148,9 +148,7 @@ function showNodejsVersion(): void {
nodejsLogger.info(`Version ${process.version} detected.`); nodejsLogger.info(`Version ${process.version} detected.`);
const minVersion = fs const minVersion = "v18.16.0";
.readFileSync(`${_dirname}/../../../../.node-version`, "utf-8")
.trim();
if (semver.lt(process.version, minVersion)) { if (semver.lt(process.version, minVersion)) {
nodejsLogger.error(`At least Node.js ${minVersion} required!`); nodejsLogger.error(`At least Node.js ${minVersion} required!`);
process.exit(1); process.exit(1);