@h3ravel/shared 0.3.0 → 0.5.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.
- package/CHANGELOG.md +26 -0
- package/package.json +3 -3
- package/src/Contracts/IApplication.ts +1 -1
- package/src/Contracts/IHttp.ts +4 -4
- package/src/Contracts/IRequest.ts +1 -1
- package/src/Contracts/IResponse.ts +1 -1
- package/tsconfig.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @h3ravel/shared
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- rebuild all dependencies
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @h3ravel/support@0.5.0
|
|
13
|
+
|
|
14
|
+
## 0.4.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 8ceb2c1: implement the Application class directly since it already implements the IClass contract
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- a27f452: chore: fix all linting issues.
|
|
23
|
+
- c906050: chore: migrate tests suite to jest
|
|
24
|
+
- Updated dependencies [8ceb2c1]
|
|
25
|
+
- Updated dependencies [a27f452]
|
|
26
|
+
- Updated dependencies [c906050]
|
|
27
|
+
- @h3ravel/support@0.4.0
|
|
28
|
+
|
|
3
29
|
## 0.3.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Shared Utilities.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"h3": "^2.0.0-beta.1",
|
|
13
|
-
"@h3ravel/support": "0.
|
|
13
|
+
"@h3ravel/support": "0.5.0"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "tsup",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"dev": "tsx watch src/index.ts",
|
|
19
19
|
"start": "node dist/index.js",
|
|
20
20
|
"lint": "eslint . --ext .ts",
|
|
21
|
-
"test": "
|
|
21
|
+
"test": "jest --passWithNoTests"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/Contracts/IHttp.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Middleware, MiddlewareOptions } from
|
|
1
|
+
import type { Middleware, MiddlewareOptions } from 'h3'
|
|
2
2
|
|
|
3
|
-
import { IApplication } from
|
|
4
|
-
import { IRequest } from
|
|
5
|
-
import { IResponse } from
|
|
3
|
+
import { IApplication } from './IApplication'
|
|
4
|
+
import { IRequest } from './IRequest'
|
|
5
|
+
import { IResponse } from './IResponse'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Interface for the Router contract, defining methods for HTTP routing.
|