Skip to content

Commit

Permalink
Merge pull request #55 from farhan7reza7/main
Browse files Browse the repository at this point in the history
update test updater to main
  • Loading branch information
farhan7reza7 committed Jan 31, 2024
2 parents a7f503d + e77a52a commit 6c413da
Show file tree
Hide file tree
Showing 43 changed files with 13,996 additions and 63 deletions.
15 changes: 15 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# These are supported funding model platforms

github: [farhan7reza7]
# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Report a bug encountered in this project
title: "[Bug]"
labels: bug
---

**Description:**

<!--[Provide a brief description of the bug]-->

**Steps to Reproduce:**

<!--[Outline the steps to reproduce the bug]-->

**Expected Behavior:**

<!--[Describe what you expected to happen]-->

**Actual Behavior:**

<!--[Describe what actually happened]-->

**Versions (if applicable):**

<!--
- if-follow-package version: [e.g., 1.0.0]
- Node.js version: [e.g., 14.17.5]
- Operating System: [e.g., Windows 10]
- Browser [e.g. chrome]
-->

**Additional Information (if applicable):**

<!--[Include any additional information, logs, or screenshots]-->
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Feature request
about: Suggest new feature for this project
title: "[Feature]"
labels: enhancement
---

#### Feature_Request:

<!--If you have ideas for new features or improvements, please share them here. We value your input!-->

**Feature Description:**

<!--[A clear and concise description of the feature.]-->

**Reason for the Feature:**

<!--[Explain why this feature would be beneficial.]-->

**Additional Information (if applicable):**

<!--[Any additional context or information that may be relevant.]-->
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/3-ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Other issue
about: Report an issue encountered in this project
title: "[ISSUE] "
labels: ["help wanted"]
---

**Welcome to the Issues Page for if-follow-package:**

<!--If you encounter any problems, bugs, or have suggestions for improvement, please report them here. We appreciate your feedback!-->

#### Before You Report:

<!--
- Ensure that you are using the latest version of if-follow-package.
- Search existing issues to avoid duplication.
-->

### Issue Report:

**Description:**

<!--[Provide a brief description of the issue]
**Steps to Reproduce**
<!--[Outline the steps to reproduce the issue]-->

**Expected Behavior(if applicable):**

<!--[Describe what you expected to happen]-->

**Actual Behavior(if applicable):**

<!--[Describe what actually happened]-->

**Versions(if applicable):**

<!--
- if-follow-package version: [e.g., 1.0.0]
- Node.js version: [e.g., 14.17.5]
- Operating System: [e.g., Windows 10]
- Browser [e.g. chrome]
-->

**Additional Information (if applicable):**

<!--[Include any additional information, logs, or screenshots]-->
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/4-custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Report issue in custom format
title: "[ISSUE] "
labels: bug
---

**Issue custom template:**

<!--[Describe your issue here]-->
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
blank_issues_enabled: false

contact_links:
- name: GitHub Community Support
url: https://github.com/orgs/community/discussions
about: Please ask and answer questions here.
- name: GitHub Security Bug Bounty
url: https://bounty.github.com/
about: Please report security vulnerabilities here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE~HEAD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

26 changes: 26 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Pull Request

## Description

<!--[Provide a brief description of the changes made in this pull request]-->

## Related Issue

<!--[If applicable, reference the related issue]-->

## Changes Made

<!--[Briefly List the main changes made in this pull request]-->

## Screenshots (if applicable)

<!--[Include any relevant screenshots]-->

## Checklist

<!--
- [ ] I have tested these changes thoroughly
- [ ] My code follows the project's coding standards
- [ ] I have documented(followed above Description and Changes Made) any necessary changes
- [ ] I have updated the README if needed (Optional)
-->
40 changes: 40 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: github-build-published

on:
workflow_dispatch:
#release:
#types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
env:
TOKEN: ${{ secrets.TOKEN }}
USER: ${{ secrets.USER }}

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
37 changes: 37 additions & 0 deletions .github/workflows/npm-publish-npm-registry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will run tests using node and then publish a package to npm registry when a manual button is triggered
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: npm-build-published

on:
workflow_dispatch:
#release:
#types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
env:
TOKEN: ${{ secrets.TOKEN }}
USER: ${{ secrets.USER }}

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
27 changes: 24 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,31 @@ and follows the guidelines from [Keep a Changelog](https://keepachangelog.com/).

### [Unreleased]

### [Release] - Collecting issues and new features for release
### [v1.0.0-alpha.1]

### [v1.0.0-beta.1]

### [v1.0.0-beta.2]

### [1.0.0] - 2024-02-01

#### Added
- Initial public release on github registry.

#### Changed
- Updated documentation in `README.md`.
- Improved and added comprehensive tests using Jest.

#### Fixed
- Resolved minor bugs and issues.

#### Security
- Enhanced security measures in API requests.

### [Next Release] - Collecting issues and new features for release

### Important changes links:

- [Unreleased](https://github.com/farhan7reza7/if-follow-package/compare/v1.0.0-alpha.1...HEAD)
- [v1.0.0-alpha.1](https://github.com/farhan7reza7/if-follow-package/releases/tag/v1.0.0-alpha.1)
- [Unreleased](https://github.com/farhan7reza7/if-follow-package/compare/v1.0.0...HEAD)
- [1.0.0](https://github.com/farhan7reza7/if-follow-package/releases/tag/v1.0.0)
- [Release](https://github.com/farhan7reza7/if-follow-package/milestone/2)
Loading

0 comments on commit 6c413da

Please sign in to comment.