@samet-digital/common
v1.0.1
Published
Back End: Common
Readme
___ ___ _ __ ___ _ __ ___ ___ _ __
/ __/ _ \| '_ ` _ \| '_ ` _ \ / _ \| '_ \
| (_| (_) | | | | | | | | | | | (_) | | | |
\___\___/|_| |_| |_|_| |_| |_|\___/|_| |_|Common component
Usage
EN: How to add into your project?TR: Projene nasıl eklersin?
npm i @samet-digital/commonContents
| Name | TR | EN | |-----------|-------------------------|--------------------------| | Config | Temel ayar nesneleri | Common config utility | | Error | Temel hata nesneleri | Common error utility | | Generator | Temel üretici nesneleri | Common generator utility |
Development
Step 1
EN: Go to your project folderTR: Bilgisayarında proje klasörüne git
# Windows
cd C:\\projects\samet-digital# Mac
cd /Users/{user}/projects/samet-digitalStep 2
EN: Clone the projectTR: Projeyi bilgisiyarına çek
git clone https://github.com/samet-digital/common.git -b developmentCommands
Install
EN: Collects all dependenciesTR: Tüm bağımlılıkları yükle
npm iBuild
EN: Builds project dist (TS -> JS, src -> dist)TR: Projeyi derle (TS -> JS, src -> dist)
npm run run buildPublish
EN: Publishes component on http://npmjs.com/TR: Projeyi yayınla
npm run run publish:publicClear Dist
EN: CleardistfolderTR: Derlenen dosyaları temizler
npm run clearClear Node Modules
EN: Clearnode_modulesanddistfolderTR: Derlenen dosyaları ve bağımlılıkları temizler
npm run clear:nmCode Analysis
EN: Executes static code analysisTR: Kodu denetler
npm run lintTests
EN: Runs test casesTR: testleri çalıştırır (varsa)
npm run testEN: Exports coverage reportTR: Test kapsam raporunu oluşturur
npm run test:coverageOutdated Dependencies
EN: Finds outdated/legacy dependenciesTR: Yeni sürümü çıkmış bağımlılıklar
npm outdatedStandards
| Standard | Value | Info |
|-------------|-------|--------------------------------|
| Language | TS | |
| Lint | [x] | eslint |
| Inspections | [x] | intelli-j code inspections |
| DDD | [x] | domain driven development |
| EDD | [x] | exception driven development |
| TDD | [x] | test driven development |
| LDD | [x] | log driven development |
| DDD | [x] | document driven development |
Author
Date2025-04-27NameMustafa Yelmer
History
2025-04-27Created - Mustafa Yelmer2025-08-12Refactored - Mustafa Yelmer
