mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 01:31:47 +03:00
feat(bridge/nodejs): resolve SDK mapping
This commit is contained in:
parent
2df22770e0
commit
a836a7cc8c
@ -149,6 +149,8 @@ BUILD_TARGETS.set('tcp-server', {
|
||||
NODEJS_BRIDGE_BIN_NAME
|
||||
)
|
||||
|
||||
await fs.promises.rm(buildPath, { recursive: true, force: true })
|
||||
|
||||
await command(`tsc --project ${tsconfigPath}`, {
|
||||
shell: true,
|
||||
stdio: 'inherit'
|
||||
|
8
skills/tsconfig.json
Normal file
8
skills/tsconfig.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "@tsconfig/node16-strictest/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"@sdk/*": ["../bridges/nodejs/src/sdk/*"]
|
||||
}
|
||||
}
|
||||
}
|
@ -6,8 +6,7 @@
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@@/*": ["./*"],
|
||||
"@/*": ["./server/src/*"],
|
||||
"@sdk/*": ["./bridges/nodejs/src/sdk/*"]
|
||||
"@/*": ["./server/src/*"]
|
||||
},
|
||||
"ignoreDeprecations": "5.0",
|
||||
"allowJs": true,
|
||||
|
Loading…
Reference in New Issue
Block a user