@expressots/shared 0.2.0 → 3.0.0-beta.3
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/lib/CHANGELOG.md
CHANGED
|
@@ -1,52 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
## [3.0.0-beta.3](https://github.com/expressots/shared/compare/0.3.0...0.4.0) (2024-11-28)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
4
|
|
|
5
|
+
- add close method to Server interface for graceful shutdown ([7d0cd8f](https://github.com/expressots/shared/commit/7d0cd8f1e05c5fed96e74b01dc715e5c7eb268d0))
|
|
6
|
+
|
|
7
|
+
## [0.3.0](https://github.com/expressots/shared/compare/0.2.0...0.3.0) (2024-11-24)
|
|
5
8
|
|
|
6
9
|
### Features
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
- add entryPoint property to ExpressoConfig interface ([324ac37](https://github.com/expressots/shared/commit/324ac37a7d407c491881998c6ed3288e04a0ae39))
|
|
9
12
|
|
|
13
|
+
## [0.2.0](https://github.com/expressots/shared/compare/0.1.0...0.2.0) (2024-11-16)
|
|
10
14
|
|
|
11
|
-
###
|
|
15
|
+
### Features
|
|
12
16
|
|
|
13
|
-
|
|
17
|
+
- add interfaces for console, middleware, and environment; update index exports ([30d7dbb](https://github.com/expressots/shared/commit/30d7dbb0c24af12e4537f626be816f2f5d8a81a0))
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
14
20
|
|
|
21
|
+
- standardize quotes in middleware interface file ([6b3f045](https://github.com/expressots/shared/commit/6b3f0459c3ba0bf58d1de920335c6ef7dd438e32))
|
|
15
22
|
|
|
16
23
|
### Tests
|
|
17
24
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## 0.1.0 (2024-11-10)
|
|
25
|
+
- enhance coverage for configDotenv function and add edge case handling ([58612bd](https://github.com/expressots/shared/commit/58612bd0040b592133bac687cfb29b9c6ece2a94))
|
|
21
26
|
|
|
27
|
+
## 0.1.0 (2024-11-10)
|
|
22
28
|
|
|
23
29
|
### Features
|
|
24
30
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
- add compiler and package definitions ([8352e66](https://github.com/expressots/shared/commit/8352e663c1a3429c70bbf7588380fe92f547e0a9))
|
|
32
|
+
- add early ai unit test generation and code coverage ([7eb5f38](https://github.com/expressots/shared/commit/7eb5f380f6b49ce6316a9749daaa7311fda74f04))
|
|
33
|
+
- add env and compiler modules ([f93f6c3](https://github.com/expressots/shared/commit/f93f6c3a719d1a1129112bee4e5e9cf6e42ddd89))
|
|
34
|
+
- add global config interface ([cbe2e12](https://github.com/expressots/shared/commit/cbe2e127db006273e9049220fe3ed20b964d697b))
|
|
35
|
+
- change to beta version ([4e835ca](https://github.com/expressots/shared/commit/4e835ca58933336bc78d66fb42935bf4d02ec641))
|
|
36
|
+
- update readme to include badges ([5995b1a](https://github.com/expressots/shared/commit/5995b1a3eab1481aa4552ca76683c6b16ae0dc60))
|
|
32
37
|
|
|
33
38
|
### Bug Fixes
|
|
34
39
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
- add express config file for testing ([d7ae7e1](https://github.com/expressots/shared/commit/d7ae7e1d91a73965be89a9f96df4dfdbc67575d4))
|
|
41
|
+
- change dependency installation from npm ci to npm install in CI workflow ([6bc1ece](https://github.com/expressots/shared/commit/6bc1ece4da3c9aca717e769a8d2f615058652579))
|
|
42
|
+
- remove compiler load lib ([c8f6085](https://github.com/expressots/shared/commit/c8f6085ffdd2af524522174789cfe51203827bbb))
|
|
43
|
+
- reorder build and test steps in CI workflow; update Jest config to ignore specific paths ([4500863](https://github.com/expressots/shared/commit/45008637af232929c8c20df24c3cf4d6b56a082e))
|
|
44
|
+
- update CI workflow to use npm ci for dependency installation; refine Jest configs ([356c232](https://github.com/expressots/shared/commit/356c232bbfcf6bad7254ee0ab3417fd82f831a9f))
|
|
45
|
+
- update package.json to use exact version numbers for dependencies ([7cdd924](https://github.com/expressots/shared/commit/7cdd924b468af56ccf5bdfaa36b7cad82034e007))
|
|
42
46
|
|
|
43
47
|
### Code Refactoring
|
|
44
48
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
## 0.0.1 (2023-09-05)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
* testing commitlint ([0e78653](https://github.com/expressots/<<repo_name>>/commit/0e786539402f69fdca3fe5b684d850e523db7698))
|
|
49
|
+
- remove unused env property from ExpressoConfig interface ([97663e8](https://github.com/expressots/shared/commit/97663e8a386ece45111eba0c2f8b66d1eb9c90af))
|
|
50
|
+
|
|
51
|
+
## 0.0.1 (2023-09-05)
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
- testing commitlint ([0e78653](https://github.com/expressots/<<repo_name>>/commit/0e786539402f69fdca3fe5b684d850e523db7698))
|
|
@@ -15,6 +15,7 @@ export declare namespace Server {
|
|
|
15
15
|
initEnvironment(environment: Environment, options?: IEnvironment): void;
|
|
16
16
|
listen(port: number | string, appInfo?: IConsoleMessage): Promise<void>;
|
|
17
17
|
setEngine<T extends RenderEngine.EngineOptions>(engine: RenderEngine.Engine, options?: T): Promise<void>;
|
|
18
|
+
close(enableLog?: boolean): Promise<void>;
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
21
|
* Constructor type for IWebServer.
|
|
@@ -39,6 +40,13 @@ export declare namespace Server {
|
|
|
39
40
|
* @public API
|
|
40
41
|
*/
|
|
41
42
|
getHttpServer(): Promise<express.Application>;
|
|
43
|
+
/**
|
|
44
|
+
* Close the server and stop listening.
|
|
45
|
+
* @returns A promise that resolves when the server is closed.
|
|
46
|
+
* @param enableLog - Enable logging when closing the server.
|
|
47
|
+
* @public API
|
|
48
|
+
*/
|
|
49
|
+
close(enableLog?: boolean): Promise<void>;
|
|
42
50
|
}
|
|
43
51
|
}
|
|
44
52
|
export type IWebServer = Server.IWebServer;
|
package/lib/package.json
CHANGED
package/package.json
CHANGED