From 1e71863fd2f1552aa3ef7b3ab90e3c3d75e8f03a Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Fri, 25 Oct 2024 14:51:07 +0330 Subject: [PATCH] feat(nanotron): use `pre-handlers` package --- packages/nanotron/package.json | 3 ++- packages/nanotron/src/main.ts | 1 + packages/nanotron/tsconfig.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/nanotron/package.json b/packages/nanotron/package.json index 6aed4d2..3750857 100644 --- a/packages/nanotron/package.json +++ b/packages/nanotron/package.json @@ -59,7 +59,8 @@ "dependencies": { "@alwatr/crypto": "workspace:^", "@alwatr/nanolib": "^1.3.0", - "@alwatr/nanotron-api-server": "workspace:^" + "@alwatr/nanotron-api-server": "workspace:^", + "@alwatr/pre-handlers": "workspace:^" }, "devDependencies": { "@alwatr/nano-build": "^2.0.2", diff --git a/packages/nanotron/src/main.ts b/packages/nanotron/src/main.ts index 4583101..75f2331 100644 --- a/packages/nanotron/src/main.ts +++ b/packages/nanotron/src/main.ts @@ -2,5 +2,6 @@ import {packageTracer} from '@alwatr/nanolib'; export * from '@alwatr/nanotron-api-server'; export * from '@alwatr/crypto'; +export * from '@alwatr/pre-handlers'; __dev_mode__: packageTracer.add(__package_name__, __package_version__); diff --git a/packages/nanotron/tsconfig.json b/packages/nanotron/tsconfig.json index b9f8f74..7690cf7 100644 --- a/packages/nanotron/tsconfig.json +++ b/packages/nanotron/tsconfig.json @@ -8,5 +8,5 @@ "types": ["node", "@alwatr/nano-build", "@alwatr/type-helper"] }, "include": ["src/**/*.ts"], - "references": [{"path": "../api-server"}, {"path": "../crypto"}], + "references": [{"path": "../api-server"}, {"path": "../pre-handlers"}], }