├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
└── pull_request_template.md
├── .gitignore
├── .npmrc
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── FUNDING.yml
├── LICENSE
├── SECURITY.md
├── app.js
├── bin
└── index.js
├── demo.gif
├── package.json
├── readme.md
├── utils
├── codeOfConduct.js
├── contribution.js
├── helpers.js
└── license.js
└── yarn.lock
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Browser [e.g. chrome, safari]
29 | - Version [e.g. 22]
30 |
31 | **Smartphone (please complete the following information):**
32 | - Device: [e.g. iPhone6]
33 | - OS: [e.g. iOS8.1]
34 | - Browser [e.g. stock browser, safari]
35 | - Version [e.g. 22]
36 |
37 | **Additional context**
38 | Add any other context about the problem here.
39 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.github/pull_request_template.md:
--------------------------------------------------------------------------------
1 |
2 | ## Description
3 |
4 |
5 | ## Related Issue
6 |
7 |
8 |
9 |
10 |
11 | ## Motivation and Context
12 |
13 |
14 |
15 |
16 | ## Proposed Changes
17 |
18 |
19 | ### New Feature Submissions:
20 |
21 | 1. [ ] Does your submission pass tests?
22 | 2. [ ] Have you lint your code locally before submission?
23 |
24 | ### Changes to Core Features:
25 |
26 | * [ ] Have you added an explanation of what your changes do and why you'd like us to include them?
27 | * [ ] Have you written new tests for your core changes, as applicable?
28 | * [ ] Have you successfully run tests with your changes locally?
29 |
30 | ## How Has This Been Tested?
31 |
32 |
33 |
34 |
35 | Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
36 |
37 | - [ ] Test A
38 | - [ ] Test B
39 |
40 | **Test Configuration**:
41 | * Firmware version:
42 | * Hardware:
43 | * Toolchain:
44 | * SDK:
45 |
46 | ## Screenshots (if applicable)
47 |
48 |
49 | ## Checklist
50 |
51 |
52 | - [ ] I have performed a self-review of my own code
53 | - [ ] I have commented my code, particularly in hard-to-understand areas
54 | - [ ] I have made corresponding changes to the documentation (if applicable)
55 | - [ ] My changes generate no new warnings or errors
56 | - [ ] I have added tests that prove my fix is effective or that my feature works
57 | - [ ] The code follows the project's coding guidelines and style
58 | - [ ] I have tested the changes locally before pushing them
59 | - [ ] Any dependent changes have been merged and published in downstream modules (if applicable)
60 |
61 | ## Additional Notes
62 |
63 |
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | @Silent-Watcher:registry=https://npm.pkg.github.com
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 |
2 | # Contributor Covenant Code of Conduct
3 |
4 | ## Our Pledge
5 |
6 | We as members, contributors, and leaders pledge to make participation in our
7 | community a harassment-free experience for everyone, regardless of age, body
8 | size, visible or invisible disability, ethnicity, sex characteristics, gender
9 | identity and expression, level of experience, education, socio-economic status,
10 | nationality, personal appearance, race, religion, or sexual identity
11 | and orientation.
12 |
13 | We pledge to act and interact in ways that contribute to an open, welcoming,
14 | diverse, inclusive, and healthy community.
15 |
16 | ## Our Standards
17 |
18 | Examples of behavior that contributes to a positive environment for our
19 | community include:
20 |
21 | * Demonstrating empathy and kindness toward other people
22 | * Being respectful of differing opinions, viewpoints, and experiences
23 | * Giving and gracefully accepting constructive feedback
24 | * Accepting responsibility and apologizing to those affected by our mistakes,
25 | and learning from the experience
26 | * Focusing on what is best not just for us as individuals, but for the
27 | overall community
28 |
29 | Examples of unacceptable behavior include:
30 |
31 | * The use of sexualized language or imagery, and sexual attention or
32 | advances of any kind
33 | * Trolling, insulting or derogatory comments, and personal or political attacks
34 | * Public or private harassment
35 | * Publishing others' private information, such as a physical or email
36 | address, without their explicit permission
37 | * Other conduct which could reasonably be considered inappropriate in a
38 | professional setting
39 |
40 | ## Enforcement Responsibilities
41 |
42 | Community leaders are responsible for clarifying and enforcing our standards of
43 | acceptable behavior and will take appropriate and fair corrective action in
44 | response to any behavior that they deem inappropriate, threatening, offensive,
45 | or harmful.
46 |
47 | Community leaders have the right and responsibility to remove, edit, or reject
48 | comments, commits, code, wiki edits, issues, and other contributions that are
49 | not aligned to this Code of Conduct, and will communicate reasons for moderation
50 | decisions when appropriate.
51 |
52 | ## Scope
53 |
54 | This Code of Conduct applies within all community spaces, and also applies when
55 | an individual is officially representing the community in public spaces.
56 | Examples of representing our community include using an official e-mail address,
57 | posting via an official social media account, or acting as an appointed
58 | representative at an online or offline event.
59 |
60 | ## Enforcement
61 |
62 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
63 | reported to the community leaders responsible for enforcement at
64 | alitabatabaee20@gmail.com.
65 | All complaints will be reviewed and investigated promptly and fairly.
66 |
67 | All community leaders are obligated to respect the privacy and security of the
68 | reporter of any incident.
69 |
70 | ## Enforcement Guidelines
71 |
72 | Community leaders will follow these Community Impact Guidelines in determining
73 | the consequences for any action they deem in violation of this Code of Conduct:
74 |
75 | ### 1. Correction
76 |
77 | **Community Impact**: Use of inappropriate language or other behavior deemed
78 | unprofessional or unwelcome in the community.
79 |
80 | **Consequence**: A private, written warning from community leaders, providing
81 | clarity around the nature of the violation and an explanation of why the
82 | behavior was inappropriate. A public apology may be requested.
83 |
84 | ### 2. Warning
85 |
86 | **Community Impact**: A violation through a single incident or series
87 | of actions.
88 |
89 | **Consequence**: A warning with consequences for continued behavior. No
90 | interaction with the people involved, including unsolicited interaction with
91 | those enforcing the Code of Conduct, for a specified period of time. This
92 | includes avoiding interactions in community spaces as well as external channels
93 | like social media. Violating these terms may lead to a temporary or
94 | permanent ban.
95 |
96 | ### 3. Temporary Ban
97 |
98 | **Community Impact**: A serious violation of community standards, including
99 | sustained inappropriate behavior.
100 |
101 | **Consequence**: A temporary ban from any sort of interaction or public
102 | communication with the community for a specified period of time. No public or
103 | private interaction with the people involved, including unsolicited interaction
104 | with those enforcing the Code of Conduct, is allowed during this period.
105 | Violating these terms may lead to a permanent ban.
106 |
107 | ### 4. Permanent Ban
108 |
109 | **Community Impact**: Demonstrating a pattern of violation of community
110 | standards, including sustained inappropriate behavior, harassment of an
111 | individual, or aggression toward or disparagement of classes of individuals.
112 |
113 | **Consequence**: A permanent ban from any sort of public interaction within
114 | the community.
115 |
116 | ## Attribution
117 |
118 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119 | version 2.0, available at
120 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
121 |
122 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
123 | enforcement ladder](https://github.com/mozilla/diversity).
124 |
125 | [homepage]: https://www.contributor-covenant.org
126 |
127 | For answers to common questions about this code of conduct, see the FAQ at
128 | https://www.contributor-covenant.org/faq. Translations are available at
129 | https://www.contributor-covenant.org/translations.
130 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 |
2 | # Contribution Guidelines
3 |
4 | ### Read the documentation:
5 | Before contributing to the project, make sure to read the documentation thoroughly. This will help you understand the project's goals, structure, and coding conventions.
6 |
7 | ### Fork the project:
8 | Fork the project to your own GitHub account. This will create a copy of the project that you can make changes to without affecting the original project.
9 |
10 | ### Create a new branch:
11 | Create a new branch in your forked project for your changes. This will help keep your changes separate from the original code and make it easier to merge your changes back into the main project.
12 |
13 | ### Write clear and concise code:
14 | Write code that is easy to understand and follow. Use descriptive variable and function names, and comment your code where necessary.
15 |
16 | ### Test your changes:
17 | Before submitting your changes, make sure to test them thoroughly. This will help ensure that your changes work as expected and do not introduce any new bugs.
18 |
19 | ### Follow the project's coding standards:
20 | Make sure to follow the project's coding standards, which are usually listed in the documentation. This includes things like indentation, whitespace, and naming conventions.
21 |
22 | ### Submit a pull request:
23 | When you are ready to contribute your changes back to the main project, submit a pull request. This will allow the project maintainers to review your changes and merge them into the main project if they are deemed appropriate.
24 |
25 | ### 🤗 Be kind and respectful:
26 | Remember that you are contributing to a community project. Be respectful of others' contributions and opinions, and be open to feedback on your own work. Avoid using offensive language or engaging in personal attacks.
27 |
28 |
--------------------------------------------------------------------------------
/FUNDING.yml:
--------------------------------------------------------------------------------
1 | custom: [
2 | https://reymit.ir/tabataba
3 | ]
4 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | MIT License
3 |
4 | Copyright (c) 2023 Ali t.nazari
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in all
14 | copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | SOFTWARE.
23 |
24 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 | CLIDocMaster is committed to ensuring the security and privacy of its users.
3 | This document outlines the security policy for the project, including guidelines, reporting vulnerabilities, and the project's response to security concerns.
4 |
5 | ## Supported Versions
6 |
7 | The following table provides information about the currently supported versions of the CLIDocMaster project and the associated security updates:
8 |
9 | | Version | Supported |
10 | | ------- | ------------------ |
11 | | 1.0.x | :white_check_mark: |
12 | | 0.1.x | :x: |
13 |
14 |
15 | ## Reporting a Vulnerability
16 |
17 | If you discover any security vulnerabilities or potential risks within CLIDocMaster project, please report them immediately to our security team. To report a vulnerability, follow these steps:
18 |
19 | 1. Email us at alitabatabaee20@gmail.com with the subject line "CLIDocMaster Security Vulnerability."
20 |
21 | 2. Provide a detailed description of the vulnerability, including the steps to reproduce it, potential impact, and any relevant information.
22 |
23 | 3. If possible, include any proof-of-concept code, logs, or screenshots that demonstrate the vulnerability.
24 |
25 | 4. Our security team will acknowledge your report within 48 hours and work with you to understand and validate the issue.
26 |
27 | 5. We kindly request that you refrain from publicly disclosing the vulnerability until we have had sufficient time to address and remediate the issue.
28 |
29 | ##Security Response
30 | 1. Once a security vulnerability is reported, our security team will review and validate the issue.
31 | 2. We will work diligently to develop a fix or mitigation strategy for the vulnerability.
32 | 3. The fix or mitigation will be implemented in the latest supported version of the project.
33 | 4. A new release containing the security patch will be published as soon as possible.
34 | 5. The security vulnerability will be publicly disclosed, along with the details of the fix, to ensure transparency and awareness among users.
35 |
36 | ## Best Practices
37 | To enhance the security of theCLIDocMaster project, we recommend the following best practices:
38 | - Keep your system and dependencies up to date with the latest security patches.
39 | - Regularly review and audit the project's dependencies for known vulnerabilities.
40 | - Use strong and unique passwords for any associated accounts or services.
41 | - Be cautious when executing third-party scripts or code, as they may pose security risks.
42 | - Verify the integrity of the project's releases by checking digital signatures or hashes when available.
43 |
44 | ## Conclusion
45 | the CLIDocMaster project is dedicated to providing a secure and reliable gaming experience.
46 | By following responsible disclosure practices and collaborating with the security community, we strive to promptly address any security concerns. We appreciate the efforts of researchers and users who contribute to the security of the project.
47 |
48 | If you have any further questions or need additional information, please reach out to our security team at alitabatabaee20@gmail.com 😁
49 |
--------------------------------------------------------------------------------
/app.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import figlet from 'figlet';
3 | import { createSpinner } from 'nanospinner';
4 | import chalk from 'chalk';
5 | import inquirer from 'inquirer';
6 | import { fileURLToPath } from 'url';
7 | import fs from 'fs';
8 | import path from 'path';
9 | import { askForAuthorEmail } from './utils/helpers.js';
10 | import { askForLicenseType, createLicenseFile } from './utils/license.js';
11 | import { createCodeOfConductFile } from './utils/codeOfConduct.js';
12 | import { createContributionFile } from './utils/contribution.js';
13 |
14 | const __filename = fileURLToPath(import.meta.url);
15 | const __dirname = path.dirname(__filename);
16 |
17 | function sleep(ms) {
18 | return new Promise((res, rej) => {
19 | setTimeout(res, ms);
20 | });
21 | }
22 |
23 | function addSpinner(name, text, color = 'blue') {
24 | const spinner = createSpinner(name).start({
25 | text: text,
26 | color: color,
27 | });
28 | return spinner;
29 | }
30 |
31 | function createBanner(name) {
32 | let banner = figlet.textSync(name, {
33 | horizontalLayout: 'default',
34 | verticalLayout: 'default',
35 | width: 130,
36 | whitespaceBreak: true,
37 | });
38 | return banner;
39 | }
40 |
41 | function showBanner() {
42 | console.log(createBanner('CLI Readme Generator !'));
43 | }
44 |
45 | function showIntroduction() {
46 | console.log(`
47 | The ${chalk.blueBright(
48 | 'CLI README File Generator'
49 | )} is a command-line tool designed to
50 | ${chalk.blue('Simplify')} and ${chalk.blue(
51 | 'Automate'
52 | )} the creation of comprehensive ${chalk.blue(
53 | 'README files'
54 | )} for your software projects
55 | `);
56 | console.log(`⭐️ Star our GitHub repo and light up the way!:
57 | \n
58 | https://github.com
59 | `);
60 | }
61 |
62 | async function askForReadmeType() {
63 | let answer = await inquirer.prompt({
64 | type: 'list',
65 | name: 'type',
66 | message: 'choose one of the options down below:',
67 | choices: [
68 | 'Code of conduct template',
69 | 'Contributing template',
70 | 'License file',
71 | // 'Security policy template', coming soon !
72 | // 'Issue templates', coming soon !
73 | // 'Pull request template', coming soon !
74 | 'exit',
75 | ],
76 | });
77 | return answer;
78 | }
79 |
80 | async function handleReadMeTypeAnswer(type) {
81 | if (type === 'License file') {
82 | let licenseType = await askForLicenseType();
83 | await startCreationProcess(createLicenseFile, licenseType);
84 | }
85 | if (type === 'Code of conduct template') {
86 | let authorEmail = await askForAuthorEmail();
87 | await startCreationProcess(createCodeOfConductFile, authorEmail);
88 | }
89 | if (type === 'Contributing template') {
90 | await startCreationProcess(createContributionFile);
91 | }
92 | if (type === 'exit') {
93 | console.log('Get back another time!');
94 | process.exit(1);
95 | }
96 | }
97 |
98 | async function init() {
99 | const intro_spinner = addSpinner('intro', 'loading ...', 'blue');
100 | await sleep(2000);
101 | intro_spinner.success({ text: 'Hi and Welcome !' });
102 | showBanner();
103 | showIntroduction();
104 | let readme = await askForReadmeType();
105 | await handleReadMeTypeAnswer(readme.type);
106 | }
107 |
108 |
109 | async function startCreationProcess(func, param = '') {
110 | let { processResult, fileName } = await func(param);
111 | let spinner = addSpinner('spinner', `generating ${fileName}...`);
112 | await sleep(3000);
113 | if (processResult) {
114 | spinner.success({ text: `${fileName} created successfully!` });
115 | } else {
116 | spinner.error({ text: 'something went wrong!' });
117 | }
118 | let readme = await askForReadmeType();
119 | await handleReadMeTypeAnswer(readme.type);
120 | }
121 |
122 | export default init;
--------------------------------------------------------------------------------
/bin/index.js:
--------------------------------------------------------------------------------
1 | #! /usr/bin/env node
2 | import init from "../app.js";
3 |
4 | init();
5 |
6 |
--------------------------------------------------------------------------------
/demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Silent-Watcher/CLIDocMaster/aaa3043567d8fae1d43c86ed43394656eb3ad0a3/demo.gif
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@Silent-Watcher/cli-doc-master",
3 | "author": {
4 | "name": "silent-watcher"
5 | },
6 | "bin": {
7 | "cli-doc-master": "bin/index.js"
8 | },
9 | "version": "1.2.6",
10 | "main": "app.js",
11 | "license": "MIT",
12 | "repository": {
13 | "type": "git",
14 | "url": "https://github.com/Silent-Watcher/CLIDocMaster"
15 | },
16 | "type": "module",
17 | "scripts": {
18 | "start": "node app.js"
19 | },
20 | "dependencies": {
21 | "chalk": "^5.2.0",
22 | "figlet": "^1.6.0",
23 | "gradient-string": "^2.0.2",
24 | "inquirer": "^9.2.6",
25 | "nanospinner": "^1.1.0"
26 | },
27 | "keywords": [
28 | "CLI documentation",
29 | "Readme generator",
30 | "Command-line tool",
31 | "Documentation automation",
32 | "CLI application",
33 | "Documentation management",
34 | "Documentation generator",
35 | "CLI readme",
36 | "Command-line documentation",
37 | "CLI project management",
38 | "Readme authoring",
39 | "Command-line interface tool",
40 | "Developer productivity",
41 | "Documentation efficiency",
42 | "Readme enhancement"
43 | ]
44 | }
45 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | # CLIDocMaster
2 |
3 | CLIDocMaster is a command-line interface (CLI) application written in Node.js that automates the process of generating documentation for your CLI applications.
4 |
5 |

