-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from CodeIlluminators/dev
feat: ✨ pre-release (v0.2.0) - Global Update [root/**/**/*.*]
- Loading branch information
Showing
136 changed files
with
7,009 additions
and
5,935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# GitHub Personal Access Token | ||
# This token is required to authenticate requests to GitHub’s API for fetching | ||
# repository releases and assets without hitting rate limits. | ||
# | ||
# Purpose: | ||
# The GitHub API limits the number of requests per hour for unauthorized | ||
# requests. By including a GitHub Personal Access Token, you increase the rate | ||
# limit available for your application, allowing it to function without interruptions. | ||
# | ||
# Without this token, you may experience 403 (Forbidden) errors if the app | ||
# exceeds the API’s request limit. GitHub tokens also ensure that your application | ||
# has authorized access to private repositories, if needed. | ||
# | ||
# How to get your GitHub Personal Access Token: | ||
# | ||
# 1. Sign in to GitHub: Go to https://github.com/ and login. | ||
# | ||
# 2. Access Settings: | ||
# - In the top right corner of any GitHub page, click your profile picture. | ||
# - Click on **Settings** in the dropdown menu. | ||
# | ||
# 3. Open Developer Settings: | ||
# - Scroll down and click **Developer settings** in the left sidebar. | ||
# | ||
# 4. Generate Token: | ||
# - Select **Personal access tokens** > **Tokens (classic)** from the left sidebar. | ||
# - Click on **Generate new token** > **Generate new token (classic)**. | ||
# | ||
# 5. Configure Token Permissions: | ||
# - In the **Note** field, add a description (e.g., "Access for My Project"). | ||
# - Set the **Expiration** duration, or leave it as "No expiration" if you want it to last indefinitely. | ||
# - Under **Select scopes**, choose at least: | ||
# - `repo` - Grants read and write access to repositories, which allows access to private repositories if needed. | ||
# | ||
# 6. Generate and Copy Token: | ||
# - Click **Generate token** at the bottom of the page. | ||
# - GitHub will show your token only once. Copy it immediately and store it in a safe place. | ||
# | ||
# 7. Add Token Here: | ||
# - Place the token below as the value for `GITHUB_TOKEN`. | ||
# | ||
# GitHub Documentation: | ||
# - More details on personal access tokens: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token | ||
# - GitHub API rate limits: https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting | ||
|
||
GITHUB_TOKEN=your_personal_access_token_here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 2 | ||
updates: | ||
# Configuration to check for updates in Node.js dependencies (using pnpm). | ||
- package-ecosystem: 'npm' # The package manager for the project (using "npm" ecosystem for pnpm). | ||
directory: '/' # Directory where the package.json is located (root in this case). | ||
schedule: | ||
interval: 'weekly' # Frequency of the update checks (can be daily, weekly, or monthly). | ||
commit-message: | ||
prefix: 'chore(deps)' # Prefix added to commit messages for dependency updates. | ||
labels: | ||
- 'dependencies' | ||
- 'node' | ||
- 'pnpm' | ||
open-pull-requests-limit: 5 # Limit the number of open pull requests created by Dependabot at a time. | ||
ignore: | ||
# List of specific dependencies to ignore for updates. | ||
# Useful for libraries where automatic updates might cause issues. | ||
- dependency-name: 'next' | ||
- dependency-name: 'babylon' | ||
- dependency-name: 'typescript' | ||
- dependency-name: 'autoprefixer' | ||
- dependency-name: 'lucide-react' | ||
- dependency-name: 'eslint-config-next' | ||
- dependency-name: 'eslint' | ||
rebase-strategy: 'auto' # Automatically rebase pull requests if conflicts arise. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Automatically squashes and merges Dependabot dependency upgrades if tests pass | ||
|
||
name: Dependabot Auto-merge | ||
|
||
on: pull_request_target | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
|
||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- name: Fetch Dependabot metadata | ||
id: dependabot-metadata | ||
uses: dependabot/[email protected] | ||
with: | ||
github-token: '${{ secrets.GITHUB_TOKEN }}' | ||
|
||
- name: Approve Dependabot PR | ||
run: gh pr review --approve "$PR_URL" | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Auto-merge (squash) Dependabot PR | ||
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} | ||
run: gh pr merge --auto --squash "$PR_URL" | ||
env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,97 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
# Logs and Debugging | ||
logs/ | ||
*.log | ||
npm-debug.log* | ||
pnpm-debug.log* | ||
pnpm-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
# next.js | ||
/.next/ | ||
# Node Modules | ||
node_modules/ | ||
|
||
# testing | ||
/.nyc_output | ||
/coverage | ||
/out/ | ||
# Distribution Builds | ||
dist/ | ||
build/ | ||
output | ||
out/ | ||
dist-ssr/ | ||
!/out/.gitkeep | ||
!/dist/.gitkeep | ||
!/build/.gitkeep | ||
|
||
# production | ||
/build | ||
/dist | ||
# Vercel Deployment | ||
.vercel/ | ||
|
||
# OS | ||
.DS_Store | ||
*.pem | ||
# Next.js | ||
.next/ | ||
out/ | ||
!/out/.gitkeep | ||
|
||
# debug | ||
*.log | ||
npm-debug.log* | ||
pnpm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
# Testing and Coverage | ||
coverage/ | ||
.nyc_output/ | ||
.vitest/ | ||
|
||
# dotenv environment variable files | ||
# Local Environment Files | ||
.env | ||
.env*.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.env.local | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# Package Managers | ||
.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
|
||
# WiX | ||
WixTools | ||
|
||
# TypeScript | ||
*.tsbuildinfo | ||
|
||
# Lint and Formatter | ||
.eslintcache | ||
.stylelintcache | ||
.prettiercache | ||
.npmrc | ||
.pnpmrc | ||
|
||
# IDE and Editor Settings | ||
# Visual Studio Code | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
!.vscode/settings.json | ||
|
||
# temp directory | ||
.temp | ||
.tmp | ||
# JetBrains IDEs (WebStorm, IntelliJ, etc.) | ||
.idea/ | ||
*.iml | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
# Visual Studio | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# local env files | ||
.env*.local | ||
# Operating System Specific Files | ||
# macOS | ||
.DS_Store | ||
|
||
# vercel | ||
.vercel | ||
# Windows | ||
Thumbs.db | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
# Miscellaneous | ||
*.local | ||
*.lock | ||
yarn.lock | ||
package-lock.json | ||
|
||
# Temporary Files | ||
tmp/ | ||
temp/ | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
# Other | ||
keys/* | ||
!/keys/.gitkeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npm exec lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const path = require('path'); | ||
|
||
const buildEslintCommand = filenames => | ||
`next lint --fix --file ${filenames | ||
.map(f => path.relative(process.cwd(), f)) | ||
.join(' --file ')}`; | ||
|
||
module.exports = { | ||
'**/**/*.{js,jsx,ts,tsx}': [buildEslintCommand], | ||
'*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}': [ | ||
'biome check --apply --no-errors-on-unmatched', // Format, sort imports, lint, and apply safe fixes | ||
], | ||
}; |
Oops, something went wrong.