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

XFESpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/XFESpaceNinjaServer

chore: use incremental compilation everywhere (#3115)

Initially, we didn't use it with tsgo due to lack of support. It's also possible for verify to make use of this, which we did not either way. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3115 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

7d4ff7c4
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

2 个文件 +3 -3
Modified package.json +2 -2
@@ -6,9 +6,9 @@
6 6 "scripts": {
7 7 "start": "node --enable-source-maps build/src/index.js",
8 8 "build": "tsgo --inlineSourceMap && ncp static/webui build/static/webui",
9 "build:tsc": "tsc --incremental --inlineSourceMap && ncp static/webui build/static/webui",
9 "build:tsc": "tsc --inlineSourceMap && ncp static/webui build/static/webui",
10 10 "build:dev": "tsgo --inlineSourceMap",
11 "build:dev:tsc": "tsc --incremental --inlineSourceMap",
11 "build:dev:tsc": "tsc --inlineSourceMap",
12 12 "build-and-start": "npm run build && npm run start",
13 13 "dev": "node scripts/dev.cjs",
14 14 "dev:bun": "bun scripts/dev.cjs",
Modified tsconfig.json +1 -1
@@ -3,7 +3,7 @@
3 3 /* Visit https://aka.ms/tsconfig to read more about this file */
4 4
5 5 /* Projects */
6 // "incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
6 "incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
7 7 // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8 8 // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
9 9 // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */