From b606dccacada7402cc97ee01fed30d8c53116e44 Mon Sep 17 00:00:00 2001 From: Yuki Takagi Date: Mon, 29 Jul 2024 19:28:08 +0900 Subject: [PATCH 1/3] chore(README): Add TS logo on the badge, add bundle size badges and add Features section --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6bef5a8..00cec78 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,21 @@

CI License - Written in TypeScript + Written in TypeScript NPM Version + npm bundle size + npm bundle size

+## Features + +- Defining a class extending a zod schema +- Property types inferred from the schema +- Validation in the constructor +- Both readonly (default) and mutable properties +- Validation in setters of mutable properties +- Wrapping a validated primitive value in a class + ## Installation | npm | pnpm | yarn | From 2cce2f84c6782035828519f8cf3f89e706645894 Mon Sep 17 00:00:00 2001 From: Yuki Takagi Date: Mon, 29 Jul 2024 19:29:00 +0900 Subject: [PATCH 2/3] 7.2.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6d2bd90..d68c313 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "validated-extendable", - "version": "7.2.10", + "version": "7.2.11", "description": "A library that allows you to define classes extending zod schemas to avoid boilerplate code.", "exports": { ".": { From 497e89810f4414c1d7837df500ada40fb02ab059 Mon Sep 17 00:00:00 2001 From: Yuki Takagi Date: Mon, 29 Jul 2024 20:19:13 +0900 Subject: [PATCH 3/3] chore(README): paraphrase --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 00cec78..721a3cb 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ ## Features - Defining a class extending a zod schema -- Property types inferred from the schema +- Class properties and constructor types inferred from the schema - Validation in the constructor - Both readonly (default) and mutable properties - Validation in setters of mutable properties