6 |
7 | [](https://github.com/Silent-Watcher/cli-word-guessing-game)
8 |
9 | ## Table of Contents
10 |
11 | - [Features](https://github.com/Silent-Watcher/CLIDocMaster#features)
12 | - [preview](https://github.com/Silent-Watcher/CLIDocMaster#preview)
13 | - [Prerequisites](https://github.com/Silent-Watcher/CLIDocMaster#Prerequisites)
14 | - [usage](https://github.com/Silent-Watcher/CLIDocMaster#usage)
15 | - [Installation](https://github.com/Silent-Watcher/CLIDocMaster#Installation)
16 | - [Contributing](https://github.com/Silent-Watcher/CLIDocMaster#Contributing)
17 | - [Contact](https://github.com/Silent-Watcher/CLIDocMaster#Contact)
18 | - [License](https://github.com/Silent-Watcher/CLIDocMaster#License)
19 |
20 | ## Features
21 |
22 | - Command-Line Interface
23 | - Automatic Documentation Generation
24 | - Markdown Support
25 |
26 | ## Preview
27 |
28 |
29 |
30 | ## Prerequisites
31 |
32 | In order to run this project, you will need to have the following installed on your computer:
33 |
34 | - nodejs
35 | - yarn | npm
36 |
37 | ## usage
38 |
39 | To start the app, run the following command:
40 |
41 | ```bash
42 | npx cli-doc-master
43 | ```
44 |
45 | ## Installation
46 |
47 | To install the application, follow these steps:
48 |
49 | 1. Clone the repository to your local machine:
50 |
51 | ```bash
52 | git clone https://github.com/Silent-Watcher/CLIDocMaster
53 | ```
54 |
55 | 2. Navigate to the project directory in your terminal.
56 |
57 | ```bash
58 | cd CLIDocMaster
59 | ```
60 |
61 | 3. Run `yarn` to install the necessary packages.
62 |
63 | ```bash
64 | yarn
65 | ```
66 |
67 |
68 |
69 |
70 | ## Contributing
71 |
72 | Contributions to this project are welcome.
73 | If you encounter any issues or have suggestions for improvement, please open an issue on the GitHub repository.
74 |
75 | Before contributing, please review the contribution guidelines.
76 |
77 | ## Contact
78 |
79 | For additional information or inquiries, you can reach out to the project maintainer:
80 |
81 | - Name: Silent-Watcher
82 | - Email: alitabatabaee20@mail.com
83 |
84 | Feel free to contact the maintainer for any questions or feedback regarding the project.
85 |
86 | ## License
87 |
88 | [MIT](https://choosealicense.com/licenses/mit/)
89 |
90 | This project is licensed under the MIT License. You are free to modify, distribute, and use the code for personal and commercial purposes. See the LICENSE file for details.
91 |
92 | ## Sponsor ❤
93 | If you like this project, please give it a star ⭐ and/or consider buying me a coffee(s). Every donation is appreciated.
94 |
95 |
96 |
97 |
98 |
99 |
100 |
--------------------------------------------------------------------------------
/utils/codeOfConduct.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import fs from 'node:fs';
3 | import path from 'path';
4 | import { fileURLToPath } from 'url';
5 | import { isTheFileGenerated } from './helpers.js';
6 |
7 | const __filename = fileURLToPath(import.meta.url);
8 | const __dirname = path.dirname(__filename);
9 |
10 | function createCodeOfConductFile(email = 'example@gmail.com') {
11 | let processResult;
12 | const fileName = 'CODE_OF_CONDUCT.md';
13 | let CodeOfConductTemplate = `
14 | # Contributor Covenant Code of Conduct
15 |
16 | ## Our Pledge
17 |
18 | We as members, contributors, and leaders pledge to make participation in our
19 | community a harassment-free experience for everyone, regardless of age, body
20 | size, visible or invisible disability, ethnicity, sex characteristics, gender
21 | identity and expression, level of experience, education, socio-economic status,
22 | nationality, personal appearance, race, religion, or sexual identity
23 | and orientation.
24 |
25 | We pledge to act and interact in ways that contribute to an open, welcoming,
26 | diverse, inclusive, and healthy community.
27 |
28 | ## Our Standards
29 |
30 | Examples of behavior that contributes to a positive environment for our
31 | community include:
32 |
33 | * Demonstrating empathy and kindness toward other people
34 | * Being respectful of differing opinions, viewpoints, and experiences
35 | * Giving and gracefully accepting constructive feedback
36 | * Accepting responsibility and apologizing to those affected by our mistakes,
37 | and learning from the experience
38 | * Focusing on what is best not just for us as individuals, but for the
39 | overall community
40 |
41 | Examples of unacceptable behavior include:
42 |
43 | * The use of sexualized language or imagery, and sexual attention or
44 | advances of any kind
45 | * Trolling, insulting or derogatory comments, and personal or political attacks
46 | * Public or private harassment
47 | * Publishing others' private information, such as a physical or email
48 | address, without their explicit permission
49 | * Other conduct which could reasonably be considered inappropriate in a
50 | professional setting
51 |
52 | ## Enforcement Responsibilities
53 |
54 | Community leaders are responsible for clarifying and enforcing our standards of
55 | acceptable behavior and will take appropriate and fair corrective action in
56 | response to any behavior that they deem inappropriate, threatening, offensive,
57 | or harmful.
58 |
59 | Community leaders have the right and responsibility to remove, edit, or reject
60 | comments, commits, code, wiki edits, issues, and other contributions that are
61 | not aligned to this Code of Conduct, and will communicate reasons for moderation
62 | decisions when appropriate.
63 |
64 | ## Scope
65 |
66 | This Code of Conduct applies within all community spaces, and also applies when
67 | an individual is officially representing the community in public spaces.
68 | Examples of representing our community include using an official e-mail address,
69 | posting via an official social media account, or acting as an appointed
70 | representative at an online or offline event.
71 |
72 | ## Enforcement
73 |
74 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
75 | reported to the community leaders responsible for enforcement at
76 | ${email}.
77 | All complaints will be reviewed and investigated promptly and fairly.
78 |
79 | All community leaders are obligated to respect the privacy and security of the
80 | reporter of any incident.
81 |
82 | ## Enforcement Guidelines
83 |
84 | Community leaders will follow these Community Impact Guidelines in determining
85 | the consequences for any action they deem in violation of this Code of Conduct:
86 |
87 | ### 1. Correction
88 |
89 | **Community Impact**: Use of inappropriate language or other behavior deemed
90 | unprofessional or unwelcome in the community.
91 |
92 | **Consequence**: A private, written warning from community leaders, providing
93 | clarity around the nature of the violation and an explanation of why the
94 | behavior was inappropriate. A public apology may be requested.
95 |
96 | ### 2. Warning
97 |
98 | **Community Impact**: A violation through a single incident or series
99 | of actions.
100 |
101 | **Consequence**: A warning with consequences for continued behavior. No
102 | interaction with the people involved, including unsolicited interaction with
103 | those enforcing the Code of Conduct, for a specified period of time. This
104 | includes avoiding interactions in community spaces as well as external channels
105 | like social media. Violating these terms may lead to a temporary or
106 | permanent ban.
107 |
108 | ### 3. Temporary Ban
109 |
110 | **Community Impact**: A serious violation of community standards, including
111 | sustained inappropriate behavior.
112 |
113 | **Consequence**: A temporary ban from any sort of interaction or public
114 | communication with the community for a specified period of time. No public or
115 | private interaction with the people involved, including unsolicited interaction
116 | with those enforcing the Code of Conduct, is allowed during this period.
117 | Violating these terms may lead to a permanent ban.
118 |
119 | ### 4. Permanent Ban
120 |
121 | **Community Impact**: Demonstrating a pattern of violation of community
122 | standards, including sustained inappropriate behavior, harassment of an
123 | individual, or aggression toward or disparagement of classes of individuals.
124 |
125 | **Consequence**: A permanent ban from any sort of public interaction within
126 | the community.
127 |
128 | ## Attribution
129 |
130 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
131 | version 2.0, available at
132 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
133 |
134 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
135 | enforcement ladder](https://github.com/mozilla/diversity).
136 |
137 | [homepage]: https://www.contributor-covenant.org
138 |
139 | For answers to common questions about this code of conduct, see the FAQ at
140 | https://www.contributor-covenant.org/faq. Translations are available at
141 | https://www.contributor-covenant.org/translations.\n`;
142 |
143 | fs.writeFileSync(__dirname + `/../${fileName}`, CodeOfConductTemplate, {
144 | flag: 'a',
145 | encoding: 'utf-8',
146 | });
147 |
148 | processResult = isTheFileGenerated(fileName);
149 |
150 | return { processResult, fileName };
151 | }
152 |
153 | export { createCodeOfConductFile };
154 |
--------------------------------------------------------------------------------
/utils/contribution.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import fs from 'node:fs';
3 | import path from 'path';
4 | import { fileURLToPath } from 'url';
5 | const __filename = fileURLToPath(import.meta.url);
6 | const __dirname = path.dirname(__filename);
7 | import { isTheFileGenerated } from './helpers.js';
8 |
9 | function createContributionFile() {
10 | let processResult ;
11 | const fileName = 'CONTRIBUTING.md';
12 | let contributionTemplate = `
13 | # Contribution Guidelines
14 |
15 | ### Read the documentation:
16 | Before contributing to the project, make sure to read the documentation thoroughly. This will help you understand the project's goals, structure, and coding conventions.
17 |
18 | ### Fork the project:
19 | Fork the project to your own GitHub account. This will create a copy of the project that you can make changes to without affecting the original project.
20 |
21 | ### Create a new branch:
22 | Create a new branch in your forked project for your changes. This will help keep your changes separate from the original code and make it easier to merge your changes back into the main project.
23 |
24 | ### Write clear and concise code:
25 | Write code that is easy to understand and follow. Use descriptive variable and function names, and comment your code where necessary.
26 |
27 | ### Test your changes:
28 | Before submitting your changes, make sure to test them thoroughly. This will help ensure that your changes work as expected and do not introduce any new bugs.
29 |
30 | ### Follow the project's coding standards:
31 | Make sure to follow the project's coding standards, which are usually listed in the documentation. This includes things like indentation, whitespace, and naming conventions.
32 |
33 | ### Submit a pull request:
34 | When you are ready to contribute your changes back to the main project, submit a pull request. This will allow the project maintainers to review your changes and merge them into the main project if they are deemed appropriate.
35 |
36 | ### 🤗 Be kind and respectful:
37 | Remember that you are contributing to a community project. Be respectful of others' contributions and opinions, and be open to feedback on your own work. Avoid using offensive language or engaging in personal attacks.\n
38 | `;
39 |
40 | fs.writeFileSync(__dirname + `/../${fileName}`, contributionTemplate, {
41 | flag: 'a',
42 | encoding: 'utf-8',
43 | });
44 |
45 | processResult = isTheFileGenerated(fileName);
46 | return {processResult , fileName }
47 | }
48 |
49 | export { createContributionFile };
50 |
--------------------------------------------------------------------------------
/utils/helpers.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import inquirer from 'inquirer';
3 | import fs from 'fs';
4 | import path from 'path';
5 | import { fileURLToPath } from 'url';
6 | const __filename = fileURLToPath(import.meta.url);
7 | const __dirname = path.dirname(__filename);
8 |
9 | async function askForAuthorName() {
10 | let answer = await inquirer.prompt({
11 | type: 'input',
12 | name: 'AuthorName',
13 | message: 'Who is the author ?',
14 | });
15 | return answer.AuthorName;
16 | }
17 |
18 | async function askForAuthorEmail() {
19 | let answer = await inquirer.prompt({
20 | type: 'input',
21 | name: 'emailAuthor',
22 | message: 'Enter your email address',
23 | });
24 | return answer.emailAuthor;
25 | }
26 |
27 | function isTheFileGenerated(name) {
28 | return fs.existsSync(path.join(__dirname , '/../' , name));
29 | }
30 |
31 | export { askForAuthorName ,askForAuthorEmail , isTheFileGenerated };
32 |
--------------------------------------------------------------------------------
/utils/license.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | import fs from 'node:fs';
3 | import path from 'path';
4 | import inquirer from 'inquirer';
5 | import { fileURLToPath } from 'url';
6 | import { askForAuthorName, isTheFileGenerated } from './helpers.js';
7 |
8 | const __filename = fileURLToPath(import.meta.url);
9 | const __dirname = path.dirname(__filename);
10 |
11 | async function createMITLicenseFile() {
12 | const outputFileName = 'LICENSE';
13 | let author = await askForAuthorName();
14 | let currentYear = new Date().getFullYear();
15 | let MITTemplate = `
16 | MIT License
17 |
18 | Copyright (c) ${currentYear} ${author}
19 |
20 | Permission is hereby granted, free of charge, to any person obtaining a copy
21 | of this software and associated documentation files (the "Software"), to deal
22 | in the Software without restriction, including without limitation the rights
23 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24 | copies of the Software, and to permit persons to whom the Software is
25 | furnished to do so, subject to the following conditions:
26 |
27 | The above copyright notice and this permission notice shall be included in all
28 | copies or substantial portions of the Software.
29 |
30 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36 | SOFTWARE.\n
37 | `;
38 |
39 | fs.writeFileSync(__dirname + `/../${outputFileName}`, MITTemplate, {
40 | flag: 'a',
41 | encoding: 'utf-8',
42 | });
43 |
44 | return outputFileName;
45 | }
46 |
47 | async function createLicenseFile(type = 'MIT') {
48 | let processResult;
49 | let fileName;
50 | if (type === 'MIT') {
51 | fileName = await createMITLicenseFile();
52 | processResult = isTheFileGenerated(fileName);
53 | }
54 | return { processResult, fileName };
55 | }
56 |
57 | async function askForLicenseType() {
58 | let answer = await inquirer.prompt({
59 | type: 'list',
60 | name: 'type',
61 | message: 'choose your license:',
62 | choices: ['MIT'],
63 | });
64 | return answer.type;
65 | }
66 |
67 | export { askForLicenseType, createLicenseFile };
68 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | ansi-escapes@^4.3.2:
6 | version "4.3.2"
7 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"
8 | integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==
9 | dependencies:
10 | type-fest "^0.21.3"
11 |
12 | ansi-regex@^5.0.1:
13 | version "5.0.1"
14 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
15 | integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
16 |
17 | ansi-styles@^4.0.0, ansi-styles@^4.1.0:
18 | version "4.3.0"
19 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
20 | integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
21 | dependencies:
22 | color-convert "^2.0.1"
23 |
24 | base64-js@^1.3.1:
25 | version "1.5.1"
26 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
27 | integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
28 |
29 | bl@^4.1.0:
30 | version "4.1.0"
31 | resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a"
32 | integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==
33 | dependencies:
34 | buffer "^5.5.0"
35 | inherits "^2.0.4"
36 | readable-stream "^3.4.0"
37 |
38 | buffer@^5.5.0:
39 | version "5.7.1"
40 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
41 | integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
42 | dependencies:
43 | base64-js "^1.3.1"
44 | ieee754 "^1.1.13"
45 |
46 | chalk@^4.1.0:
47 | version "4.1.2"
48 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
49 | integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
50 | dependencies:
51 | ansi-styles "^4.1.0"
52 | supports-color "^7.1.0"
53 |
54 | chalk@^5.2.0:
55 | version "5.2.0"
56 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3"
57 | integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==
58 |
59 | chardet@^0.7.0:
60 | version "0.7.0"
61 | resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
62 | integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
63 |
64 | cli-cursor@^3.1.0:
65 | version "3.1.0"
66 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307"
67 | integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==
68 | dependencies:
69 | restore-cursor "^3.1.0"
70 |
71 | cli-spinners@^2.5.0:
72 | version "2.9.0"
73 | resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.0.tgz#5881d0ad96381e117bbe07ad91f2008fe6ffd8db"
74 | integrity sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==
75 |
76 | cli-width@^4.0.0:
77 | version "4.0.0"
78 | resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-4.0.0.tgz#a5622f6a3b0a9e3e711a25f099bf2399f608caf6"
79 | integrity sha512-ZksGS2xpa/bYkNzN3BAw1wEjsLV/ZKOf/CCrJ/QOBsxx6fOARIkwTutxp1XIOIohi6HKmOFjMoK/XaqDVUpEEw==
80 |
81 | clone@^1.0.2:
82 | version "1.0.4"
83 | resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
84 | integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==
85 |
86 | color-convert@^2.0.1:
87 | version "2.0.1"
88 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
89 | integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
90 | dependencies:
91 | color-name "~1.1.4"
92 |
93 | color-name@~1.1.4:
94 | version "1.1.4"
95 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
96 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
97 |
98 | defaults@^1.0.3:
99 | version "1.0.4"
100 | resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a"
101 | integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==
102 | dependencies:
103 | clone "^1.0.2"
104 |
105 | emoji-regex@^8.0.0:
106 | version "8.0.0"
107 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
108 | integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
109 |
110 | escape-string-regexp@^5.0.0:
111 | version "5.0.0"
112 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8"
113 | integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==
114 |
115 | external-editor@^3.0.3:
116 | version "3.1.0"
117 | resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495"
118 | integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==
119 | dependencies:
120 | chardet "^0.7.0"
121 | iconv-lite "^0.4.24"
122 | tmp "^0.0.33"
123 |
124 | figlet@^1.6.0:
125 | version "1.6.0"
126 | resolved "https://registry.yarnpkg.com/figlet/-/figlet-1.6.0.tgz#812050fa9f01043b4d44ddeb11f20fb268fa4b93"
127 | integrity sha512-31EQGhCEITv6+hi2ORRPyn3bulaV9Fl4xOdR169cBzH/n1UqcxsiSB/noo6SJdD7Kfb1Ljit+IgR1USvF/XbdA==
128 |
129 | figures@^5.0.0:
130 | version "5.0.0"
131 | resolved "https://registry.yarnpkg.com/figures/-/figures-5.0.0.tgz#126cd055052dea699f8a54e8c9450e6ecfc44d5f"
132 | integrity sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==
133 | dependencies:
134 | escape-string-regexp "^5.0.0"
135 | is-unicode-supported "^1.2.0"
136 |
137 | has-flag@^4.0.0:
138 | version "4.0.0"
139 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
140 | integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
141 |
142 | iconv-lite@^0.4.24:
143 | version "0.4.24"
144 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
145 | integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
146 | dependencies:
147 | safer-buffer ">= 2.1.2 < 3"
148 |
149 | ieee754@^1.1.13:
150 | version "1.2.1"
151 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
152 | integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
153 |
154 | inherits@^2.0.3, inherits@^2.0.4:
155 | version "2.0.4"
156 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
157 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
158 |
159 | inquirer@^9.2.6:
160 | version "9.2.7"
161 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-9.2.7.tgz#61e00658efa9b4c76a83c2c3cb3ceb88fec70ac7"
162 | integrity sha512-Bf52lnfvNxGPJPltiNO2tLBp3zC339KNlGMqOkW+dsvNikBhcVDK5kqU2lVX2FTPzuXUFX5WJDlsw//w3ZwoTw==
163 | dependencies:
164 | ansi-escapes "^4.3.2"
165 | chalk "^5.2.0"
166 | cli-cursor "^3.1.0"
167 | cli-width "^4.0.0"
168 | external-editor "^3.0.3"
169 | figures "^5.0.0"
170 | lodash "^4.17.21"
171 | mute-stream "1.0.0"
172 | ora "^5.4.1"
173 | run-async "^3.0.0"
174 | rxjs "^7.8.1"
175 | string-width "^4.2.3"
176 | strip-ansi "^6.0.1"
177 | through "^2.3.6"
178 | wrap-ansi "^6.0.1"
179 |
180 | is-fullwidth-code-point@^3.0.0:
181 | version "3.0.0"
182 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
183 | integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
184 |
185 | is-interactive@^1.0.0:
186 | version "1.0.0"
187 | resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e"
188 | integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==
189 |
190 | is-unicode-supported@^0.1.0:
191 | version "0.1.0"
192 | resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
193 | integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
194 |
195 | is-unicode-supported@^1.2.0:
196 | version "1.3.0"
197 | resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714"
198 | integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==
199 |
200 | lodash@^4.17.21:
201 | version "4.17.21"
202 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
203 | integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
204 |
205 | log-symbols@^4.1.0:
206 | version "4.1.0"
207 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503"
208 | integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==
209 | dependencies:
210 | chalk "^4.1.0"
211 | is-unicode-supported "^0.1.0"
212 |
213 | mimic-fn@^2.1.0:
214 | version "2.1.0"
215 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
216 | integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
217 |
218 | mute-stream@1.0.0:
219 | version "1.0.0"
220 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-1.0.0.tgz#e31bd9fe62f0aed23520aa4324ea6671531e013e"
221 | integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==
222 |
223 | nanospinner@^1.1.0:
224 | version "1.1.0"
225 | resolved "https://registry.yarnpkg.com/nanospinner/-/nanospinner-1.1.0.tgz#d17ff621cb1784b0a206b400da88a0ef6db39b97"
226 | integrity sha512-yFvNYMig4AthKYfHFl1sLj7B2nkHL4lzdig4osvl9/LdGbXwrdFRoqBS98gsEsOakr0yH+r5NZ/1Y9gdVB8trA==
227 | dependencies:
228 | picocolors "^1.0.0"
229 |
230 | onetime@^5.1.0:
231 | version "5.1.2"
232 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e"
233 | integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==
234 | dependencies:
235 | mimic-fn "^2.1.0"
236 |
237 | ora@^5.4.1:
238 | version "5.4.1"
239 | resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18"
240 | integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==
241 | dependencies:
242 | bl "^4.1.0"
243 | chalk "^4.1.0"
244 | cli-cursor "^3.1.0"
245 | cli-spinners "^2.5.0"
246 | is-interactive "^1.0.0"
247 | is-unicode-supported "^0.1.0"
248 | log-symbols "^4.1.0"
249 | strip-ansi "^6.0.0"
250 | wcwidth "^1.0.1"
251 |
252 | os-tmpdir@~1.0.2:
253 | version "1.0.2"
254 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
255 | integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==
256 |
257 | picocolors@^1.0.0:
258 | version "1.0.0"
259 | resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
260 | integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
261 |
262 | readable-stream@^3.4.0:
263 | version "3.6.2"
264 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
265 | integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
266 | dependencies:
267 | inherits "^2.0.3"
268 | string_decoder "^1.1.1"
269 | util-deprecate "^1.0.1"
270 |
271 | restore-cursor@^3.1.0:
272 | version "3.1.0"
273 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e"
274 | integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==
275 | dependencies:
276 | onetime "^5.1.0"
277 | signal-exit "^3.0.2"
278 |
279 | run-async@^3.0.0:
280 | version "3.0.0"
281 | resolved "https://registry.yarnpkg.com/run-async/-/run-async-3.0.0.tgz#42a432f6d76c689522058984384df28be379daad"
282 | integrity sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==
283 |
284 | rxjs@^7.8.1:
285 | version "7.8.1"
286 | resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543"
287 | integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==
288 | dependencies:
289 | tslib "^2.1.0"
290 |
291 | safe-buffer@~5.2.0:
292 | version "5.2.1"
293 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
294 | integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
295 |
296 | "safer-buffer@>= 2.1.2 < 3":
297 | version "2.1.2"
298 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
299 | integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
300 |
301 | signal-exit@^3.0.2:
302 | version "3.0.7"
303 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
304 | integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
305 |
306 | string-width@^4.1.0, string-width@^4.2.3:
307 | version "4.2.3"
308 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
309 | integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
310 | dependencies:
311 | emoji-regex "^8.0.0"
312 | is-fullwidth-code-point "^3.0.0"
313 | strip-ansi "^6.0.1"
314 |
315 | string_decoder@^1.1.1:
316 | version "1.3.0"
317 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
318 | integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
319 | dependencies:
320 | safe-buffer "~5.2.0"
321 |
322 | strip-ansi@^6.0.0, strip-ansi@^6.0.1:
323 | version "6.0.1"
324 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
325 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
326 | dependencies:
327 | ansi-regex "^5.0.1"
328 |
329 | supports-color@^7.1.0:
330 | version "7.2.0"
331 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
332 | integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
333 | dependencies:
334 | has-flag "^4.0.0"
335 |
336 | through@^2.3.6:
337 | version "2.3.8"
338 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
339 | integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==
340 |
341 | tmp@^0.0.33:
342 | version "0.0.33"
343 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
344 | integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==
345 | dependencies:
346 | os-tmpdir "~1.0.2"
347 |
348 | tslib@^2.1.0:
349 | version "2.5.3"
350 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913"
351 | integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==
352 |
353 | type-fest@^0.21.3:
354 | version "0.21.3"
355 | resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
356 | integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
357 |
358 | util-deprecate@^1.0.1:
359 | version "1.0.2"
360 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
361 | integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
362 |
363 | wcwidth@^1.0.1:
364 | version "1.0.1"
365 | resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
366 | integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==
367 | dependencies:
368 | defaults "^1.0.3"
369 |
370 | wrap-ansi@^6.0.1:
371 | version "6.2.0"
372 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
373 | integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==
374 | dependencies:
375 | ansi-styles "^4.0.0"
376 | string-width "^4.1.0"
377 | strip-ansi "^6.0.0"
378 |
--------------------------------------------------------------------------------