use tsc for build

Windowsだとエラーが出るため
This commit is contained in:
syuilo 2023-02-23 11:06:23 +09:00
parent d2ef0efbff
commit d1a69abf81
2 changed files with 13 additions and 8 deletions

View file

@ -7,9 +7,9 @@
"start": "node ./built/index.js",
"start:test": "NODE_ENV=test node ./built/index.js",
"migrate": "pnpm typeorm migration:run -d ormconfig.js",
"build": "swc src -d built -D",
"build:swc": "swc src -d built -D",
"watch:swc": "swc src -d built -D -w",
"build:tsc": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
"build": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
"watch": "node watch.mjs",
"typecheck": "tsc --noEmit",
"eslint": "eslint --quiet \"src/**/*.ts\"",
@ -128,7 +128,9 @@
"web-push": "3.5.0",
"websocket": "1.0.34",
"ws": "8.12.1",
"xev": "3.0.2"
"xev": "3.0.2",
"tsc-alias": "1.8.2",
"typescript": "4.9.5"
},
"devDependencies": {
"@jest/globals": "29.4.3",
@ -181,8 +183,6 @@
"eslint-plugin-import": "2.27.5",
"execa": "6.1.0",
"jest": "29.4.3",
"jest-mock": "29.4.3",
"tsc-alias": "1.8.2",
"typescript": "4.9.5"
"jest-mock": "29.4.3"
}
}

View file

@ -301,9 +301,11 @@ importers:
systeminformation: 5.17.9
tinycolor2: 1.6.0
tmp: 0.2.1
tsc-alias: 1.8.2
tsconfig-paths: 4.1.2
twemoji-parser: 14.0.0
typeorm: 0.3.11_ioredis@4.28.5+pg@8.9.0
typescript: 4.9.5
ulid: 2.3.0
unzipper: 0.10.11
uuid: 9.0.0
@ -367,8 +369,6 @@ importers:
execa: 6.1.0
jest: 29.4.3_@types+node@18.14.0
jest-mock: 29.4.3
tsc-alias: 1.8.2
typescript: 4.9.5
packages/frontend:
specifiers:
@ -4648,6 +4648,7 @@ packages:
/commander/9.5.0:
resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
engines: {node: ^12.20.0 || >=14}
dev: false
/common-tags/1.8.2:
resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
@ -9388,6 +9389,7 @@ packages:
/mylas/2.1.13:
resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==}
engines: {node: '>=12.0.0'}
dev: false
/mz/2.7.0:
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
@ -10276,6 +10278,7 @@ packages:
resolution: {integrity: sha512-Eb/MqCb1Iv/ok4m1FqIXqvUKPISufcjZ605hl3KM/n8GaX8zfhtgdLwZU3vKjuHGh2O9Rjog/bHTq8ofIShdng==}
dependencies:
queue-lit: 1.5.0
dev: false
/plugin-error/1.0.1:
resolution: {integrity: sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==}
@ -10916,6 +10919,7 @@ packages:
/queue-lit/1.5.0:
resolution: {integrity: sha512-IslToJ4eiCEE9xwMzq3viOO5nH8sUWUCwoElrhNMozzr9IIt2qqvB4I+uHu/zJTQVqc9R5DFwok4ijNK1pU3fA==}
dev: false
/queue-microtask/1.2.3:
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
@ -12447,6 +12451,7 @@ packages:
mylas: 2.1.13
normalize-path: 3.0.0
plimit-lit: 1.5.0
dev: false
/tsconfig-paths/3.14.1:
resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==}