Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Bug Report
about: Create a report to help us improve
title: '[BUG] '
title: "[BUG] "
labels: bug
assignees: ''
assignees: ""
---

## Bug Description
Expand Down Expand Up @@ -43,4 +43,3 @@ assignees: ''
## Possible Solution

<!-- If you have suggestions on how to fix the bug -->

1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ contact_links:
- name: πŸ“š Documentation
url: https://github.com/gautammanak1/package-download-stat#readme
about: Check the documentation for common questions

11 changes: 5 additions & 6 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Feature Request
about: Suggest an idea for this project
title: '[FEATURE] '
title: "[FEATURE] "
labels: enhancement
assignees: ''
assignees: ""
---

## Feature Description
Expand All @@ -26,9 +26,9 @@ assignees: ''

<!-- Provide specific use cases for this feature -->

1.
2.
3.
1.
2.
3.

## Additional Context

Expand All @@ -37,4 +37,3 @@ assignees: ''
## Implementation Notes

<!-- If you have ideas on how this could be implemented -->

10 changes: 5 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,23 @@
## Related Issues

<!-- Link related issues here -->

Closes #

## Changes Made

<!-- Describe the changes you made in detail -->

-
-
-
-
-
-

## Screenshots (if applicable)

<!-- Add screenshots to help explain your changes -->

| Before | After |
|--------|-------|
| ------ | ----- |
| | |

## Testing
Expand Down Expand Up @@ -63,4 +64,3 @@ Closes #
## Additional Notes

<!-- Add any additional notes or context here -->

1 change: 0 additions & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ When using this project:
- API routes validate all inputs before processing
- CORS is properly configured for API endpoints
- No sensitive data is stored client-side

1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ updates:
commit-message:
prefix: "chore"
include: "scope"

19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
runs-on: ubuntu-latest
# Skip for Dependabot PRs - they only update dependencies
if: github.actor != 'dependabot[bot]'

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
node-version: "18"
cache: "npm"

- name: Install dependencies
run: npm ci
Expand All @@ -41,16 +41,16 @@ jobs:
needs: lint-and-type-check
# Skip for Dependabot PRs
if: github.actor != 'dependabot[bot]' && (needs.lint-and-type-check.result == 'success' || needs.lint-and-type-check.result == 'skipped')

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
node-version: "18"
cache: "npm"

- name: Install dependencies
run: npm ci
Expand All @@ -63,20 +63,19 @@ jobs:
runs-on: ubuntu-latest
# Skip for Dependabot PRs
if: github.actor != 'dependabot[bot]'

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
node-version: "18"
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test || echo "No tests configured yet"

5 changes: 2 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * 0' # Run weekly on Sunday
- cron: "0 0 * * 0" # Run weekly on Sunday

jobs:
analyze:
Expand All @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['javascript']
language: ["javascript"]

steps:
- name: Checkout repository
Expand All @@ -36,4 +36,3 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

7 changes: 3 additions & 4 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
# Skip commit message validation for Dependabot PRs
if: github.actor != 'dependabot[bot]'

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -20,8 +20,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
node-version: "18"
cache: "npm"

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -76,4 +76,3 @@ jobs:
if git diff --name-only origin/main...HEAD | grep -E '\.(png|jpg|jpeg|gif|svg|ico|woff|woff2|ttf|eot)$' | xargs -I {} sh -c 'test $(git cat-file -s "HEAD:{}" 2>/dev/null || echo 0) -gt 500000'; then
echo "⚠️ Warning: Large image/font files detected. Consider optimizing them."
fi

23 changes: 11 additions & 12 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Mark Stale Issues and PRs

on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight UTC
- cron: "0 0 * * *" # Run daily at midnight UTC
workflow_dispatch:

jobs:
Expand All @@ -16,19 +16,18 @@ jobs:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!'
close-issue-message: 'This issue was automatically closed due to inactivity. Please feel free to reopen if you still encounter this problem.'
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!'
close-pr-message: 'This pull request was automatically closed due to inactivity. Please feel free to reopen if you still want to work on this.'
stale-issue-label: 'stale'
close-issue-label: 'stale'
stale-pr-label: 'stale'
close-pr-label: 'stale'
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!"
close-issue-message: "This issue was automatically closed due to inactivity. Please feel free to reopen if you still encounter this problem."
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!"
close-pr-message: "This pull request was automatically closed due to inactivity. Please feel free to reopen if you still want to work on this."
stale-issue-label: "stale"
close-issue-label: "stale"
stale-pr-label: "stale"
close-pr-label: "stale"
days-before-issue-stale: 60
days-before-issue-close: 7
days-before-pr-stale: 30
days-before-pr-close: 7
exempt-issue-labels: 'pinned,security,bug,enhancement'
exempt-pr-labels: 'pinned,security'
exempt-issue-labels: "pinned,security,bug,enhancement"
exempt-pr-labels: "pinned,security"
operations-per-run: 30

9 changes: 4 additions & 5 deletions .github/workflows/vercel-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
runs-on: ubuntu-latest
# Skip preview deployments for Dependabot PRs
if: github.actor != 'dependabot[bot]'

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
node-version: "18"
cache: "npm"

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -56,6 +56,5 @@ jobs:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: '--yes'
vercel-args: "--yes"
working-directory: ./

9 changes: 4 additions & 5 deletions .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
node-version: "18"
cache: "npm"

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -61,6 +61,5 @@ jobs:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: '--prod'
vercel-args: "--prod"
working-directory: ./

1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
"jsxSingleQuote": false,
"plugins": []
}

4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Added

- Initial open source release
- Contribution guidelines
- Code of conduct
Expand All @@ -19,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.0.0] - 2025-11-18

### Added

- npm package download statistics
- PyPI package download statistics with Google BigQuery integration
- Interactive charts with Recharts
Expand All @@ -31,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- CI/CD deployment with Vercel

### Fixed

- CORS issues with PyPI API
- Dark mode logo visibility
- Chart rendering issues
Expand All @@ -39,4 +42,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[Unreleased]: https://github.com/gautammanak1/package-download-stat/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/gautammanak1/package-download-stat/releases/tag/v1.0.0

Loading
Loading