diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cd1f77f..296c6d94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,35 @@ # Changelog +## v1.33.0 + +[compare changes](https://github.com/ashgw/ts-roids/compare/v1.32.0...v1.33.0) + +### 🚀 Enhancements + +- **#112:** Add `Is` positive or negative float or integer ([d49345a](https://github.com/ashgw/ts-roids/commit/d49345a)) + +### 🩹 Fixes + +- `README.md` typo ([1c62dbd](https://github.com/ashgw/ts-roids/commit/1c62dbd)) +- **husky:** Lint pre-commit ([13af9f4](https://github.com/ashgw/ts-roids/commit/13af9f4)) + +### 💅 Refactors + +- **#95:** Use `IfExtends` ([5eef2c8](https://github.com/ashgw/ts-roids/commit/5eef2c8)) + +### 📖 Documentation + +- Improve `README.md` ([856b88a](https://github.com/ashgw/ts-roids/commit/856b88a)) + +### 🤖 CI + +- **#111:** Check version before publishing ([47bce5d](https://github.com/ashgw/ts-roids/commit/47bce5d)) + +### ❤️ Contributors + +- AshGw ([@AshGw](http://github.com/AshGw)) + ## v1.32.0 [compare changes](https://github.com/ashgw/ts-roids/compare/v1.31.0...v1.32.0) diff --git a/README.md b/README.md index eedbd953..7474a23a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Collection of utility types and decorators to bullet proof TypeScript even more. [![@latest](https://img.shields.io/npm/v/ts-roids.svg)](https://www.npmjs.com/package/ts-roids) [![npm downloads](https://img.shields.io/npm/dm/ts-utils.svg)](https://www.npmjs.com/package/ts-roids) [![bundle size](https://img.shields.io/bundlephobia/minzip/utility-types.svg)](https://www.npmjs.com/package/ts-roids) -

+
### Installation @@ -20,7 +20,7 @@ npm i ts-roids ```bash pnpm i ts-roids ``` -If you're only using types, you can install it as a dev dependency. +If you're only using types, you can install it as a ``devDependency``. And if you're using the decorators, set this property inside `tsconfig.json`. ```json { @@ -91,7 +91,7 @@ type ResultType = TestType; ``` ``TestType`` accepts three arguments: the types you're comparing (``Type1`` and ``Type2``) and a boolean (``true`` if you expected them to match, ``false`` otherwise). The resulting type will tell if your expectation is correct, true if it is, else false. -You can use it however you want, maybe to test a type with your eyes real quick, or, +You can use it however you want, maybe to test a type on the go, or, test using a testing framework. Here's an example with [`vitest`](https://vitest.dev) ````ts diff --git a/package.json b/package.json index 727e7526..4e25291b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-roids", - "version": "1.32.0", + "version": "1.33.0", "private": false, "description": "Bullet-proof TS even more", "keywords": [ @@ -103,4 +103,4 @@ "vitest": "1.5.0" }, "packageManager": "pnpm@8.14.0" -} +} \ No newline at end of file