From 5cb95b4d988f76b2c1d609e417daca4a930f748b Mon Sep 17 00:00:00 2001 From: Guillaume Malette Date: Fri, 26 Feb 2021 10:44:44 -0500 Subject: [PATCH 1/3] feat: allow using streetmerchant in another yarn project --- src/banner.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: ` From bc770ec2e5fd7621c939cc0956d116b06e1f59f7 Mon Sep 17 00:00:00 2001 From: Guillaume Malette Date: Fri, 26 Feb 2021 10:45:03 -0500 Subject: [PATCH 2/3] feat: expose the version number as part of the npm package --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d294ad8adc..e961fbba3a 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": { From a2f145eb65ef38f3fcf2d35ef7d93fa323643661 Mon Sep 17 00:00:00 2001 From: Guillaume Malette Date: Fri, 26 Feb 2021 10:45:27 -0500 Subject: [PATCH 3/3] chore: bump support for recent node engines --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e961fbba3a..ce36a2e87e 100644 --- a/package.json +++ b/package.json @@ -18,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",