Skip to content

Commit

Permalink
feat: trends github stars (#125)
Browse files Browse the repository at this point in the history
* feat: poc github api

* chore: prepare statistics page

* chore: wip

* feat: add fake trends gen

* fix: fake trends gen

* chore: wip

* feat: add trend item table

* feat: add range switch

* feat: add intra links to cran/e
  • Loading branch information
tom-bywild authored Jan 4, 2023
1 parent ae0f03f commit 66c9e94
Show file tree
Hide file tree
Showing 29 changed files with 1,507 additions and 117 deletions.
1 change: 1 addition & 0 deletions .github/workflows/playwright-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
echo VITE_SELECT_PKG_URL=${{ secrets.VITE_SELECT_PKG_URL }} >> .env
echo VITE_SITEMAP_PKGS_URL=${{ secrets.VITE_SITEMAP_PKGS_URL }} >> .env
echo VITE_AP_PKGS_URL=${{ secrets.VITE_AP_PKGS_URL }} >> .env
echo VITE_STATS_GH_TRENDS_BASE_URL=${{ secrets.VITE_STATS_GH_TRENDS_BASE_URL}} >> .env
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
Expand Down
4 changes: 4 additions & 0 deletions web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ VITE_TA_PKGS_URL = http://localhost:5173/data/db-ta.json
VITE_TA_TEST_PKGS_URL = http://localhost:5173/data/db-ta.test.json
VITE_SELECT_PKG_URL = http://localhost:5173/data/packages/{{id}}.json
VITE_SITEMAP_PKGS_URL = http://localhost:5173/data/db-sitemap.json

# Statistics

VITE_STATS_GH_TRENDS_BASE_URL = http://localhost:5173/data/stats/github/trends
Loading

0 comments on commit 66c9e94

Please sign in to comment.