Skip to content

Commit 19fac02

Browse files
committed
2.0.0-beta.0
1 parent f41fc77 commit 19fac02

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ Custom error messages in JSON-Schema for Ajv validator
88
[![Coverage Status](https://coveralls.io/repos/github/ajv-validator/ajv-errors/badge.svg?branch=master)](https://coveralls.io/github/ajv-validator/ajv-errors?branch=master)
99
[![Gitter](https://img.shields.io/gitter/room/ajv-validator/ajv.svg)](https://gitter.im/ajv-validator/ajv)
1010

11+
**Please note**
12+
13+
ajv-errors v2-beta supports [ajv v7-beta](https://github.com/ajv-validator/ajv).
14+
15+
If you are using ajv v6, you should use [ajv-errors v1](https://github.com/ajv-validator/ajv-errors/tree/v1)
16+
1117
## Contents
1218

1319
- [Install](#install)
@@ -23,6 +29,14 @@ Custom error messages in JSON-Schema for Ajv validator
2329

2430
## Install
2531

32+
v2-beta:
33+
34+
```
35+
npm install ajv-errors@beta
36+
```
37+
38+
v1:
39+
2640
```
2741
npm install ajv-errors
2842
```

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "ajv-errors",
3-
"version": "1.0.1",
3+
"version": "2.0.0-beta.0",
44
"description": "Custom error messages in JSON-Schema for Ajv validator",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"files": [
8-
"lib"
8+
"src",
9+
"dist"
910
],
1011
"scripts": {
1112
"build": "rm -rf dist && tsc",

0 commit comments

Comments
 (0)