File tree Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Original file line number Diff line number Diff line change 44
44
"linkifyjs" : " ^3.0.5" ,
45
45
"lodash-es" : " ^4.17.21" ,
46
46
"normalize.css" : " ^8.0.1" ,
47
+ "prettier" : " ^3.2.5" ,
47
48
"react" : " ^18.0.0" ,
48
49
"react-dom" : " ^18.0.0" ,
49
50
"react-hook-form" : " ^7.33.1" ,
82
83
"node-fetch" : " ^3.2.6" ,
83
84
"npm-run-all2" : " ^6.0.2" ,
84
85
"pinyin" : " ^3.0.0-alpha.5" ,
85
- "prettier" : " ^2.7.1" ,
86
86
"simplebig" : " ^0.0.3" ,
87
87
"tailwindcss" : " ^3.1.4" ,
88
88
"typescript" : " ^4.6.3" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ async function main() {
14
14
} )
15
15
16
16
const prettierConfig = await prettier . resolveConfig ( process . cwd ( ) )
17
- const formatted = prettier . format ( content , {
17
+ console . log ( prettierConfig )
18
+ const formatted = await prettier . format ( content , {
18
19
...prettierConfig ,
19
20
parser : 'json' ,
20
21
} )
Original file line number Diff line number Diff line change 88
88
"rarity" : 4 ,
89
89
"alt_name" : " Shaw"
90
90
},
91
+ {
92
+ "id" : " char_4123_ela" ,
93
+ "subProf" : " traper" ,
94
+ "name" : " 艾拉" ,
95
+ "alias" : " aila yila al yl 艾拉" ,
96
+ "rarity" : 6 ,
97
+ "alt_name" : " Ela"
98
+ },
91
99
{
92
100
"id" : " char_4043_erato" ,
93
101
"subProf" : " siegesniper" ,
488
496
"rarity" : 5 ,
489
497
"alt_name" : " Proviso"
490
498
},
499
+ {
500
+ "id" : " char_4126_fuze" ,
501
+ "subProf" : " centurion" ,
502
+ "name" : " 导火索" ,
503
+ "alias" : " daohuosuo dhs 導火索" ,
504
+ "rarity" : 5 ,
505
+ "alt_name" : " Fuze"
506
+ },
491
507
{
492
508
"id" : " char_102_texas" ,
493
509
"subProf" : " pioneer" ,
1296
1312
"rarity" : 6 ,
1297
1313
"alt_name" : " Lee"
1298
1314
},
1315
+ {
1316
+ "id" : " token_10033_ela_grzmot" ,
1317
+ "subProf" : " notchar1" ,
1318
+ "name" : " 雷鸣地雷" ,
1319
+ "alias" : " leimingdilei leimingdelei lmdl 雷鳴地雷" ,
1320
+ "rarity" : 0 ,
1321
+ "alt_name" : " GRZMOT Mine"
1322
+ },
1299
1323
{
1300
1324
"id" : " char_107_liskam" ,
1301
1325
"subProf" : " shotprotector" ,
2016
2040
"rarity" : 4 ,
2017
2041
"alt_name" : " Frostleaf"
2018
2042
},
2043
+ {
2044
+ "id" : " char_4124_iana" ,
2045
+ "subProf" : " dollkeeper" ,
2046
+ "name" : " 双月" ,
2047
+ "alias" : " shuangyue sy 雙月" ,
2048
+ "rarity" : 5 ,
2049
+ "alt_name" : " Iana"
2050
+ },
2019
2051
{
2020
2052
"id" : " char_437_mizuki" ,
2021
2053
"subProf" : " stalker" ,
2632
2664
"rarity" : 4 ,
2633
2665
"alt_name" : " Ethan"
2634
2666
},
2667
+ {
2668
+ "id" : " char_4125_rdoc" ,
2669
+ "subProf" : " instructor" ,
2670
+ "name" : " 医生" ,
2671
+ "alias" : " yisheng ys 醫生" ,
2672
+ "rarity" : 5 ,
2673
+ "alt_name" : " Doc"
2674
+ },
2635
2675
{
2636
2676
"id" : " char_172_svrash" ,
2637
2677
"subProf" : " lord" ,
You can’t perform that action at this time.
0 commit comments