axe-api 0.31.1 → 0.31.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release Notes
2
2
 
3
+ ## [0.31.2 (2023-07-04)](https://github.com/axe-api/axe-api/compare/0.31.2...0.31.1)
4
+
5
+ ### Fixed
6
+
7
+ - Fixed many internal issues. [#219](https://github.com/axe-api/axe-api/issues/219), [#174](https://github.com/axe-api/axe-api/issues/174), [#183](https://github.com/axe-api/axe-api/issues/183), [#149](https://github.com/axe-api/axe-api/issues/149), [#186](https://github.com/axe-api/axe-api/issues/186)
8
+
3
9
  ## [0.31.1 (2023-05-08)](https://github.com/axe-api/axe-api/compare/0.31.1...0.31.0)
4
10
 
5
11
  ### Fixed
@@ -24,6 +24,7 @@ exports.RESERVED_KEYWORDS = [
24
24
  "hooks",
25
25
  "event",
26
26
  "events",
27
+ "all",
27
28
  ];
28
29
  exports.DEFAULT_HANDLERS = [
29
30
  Enums_1.HandlerTypes.INSERT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axe-api",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "description": "AXE API is a simple tool which has been created based on Express and Knex.js to create Rest APIs quickly.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -35,19 +35,21 @@
35
35
  "dev-kit:remove": "node ./scripts/dev-kit-remove.js",
36
36
  "test": "jest --runInBand",
37
37
  "test:dev": "jest --watch",
38
- "lint": "eslint src/**",
38
+ "lint": "eslint --max-warnings=0 .",
39
39
  "lint:watch": "esw --watch --color",
40
40
  "prepare:integration": "nodemon --ignore \"./tests/**\" ./scripts/run-integration-test.js",
41
41
  "test:postgres": "sh ./scripts/test-postgres.sh",
42
42
  "test:mysql57": "sh ./scripts/test-mysql57.sh",
43
- "test:mysql8": "sh ./scripts/test-mysql8.sh"
43
+ "test:mysql8": "sh ./scripts/test-mysql8.sh",
44
+ "prettier:check": "prettier --check .",
45
+ "prepare": "husky install"
44
46
  },
45
47
  "dependencies": {
46
48
  "chalk": "^4.1.2",
47
49
  "change-case": "^4.1.2",
48
- "dotenv": "^16.0.3",
50
+ "dotenv": "^16.3.1",
49
51
  "knex": "^2.4.2",
50
- "knex-paginate": "^3.1.0",
52
+ "knex-paginate": "^3.1.1",
51
53
  "knex-schema-inspector": "^3.0.1",
52
54
  "pluralize": "^8.0.0",
53
55
  "validatorjs": "^3.22.1"
@@ -61,8 +63,8 @@
61
63
  "@types/multer": "^1.4.7",
62
64
  "@types/pluralize": "^0.0.29",
63
65
  "@types/validatorjs": "^3.15.0",
64
- "@typescript-eslint/eslint-plugin": "^5.56.0",
65
- "@typescript-eslint/parser": "^5.56.0",
66
+ "@typescript-eslint/eslint-plugin": "^5.61.0",
67
+ "@typescript-eslint/parser": "^5.61.0",
66
68
  "babel-jest": "^29.5.0",
67
69
  "eslint": "^7.32.0",
68
70
  "eslint-config-standard": "^16.0.3",
@@ -73,7 +75,9 @@
73
75
  "eslint-watch": "^7.0.0",
74
76
  "express": "^4.18.2",
75
77
  "glob": "^9.3.2",
78
+ "husky": "^8.0.3",
76
79
  "jest": "^29.5.0",
80
+ "lint-staged": "^13.2.3",
77
81
  "multer": "^1.4.5-lts.1",
78
82
  "mysql": "^2.18.1",
79
83
  "node-color-log": "^10.0.2",
@@ -84,5 +88,8 @@
84
88
  "sqlite3": "^5.1.6",
85
89
  "ts-node": "^10.9.1",
86
90
  "typescript": "^5.0.2"
91
+ },
92
+ "lint-staged": {
93
+ "**/*": "prettier --write --ignore-unknown"
87
94
  }
88
95
  }
package/readme.md CHANGED
@@ -134,8 +134,7 @@ You will see the following API response if you visit [localhost:3000](http://loc
134
134
  ```json
135
135
  {
136
136
  "name": "AXE API",
137
- "description": "The best API creation tool in the world.",
138
- "aim": "To kill them all!"
137
+ "description": "The best API creation tool in the world."
139
138
  }
140
139
  ```
141
140
 
@@ -145,6 +144,17 @@ If you can see that response, it means that your project is running properly.
145
144
 
146
145
  Axe API has great documentation. Please [check it out in here](https://axe-api.com/).
147
146
 
147
+ ## Contributors
148
+
149
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
150
+ <!-- prettier-ignore-start -->
151
+ <!-- markdownlint-disable -->
152
+
153
+ <!-- markdownlint-restore -->
154
+ <!-- prettier-ignore-end -->
155
+
156
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
157
+
148
158
  ## License
149
159
 
150
160
  [MIT License](LICENSE)