From 95c20a3edfab2d1d52817edb48d59c6939ed2b9c Mon Sep 17 00:00:00 2001 From: EvolutionX Date: Sun, 3 Jul 2022 09:36:31 +0530 Subject: [PATCH] chore: update name and add npmignore --- .github/workflows/continuous-integration.yml | 2 +- .github/workflows/release.yml | 2 +- .npmignore | 5 + README.md | 8 +- dumpfiles.js | 99 -------------------- src/commands/help.js | 2 +- 6 files changed, 12 insertions(+), 106 deletions(-) create mode 100644 .npmignore delete mode 100644 dumpfiles.js diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f0bbee9..77224f4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -50,5 +50,5 @@ jobs: - name: Link Project run: npm link - - name: Test Sern + - name: Test sern run: sern diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1ba689..b65603d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Link Project run: npm link - - name: Test Sern + - name: Test sern run: sern - name: Publish to npm diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..60b2443 --- /dev/null +++ b/.npmignore @@ -0,0 +1,5 @@ +renovate.json +tsconfig.json +.prettierignore +.prettierrc +.github/ diff --git a/README.md b/README.md index b4f233f..43669a6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Sern CLI +# sern CLI Our CLI allows you to setup and manage Discord bot projects without writing a single line of code! @@ -28,8 +28,8 @@ When you install the CLI, you can use our commands with **sern** prefix. ``` Usage: sern [options] [command] -Welcome to Sern! -If you're new to Sern, run sern init for an interactive setup to your new bot project! +Welcome to sern! +If you're new to sern, run sern init for an interactive setup to your new bot project! If you have any ideas, suggestions, bug reports, kindly join our support server: https://discord.gg/xzK5fUKT4r @@ -52,7 +52,7 @@ Adding the `-y` flag sets up project as default. ( **Note** : the default initia ## Installing Plugins -Sern runs on your plugins. Contribute to the [repository](https://github.com/sern-handler/awesome-plugins) and then install the plugins via our cli!
+sern runs on your plugins. Contribute to the [repository](https://github.com/sern-handler/awesome-plugins) and then install the plugins via our cli!
Run `sern plugins` to see all installable options ## Stats diff --git a/dumpfiles.js b/dumpfiles.js deleted file mode 100644 index 5c5b9f4..0000000 --- a/dumpfiles.js +++ /dev/null @@ -1,99 +0,0 @@ -//! Message for Sern CLI developers. Please ignore this file. - -const SpinnerName = [ - 'dots', - 'dots2', - 'dots3', - 'dots4', - 'dots5', - 'dots6', - 'dots7', - 'dots8', - 'dots9', - 'dots10', - 'dots11', - 'dots12', - 'dots8Bit', - 'line', - 'line2', - 'pipe', - 'simpleDots', - 'simpleDotsScrolling', - 'star', - 'star2', - 'flip', - 'hamburger', - 'growVertical', - 'growHorizontal', - 'balloon', - 'balloon2', - 'noise', - 'bounce', - 'boxBounce', - 'boxBounce2', - 'triangle', - 'arc', - 'circle', - 'squareCorners', - 'circleQuarters', - 'circleHalves', - 'squish', - 'toggle', - 'toggle2', - 'toggle3', - 'toggle4', - 'toggle5', - 'toggle6', - 'toggle7', - 'toggle8', - 'toggle9', - 'toggle10', - 'toggle11', - 'toggle12', - 'toggle13', - 'arrow', - 'arrow2', - 'arrow3', - 'bouncingBar', - 'bouncingBall', - 'smiley', - 'monkey', - 'hearts', - 'clock', - 'earth', - 'material', - 'moon', - 'runner', - 'pong', - 'shark', - 'dqpb', - 'weather', - 'christmas', - 'grenade', - 'point', - 'layer', - 'betaWave', - 'fingerDance', - 'fistBump', - 'soccerHeader', - 'mindblown', - 'speaker', - 'orangePulse', - 'bluePulse', - 'orangeBluePulse', - 'timeTravel', - 'aesthetic', -]; - -// const p = new Promise((resolve) => { -// SpinnerName.forEach((spin, i, ar) => { -// setTimeout(() => { -// spinner.spinner = spin; -// spinner.text = `Initializing... ${spin}`; -// if (i === ar.length - 1) { -// resolve(); -// } -// }, i * 1000); -// }); -// }); -// p.then(() => spinner.succeed('Finished!')); diff --git a/src/commands/help.js b/src/commands/help.js index 04b2b31..ef01038 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -8,7 +8,7 @@ export function help() { |___/\\___|_| |_| |_| Welcome! - If you're new to ${cyanBright('Sern')}, run ${yellowBright( + If you're new to ${cyanBright('sern')}, run ${yellowBright( 'sern init' )} for an interactive setup to your new bot project!