From b60ef307e4289b11a1b9ae475b939e67adfca4c9 Mon Sep 17 00:00:00 2001 From: Snehil Shah Date: Tue, 16 Apr 2024 21:54:20 +0000 Subject: [PATCH 1/2] feat: add a stdlib ascii art in REPL welcome message Signed-off-by: Snehil Shah --- lib/node_modules/@stdlib/repl/lib/welcome_text.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/repl/lib/welcome_text.js b/lib/node_modules/@stdlib/repl/lib/welcome_text.js index e6f6801c2798..8293f1605bf0 100644 --- a/lib/node_modules/@stdlib/repl/lib/welcome_text.js +++ b/lib/node_modules/@stdlib/repl/lib/welcome_text.js @@ -21,8 +21,12 @@ // MAIN // var MSG = [ + ' _ _ _ _ _', + ' ___| |_ __| | (_) |__ | A better REPL for JavaScript and Node.js.', + '/ __| __/ _` | | | \'_ \\ |', + '\\__ \\ || (_| | | | |_) | | For more info about stdlib, see the source repository:', + '|___/\\__\\__,_|_|_|_.__/ | https://github.com/stdlib-js/stdlib', '', - 'A better REPL for JavaScript and Node.js.', // TODO: include platform, copyright, version (see Julia, R, and Python for inspiration) '', @@ -39,10 +43,6 @@ var MSG = [ ' license() Print license information.', ' copyright() Print copyright information.', '', - 'For more info about stdlib, see the source repository:', - '', - ' https://github.com/stdlib-js/stdlib', - '', '' ].join( '\n' ); From cb7c63e9fd4b5c9cb25c94f0fa04245d2a53dff5 Mon Sep 17 00:00:00 2001 From: Snehil Shah Date: Wed, 17 Apr 2024 00:39:43 +0000 Subject: [PATCH 2/2] fix: abbreviate welcome text Signed-off-by: Snehil Shah --- lib/node_modules/@stdlib/repl/lib/welcome_text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/repl/lib/welcome_text.js b/lib/node_modules/@stdlib/repl/lib/welcome_text.js index 8293f1605bf0..08e9aeda7e8b 100644 --- a/lib/node_modules/@stdlib/repl/lib/welcome_text.js +++ b/lib/node_modules/@stdlib/repl/lib/welcome_text.js @@ -24,7 +24,7 @@ var MSG = [ ' _ _ _ _ _', ' ___| |_ __| | (_) |__ | A better REPL for JavaScript and Node.js.', '/ __| __/ _` | | | \'_ \\ |', - '\\__ \\ || (_| | | | |_) | | For more info about stdlib, see the source repository:', + '\\__ \\ || (_| | | | |_) | | For more info, see the source repository:', '|___/\\__\\__,_|_|_|_.__/ | https://github.com/stdlib-js/stdlib', '',