Skip to content

Commit 9887c2d

Browse files
committed
feat: add each number
1 parent f6103f9 commit 9887c2d

File tree

5 files changed

+30
-20
lines changed

5 files changed

+30
-20
lines changed

README.en-US.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If your favorite pet is not in the following list, please raise it in the [issue
2020

2121
<!-- START -->
2222

23-
### Technology
23+
### Technology ( 9 )
2424

2525
<table><tr>
2626
<td align="center"><a href="https://github.com/bug-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/74403263?s=200&v=4" width="50" /></a></td>
@@ -54,7 +54,7 @@ If your favorite pet is not in the following list, please raise it in the [issue
5454
<td width="160" align="center"></td>
5555
</tr></table>
5656

57-
### Life
57+
### Life ( 18 )
5858

5959
<table><tr>
6060
<td align="center"><a href="https://github.com/heart-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/72603614?s=200&v=4" width="50" /></a></td>
@@ -103,7 +103,7 @@ If your favorite pet is not in the following list, please raise it in the [issue
103103
<td width="160" align="center">girl<br />女儿</td>
104104
</tr></table>
105105

106-
### Animal
106+
### Animal ( 76 )
107107

108108
<table><tr>
109109
<td align="center"><a href="https://github.com/alpaca-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/70752315?s=200&v=4" width="50" /></a></td>
@@ -302,7 +302,7 @@ If your favorite pet is not in the following list, please raise it in the [issue
302302
<td width="160" align="center"></td>
303303
</tr></table>
304304

305-
### Food
305+
### Food ( 22 )
306306

307307
<table><tr>
308308
<td align="center"><a href="https://github.com/acorn-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/74277347?s=200&v=4" width="50" /></a></td>
@@ -366,7 +366,7 @@ If your favorite pet is not in the following list, please raise it in the [issue
366366
<td width="160" align="center"></td>
367367
</tr></table>
368368

369-
### Natural
369+
### Natural ( 8 )
370370

371371
<table><tr>
372372
<td align="center"><a href="https://github.com/earth-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/72246621?s=200&v=4" width="50" /></a></td>

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<!-- START -->
2222

23-
### 技术
23+
### 技术 ( 9 )
2424

2525
<table><tr>
2626
<td align="center"><a href="https://github.com/bug-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/74403263?s=200&v=4" width="50" /></a></td>
@@ -54,7 +54,7 @@
5454
<td width="160" align="center"></td>
5555
</tr></table>
5656

57-
### 生活
57+
### 生活 ( 18 )
5858

5959
<table><tr>
6060
<td align="center"><a href="https://github.com/heart-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/72603614?s=200&v=4" width="50" /></a></td>
@@ -103,7 +103,7 @@
103103
<td width="160" align="center">girl<br />女儿</td>
104104
</tr></table>
105105

106-
### 动物
106+
### 动物 ( 76 )
107107

108108
<table><tr>
109109
<td align="center"><a href="https://github.com/alpaca-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/70752315?s=200&v=4" width="50" /></a></td>
@@ -302,7 +302,7 @@
302302
<td width="160" align="center"></td>
303303
</tr></table>
304304

305-
### 食物
305+
### 食物 ( 22 )
306306

307307
<table><tr>
308308
<td align="center"><a href="https://github.com/acorn-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/74277347?s=200&v=4" width="50" /></a></td>
@@ -366,7 +366,7 @@
366366
<td width="160" align="center"></td>
367367
</tr></table>
368368

369-
### 自然
369+
### 自然 ( 8 )
370370

371371
<table><tr>
372372
<td align="center"><a href="https://github.com/earth-js" target="_blank"><img src="https://avatars0.githubusercontent.com/u/72246621?s=200&v=4" width="50" /></a></td>

active-script/update-readme.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ function main() {
5252

5353
// cn
5454
let newReadme = baseReadme.replace('UPDATE_README_NUMBER', orgs.length);
55+
newReadme = newReadme.replace('UPDATE_TECHNOLOGY_NUMBER', technology.length);
56+
newReadme = newReadme.replace('UPDATE_LIFE_NUMBER', life.length);
57+
newReadme = newReadme.replace('UPDATE_ANIMAL_NUMBER', animal.length);
58+
newReadme = newReadme.replace('UPDATE_FOOD_NUMBER', food.length);
59+
newReadme = newReadme.replace('UPDATE_NATURAL_NUMBER', natural.length);
5560
newReadme = newReadme.replace('UPDATE_TECHNOLOGY_TABLE', `<table>${technologyTable}</table>`);
5661
newReadme = newReadme.replace('UPDATE_LIFE_TABLE', `<table>${lifeTable}</table>`);
5762
newReadme = newReadme.replace('UPDATE_ANIMAL_TABLE', `<table>${animalTable}</table>`);
@@ -65,6 +70,11 @@ function main() {
6570

6671
// en
6772
let newReadmeEn = baseReadmeEn.replace('UPDATE_README_NUMBER', orgs.length);
73+
newReadmeEn = newReadmeEn.replace('UPDATE_TECHNOLOGY_NUMBER', technology.length);
74+
newReadmeEn = newReadmeEn.replace('UPDATE_LIFE_NUMBER', life.length);
75+
newReadmeEn = newReadmeEn.replace('UPDATE_ANIMAL_NUMBER', animal.length);
76+
newReadmeEn = newReadmeEn.replace('UPDATE_FOOD_NUMBER', food.length);
77+
newReadmeEn = newReadmeEn.replace('UPDATE_NATURAL_NUMBER', natural.length);
6878
newReadmeEn = newReadmeEn.replace('UPDATE_TECHNOLOGY_TABLE', `<table>${technologyTable}</table>`);
6979
newReadmeEn = newReadmeEn.replace('UPDATE_LIFE_TABLE', `<table>${lifeTable}</table>`);
7080
newReadmeEn = newReadmeEn.replace('UPDATE_ANIMAL_TABLE', `<table>${animalTable}</table>`);

base/README.base.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@
2020

2121
<!-- START -->
2222

23-
### 技术
23+
### 技术 ( UPDATE_TECHNOLOGY_NUMBER )
2424

2525
UPDATE_TECHNOLOGY_TABLE
2626

27-
### 生活
27+
### 生活 ( UPDATE_LIFE_NUMBER )
2828

2929
UPDATE_LIFE_TABLE
3030

31-
### 动物
31+
### 动物 ( UPDATE_ANIMAL_NUMBER )
3232

3333
UPDATE_ANIMAL_TABLE
3434

35-
### 食物
35+
### 食物 ( UPDATE_FOOD_NUMBER )
3636

3737
UPDATE_FOOD_TABLE
3838

39-
### 自然
39+
### 自然 ( UPDATE_NATURAL_NUMBER )
4040

4141
UPDATE_NATURAL_TABLE
4242

base/README.en-US.base.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@ If your favorite pet is not in the following list, please raise it in the [issue
2020

2121
<!-- START -->
2222

23-
### Technology
23+
### Technology ( UPDATE_TECHNOLOGY_NUMBER )
2424

2525
UPDATE_TECHNOLOGY_TABLE
2626

27-
### Life
27+
### Life ( UPDATE_LIFE_NUMBER )
2828

2929
UPDATE_LIFE_TABLE
3030

31-
### Animal
31+
### Animal ( UPDATE_ANIMAL_NUMBER )
3232

3333
UPDATE_ANIMAL_TABLE
3434

35-
### Food
35+
### Food ( UPDATE_FOOD_NUMBER )
3636

3737
UPDATE_FOOD_TABLE
3838

39-
### Natural
39+
### Natural ( UPDATE_NATURAL_NUMBER )
4040

4141
UPDATE_NATURAL_TABLE
4242

0 commit comments

Comments
 (0)