chore: remove unneeded files
This commit is contained in:
parent
bb5a6d02ce
commit
e8b21b593a
4 changed files with 1 additions and 9 deletions
|
@ -1 +0,0 @@
|
||||||
v18.16.0
|
|
1
.npmrc
1
.npmrc
|
@ -1 +0,0 @@
|
||||||
use-lockfile-v6=true
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "http://json.schemastore.org/vsls",
|
|
||||||
"gitignore": "exclude"
|
|
||||||
}
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue