@novice1/api-doc-json-helper 0.1.2 → 1.0.0-alpha.0

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 +1 -1
  2. package/package.json +8 -3
package/README.md CHANGED
@@ -51,7 +51,7 @@ const router = routing()
51
51
 
52
52
  ### Recommended
53
53
 
54
- Defining the property containing your schemas is [recommended](https://github.com/kisiwu/novice-validator-json?tab=readme-ov-file#good-practices).
54
+ It's [recommended](https://github.com/kisiwu/novice-validator-json?tab=readme-ov-file#best-practices) to keep your schemas isolated from other properties of `parameters`.
55
55
 
56
56
  ```ts
57
57
  import {
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@novice1/api-doc-json-helper",
3
- "version": "0.1.2",
3
+ "version": "1.0.0-alpha.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
7
7
  "build": "tsc",
8
- "lint": "eslint ."
8
+ "lint": "eslint .",
9
+ "test": "ts-node ./test/usage.test.ts"
9
10
  },
10
11
  "repository": {
11
12
  "type": "git",
@@ -24,16 +25,20 @@
24
25
  "json"
25
26
  ],
26
27
  "dependencies": {
27
- "@novice1/api-doc-generator": "^0.2.8",
28
+ "@novice1/api-doc-generator": "^1.0.0-alpha.0",
28
29
  "tslib": "^2.8.1"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@eslint/eslintrc": "^3.3.1",
32
33
  "@eslint/js": "^9.25.1",
34
+ "@novice1/routing": "^2.0.0",
33
35
  "@stylistic/eslint-plugin-js": "^4.2.0",
36
+ "@types/chai": "^5.2.1",
37
+ "@types/express": "^5.0.1",
34
38
  "@types/node": "^22.14.1",
35
39
  "@typescript-eslint/eslint-plugin": "^8.31.0",
36
40
  "@typescript-eslint/parser": "^8.31.0",
41
+ "chai": "^5.2.0",
37
42
  "eslint": "^9.25.1",
38
43
  "kaukau": "^4.1.5",
39
44
  "ts-node": "^10.9.2",