yuppi 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -56,14 +56,14 @@
56
56
 
57
57
  ## About
58
58
 
59
- Schemas that can be converted to Yup and JSON Schema.
59
+ Perform validation using portable and simple schemas.
60
60
 
61
61
  ## Features
62
62
 
63
63
  - Easy and understandable schema
64
64
  - Contains ready regex patterns
65
65
  - Portable schemas as a JSON file
66
- - Works with Yup, stable and secure
66
+ - Works with [Yup](https://npmjs.com/package/yup), stable and secure
67
67
  - Schemas can be declared for TypeScript
68
68
  - It has union support, properties can have multiple types
69
69
  - Error messages are ready to be understood but can be edited if desired
@@ -248,7 +248,7 @@ Declare your Yuppi schema for TypeScript.
248
248
  > Example:
249
249
  >
250
250
  > ```typescript
251
- > import type { User } from './yuppi/types/User';
251
+ > import type { User } from './generated/yuppi/types/User';
252
252
  >
253
253
  > await Yupp.declare(schema, 'User');
254
254
  >
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yuppi",
3
- "version": "1.4.0",
4
- "description": "Schemas that can be converted to Yup and JSON Schema.",
3
+ "version": "1.4.1",
4
+ "description": "Perform validation using portable and simple schemas.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/keift/yuppi",
7
7
  "bugs": "https://github.com/keift/yuppi/issues",