Skip to content

Commit

Permalink
fix: export crypto from nanotron (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd authored Sep 23, 2024
2 parents e964cac + 94cdf28 commit e4cab7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/nanotron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"clean": "rm -rfv dist *.tsbuildinfo"
},
"dependencies": {
"@alwatr/crypto": "workspace:^",
"@alwatr/logger": "^3.2.13",
"@alwatr/nanotron-api-server": "workspace:^"
},
Expand Down
1 change: 1 addition & 0 deletions packages/nanotron/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ import {definePackage} from '@alwatr/logger';
import type {} from '@alwatr/nano-build';

export * from '@alwatr/nanotron-api-server';
export * from '@alwatr/crypto';

definePackage('@alwatr/nanotron', __package_version__);
2 changes: 1 addition & 1 deletion packages/nanotron/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"composite": true,
},
"include": ["src/**/*.ts"],
"references": [{"path": "../api-server"}],
"references": [{"path": "../api-server"}, {"path": "../crypto"}],
}
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ __metadata:
version: 8
cacheKey: 10c0

"@alwatr/crypto@workspace:packages/crypto":
"@alwatr/crypto@workspace:^, @alwatr/crypto@workspace:packages/crypto":
version: 0.0.0-use.local
resolution: "@alwatr/crypto@workspace:packages/crypto"
dependencies:
Expand Down Expand Up @@ -92,6 +92,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@alwatr/nanotron@workspace:packages/nanotron"
dependencies:
"@alwatr/crypto": "workspace:^"
"@alwatr/logger": "npm:^3.2.13"
"@alwatr/nano-build": "npm:^1.3.9"
"@alwatr/nanotron-api-server": "workspace:^"
Expand Down

0 comments on commit e4cab7f

Please sign in to comment.