@tsed/ajv 6.102.8-rc.3 → 6.102.8

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/package.json +11 -14
  2. package/readme.md +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/ajv",
3
- "version": "6.102.8-rc.3",
3
+ "version": "6.102.8",
4
4
  "description": "AJV package for Ts.ED framework",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/cjs/index.js",
@@ -23,27 +23,24 @@
23
23
  "tslib": "2.2.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@tsed/core": "6.102.8-rc.3",
27
- "@tsed/di": "6.102.8-rc.3",
28
- "@tsed/exceptions": "6.102.8-rc.3",
29
- "@tsed/schema": "6.102.8-rc.3",
26
+ "@tsed/core": "6.102.8",
27
+ "@tsed/di": "6.102.8",
28
+ "@tsed/exceptions": "6.102.8",
29
+ "@tsed/schema": "6.102.8",
30
30
  "ajv": "8.9.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@tsed/core": "^6.102.8-rc.3",
34
- "@tsed/di": "^6.102.8-rc.3",
35
- "@tsed/exceptions": "^6.102.8-rc.3",
36
- "@tsed/schema": "^6.102.8-rc.3",
33
+ "@tsed/core": "^6.102.8",
34
+ "@tsed/di": "^6.102.8",
35
+ "@tsed/exceptions": "^6.102.8",
36
+ "@tsed/schema": "^6.102.8",
37
37
  "ajv": ">=8.9.0"
38
38
  },
39
39
  "repository": "https://github.com/tsedio/tsed",
40
40
  "bugs": {
41
41
  "url": "https://github.com/tsedio/tsed/issues"
42
42
  },
43
- "homepage": "https://github.com/tsedio/tsed/tree/rc/packages/specs/ajv",
43
+ "homepage": "https://github.com/tsedio/tsed/tree/production/packages/specs/ajv",
44
44
  "author": "Romain Lenzotti",
45
- "license": "MIT",
46
- "publishConfig": {
47
- "tag": "rc"
48
- }
45
+ "license": "MIT"
49
46
  }
package/readme.md CHANGED
@@ -32,9 +32,7 @@ Then import `@tsed/ajv` in your Server:
32
32
  import {Configuration} from "@tsed/common";
33
33
  import "@tsed/ajv"; // import ajv ts.ed module
34
34
 
35
- @Configuration({
36
- rootDir: __dirname
37
- })
35
+ @Configuration({})
38
36
  export class Server {}
39
37
  ```
40
38
 
@@ -90,7 +88,6 @@ import {Configuration} from "@tsed/common";
90
88
  import "@tsed/ajv"; // import ajv ts.ed module
91
89
 
92
90
  @Configuration({
93
- rootDir: __dirname,
94
91
  ajv: {
95
92
  errorFormatter: (error) => `At ${error.modelName}${error.dataPath}, value '${error.data}' ${error.message}`,
96
93
  options: {verbose: true}