3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

feat: fix issues importing /backend in other packages

This commit is contained in:
Dragory 2024-08-11 02:10:55 +03:00
parent 460b65d1df
commit 8cb4d047b9
No known key found for this signature in database
3 changed files with 6 additions and 2 deletions

View file

@ -4,6 +4,9 @@
"description": "", "description": "",
"private": true, "private": true,
"type": "module", "type": "module",
"exports": {
"./*": "./dist/*"
},
"scripts": { "scripts": {
"watch": "tsc-watch --build --onSuccess \"node start-dev.js\"", "watch": "tsc-watch --build --onSuccess \"node start-dev.js\"",
"watch-yaml-parse-test": "tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"", "watch-yaml-parse-test": "tsc-watch --build --onSuccess \"node dist/yamlParseTest.js\"",

View file

@ -3,7 +3,7 @@ import type { Knub } from "knub";
type Profiler = Knub["profiler"]; type Profiler = Knub["profiler"];
let profiler: Profiler | null = null; let profiler: Profiler | null = null;
export function getProfiler() { export function getProfiler(): Profiler|null {
return profiler; return profiler;
} }

View file

@ -5,7 +5,8 @@
"module": "NodeNext", "module": "NodeNext",
"baseUrl": "./src", "baseUrl": "./src",
"rootDir": "./src", "rootDir": "./src",
"outDir": "./dist" "outDir": "./dist",
"composite": true
}, },
"include": ["src/**/*.ts", "src/**/*.json"], "include": ["src/**/*.ts", "src/**/*.json"],
"references": [ "references": [