diff --git a/package.json b/package.json index cfd6e72eaa..da137ca1f0 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "streetmerchant", + "version": "3.4.1", "description": "The world's easiest, most powerful stock checker", "main": "src/index.ts", "scripts": { @@ -17,7 +18,7 @@ "test:notification:production": "node build/test/functional/test-notification.js" }, "engines": { - "node": ">=12.0.0 <15.0.0" + "node": ">=12.0.0 <15.11.0" }, "repository": { "type": "git", diff --git a/src/banner.ts b/src/banner.ts index 3f1eefa186..3029d6bd78 100644 --- a/src/banner.ts +++ b/src/banner.ts @@ -1,7 +1,8 @@ import chalk from 'chalk'; import {readFileSync} from 'fs'; +import path from 'path'; -const version = readFileSync('version.txt', 'utf8'); +const version = readFileSync(path.join(__dirname, '../../version.txt'), 'utf8'); export const banner = { asciiVersion: `