✨ feat: implement core Cereale library for JSON mapping and validation

- 🎨 add Spring-like decorators (@JsonSerialize, @JsonDeserialize, etc.)
- ⚙️ implement JsonMapper and metadata storage for transformations
- 🧪 add comprehensive test suite using Vitest
- 📝 add README, CONTRIBUTING, and API documentation
- 👷 setup GitHub Actions CI workflow
- 🔧 configure TypeScript and project settings
This commit is contained in:
Enzo Marioni
2026-04-18 19:33:19 +02:00
parent 7fe7e8c7c3
commit fa75147e4e
18 changed files with 909 additions and 280 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ import {
IsBoolean,
IsInt,
Min,
Max,
MinLength,
MaxLength,
Email,
@@ -22,7 +21,7 @@ import {
JsonSerializer,
JsonDeserializer,
JsonValidationError
} from './index';
} from './index.js';
// --- Custom Serializers ---
class DateSerializer implements JsonSerializer<Date, string> {