Skip to content

Commit

Permalink
Merge pull request #126 from farhan7reza7/main
Browse files Browse the repository at this point in the history
update to main state
Co-authored-by: Farhan Reza <fr7reza@gmail.com>
Co-authored-by: Spirito Phil <spirito7phil@gmail.com>
  • Loading branch information
farhan7reza7 authored Feb 2, 2024
2 parents 6e42fa7 + 1ccffaf commit 167a4e2
Show file tree
Hide file tree
Showing 49 changed files with 16,766 additions and 2,010 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']

7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Welcome to the main issue template

For convenience and recommended practices, we have classified issue templates:

[See Classified templates for different kinds of issues](https://github.com/farhan7reza7/if-follow-package/issues/new/choose)

resolves #32
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.
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)
-->
43 changes: 43 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow will install Deno then run `deno lint` and `deno test`.
# For more information see: https://github.com/denoland/setup-deno

name: Deno

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v3

- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v1.x

# Uncomment this step to verify the use of 'deno fmt' on each commit.
# - name: Verify formatting
# run: deno fmt --check

- name: Run linter
run: deno lint || true

- name: Run tests
run: deno test -A || true
42 changes: 42 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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 || true # Ignore the exit status of 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 || true
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}}
33 changes: 33 additions & 0 deletions .github/workflows/test-runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will run tests using node.

name: test-runner

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
env:
TOKEN: ${{ secrets.TOKEN }}
USER: ${{ secrets.USER }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,7 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*


# Important Source codes
source/
Loading

0 comments on commit 167a4e2

Please sign in to comment.