Skip to content

Commit 2519c41

Browse files
authored
Merge pull request #2 from NodeByteHosting/development
v2.2.0
2 parents ce0636e + ddbe1f5 commit 2519c41

File tree

213 files changed

+7482
-1603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+7482
-1603
lines changed

.env.template

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
## NEXT AUTH
2-
NEXTAUTH_SECRET="",
3-
4-
## HETRIX TOOLS
5-
HETRIX_API_KEY="",
1+
## TAWK.TO
2+
TAWK_TO_EMBED_URL=
63

74
## GITHUB API
8-
GITHUB_API_URL="https://api.github.com/repos",
9-
GITHUB_PAT="",
5+
GITHUB_API_URL=https://api.github.com/repos
6+
GITHUB_PAT=
107

118
## DISCORD WEBHOOK
12-
ERROR_HOOK_ID="",
13-
ERROR_HOOK_TOKEN="",
9+
ERROR_HOOK_ID=
10+
ERROR_HOOK_TOKEN=
11+
12+
## UptimeRobot
13+
UR_API_KEY=

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: NodeByteHosting
2+
custom: nodebyte.host
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
- Browser [e.g. Chrome, Safari]
28+
- Version [e.g. 22]
29+
30+
**Additional context**
31+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
**(Please remove this line only before submitting your PR. Ensure that all relevant items are checked before submission.)**
2+
3+
## Describe your changes
4+
5+
Briefly describe the changes you made and their purpose.
6+
7+
## Issue number
8+
9+
Mention the issue number(s) this PR addresses (e.g., #123).
10+
11+
## Please ensure all items are checked off before requesting a review. "Checked off" means you need to add an "x" character between brackets so they turn into checkmarks.
12+
13+
- [ ] Tests are passing
14+
- [ ] Documentation has been updated
15+
- [ ] Code has been linted
16+
- [ ] (Do not skip this or your PR will be closed) I deployed the application locally.
17+
- [ ] (Do not skip this or your PR will be closed) I have performed a self-review and testing of my code.
18+
- [ ] I have included the issue # in the PR.
19+
- [ ] I have labelled the PR correctly.
20+
- [ ] The issue I am working on is assigned to me.
21+
- [ ] I made sure font sizes, color choices etc are all referenced from the theme.
22+
- [ ] My PR is granular and targeted to one specific feature.
23+
24+
### Screenshots (if applicable)
25+
26+
[Attach any screenshots if applicable]

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Build
1+
name: Build Website
22
on:
33
push:
4-
branches: [master]
4+
branches: [production, development]
55

66
jobs:
7-
build:
7+
build_test:
88
runs-on: self-hosted
99
steps:
1010
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
@@ -15,4 +15,3 @@ jobs:
1515
node-version: 20.18.0
1616
- run: bun install
1717
- run: bun run build
18-
- run: systemctl restart nodebyte-main

.github/workflows/deploy.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy Website
2+
on:
3+
push:
4+
branches: [production]
5+
6+
jobs:
7+
deploy:
8+
runs-on: self-hosted
9+
steps:
10+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
11+
with:
12+
ref: ${{ github.head_ref }}
13+
- uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3
14+
with:
15+
node-version: 20.18.0
16+
- run: bun install
17+
- run: bun run build
18+
- run: systemctl restart nodebyte-main

.github/workflows/semver.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Release CI
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
semver:
7+
description: 'Select version bump type: major, minor, patch'
8+
required: false
9+
default: ''
10+
prerelease:
11+
description: 'Pre-release identifier (e.g., alpha, beta, rc.1). Leave empty for stable releases.'
12+
required: false
13+
default: ''
14+
custom_version:
15+
description: 'Specify a custom version. This will override the semver and prerelease inputs.'
16+
required: false
17+
default: ''
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v2
26+
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v2
29+
with:
30+
node-version: 14
31+
32+
- name: Set Git identity
33+
run: |
34+
git config --local user.email "toxic.dev09@gmail.com"
35+
git config --local user.name "Toxic Dev"
36+
37+
- name: Version bump
38+
run: |
39+
if [ -n "${{ github.event.inputs.custom_version }}" ]; then
40+
npm version ${{ github.event.inputs.custom_version }} -m "Bump version to %s"
41+
elif [ -n "${{ github.event.inputs.semver }}" ]; then
42+
if [ -z "${{ github.event.inputs.prerelease }}" ]; then
43+
npm version ${{ github.event.inputs.semver }} -m "Bump version to %s"
44+
else
45+
npm version ${{ github.event.inputs.semver }}-${{ github.event.inputs.prerelease }} -m "Bump version to %s"
46+
fi
47+
fi
48+
49+
- name: Push changes
50+
uses: ad-m/github-push-action@master
51+
with:
52+
github_token: ${{ secrets.GIT_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ src/configs/nextauth.ts
1313
src/app/(pages)/api/auth
1414
src/providers/SessionProvider.tsx
1515
src/app/(pages)/api/auth/[...nextauth].ts
16+
src/components/Header/components/Login.tsx
1617
src/app/(pages)/auth
1718

1819
# testing
@@ -35,6 +36,7 @@ yarn-debug.log*
3536
yarn-error.log*
3637

3738
# local env files
39+
.env
3840
.env*.local
3941

4042
# vercel

.vscode/settings.json

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,41 @@
44
"WillLuke.nextjs.addTypesOnSave": true,
55
"WillLuke.nextjs.hasPrompted": true,
66
"cSpell.words": [
7-
"nextui",
7+
"ahooks",
8+
"appcues",
89
"BLOGPOST",
910
"Chauhan",
11+
"clsx",
12+
"Cobe",
1013
"Comeau",
11-
"Gajjar",
12-
"KARRY",
13-
"Knowuser",
14-
"Mixpanel",
15-
"Nuxt",
16-
"Parag",
17-
"Saleshandy",
1814
"CordX",
19-
"Userback",
20-
"ZUMTHOR",
21-
"ahooks",
22-
"appcues",
23-
"clsx",
2415
"eslintcache",
2516
"frontmatter",
17+
"Gajjar",
2618
"gnored",
2719
"headlessui",
20+
"KARRY",
21+
"Knowuser",
2822
"mapbox",
23+
"Mixpanel",
2924
"networkidle",
25+
"nextui",
26+
"Nuxt",
3027
"opengraph",
28+
"Parag",
3129
"qout",
3230
"raxter",
3331
"rehype",
32+
"Saleshandy",
3433
"semibold",
3534
"tailwindcss",
35+
"Tawk",
36+
"Trustpilot",
3637
"typecheck",
3738
"unist",
3839
"useportal",
39-
"usequerystate"
40+
"usequerystate",
41+
"Userback",
42+
"ZUMTHOR"
4043
]
4144
}

0 commit comments

Comments
 (0)