Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update test updater to main #55

Merged
merged 54 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
2f4ba29
Create ISSUE_TEMPLATE
farhan7reza7 Jan 31, 2024
b79488c
Create PULL_REQUEST_TEMPLATE.md
farhan7reza7 Jan 31, 2024
f00067b
Create FUNDING.yml
farhan7reza7 Jan 31, 2024
004c6bc
Create FUNDING.yml
farhan7reza7 Jan 31, 2024
ff66f94
Create npm-publish-github-packages.yml
farhan7reza7 Jan 31, 2024
7b14929
Create npm-publish-npm-registry.yml
farhan7reza7 Jan 31, 2024
dddbede
Create 1-bug.md
farhan7reza7 Jan 31, 2024
5401378
Create 2-feature_request.md
farhan7reza7 Jan 31, 2024
9b6d58e
updated dot-github with main
farhan7reza7 Jan 31, 2024
1768b55
Merge pull request #20 from farhan7reza7/dot-github
farhan7reza7 Jan 31, 2024
90a9b25
Create 3-ISSUE_TEMPLATE.md
farhan7reza7 Jan 31, 2024
33ed2ce
Create 4-custom.md
farhan7reza7 Jan 31, 2024
94cd2e7
Create config.yml
farhan7reza7 Jan 31, 2024
5e49bde
Update 1-bug.md
farhan7reza7 Jan 31, 2024
16241a5
Update 1-bug.md
farhan7reza7 Jan 31, 2024
9af913c
Update 2-feature_request.md
farhan7reza7 Jan 31, 2024
3964366
Update 3-ISSUE_TEMPLATE.md
farhan7reza7 Jan 31, 2024
d7d36bc
Update 4-custom.md
farhan7reza7 Jan 31, 2024
a9fef9f
Update config.yml
farhan7reza7 Jan 31, 2024
b31983d
Update npm-publish-github-packages.yml
farhan7reza7 Jan 31, 2024
fc450f1
Update npm-publish-npm-registry.yml
farhan7reza7 Jan 31, 2024
11f7c67
Update PULL_REQUEST_TEMPLATE.md
farhan7reza7 Jan 31, 2024
b99f7ab
Merge pull request #28 from farhan7reza7/dot-github
farhan7reza7 Jan 31, 2024
e73f239
Update README.md
farhan7reza7 Jan 31, 2024
06229f2
Merge pull request #34 from farhan7reza7/readme-updater
farhan7reza7 Jan 31, 2024
7d24dae
updated source codes for releasing v1.0.0 on npm and github registry
farhan7reza7 Jan 31, 2024
1f24a50
Merge pull request #37 from farhan7reza7/updater
farhan7reza7 Jan 31, 2024
2842805
Update CHANGELOG.md
farhan7reza7 Jan 31, 2024
8d43811
Update package.json
farhan7reza7 Jan 31, 2024
55b3095
Merge pull request #40 from farhan7reza7/release-updater
farhan7reza7 Jan 31, 2024
830d232
Update README.md
farhan7reza7 Jan 31, 2024
3dc67c5
Update README.md
farhan7reza7 Jan 31, 2024
8c3dbe1
Update README.md
farhan7reza7 Jan 31, 2024
644ce08
Update README.md
farhan7reza7 Jan 31, 2024
1bcee38
Update README.md
farhan7reza7 Jan 31, 2024
c09710f
Update README.md
farhan7reza7 Jan 31, 2024
5bc5f6b
Update README.md
farhan7reza7 Jan 31, 2024
42d7a6e
Update README.md
farhan7reza7 Jan 31, 2024
68c416d
Merge pull request #49 from farhan7reza7/readme-updater
farhan7reza7 Jan 31, 2024
0336153
Update README.md
farhan7reza7 Jan 31, 2024
effd80c
Merge pull request #50 from farhan7reza7/readme-updater
farhan7reza7 Jan 31, 2024
ac53968
Update package.json
farhan7reza7 Jan 31, 2024
4dce029
Merge branch 'main' into github-initer
farhan7reza7 Jan 31, 2024
7342c6c
Merge pull request #51 from farhan7reza7/github-initer
farhan7reza7 Jan 31, 2024
f2819e9
Update CHANGELOG.md
farhan7reza7 Jan 31, 2024
4da9001
Update package.json
farhan7reza7 Jan 31, 2024
32a0e1f
Update package.json
farhan7reza7 Jan 31, 2024
bd85457
Update follow-back.js
farhan7reza7 Jan 31, 2024
da78eaf
Update follow-back.test.js
farhan7reza7 Jan 31, 2024
432e610
Update follow-back.test.js
farhan7reza7 Jan 31, 2024
4c79419
Update npm-publish-github-packages.yml
farhan7reza7 Jan 31, 2024
303e6e5
Update npm-publish-npm-registry.yml
farhan7reza7 Jan 31, 2024
b6bd315
Update npm-publish-github-packages.yml
farhan7reza7 Jan 31, 2024
e77a52a
Update follow-back.test.js
farhan7reza7 Jan 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading