feat(core): configure package exports and npm ignore

- Add public API exports from all layers
- Add .npmignore for clean package publishing
This commit is contained in:
imfozilbek
2025-11-23 21:43:58 +05:00
parent 8b81e6030d
commit 6f4d77449a
2 changed files with 42 additions and 0 deletions

38
packages/core/.npmignore Normal file
View File

@@ -0,0 +1,38 @@
# Source files (only publish dist/)
src/
*.ts
!*.d.ts
# Build artifacts
tsconfig.json
tsconfig.*.json
tsconfig.tsbuildinfo
*.tsbuildinfo
# Tests
**/*.spec.ts
**/*.test.ts
__tests__/
coverage/
# Development
node_modules/
.env
.env.*
# IDE
.vscode/
.idea/
*.swp
*.swo
# Git
.git/
.gitignore
# Other
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.DS_Store

View File

@@ -0,0 +1,4 @@
export * from './domain';
export * from './application';
export * from './infrastructure';
export * from './shared';