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:
parent
460b65d1df
commit
8cb4d047b9
3 changed files with 6 additions and 2 deletions
|
@ -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\"",
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue