XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

chore: fully adopt tsgo It's finally able to emit this project without issues. It doesn't yet support incremental builds, but a full build with it is faster than an incremental build with the old tsc, so we're not losing anything.

86f86d04
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

2 个文件 +37 -43
Modified package-lock.json +32 -40
@@ -13,6 +13,7 @@
13 13 "@types/morgan": "^1.9.9",
14 14 "@types/websocket": "^1.0.10",
15 15 "@types/ws": "^8.18.1",
16 "@typescript/native-preview": "^7.0.0-dev.20250625.1",
16 17 "crc-32": "^1.2.2",
17 18 "express": "^5",
18 19 "json-with-bigint": "^3.4.4",
@@ -30,7 +31,6 @@
30 31 "devDependencies": {
31 32 "@typescript-eslint/eslint-plugin": "^8.28.0",
32 33 "@typescript-eslint/parser": "^8.28.0",
33 "@typescript/native-preview": "^7.0.0-dev.20250523.1",
34 34 "chokidar": "^4.0.3",
35 35 "eslint": "^8",
36 36 "eslint-plugin-prettier": "^5.2.5",
@@ -605,10 +605,9 @@
605 605 }
606 606 },
607 607 "node_modules/@typescript/native-preview": {
608 "version": "7.0.0-dev.20250523.1",
609 "resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20250523.1.tgz",
610 "integrity": "sha512-CgdgP/gmyaMThY7Fho19nDaTVryn9QV/zD/6w1KfDCn3M4Rq4WvkSc7Ob1ohc4V1XjCSIzg6Ul+HbLEc7xvV4Q==",
611 "dev": true,
608 "version": "7.0.0-dev.20250625.1",
609 "resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20250625.1.tgz",
610 "integrity": "sha512-7781zmsKURCHknc37H4U4la4kZduyxmmUshZLBzNhPHhV5DKo++K8MF69kxhRG3/vS4HBhozf0YI0mZMIbkSDA==",
612 611 "license": "Apache-2.0",
613 612 "bin": {
614 613 "tsgo": "bin/tsgo.js"
@@ -617,23 +616,22 @@
617 616 "node": ">=20.6.0"
618 617 },
619 618 "optionalDependencies": {
620 "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20250523.1",
621 "@typescript/native-preview-darwin-x64": "7.0.0-dev.20250523.1",
622 "@typescript/native-preview-linux-arm": "7.0.0-dev.20250523.1",
623 "@typescript/native-preview-linux-arm64": "7.0.0-dev.20250523.1",
624 "@typescript/native-preview-linux-x64": "7.0.0-dev.20250523.1",
625 "@typescript/native-preview-win32-arm64": "7.0.0-dev.20250523.1",
626 "@typescript/native-preview-win32-x64": "7.0.0-dev.20250523.1"
619 "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20250625.1",
620 "@typescript/native-preview-darwin-x64": "7.0.0-dev.20250625.1",
621 "@typescript/native-preview-linux-arm": "7.0.0-dev.20250625.1",
622 "@typescript/native-preview-linux-arm64": "7.0.0-dev.20250625.1",
623 "@typescript/native-preview-linux-x64": "7.0.0-dev.20250625.1",
624 "@typescript/native-preview-win32-arm64": "7.0.0-dev.20250625.1",
625 "@typescript/native-preview-win32-x64": "7.0.0-dev.20250625.1"
627 626 }
628 627 },
629 628 "node_modules/@typescript/native-preview-darwin-arm64": {
630 "version": "7.0.0-dev.20250523.1",
631 "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20250523.1.tgz",
632 "integrity": "sha512-oWJMPD+lfH9/dvHhPSZdTv43lfyZGrn7crytefhkiQPSwP0MIUCpnDkofGP/ML1nv0xx0pwWhH+Ein88NW3LuA==",
629 "version": "7.0.0-dev.20250625.1",
630 "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20250625.1.tgz",
631 "integrity": "sha512-JcLCql0O6+0iHIMllvax02kqpNtY1RUckGKomuO5kSbrOo9PsR+6r5MEcspfj47gwOl7AS0vrGhBCFFogF+KGw==",
633 632 "cpu": [
634 633 "arm64"
635 634 ],
636 "dev": true,
637 635 "license": "Apache-2.0",
638 636 "optional": true,
639 637 "os": [
@@ -644,13 +642,12 @@
644 642 }
645 643 },
646 644 "node_modules/@typescript/native-preview-darwin-x64": {
647 "version": "7.0.0-dev.20250523.1",
648 "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-x64/-/native-preview-darwin-x64-7.0.0-dev.20250523.1.tgz",
649 "integrity": "sha512-Yk8bJEsYsRKgRqYlwPvh7DPdgBMC/oPN60X0LWeuMLci65+4kyqF8Cv6K/W3ABc005cB4tYn4iR+9T6zipvrKw==",
645 "version": "7.0.0-dev.20250625.1",
646 "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-x64/-/native-preview-darwin-x64-7.0.0-dev.20250625.1.tgz",
647 "integrity": "sha512-0vCkk3FdS92W625JyzA8Slu/0vgkeu10fRQNfgIbf+E29DKMKnwXW56WhHSdGXAivU44Mewwc589+CbsABq3Sw==",
650 648 "cpu": [
651 649 "x64"
652 650 ],
653 "dev": true,
654 651 "license": "Apache-2.0",
655 652 "optional": true,
656 653 "os": [
@@ -661,13 +658,12 @@
661 658 }
662 659 },
663 660 "node_modules/@typescript/native-preview-linux-arm": {
664 "version": "7.0.0-dev.20250523.1",
665 "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm/-/native-preview-linux-arm-7.0.0-dev.20250523.1.tgz",
666 "integrity": "sha512-B+8CRIv6ebL8gzAagnJP8wml3baFV2FtFWuXYl6jlAcLGoQOh/yGdcAueZoJjJKNod4gAOl8OJoTicuC0BVIxw==",
661 "version": "7.0.0-dev.20250625.1",
662 "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm/-/native-preview-linux-arm-7.0.0-dev.20250625.1.tgz",
663 "integrity": "sha512-MumU7p+09ikH/x5IOJRV6DUj6N5/0kSlI4IsAUPtpT2WGkQdDtL2CC523/94YvOfWB1/+9r01636LVCGOJ135g==",
667 664 "cpu": [
668 665 "arm"
669 666 ],
670 "dev": true,
671 667 "license": "Apache-2.0",
672 668 "optional": true,
673 669 "os": [
@@ -678,13 +674,12 @@
678 674 }
679 675 },
680 676 "node_modules/@typescript/native-preview-linux-arm64": {
681 "version": "7.0.0-dev.20250523.1",
682 "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm64/-/native-preview-linux-arm64-7.0.0-dev.20250523.1.tgz",
683 "integrity": "sha512-IErNI08z9qE6mHaJaT6tM7il8j21ryH3DNVyFP4yz5FTKnkXFj1Kb4NcI41Q8w226LTQgBR8kNErVlbUWr7ywA==",
677 "version": "7.0.0-dev.20250625.1",
678 "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm64/-/native-preview-linux-arm64-7.0.0-dev.20250625.1.tgz",
679 "integrity": "sha512-IgnoWQSKeoeL7Y7tvlbcDQx0nidK3UWa/bbm1zJv+AfQlAGMrEMygp+ZzocmycUCYOVM0dcIbymjoiI/QRHTng==",
684 680 "cpu": [
685 681 "arm64"
686 682 ],
687 "dev": true,
688 683 "license": "Apache-2.0",
689 684 "optional": true,
690 685 "os": [
@@ -695,13 +690,12 @@
695 690 }
696 691 },
697 692 "node_modules/@typescript/native-preview-linux-x64": {
698 "version": "7.0.0-dev.20250523.1",
699 "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-x64/-/native-preview-linux-x64-7.0.0-dev.20250523.1.tgz",
700 "integrity": "sha512-TCZtknsLUgPRaEfX9CvBZNgrHhMRZPYYZgF1Aasdv0PONv9mB8w0Xforgxoo4UFjdF5ZzOu2icgc7sKJJeu5vw==",
693 "version": "7.0.0-dev.20250625.1",
694 "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-x64/-/native-preview-linux-x64-7.0.0-dev.20250625.1.tgz",
695 "integrity": "sha512-6fE8piqPfzPPqmQ37ewTSbm4HW0cNqOEhfLG2F37zJd4525mefhIpWvj2iCkEHWp+BDlF2dYCbB4cY2nmfrNNw==",
701 696 "cpu": [
702 697 "x64"
703 698 ],
704 "dev": true,
705 699 "license": "Apache-2.0",
706 700 "optional": true,
707 701 "os": [
@@ -712,13 +706,12 @@
712 706 }
713 707 },
714 708 "node_modules/@typescript/native-preview-win32-arm64": {
715 "version": "7.0.0-dev.20250523.1",
716 "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-arm64/-/native-preview-win32-arm64-7.0.0-dev.20250523.1.tgz",
717 "integrity": "sha512-bulwrkLEkoY4Jqeuvfz24RiVOiZZ7Rr9TblFqZAgZFZOnyXuhjM1jE8F1hnJFC5AghJe2HdLD3EKfabqlffrIw==",
709 "version": "7.0.0-dev.20250625.1",
710 "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-arm64/-/native-preview-win32-arm64-7.0.0-dev.20250625.1.tgz",
711 "integrity": "sha512-ppCkjBAFotPxL8j9Vk5cNSwMreOvAt02AMa5Hko3JQGSVA2TQCIlvTFn+SHSIWzYbzomc9j4j5WOcOR0rmAAHg==",
718 712 "cpu": [
719 713 "arm64"
720 714 ],
721 "dev": true,
722 715 "license": "Apache-2.0",
723 716 "optional": true,
724 717 "os": [
@@ -729,13 +722,12 @@
729 722 }
730 723 },
731 724 "node_modules/@typescript/native-preview-win32-x64": {
732 "version": "7.0.0-dev.20250523.1",
733 "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-x64/-/native-preview-win32-x64-7.0.0-dev.20250523.1.tgz",
734 "integrity": "sha512-ztzfO0oF/rj8xO5y3SyAcigmgvgczrqobCugEWFqiYumteWZPN2MYWcNYk2k8Y5LAgg1fN1xHIg8RRSPoo6XUg==",
725 "version": "7.0.0-dev.20250625.1",
726 "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-x64/-/native-preview-win32-x64-7.0.0-dev.20250625.1.tgz",
727 "integrity": "sha512-BsnJqso5MKAW4Y7fPmcamJ+EIrWOTqwLjeZP74NNFvTqCsA4RkITCw4NpLwD0lzrv9VsQcQ+bNwB8DrT+oDqoQ==",
735 728 "cpu": [
736 729 "x64"
737 730 ],
738 "dev": true,
739 731 "license": "Apache-2.0",
740 732 "optional": true,
741 733 "os": [
Modified package.json +5 -3
@@ -5,8 +5,10 @@
5 5 "main": "index.ts",
6 6 "scripts": {
7 7 "start": "node --enable-source-maps --import ./build/src/pathman.js build/src/index.js",
8 "build": "tsc --incremental --sourceMap && ncp static/webui build/static/webui",
9 "build:dev": "tsc --incremental --sourceMap",
8 "build": "tsgo --sourceMap && ncp static/webui build/static/webui",
9 "build:tsc": "tsc --incremental --sourceMap && ncp static/webui build/static/webui",
10 "build:dev": "tsgo --sourceMap",
11 "build:dev:tsc": "tsc --incremental --sourceMap",
10 12 "build-and-start": "npm run build && npm run start",
11 13 "build-and-start:bun": "npm run verify && npm run bun-run",
12 14 "dev": "node scripts/dev.js",
@@ -25,6 +27,7 @@
25 27 "@types/morgan": "^1.9.9",
26 28 "@types/websocket": "^1.0.10",
27 29 "@types/ws": "^8.18.1",
30 "@typescript/native-preview": "^7.0.0-dev.20250625.1",
28 31 "crc-32": "^1.2.2",
29 32 "express": "^5",
30 33 "json-with-bigint": "^3.4.4",
@@ -42,7 +45,6 @@
42 45 "devDependencies": {
43 46 "@typescript-eslint/eslint-plugin": "^8.28.0",
44 47 "@typescript-eslint/parser": "^8.28.0",
45 "@typescript/native-preview": "^7.0.0-dev.20250523.1",
46 48 "chokidar": "^4.0.3",
47 49 "eslint": "^8",
48 50 "eslint-plugin-prettier": "^5.2.5",