From c2a9d1e6b13e022fff545aa58ed74ba231402fc0 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Wed, 10 Feb 2021 18:49:00 +0100 Subject: [PATCH] Only package necessary files (#113) --- .github/ISSUE_TEMPLATE/bug_report.md | 23 +++++++++++--------- .github/ISSUE_TEMPLATE/custom.md | 3 --- .github/ISSUE_TEMPLATE/feature_request.md | 1 - .github/PULL_REQUEST_TEMPLATE.md | 7 +++--- .npmignore | 5 ----- CODE_OF_CONDUCT.md | 26 +++++++++++------------ package.json | 3 +++ 7 files changed, 32 insertions(+), 36 deletions(-) delete mode 100644 .npmignore diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 82d944be..89de5e5d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,7 +4,6 @@ about: Create a report to help us improve title: BUG_ labels: '' assignees: '' - --- **Describe the bug** @@ -12,6 +11,7 @@ A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' @@ -24,16 +24,19 @@ A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] + +- OS: [e.g. iOS] +- Browser [e.g. chrome, safari] +- Version [e.g. 22] **Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] + +- Device: [e.g. iPhone6] +- OS: [e.g. iOS8.1] +- Browser [e.g. stock browser, safari] +- Version [e.g. 22] **Additional context** - - If you can please specify at least a draft of your worker( if it is an async function or not is also important) - - Indicate which pool type are you using (i.e. FixedThreadPool ) and with which options ( num of thread, and so on ) + +- If you can please specify at least a draft of your worker( if it is an async function or not is also important) +- Indicate which pool type are you using (i.e. FixedThreadPool ) and with which options ( num of thread, and so on ) diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md index 48d5f81f..96a47352 100644 --- a/.github/ISSUE_TEMPLATE/custom.md +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -4,7 +4,4 @@ about: Describe this issue template's purpose here. title: '' labels: '' assignees: '' - --- - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index b43608d0..ac259247 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -4,7 +4,6 @@ about: Suggest an idea for this project title: FEATURE_ labels: '' assignees: '' - --- **Is your feature request related to a problem? Please describe.** diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c195f4d2..013817f2 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,6 @@ Thanks for contributing to poolifier project. Please be sure to read our [contributing guidelines](https://github.com/pioardi/poolifier/blob/pr-template/CONTRIBUTING.md). - - - Please add a description of your changes. - - We need your changes to come with unit tests in order to keep this project in quality and easy to mantain. - - Please add a link to the open issue or task that this pull request will resolve. +- Please add a description of your changes. +- We need your changes to come with unit tests in order to keep this project in quality and easy to mantain. +- Please add a link to the open issue or task that this pull request will resolve. diff --git a/.npmignore b/.npmignore deleted file mode 100644 index efc022ba..00000000 --- a/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -.github -src -benchmarks -examples -tests diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 4c3f5527..764a8a0e 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation. Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members Examples of unacceptable behavior by participants include: -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting ## Our Responsibilities diff --git a/package.json b/package.json index b7bedf13..cd5e4894 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,9 @@ "url": "https://github.com/pioardi/poolifier/issues" }, "homepage": "https://github.com/pioardi/poolifier#readme", + "files": [ + "lib" + ], "devDependencies": { "@types/node": "^14.14.25", "@typescript-eslint/eslint-plugin": "^4.15.0", -- 2.34.1