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: don't emit code when verifying types in CI (#1380)

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

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

代码差异

3 个文件 +4 -3
Modified .github/workflows/build.yml +1 -1
@@ -17,5 +17,5 @@ jobs:
17 17 node-version: ${{ matrix.version }}
18 18 - run: npm ci
19 19 - run: cp config.json.example config.json
20 - run: npm run build
20 - run: npm run verify
21 21 - run: npm run lint
Modified package.json +2 -1
@@ -6,7 +6,8 @@
6 6 "scripts": {
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 "build": "tsc && copyfiles static/webui/** build",
9 "build": "tsc --incremental && copyfiles static/webui/** build",
10 "verify": "tsc --noEmit",
10 11 "lint": "eslint --ext .ts .",
11 12 "lint:fix": "eslint --fix --ext .ts .",
12 13 "prettier": "prettier --write .",
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. */