Skip to content

Commit c6f7365

Browse files
committed
Merge remote-tracking branch 'mirror/master' into main2
# Conflicts: # express.js
2 parents 5b97176 + adf2a65 commit c6f7365

File tree

117 files changed

+8752
-11060
lines changed

Some content is hidden

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

117 files changed

+8752
-11060
lines changed

.devcontainer/devcontainer.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "GitHub Readme Stats Dev",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": { "version": "22" }
6+
},
7+
"forwardPorts": [3000],
8+
"portsAttributes": {
9+
"3000": { "label": "HTTP" }
10+
},
11+
"appPort": [],
12+
13+
// Use 'postCreateCommand' to run commands after the container is created.
14+
"postCreateCommand": "npm install -g vercel",
15+
16+
// Use 'postStartCommand' to run commands after the container is started.
17+
"postStartCommand": "hostname dev && npm install",
18+
19+
// Configure tool-specific properties.
20+
"customizations": {
21+
"vscode": {
22+
"extensions": [
23+
"yzhang.markdown-all-in-one",
24+
"esbenp.prettier-vscode",
25+
"dbaeumer.vscode-eslint",
26+
"github.vscode-github-actions"
27+
]
28+
}
29+
},
30+
31+
"remoteUser": "root",
32+
"privileged": true
33+
}

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# This file is used to define code owners for the repository.
2+
# Code owners are automatically requested for review when someone opens a pull request that modifies code they own.
3+
4+
# Assign @qwerty541 as the owner for package.json and package-lock.json
5+
package.json @qwerty541
6+
package-lock.json @qwerty541

.github/dependabot.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22
updates:
3-
# Maintain dependencies for NPM
3+
# Maintain dependencies for npm
44
- package-ecosystem: npm
55
directory: "/"
66
schedule:
@@ -9,8 +9,6 @@ updates:
99
commit-message:
1010
prefix: "build(deps)"
1111
prefix-development: "build(deps-dev)"
12-
reviewers:
13-
- "qwerty541"
1412

1513
# Maintain dependencies for GitHub Actions
1614
- package-ecosystem: github-actions
@@ -21,5 +19,13 @@ updates:
2119
commit-message:
2220
prefix: "ci(deps)"
2321
prefix-development: "ci(deps-dev)"
24-
reviewers:
25-
- "qwerty541"
22+
23+
# Maintain dependencies for Devcontainers
24+
- package-ecosystem: devcontainers
25+
directory: "/"
26+
schedule:
27+
interval: weekly
28+
open-pull-requests-limit: 10
29+
commit-message:
30+
prefix: "build(deps)"
31+
prefix-development: "build(deps-dev)"

.github/labeler.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ themes:
33
- any-glob-to-any-file:
44
- themes/index.js
55

6-
doc-translation:
7-
- changed-files:
8-
- any-glob-to-any-file:
9-
- docs/*
10-
116
card-i18n:
127
- changed-files:
138
- any-glob-to-any-file:
@@ -32,8 +27,8 @@ lang-card:
3227
- changed-files:
3328
- any-glob-to-any-file:
3429
- api/top-langs.js
35-
- src/cards/top-languages-card.js
36-
- src/fetchers/top-languages-fetcher.js
30+
- src/cards/top-languages.js
31+
- src/fetchers/top-languages.js
3732
- tests/fetchTopLanguages.test.js
3833
- tests/renderTopLanguagesCard.test.js
3934
- tests/top-langs.test.js
@@ -42,8 +37,8 @@ repo-card:
4237
- changed-files:
4338
- any-glob-to-any-file:
4439
- api/pin.js
45-
- src/cards/repo-card.js
46-
- src/fetchers/repo-fetcher.js
40+
- src/cards/repo.js
41+
- src/fetchers/repo.js
4742
- tests/fetchRepo.test.js
4843
- tests/renderRepoCard.test.js
4944
- tests/pin.test.js
@@ -52,8 +47,8 @@ stats-card:
5247
- changed-files:
5348
- any-glob-to-any-file:
5449
- api/index.js
55-
- src/cards/stats-card.js
56-
- src/fetchers/stats-fetcher.js
50+
- src/cards/stats.js
51+
- src/fetchers/stats.js
5752
- tests/fetchStats.test.js
5853
- tests/renderStatsCard.test.js
5954
- tests/api.test.js
@@ -62,8 +57,8 @@ wakatime-card:
6257
- changed-files:
6358
- any-glob-to-any-file:
6459
- api/wakatime.js
65-
- src/cards/wakatime-card.js
66-
- src/fetchers/wakatime-fetcher.js
60+
- src/cards/wakatime.js
61+
- src/fetchers/wakatime.js
6762
- tests/fetchWakatime.test.js
6863
- tests/renderWakatimeCard.test.js
6964
- tests/wakatime.test.js
@@ -72,8 +67,8 @@ gist-card:
7267
- changed-files:
7368
- any-glob-to-any-file:
7469
- api/gist.js
75-
- src/cards/gist-card.js
76-
- src/fetchers/gist-fetcher.js
70+
- src/cards/gist.js
71+
- src/fetchers/gist.js
7772
- tests/fetchGist.test.js
7873
- tests/renderGistCard.test.js
7974
- tests/gist.test.js

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ permissions:
2424

2525
jobs:
2626
CodeQL-Build:
27+
if: github.repository == 'anuraghazra/github-readme-stats'
28+
2729
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
2830
runs-on: ubuntu-latest
2931

3032
steps:
3133
- name: Checkout repository
32-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3335

3436
# Initializes the CodeQL tools for scanning.
3537
- name: Initialize CodeQL

.github/workflows/deploy-prep.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
if: github.repository == 'anuraghazra/github-readme-stats'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1414
- name: Deployment Prep
1515
run: python ./.github/workflows/deploy-prep.py
16-
- uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
16+
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
1717
with:
1818
branch: vercel
1919
create_branch: true

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: [18.x]
17+
node-version: [22.x]
1818

1919
steps:
20-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

2222
- name: Setup Node
23-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
23+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
cache: npm

.github/workflows/empty-issues-closer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
# NOTE: Retrieve issue templates.
30-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131

3232
- name: Run empty issues closer action
3333
uses: rickstaa/empty-issues-closer-action@e96914613221511279ca25f50fd4acc85e331d99 # v1.1.74

.github/workflows/generate-theme-doc.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- master
66
paths:
77
- "themes/index.js"
8+
workflow_dispatch:
89

910
permissions:
1011
actions: read
@@ -26,13 +27,13 @@ jobs:
2627
name: Generate theme doc
2728
strategy:
2829
matrix:
29-
node-version: [18.x]
30+
node-version: [22.x]
3031

3132
steps:
32-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3334

3435
- name: Setup Node
35-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
36+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
3637
with:
3738
node-version: ${{ matrix.node-version }}
3839
cache: npm

0 commit comments

Comments
 (0)