返回提交历史
Modified
.github/workflows/build.yml
+2
-0
Modified
package-lock.json
+142
-31
Modified
package.json
+1
-5
XFEstudio/XFESpaceNinjaServer
chore: switch to official tsgo preview package (#2103)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2103 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
90f2b903
代码差异
3 个文件
+145
-36
@@ -10,6 +10,8 @@ jobs:
10
10
uses: actions/checkout@v4.1.2
11
11
- name: Setup Node.js environment
12
12
uses: actions/setup-node@v4.0.2
13
with:
14
node-version: ">=20.6.0"
13
15
- run: npm ci
14
16
- run: cp config.json.example config.json
15
17
- run: npm run verify
@@ -24,18 +24,14 @@
24
24
"winston-daily-rotate-file": "^5.0.0"
25
25
},
26
26
"devDependencies": {
27
"@rxliuli/tsgo": "^2025.3.31",
28
27
"@typescript-eslint/eslint-plugin": "^8.28.0",
29
28
"@typescript-eslint/parser": "^8.28.0",
29
"@typescript/native-preview": "^7.0.0-dev.20250523.1",
30
30
"eslint": "^8",
31
31
"eslint-plugin-prettier": "^5.2.5",
32
32
"prettier": "^3.5.3",
33
33
"ts-node-dev": "^2.0.0",
34
34
"tsconfig-paths": "^4.2.0"
35
},
36
"engines": {
37
"node": ">=18.15.0",
38
"npm": ">=9.5.0"
39
35
}
40
36
},
41
37
"node_modules/@colors/colors": {
@@ -308,32 +304,6 @@
308
304
"url": "https://opencollective.com/pkgr"
309
305
}
310
306
},
311
"node_modules/@rxliuli/tsgo": {
312
"version": "2025.5.8",
313
"resolved": "https://registry.npmjs.org/@rxliuli/tsgo/-/tsgo-2025.5.8.tgz",
314
"integrity": "sha512-P3/qxcUgiWz6nSJslJ5mMeAEqacK8LQSoOhdvHxI1/d0Xqxt2Qp6/nmhWuOlyqnCyAaIoXgoiUshiXWBGr2jaw==",
315
"cpu": [
316
"x64",
317
"ia32",
318
"arm",
319
"arm64"
320
],
321
"dev": true,
322
"hasInstallScript": true,
323
"license": "MIT",
324
"os": [
325
"darwin",
326
"linux",
327
"win32",
328
"freebsd"
329
],
330
"bin": {
331
"tsgo": "bin.js"
332
},
333
"engines": {
334
"node": ">=12"
335
}
336
},
337
307
"node_modules/@tsconfig/node10": {
338
308
"version": "1.0.11",
339
309
"resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz",
@@ -695,6 +665,147 @@
695
665
"url": "https://opencollective.com/eslint"
696
666
}
697
667
},
668
"node_modules/@typescript/native-preview": {
669
"version": "7.0.0-dev.20250523.1",
670
"resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20250523.1.tgz",
671
"integrity": "sha512-CgdgP/gmyaMThY7Fho19nDaTVryn9QV/zD/6w1KfDCn3M4Rq4WvkSc7Ob1ohc4V1XjCSIzg6Ul+HbLEc7xvV4Q==",
672
"dev": true,
673
"license": "Apache-2.0",
674
"bin": {
675
"tsgo": "bin/tsgo.js"
676
},
677
"engines": {
678
"node": ">=20.6.0"
679
},
680
"optionalDependencies": {
681
"@typescript/native-preview-darwin-arm64": "7.0.0-dev.20250523.1",
682
"@typescript/native-preview-darwin-x64": "7.0.0-dev.20250523.1",
683
"@typescript/native-preview-linux-arm": "7.0.0-dev.20250523.1",
684
"@typescript/native-preview-linux-arm64": "7.0.0-dev.20250523.1",
685
"@typescript/native-preview-linux-x64": "7.0.0-dev.20250523.1",
686
"@typescript/native-preview-win32-arm64": "7.0.0-dev.20250523.1",
687
"@typescript/native-preview-win32-x64": "7.0.0-dev.20250523.1"
688
}
689
},
690
"node_modules/@typescript/native-preview-darwin-arm64": {
691
"version": "7.0.0-dev.20250523.1",
692
"resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20250523.1.tgz",
693
"integrity": "sha512-oWJMPD+lfH9/dvHhPSZdTv43lfyZGrn7crytefhkiQPSwP0MIUCpnDkofGP/ML1nv0xx0pwWhH+Ein88NW3LuA==",
694
"cpu": [
695
"arm64"
696
],
697
"dev": true,
698
"license": "Apache-2.0",
699
"optional": true,
700
"os": [
701
"darwin"
702
],
703
"engines": {
704
"node": ">=20.6.0"
705
}
706
},
707
"node_modules/@typescript/native-preview-darwin-x64": {
708
"version": "7.0.0-dev.20250523.1",
709
"resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-x64/-/native-preview-darwin-x64-7.0.0-dev.20250523.1.tgz",
710
"integrity": "sha512-Yk8bJEsYsRKgRqYlwPvh7DPdgBMC/oPN60X0LWeuMLci65+4kyqF8Cv6K/W3ABc005cB4tYn4iR+9T6zipvrKw==",
711
"cpu": [
712
"x64"
713
],
714
"dev": true,
715
"license": "Apache-2.0",
716
"optional": true,
717
"os": [
718
"darwin"
719
],
720
"engines": {
721
"node": ">=20.6.0"
722
}
723
},
724
"node_modules/@typescript/native-preview-linux-arm": {
725
"version": "7.0.0-dev.20250523.1",
726
"resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm/-/native-preview-linux-arm-7.0.0-dev.20250523.1.tgz",
727
"integrity": "sha512-B+8CRIv6ebL8gzAagnJP8wml3baFV2FtFWuXYl6jlAcLGoQOh/yGdcAueZoJjJKNod4gAOl8OJoTicuC0BVIxw==",
728
"cpu": [
729
"arm"
730
],
731
"dev": true,
732
"license": "Apache-2.0",
733
"optional": true,
734
"os": [
735
"linux"
736
],
737
"engines": {
738
"node": ">=20.6.0"
739
}
740
},
741
"node_modules/@typescript/native-preview-linux-arm64": {
742
"version": "7.0.0-dev.20250523.1",
743
"resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm64/-/native-preview-linux-arm64-7.0.0-dev.20250523.1.tgz",
744
"integrity": "sha512-IErNI08z9qE6mHaJaT6tM7il8j21ryH3DNVyFP4yz5FTKnkXFj1Kb4NcI41Q8w226LTQgBR8kNErVlbUWr7ywA==",
745
"cpu": [
746
"arm64"
747
],
748
"dev": true,
749
"license": "Apache-2.0",
750
"optional": true,
751
"os": [
752
"linux"
753
],
754
"engines": {
755
"node": ">=20.6.0"
756
}
757
},
758
"node_modules/@typescript/native-preview-linux-x64": {
759
"version": "7.0.0-dev.20250523.1",
760
"resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-x64/-/native-preview-linux-x64-7.0.0-dev.20250523.1.tgz",
761
"integrity": "sha512-TCZtknsLUgPRaEfX9CvBZNgrHhMRZPYYZgF1Aasdv0PONv9mB8w0Xforgxoo4UFjdF5ZzOu2icgc7sKJJeu5vw==",
762
"cpu": [
763
"x64"
764
],
765
"dev": true,
766
"license": "Apache-2.0",
767
"optional": true,
768
"os": [
769
"linux"
770
],
771
"engines": {
772
"node": ">=20.6.0"
773
}
774
},
775
"node_modules/@typescript/native-preview-win32-arm64": {
776
"version": "7.0.0-dev.20250523.1",
777
"resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-arm64/-/native-preview-win32-arm64-7.0.0-dev.20250523.1.tgz",
778
"integrity": "sha512-bulwrkLEkoY4Jqeuvfz24RiVOiZZ7Rr9TblFqZAgZFZOnyXuhjM1jE8F1hnJFC5AghJe2HdLD3EKfabqlffrIw==",
779
"cpu": [
780
"arm64"
781
],
782
"dev": true,
783
"license": "Apache-2.0",
784
"optional": true,
785
"os": [
786
"win32"
787
],
788
"engines": {
789
"node": ">=20.6.0"
790
}
791
},
792
"node_modules/@typescript/native-preview-win32-x64": {
793
"version": "7.0.0-dev.20250523.1",
794
"resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-x64/-/native-preview-win32-x64-7.0.0-dev.20250523.1.tgz",
795
"integrity": "sha512-ztzfO0oF/rj8xO5y3SyAcigmgvgczrqobCugEWFqiYumteWZPN2MYWcNYk2k8Y5LAgg1fN1xHIg8RRSPoo6XUg==",
796
"cpu": [
797
"x64"
798
],
799
"dev": true,
800
"license": "Apache-2.0",
801
"optional": true,
802
"os": [
803
"win32"
804
],
805
"engines": {
806
"node": ">=20.6.0"
807
}
808
},
698
809
"node_modules/@ungap/structured-clone": {
699
810
"version": "1.3.0",
700
811
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
@@ -31,17 +31,13 @@
31
31
"winston-daily-rotate-file": "^5.0.0"
32
32
},
33
33
"devDependencies": {
34
"@rxliuli/tsgo": "^2025.3.31",
35
34
"@typescript-eslint/eslint-plugin": "^8.28.0",
36
35
"@typescript-eslint/parser": "^8.28.0",
36
"@typescript/native-preview": "^7.0.0-dev.20250523.1",
37
37
"eslint": "^8",
38
38
"eslint-plugin-prettier": "^5.2.5",
39
39
"prettier": "^3.5.3",
40
40
"ts-node-dev": "^2.0.0",
41
41
"tsconfig-paths": "^4.2.0"
42
},
43
"engines": {
44
"node": ">=18.15.0",
45
"npm": ">=9.5.0"
46
42
}
47
43
}