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: use tsgo to verify types (#1417)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1417 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

2091dabf
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

2 个文件 +29 -1
Modified package-lock.json +27 -0
@@ -24,6 +24,7 @@
24 24 "winston-daily-rotate-file": "^5.0.0"
25 25 },
26 26 "devDependencies": {
27 "@rxliuli/tsgo": "^2025.3.31",
27 28 "@typescript-eslint/eslint-plugin": "^8.28.0",
28 29 "@typescript-eslint/parser": "^8.28.0",
29 30 "eslint": "^8",
@@ -307,6 +308,32 @@
307 308 "url": "https://opencollective.com/unts"
308 309 }
309 310 },
311 "node_modules/@rxliuli/tsgo": {
312 "version": "2025.3.31",
313 "resolved": "https://registry.npmjs.org/@rxliuli/tsgo/-/tsgo-2025.3.31.tgz",
314 "integrity": "sha512-jEistRy/+Mu79rDv/Q8xn2yIM56WF3rfQOkwrbtivumij5HBVTfY4W3EYNL3N7rop7yg9Trew3joDohDoxQ2Ow==",
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 },
310 337 "node_modules/@tsconfig/node10": {
311 338 "version": "1.0.11",
312 339 "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz",
Modified package.json +2 -1
@@ -7,7 +7,7 @@
7 7 "start": "node --import ./build/src/pathman.js build/src/index.js",
8 8 "dev": "ts-node-dev --openssl-legacy-provider -r tsconfig-paths/register src/index.ts ",
9 9 "build": "tsc --incremental && ncp static/webui build/static/webui",
10 "verify": "tsc --noEmit",
10 "verify": "tsgo --noEmit",
11 11 "lint": "eslint --ext .ts .",
12 12 "lint:fix": "eslint --fix --ext .ts .",
13 13 "prettier": "prettier --write .",
@@ -30,6 +30,7 @@
30 30 "winston-daily-rotate-file": "^5.0.0"
31 31 },
32 32 "devDependencies": {
33 "@rxliuli/tsgo": "^2025.3.31",
33 34 "@typescript-eslint/eslint-plugin": "^8.28.0",
34 35 "@typescript-eslint/parser": "^8.28.0",
35 36 "eslint": "^8",