mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-16 12:51:39 +00:00
refactor: use esbuild-register
This commit is contained in:
parent
9c6cea294c
commit
b11abb564a
@ -4,11 +4,6 @@
|
||||
|
||||
'use strict'
|
||||
|
||||
require('ts-node').register({
|
||||
scope: true,
|
||||
scopeDir: __dirname,
|
||||
swc: true,
|
||||
transpileOnly: true,
|
||||
})
|
||||
require('esbuild-register/dist/node').register()
|
||||
|
||||
module.exports = require('./config').config
|
||||
|
@ -30,11 +30,9 @@
|
||||
"@swc/core": "^1.3.78",
|
||||
"concurrently": "^8.2.1",
|
||||
"docusaurus-plugin-sass": "^0.2.5",
|
||||
"esbuild-register": "^3.5.0",
|
||||
"raw-loader": "^4.0.2",
|
||||
"sass": "^1.66.1",
|
||||
"tosource": "^2.0.0-alpha.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.1.0"
|
||||
"sass": "^1.66.1"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
@ -24,11 +24,10 @@
|
||||
"@satorijs/element": "^2.5.1",
|
||||
"@types/mime": "^3.0.1",
|
||||
"concurrently": "^8.2.1",
|
||||
"esbuild-register": "^3.5.0",
|
||||
"ipcman": "^0.1.3",
|
||||
"mime": "^3.0.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
"tosource": "^2.0.0-alpha.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"ts-toolbelt": "^9.6.0",
|
||||
"typescript": "~5.1.0"
|
||||
}
|
||||
|
@ -23,10 +23,9 @@
|
||||
"@chronocat/shell": "workspace:packages/shell",
|
||||
"@satorijs/element": "^2.5.1",
|
||||
"concurrently": "^8.2.1",
|
||||
"esbuild-register": "^3.5.0",
|
||||
"ipcman": "^0.1.3",
|
||||
"node-fetch": "^3.3.2",
|
||||
"tosource": "^2.0.0-alpha.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"ts-toolbelt": "^9.6.0",
|
||||
"typescript": "~5.1.0"
|
||||
}
|
||||
|
@ -27,8 +27,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^8.2.1",
|
||||
"tosource": "^2.0.0-alpha.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"esbuild-register": "^3.5.0",
|
||||
"ts-toolbelt": "^9.6.0",
|
||||
"typescript": "~5.1.0"
|
||||
}
|
||||
|
@ -32,12 +32,11 @@
|
||||
"busboy": "^1.6.0",
|
||||
"bytenode": "^1.5.3",
|
||||
"concurrently": "^8.2.1",
|
||||
"esbuild-register": "^3.5.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"logiri": "^0.1.2",
|
||||
"node-fetch": "^3.3.2",
|
||||
"protobufjs": "^7.2.5",
|
||||
"tosource": "^2.0.0-alpha.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"ts-toolbelt": "^9.6.0",
|
||||
"typescript": "~5.1.0",
|
||||
"typescript-json-schema": "^0.61.0",
|
||||
|
Loading…
Reference in New Issue
Block a user