@nestia/sdk 8.0.2 → 8.0.5-dev.20250904
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/LICENSE +21 -21
- package/README.md +93 -93
- package/assets/bundle/api/HttpError.ts +1 -1
- package/assets/bundle/api/IConnection.ts +1 -1
- package/assets/bundle/api/Primitive.ts +1 -1
- package/assets/bundle/api/Resolved.ts +1 -1
- package/assets/bundle/api/index.ts +4 -4
- package/assets/bundle/api/module.ts +6 -6
- package/assets/bundle/distribute/README.md +37 -37
- package/assets/bundle/distribute/package.json +28 -28
- package/assets/bundle/distribute/tsconfig.json +109 -109
- package/assets/bundle/e2e/index.ts +42 -42
- package/assets/config/nestia.config.ts +97 -97
- package/lib/executable/internal/NestiaConfigLoader.js +1 -1
- package/lib/executable/internal/NestiaConfigLoader.js.map +1 -1
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Jeongho Nam
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Jeongho Nam
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
# Nestia
|
|
2
|
-

|
|
3
|
-
|
|
4
|
-
[](https://github.com/samchon/nestia/blob/master/LICENSE)
|
|
5
|
-
[](https://www.npmjs.com/package/@nestia/fetcher)
|
|
6
|
-
[](https://www.npmjs.com/package/@nestia/fetcher)
|
|
7
|
-
[](https://github.com/samchon/nestia/actions?query=workflow%3Abuild)
|
|
8
|
-
[](https://nestia.io/docs/)
|
|
9
|
-
[](https://gurubase.io/g/nestia)
|
|
10
|
-
[](https://discord.gg/E94XhzrUCZ)
|
|
11
|
-
|
|
12
|
-
Nestia is a set of helper libraries for NestJS, supporting below features:
|
|
13
|
-
|
|
14
|
-
- `@nestia/core`:
|
|
15
|
-
- Super-fast/easy decorators
|
|
16
|
-
- Advanced WebSocket routes
|
|
17
|
-
- `@nestia/sdk`:
|
|
18
|
-
- Swagger generator, more evolved than ever
|
|
19
|
-
- SDK library generator for clients
|
|
20
|
-
- Mockup Simulator for client applications
|
|
21
|
-
- Automatic E2E test functions generator
|
|
22
|
-
- `@nestia/e2e`: Test program utilizing e2e test functions
|
|
23
|
-
- `@nestia/benchmark`: Benchmark program using e2e test functions
|
|
24
|
-
- `@nestia/editor`: Swagger-UI with Online TypeScript Editor
|
|
25
|
-
- [`@agentica`](https://github.com/wrtnlabs/agentica): Agentic AI library specialized in LLM function calling
|
|
26
|
-
- [`@autobe`](https://github.com/wrtnlabs/autobe): Vibe coding agent generating NestJS application
|
|
27
|
-
- `nestia`: Just CLI (command line interface) tool
|
|
28
|
-
|
|
29
|
-
> [!NOTE]
|
|
30
|
-
>
|
|
31
|
-
> - **Only one line** required, with pure TypeScript type
|
|
32
|
-
> - Enhance performance **30x** up
|
|
33
|
-
> - Runtime validator is **20,000x faster** than `class-validator`
|
|
34
|
-
> - JSON serialization is **200x faster** than `class-transformer`
|
|
35
|
-
> - Software Development Kit
|
|
36
|
-
> - Collection of typed `fetch` functions with DTO structures like [tRPC](https://trpc.io/)
|
|
37
|
-
> - Mockup simulator means embedded backend simulator in the SDK
|
|
38
|
-
> - similar with [msw](https://mswjs.io/), but fully automated
|
|
39
|
-
|
|
40
|
-

|
|
41
|
-
|
|
42
|
-
> Left is NestJS server code, and right is client (frontend) code utilizing SDK
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
## Sponsors and Backers
|
|
48
|
-
Thanks for your support.
|
|
49
|
-
|
|
50
|
-
Your donation would encourage `nestia` development.
|
|
51
|
-
|
|
52
|
-
[](https://opencollective.com/nestia)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## Guide Documents
|
|
58
|
-
Check out the document in the [website](https://nestia.io/docs/):
|
|
59
|
-
|
|
60
|
-
### 🏠 Home
|
|
61
|
-
- [Introduction](https://nestia.io/docs/)
|
|
62
|
-
- [Setup](https://nestia.io/docs/setup/)
|
|
63
|
-
- [Pure TypeScript](https://nestia.io/docs/pure)
|
|
64
|
-
|
|
65
|
-
### 📖 Features
|
|
66
|
-
- Core Library
|
|
67
|
-
- [`@WebSocketRoute`](https://nestia.io/docs/core/WebSocketRoute)
|
|
68
|
-
- [`@TypedRoute`](https://nestia.io/docs/core/TypedRoute/)
|
|
69
|
-
- [**`@TypedBody`**](https://nestia.io/docs/core/TypedBody/)
|
|
70
|
-
- [`@TypedParam`](https://nestia.io/docs/core/TypedParam/)
|
|
71
|
-
- [`@TypedQuery`](https://nestia.io/docs/core/TypedQuery/)
|
|
72
|
-
- [`@TypedFormData`](https://nestia.io/docs/core/TypedFormData/)
|
|
73
|
-
- [`@TypedHeaders`](https://nestia.io/docs/core/TypedHeaders/)
|
|
74
|
-
- [`@TypedException`](https://nestia.io/docs/core/TypedException/)
|
|
75
|
-
- Software Development Kit
|
|
76
|
-
- [SDK Builder](https://nestia.io/docs/sdk/)
|
|
77
|
-
- [Mockup Simulator](https://nestia.io/docs/sdk/simulate/)
|
|
78
|
-
- [E2E Test Functions](https://nestia.io/docs/sdk/e2e/)
|
|
79
|
-
- [Distribution](https://nestia.io/docs/sdk/distribute/)
|
|
80
|
-
- Swagger Document
|
|
81
|
-
- [Swagger Builder](https://nestia.io/docs/swagger/)
|
|
82
|
-
- [**AI Chatbot Development**](https://nestia.io/docs/swagger/chat/)
|
|
83
|
-
- [Cloud Swagger Editor](https://nestia.io/docs/swagger/editor/)
|
|
84
|
-
- [Documentation Strategy](https://nestia.io/docs/swagger/strategy/)
|
|
85
|
-
- E2E Testing
|
|
86
|
-
- [Why E2E Test?](https://nestia.io/docs/e2e/why/)
|
|
87
|
-
- [Test Program Development](https://nestia.io/docs/e2e/development/)
|
|
88
|
-
- [Performance Benchmark](https://nestia.io/docs/e2e/benchmark/)
|
|
89
|
-
|
|
90
|
-
### 🔗 Appendix
|
|
91
|
-
- [API Documents](https://nestia.io/api)
|
|
92
|
-
- [⇲ Benchmark Result](https://github.com/samchon/nestia/tree/master/benchmark/results/11th%20Gen%20Intel(R)%20Core(TM)%20i5-1135G7%20%40%202.40GHz)
|
|
93
|
-
- [⇲ `dev.to` Articles](https://dev.to/samchon/series/22751)
|
|
1
|
+
# Nestia
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
[](https://github.com/samchon/nestia/blob/master/LICENSE)
|
|
5
|
+
[](https://www.npmjs.com/package/@nestia/fetcher)
|
|
6
|
+
[](https://www.npmjs.com/package/@nestia/fetcher)
|
|
7
|
+
[](https://github.com/samchon/nestia/actions?query=workflow%3Abuild)
|
|
8
|
+
[](https://nestia.io/docs/)
|
|
9
|
+
[](https://gurubase.io/g/nestia)
|
|
10
|
+
[](https://discord.gg/E94XhzrUCZ)
|
|
11
|
+
|
|
12
|
+
Nestia is a set of helper libraries for NestJS, supporting below features:
|
|
13
|
+
|
|
14
|
+
- `@nestia/core`:
|
|
15
|
+
- Super-fast/easy decorators
|
|
16
|
+
- Advanced WebSocket routes
|
|
17
|
+
- `@nestia/sdk`:
|
|
18
|
+
- Swagger generator, more evolved than ever
|
|
19
|
+
- SDK library generator for clients
|
|
20
|
+
- Mockup Simulator for client applications
|
|
21
|
+
- Automatic E2E test functions generator
|
|
22
|
+
- `@nestia/e2e`: Test program utilizing e2e test functions
|
|
23
|
+
- `@nestia/benchmark`: Benchmark program using e2e test functions
|
|
24
|
+
- `@nestia/editor`: Swagger-UI with Online TypeScript Editor
|
|
25
|
+
- [`@agentica`](https://github.com/wrtnlabs/agentica): Agentic AI library specialized in LLM function calling
|
|
26
|
+
- [`@autobe`](https://github.com/wrtnlabs/autobe): Vibe coding agent generating NestJS application
|
|
27
|
+
- `nestia`: Just CLI (command line interface) tool
|
|
28
|
+
|
|
29
|
+
> [!NOTE]
|
|
30
|
+
>
|
|
31
|
+
> - **Only one line** required, with pure TypeScript type
|
|
32
|
+
> - Enhance performance **30x** up
|
|
33
|
+
> - Runtime validator is **20,000x faster** than `class-validator`
|
|
34
|
+
> - JSON serialization is **200x faster** than `class-transformer`
|
|
35
|
+
> - Software Development Kit
|
|
36
|
+
> - Collection of typed `fetch` functions with DTO structures like [tRPC](https://trpc.io/)
|
|
37
|
+
> - Mockup simulator means embedded backend simulator in the SDK
|
|
38
|
+
> - similar with [msw](https://mswjs.io/), but fully automated
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
> Left is NestJS server code, and right is client (frontend) code utilizing SDK
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Sponsors and Backers
|
|
48
|
+
Thanks for your support.
|
|
49
|
+
|
|
50
|
+
Your donation would encourage `nestia` development.
|
|
51
|
+
|
|
52
|
+
[](https://opencollective.com/nestia)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## Guide Documents
|
|
58
|
+
Check out the document in the [website](https://nestia.io/docs/):
|
|
59
|
+
|
|
60
|
+
### 🏠 Home
|
|
61
|
+
- [Introduction](https://nestia.io/docs/)
|
|
62
|
+
- [Setup](https://nestia.io/docs/setup/)
|
|
63
|
+
- [Pure TypeScript](https://nestia.io/docs/pure)
|
|
64
|
+
|
|
65
|
+
### 📖 Features
|
|
66
|
+
- Core Library
|
|
67
|
+
- [`@WebSocketRoute`](https://nestia.io/docs/core/WebSocketRoute)
|
|
68
|
+
- [`@TypedRoute`](https://nestia.io/docs/core/TypedRoute/)
|
|
69
|
+
- [**`@TypedBody`**](https://nestia.io/docs/core/TypedBody/)
|
|
70
|
+
- [`@TypedParam`](https://nestia.io/docs/core/TypedParam/)
|
|
71
|
+
- [`@TypedQuery`](https://nestia.io/docs/core/TypedQuery/)
|
|
72
|
+
- [`@TypedFormData`](https://nestia.io/docs/core/TypedFormData/)
|
|
73
|
+
- [`@TypedHeaders`](https://nestia.io/docs/core/TypedHeaders/)
|
|
74
|
+
- [`@TypedException`](https://nestia.io/docs/core/TypedException/)
|
|
75
|
+
- Software Development Kit
|
|
76
|
+
- [SDK Builder](https://nestia.io/docs/sdk/)
|
|
77
|
+
- [Mockup Simulator](https://nestia.io/docs/sdk/simulate/)
|
|
78
|
+
- [E2E Test Functions](https://nestia.io/docs/sdk/e2e/)
|
|
79
|
+
- [Distribution](https://nestia.io/docs/sdk/distribute/)
|
|
80
|
+
- Swagger Document
|
|
81
|
+
- [Swagger Builder](https://nestia.io/docs/swagger/)
|
|
82
|
+
- [**AI Chatbot Development**](https://nestia.io/docs/swagger/chat/)
|
|
83
|
+
- [Cloud Swagger Editor](https://nestia.io/docs/swagger/editor/)
|
|
84
|
+
- [Documentation Strategy](https://nestia.io/docs/swagger/strategy/)
|
|
85
|
+
- E2E Testing
|
|
86
|
+
- [Why E2E Test?](https://nestia.io/docs/e2e/why/)
|
|
87
|
+
- [Test Program Development](https://nestia.io/docs/e2e/development/)
|
|
88
|
+
- [Performance Benchmark](https://nestia.io/docs/e2e/benchmark/)
|
|
89
|
+
|
|
90
|
+
### 🔗 Appendix
|
|
91
|
+
- [API Documents](https://nestia.io/api)
|
|
92
|
+
- [⇲ Benchmark Result](https://github.com/samchon/nestia/tree/master/benchmark/results/11th%20Gen%20Intel(R)%20Core(TM)%20i5-1135G7%20%40%202.40GHz)
|
|
93
|
+
- [⇲ `dev.to` Articles](https://dev.to/samchon/series/22751)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { HttpError } from "@nestia/fetcher";
|
|
1
|
+
export { HttpError } from "@nestia/fetcher";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { IConnection } from "@nestia/fetcher";
|
|
1
|
+
export type { IConnection } from "@nestia/fetcher";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Primitive } from "typia";
|
|
1
|
+
export type { Primitive } from "typia";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Resolved } from "typia";
|
|
1
|
+
export type { Resolved } from "typia";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as api from "./module";
|
|
2
|
-
|
|
3
|
-
export * from "./module";
|
|
4
|
-
export default api;
|
|
1
|
+
import * as api from "./module";
|
|
2
|
+
|
|
3
|
+
export * from "./module";
|
|
4
|
+
export default api;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type * from "./IConnection";
|
|
2
|
-
export type * from "./Primitive";
|
|
3
|
-
export type * from "./Resolved";
|
|
4
|
-
export * from "./HttpError";
|
|
5
|
-
|
|
6
|
-
export * as functional from "./functional";
|
|
1
|
+
export type * from "./IConnection";
|
|
2
|
+
export type * from "./Primitive";
|
|
3
|
+
export type * from "./Resolved";
|
|
4
|
+
export * from "./HttpError";
|
|
5
|
+
|
|
6
|
+
export * as functional from "./functional";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# SDK Library
|
|
2
|
-
This is a SDK library generated by [`nestia`](https://nestia.io).
|
|
3
|
-
|
|
4
|
-
With this SDK library, you can easily and safely interact with backend server.
|
|
5
|
-
|
|
6
|
-
Just import and call some API functions like gif image below:
|
|
7
|
-
|
|
8
|
-

|
|
9
|
-
|
|
10
|
-
> Left is server code, and right is client code utilizing the SDK
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
# What [`Nestia`](https://nestia.io) is:
|
|
16
|
-

|
|
17
|
-
|
|
18
|
-
[](https://github.com/samchon/nestia/blob/master/LICENSE)
|
|
19
|
-
[](https://www.npmjs.com/package/@nestia/core)
|
|
20
|
-
[](https://www.npmjs.com/package/nestia)
|
|
21
|
-
[](https://github.com/samchon/nestia/actions?query=workflow%3Abuild)
|
|
22
|
-
[](https://nestia.io/docs/)
|
|
23
|
-
|
|
24
|
-
[Nestia](https://nestia.io) is a set of helper libraries for NestJS, supporting below features:
|
|
25
|
-
|
|
26
|
-
- `@nestia/core`: super-fast decorators
|
|
27
|
-
- `@nestia/sdk`
|
|
28
|
-
- SDK generator for clients
|
|
29
|
-
- Swagger generator evolved than ever
|
|
30
|
-
- Automatic E2E test functions generator
|
|
31
|
-
- `nestia`: just CLI (command line interface) tool
|
|
32
|
-
|
|
33
|
-
> [!NOTE]
|
|
34
|
-
>
|
|
35
|
-
> - **Only one line** required, with pure TypeScript type
|
|
36
|
-
> - Runtime validator is **20,000x faster** than `class-validator`
|
|
37
|
-
> - JSON serialization is **200x faster** than `class-transformer`
|
|
1
|
+
# SDK Library
|
|
2
|
+
This is a SDK library generated by [`nestia`](https://nestia.io).
|
|
3
|
+
|
|
4
|
+
With this SDK library, you can easily and safely interact with backend server.
|
|
5
|
+
|
|
6
|
+
Just import and call some API functions like gif image below:
|
|
7
|
+
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
> Left is server code, and right is client code utilizing the SDK
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# What [`Nestia`](https://nestia.io) is:
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
[](https://github.com/samchon/nestia/blob/master/LICENSE)
|
|
19
|
+
[](https://www.npmjs.com/package/@nestia/core)
|
|
20
|
+
[](https://www.npmjs.com/package/nestia)
|
|
21
|
+
[](https://github.com/samchon/nestia/actions?query=workflow%3Abuild)
|
|
22
|
+
[](https://nestia.io/docs/)
|
|
23
|
+
|
|
24
|
+
[Nestia](https://nestia.io) is a set of helper libraries for NestJS, supporting below features:
|
|
25
|
+
|
|
26
|
+
- `@nestia/core`: super-fast decorators
|
|
27
|
+
- `@nestia/sdk`
|
|
28
|
+
- SDK generator for clients
|
|
29
|
+
- Swagger generator evolved than ever
|
|
30
|
+
- Automatic E2E test functions generator
|
|
31
|
+
- `nestia`: just CLI (command line interface) tool
|
|
32
|
+
|
|
33
|
+
> [!NOTE]
|
|
34
|
+
>
|
|
35
|
+
> - **Only one line** required, with pure TypeScript type
|
|
36
|
+
> - Runtime validator is **20,000x faster** than `class-validator`
|
|
37
|
+
> - JSON serialization is **200x faster** than `class-transformer`
|
|
38
38
|
> - SDK is similar with [tRPC](https://trpc.io), but much advanced
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ORGANIZATION/PROJECT-api",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "SDK library generated by Nestia",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"typings": "lib/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "npm run build:sdk && npm run compile",
|
|
9
|
-
"build:sdk": "rimraf ${output}/functional && cd ${root} && npx nestia sdk && cd ${current}",
|
|
10
|
-
"compile": "rimraf lib && tsc",
|
|
11
|
-
"deploy": "npm run build && npm publish"
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "https://github.com/samchon/nestia"
|
|
16
|
-
},
|
|
17
|
-
"author": "Jeongho Nam",
|
|
18
|
-
"license": "MIT",
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://github.com/samchon/nestia/issues"
|
|
21
|
-
},
|
|
22
|
-
"homepage": "https://nestia.io",
|
|
23
|
-
"files": [
|
|
24
|
-
"lib",
|
|
25
|
-
"package.json",
|
|
26
|
-
"README.md"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ORGANIZATION/PROJECT-api",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "SDK library generated by Nestia",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"typings": "lib/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "npm run build:sdk && npm run compile",
|
|
9
|
+
"build:sdk": "rimraf ${output}/functional && cd ${root} && npx nestia sdk && cd ${current}",
|
|
10
|
+
"compile": "rimraf lib && tsc",
|
|
11
|
+
"deploy": "npm run build && npm publish"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/samchon/nestia"
|
|
16
|
+
},
|
|
17
|
+
"author": "Jeongho Nam",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/samchon/nestia/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://nestia.io",
|
|
23
|
+
"files": [
|
|
24
|
+
"lib",
|
|
25
|
+
"package.json",
|
|
26
|
+
"README.md"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
4
|
-
|
|
5
|
-
/* Projects */
|
|
6
|
-
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
|
7
|
-
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
|
|
8
|
-
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
|
9
|
-
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
|
10
|
-
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
|
11
|
-
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
|
12
|
-
|
|
13
|
-
/* Language and Environment */
|
|
14
|
-
"target": "ES5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
15
|
-
"lib": [
|
|
16
|
-
"DOM",
|
|
17
|
-
"ES2015"
|
|
18
|
-
], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
19
|
-
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
|
20
|
-
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
|
|
21
|
-
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
|
22
|
-
// "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
|
|
23
|
-
// "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
|
|
24
|
-
// "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
|
|
25
|
-
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
|
|
26
|
-
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
|
27
|
-
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
|
28
|
-
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
|
29
|
-
|
|
30
|
-
/* Modules */
|
|
31
|
-
"module": "commonjs", /* Specify what module code is generated. */
|
|
32
|
-
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
33
|
-
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
34
|
-
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
35
|
-
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
36
|
-
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
37
|
-
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
|
38
|
-
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
|
39
|
-
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
|
40
|
-
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
|
41
|
-
// "resolveJsonModule": true, /* Enable importing .json files. */
|
|
42
|
-
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
|
43
|
-
|
|
44
|
-
/* JavaScript Support */
|
|
45
|
-
// "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
46
|
-
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
|
47
|
-
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
|
48
|
-
|
|
49
|
-
/* Emit */
|
|
50
|
-
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
51
|
-
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
52
|
-
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
|
53
|
-
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
54
|
-
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
|
55
|
-
"outDir": "./lib", /* Specify an output folder for all emitted files. */
|
|
56
|
-
// "removeComments": true, /* Disable emitting comments. */
|
|
57
|
-
// "noEmit": true, /* Disable emitting files from a compilation. */
|
|
58
|
-
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
59
|
-
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
|
|
60
|
-
"downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
|
|
61
|
-
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
|
62
|
-
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
63
|
-
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
|
64
|
-
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
|
|
65
|
-
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
|
|
66
|
-
"newLine": "lf", /* Set the newline character for emitting files. */
|
|
67
|
-
// "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
|
|
68
|
-
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
|
69
|
-
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
|
70
|
-
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
|
71
|
-
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
|
72
|
-
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
|
|
73
|
-
|
|
74
|
-
/* Interop Constraints */
|
|
75
|
-
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
|
76
|
-
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
77
|
-
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
78
|
-
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
79
|
-
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
80
|
-
|
|
81
|
-
/* Type Checking */
|
|
82
|
-
"strict": true, /* Enable all strict type-checking options. */
|
|
83
|
-
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
84
|
-
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
85
|
-
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
86
|
-
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
87
|
-
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
88
|
-
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
89
|
-
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
90
|
-
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
|
91
|
-
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
|
92
|
-
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
|
93
|
-
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
|
|
94
|
-
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
95
|
-
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
96
|
-
// "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
|
97
|
-
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
98
|
-
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
|
99
|
-
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
|
100
|
-
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
|
101
|
-
|
|
102
|
-
/* Completeness */
|
|
103
|
-
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
104
|
-
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
|
|
105
|
-
},
|
|
106
|
-
"include": [
|
|
107
|
-
"${output}"
|
|
108
|
-
]
|
|
109
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
/* Visit https://aka.ms/tsconfig to read more about this file */
|
|
4
|
+
|
|
5
|
+
/* Projects */
|
|
6
|
+
// "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
|
7
|
+
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
|
|
8
|
+
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
|
9
|
+
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
|
10
|
+
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
|
11
|
+
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
|
12
|
+
|
|
13
|
+
/* Language and Environment */
|
|
14
|
+
"target": "ES5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
15
|
+
"lib": [
|
|
16
|
+
"DOM",
|
|
17
|
+
"ES2015"
|
|
18
|
+
], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
19
|
+
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
|
20
|
+
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
|
|
21
|
+
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
|
|
22
|
+
// "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
|
|
23
|
+
// "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
|
|
24
|
+
// "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
|
|
25
|
+
// "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
|
|
26
|
+
// "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
|
27
|
+
// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
|
28
|
+
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
|
29
|
+
|
|
30
|
+
/* Modules */
|
|
31
|
+
"module": "commonjs", /* Specify what module code is generated. */
|
|
32
|
+
// "rootDir": "./", /* Specify the root folder within your source files. */
|
|
33
|
+
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
34
|
+
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
35
|
+
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
36
|
+
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
37
|
+
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
|
|
38
|
+
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
|
39
|
+
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
|
40
|
+
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
|
41
|
+
// "resolveJsonModule": true, /* Enable importing .json files. */
|
|
42
|
+
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
|
43
|
+
|
|
44
|
+
/* JavaScript Support */
|
|
45
|
+
// "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
46
|
+
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
|
47
|
+
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
|
48
|
+
|
|
49
|
+
/* Emit */
|
|
50
|
+
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
|
51
|
+
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
|
52
|
+
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
|
53
|
+
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
54
|
+
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
|
55
|
+
"outDir": "./lib", /* Specify an output folder for all emitted files. */
|
|
56
|
+
// "removeComments": true, /* Disable emitting comments. */
|
|
57
|
+
// "noEmit": true, /* Disable emitting files from a compilation. */
|
|
58
|
+
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
59
|
+
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
|
|
60
|
+
"downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
|
|
61
|
+
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
|
62
|
+
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
63
|
+
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
|
64
|
+
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
|
|
65
|
+
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
|
|
66
|
+
"newLine": "lf", /* Set the newline character for emitting files. */
|
|
67
|
+
// "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
|
|
68
|
+
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
|
69
|
+
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
|
70
|
+
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
|
71
|
+
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
|
72
|
+
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
|
|
73
|
+
|
|
74
|
+
/* Interop Constraints */
|
|
75
|
+
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
|
76
|
+
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
|
77
|
+
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
78
|
+
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
|
79
|
+
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
80
|
+
|
|
81
|
+
/* Type Checking */
|
|
82
|
+
"strict": true, /* Enable all strict type-checking options. */
|
|
83
|
+
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
84
|
+
// "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
|
85
|
+
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
86
|
+
// "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
87
|
+
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
88
|
+
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
|
89
|
+
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
|
90
|
+
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
|
91
|
+
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
|
92
|
+
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
|
93
|
+
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
|
|
94
|
+
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
|
95
|
+
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
|
96
|
+
// "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
|
97
|
+
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
|
98
|
+
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
|
99
|
+
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
|
100
|
+
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
|
101
|
+
|
|
102
|
+
/* Completeness */
|
|
103
|
+
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
104
|
+
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
|
|
105
|
+
},
|
|
106
|
+
"include": [
|
|
107
|
+
"${output}"
|
|
108
|
+
]
|
|
109
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import core from "@nestia/core";
|
|
2
|
-
import { DynamicExecutor } from "@nestia/e2e";
|
|
3
|
-
|
|
4
|
-
import { INestApplication } from "@nestjs/common";
|
|
5
|
-
import { NestFactory } from "@nestjs/core";
|
|
6
|
-
|
|
7
|
-
async function main(): Promise<void> {
|
|
8
|
-
const server: INestApplication = await NestFactory.create(
|
|
9
|
-
await core.DynamicModule.mount(
|
|
10
|
-
${input},
|
|
11
|
-
),
|
|
12
|
-
);
|
|
13
|
-
await server.listen(37_000);
|
|
14
|
-
|
|
15
|
-
const report: DynamicExecutor.IReport = await DynamicExecutor.validate({
|
|
16
|
-
extension: __filename.substring(__filename.length - 2),
|
|
17
|
-
prefix: "test",
|
|
18
|
-
parameters: () => [
|
|
19
|
-
{
|
|
20
|
-
host: "http://127.0.0.1:37000",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
})(`${__dirname}/features`);
|
|
24
|
-
await server.close();
|
|
25
|
-
|
|
26
|
-
const exceptions: Error[] = report.executions
|
|
27
|
-
.filter((exec) => exec.error !== null)
|
|
28
|
-
.map((exec) => exec.error!);
|
|
29
|
-
if (exceptions.length === 0) {
|
|
30
|
-
console.log("Success");
|
|
31
|
-
console.log("Elapsed time", report.time.toLocaleString(), `ms`);
|
|
32
|
-
} else {
|
|
33
|
-
for (const exp of exceptions) console.log(exp);
|
|
34
|
-
console.log("Failed");
|
|
35
|
-
console.log("Elapsed time", report.time.toLocaleString(), `ms`);
|
|
36
|
-
process.exit(-1);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
main().catch((exp) => {
|
|
40
|
-
console.log(exp);
|
|
41
|
-
process.exit(-1);
|
|
42
|
-
});
|
|
1
|
+
import core from "@nestia/core";
|
|
2
|
+
import { DynamicExecutor } from "@nestia/e2e";
|
|
3
|
+
|
|
4
|
+
import { INestApplication } from "@nestjs/common";
|
|
5
|
+
import { NestFactory } from "@nestjs/core";
|
|
6
|
+
|
|
7
|
+
async function main(): Promise<void> {
|
|
8
|
+
const server: INestApplication = await NestFactory.create(
|
|
9
|
+
await core.DynamicModule.mount(
|
|
10
|
+
${input},
|
|
11
|
+
),
|
|
12
|
+
);
|
|
13
|
+
await server.listen(37_000);
|
|
14
|
+
|
|
15
|
+
const report: DynamicExecutor.IReport = await DynamicExecutor.validate({
|
|
16
|
+
extension: __filename.substring(__filename.length - 2),
|
|
17
|
+
prefix: "test",
|
|
18
|
+
parameters: () => [
|
|
19
|
+
{
|
|
20
|
+
host: "http://127.0.0.1:37000",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
})(`${__dirname}/features`);
|
|
24
|
+
await server.close();
|
|
25
|
+
|
|
26
|
+
const exceptions: Error[] = report.executions
|
|
27
|
+
.filter((exec) => exec.error !== null)
|
|
28
|
+
.map((exec) => exec.error!);
|
|
29
|
+
if (exceptions.length === 0) {
|
|
30
|
+
console.log("Success");
|
|
31
|
+
console.log("Elapsed time", report.time.toLocaleString(), `ms`);
|
|
32
|
+
} else {
|
|
33
|
+
for (const exp of exceptions) console.log(exp);
|
|
34
|
+
console.log("Failed");
|
|
35
|
+
console.log("Elapsed time", report.time.toLocaleString(), `ms`);
|
|
36
|
+
process.exit(-1);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
main().catch((exp) => {
|
|
40
|
+
console.log(exp);
|
|
41
|
+
process.exit(-1);
|
|
42
|
+
});
|
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
import { INestiaConfig } from "@nestia/sdk";
|
|
2
|
-
import { Module } from "@nestjs/common";
|
|
3
|
-
import { NestFactory } from "@nestjs/core";
|
|
4
|
-
|
|
5
|
-
// import { FastifyAdapter } from "@nestjs/platform-fastify";
|
|
6
|
-
|
|
7
|
-
export const NESTIA_CONFIG: INestiaConfig = {
|
|
8
|
-
/**
|
|
9
|
-
* Accessor of controller classes.
|
|
10
|
-
*
|
|
11
|
-
* You can specify it within two ways.
|
|
12
|
-
*
|
|
13
|
-
* - Asynchronous function returning `INestApplication` instance
|
|
14
|
-
* - Specify the path or directory of controller class files
|
|
15
|
-
*/
|
|
16
|
-
// input: "src/controllers",
|
|
17
|
-
// input: "src/**/*.controller.ts",
|
|
18
|
-
input: async () => {
|
|
19
|
-
// change this to your own module
|
|
20
|
-
@Module({
|
|
21
|
-
controllers: [],
|
|
22
|
-
})
|
|
23
|
-
class MyModule {}
|
|
24
|
-
const app = await NestFactory.create(MyModule);
|
|
25
|
-
// const app = await NestFactory.create(YourModule, new FastifyAdapter());
|
|
26
|
-
// app.setGlobalPrefix("api");
|
|
27
|
-
// app.enableVersioning({
|
|
28
|
-
// type: VersioningType.URI,
|
|
29
|
-
// prefix: "v",
|
|
30
|
-
// })
|
|
31
|
-
return app;
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Building `swagger.json` is also possible.
|
|
36
|
-
*
|
|
37
|
-
* If not specified, you can't build the `swagger.json`.
|
|
38
|
-
*/
|
|
39
|
-
swagger: {
|
|
40
|
-
/**
|
|
41
|
-
* Output path of the `swagger.json`.
|
|
42
|
-
*
|
|
43
|
-
* If you've configured only directory, the file name would be the `swagger.json`.
|
|
44
|
-
* Otherwise you've configured the full path with file name and extension, the
|
|
45
|
-
* `swagger.json` file would be renamed to it.
|
|
46
|
-
*/
|
|
47
|
-
output: "dist/swagger.json",
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Output directory that SDK would be placed in.
|
|
52
|
-
*
|
|
53
|
-
* If not configured, you can't build the SDK library.
|
|
54
|
-
*/
|
|
55
|
-
output: "src/api",
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Target directory that SDK distribution files would be placed in.
|
|
59
|
-
*
|
|
60
|
-
* If you configure this property and runs `npx nestia sdk` command,
|
|
61
|
-
* distribution environments for the SDK library would be generated.
|
|
62
|
-
*
|
|
63
|
-
* After the SDK library generation, move to the `distribute` directory,
|
|
64
|
-
* and runs `npm publish` command, then you can share SDK library with
|
|
65
|
-
* other client (frontend) developers.
|
|
66
|
-
*/
|
|
67
|
-
// distribute: "packages/api",
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Whether to use propagation mode or not.
|
|
71
|
-
*
|
|
72
|
-
* If being configured, interaction functions of the SDK library would
|
|
73
|
-
* perform the propagation mode. The propagation mode means that never
|
|
74
|
-
* throwing exception even when status code is not 200 (or 201), but just
|
|
75
|
-
* returning the {@link IPropagation} typed instance, which can specify its body
|
|
76
|
-
* type through discriminated union determined by status code.
|
|
77
|
-
*
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
|
-
// propagate: true,
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Allow simulation mode.
|
|
84
|
-
*
|
|
85
|
-
* If you configure this property to be `true`, the SDK library would be contain
|
|
86
|
-
* simulation mode. In the simulation mode, the SDK library would not communicate
|
|
87
|
-
* with the real backend server, but just returns random mock-up data
|
|
88
|
-
* with requestion data validation.
|
|
89
|
-
*
|
|
90
|
-
* For reference, random mock-up data would be generated by `typia.random<T>()`
|
|
91
|
-
* function.
|
|
92
|
-
*
|
|
93
|
-
* @default false
|
|
94
|
-
*/
|
|
95
|
-
// simulate: true,
|
|
96
|
-
};
|
|
97
|
-
export default NESTIA_CONFIG;
|
|
1
|
+
import { INestiaConfig } from "@nestia/sdk";
|
|
2
|
+
import { Module } from "@nestjs/common";
|
|
3
|
+
import { NestFactory } from "@nestjs/core";
|
|
4
|
+
|
|
5
|
+
// import { FastifyAdapter } from "@nestjs/platform-fastify";
|
|
6
|
+
|
|
7
|
+
export const NESTIA_CONFIG: INestiaConfig = {
|
|
8
|
+
/**
|
|
9
|
+
* Accessor of controller classes.
|
|
10
|
+
*
|
|
11
|
+
* You can specify it within two ways.
|
|
12
|
+
*
|
|
13
|
+
* - Asynchronous function returning `INestApplication` instance
|
|
14
|
+
* - Specify the path or directory of controller class files
|
|
15
|
+
*/
|
|
16
|
+
// input: "src/controllers",
|
|
17
|
+
// input: "src/**/*.controller.ts",
|
|
18
|
+
input: async () => {
|
|
19
|
+
// change this to your own module
|
|
20
|
+
@Module({
|
|
21
|
+
controllers: [],
|
|
22
|
+
})
|
|
23
|
+
class MyModule {}
|
|
24
|
+
const app = await NestFactory.create(MyModule);
|
|
25
|
+
// const app = await NestFactory.create(YourModule, new FastifyAdapter());
|
|
26
|
+
// app.setGlobalPrefix("api");
|
|
27
|
+
// app.enableVersioning({
|
|
28
|
+
// type: VersioningType.URI,
|
|
29
|
+
// prefix: "v",
|
|
30
|
+
// })
|
|
31
|
+
return app;
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Building `swagger.json` is also possible.
|
|
36
|
+
*
|
|
37
|
+
* If not specified, you can't build the `swagger.json`.
|
|
38
|
+
*/
|
|
39
|
+
swagger: {
|
|
40
|
+
/**
|
|
41
|
+
* Output path of the `swagger.json`.
|
|
42
|
+
*
|
|
43
|
+
* If you've configured only directory, the file name would be the `swagger.json`.
|
|
44
|
+
* Otherwise you've configured the full path with file name and extension, the
|
|
45
|
+
* `swagger.json` file would be renamed to it.
|
|
46
|
+
*/
|
|
47
|
+
output: "dist/swagger.json",
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Output directory that SDK would be placed in.
|
|
52
|
+
*
|
|
53
|
+
* If not configured, you can't build the SDK library.
|
|
54
|
+
*/
|
|
55
|
+
output: "src/api",
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Target directory that SDK distribution files would be placed in.
|
|
59
|
+
*
|
|
60
|
+
* If you configure this property and runs `npx nestia sdk` command,
|
|
61
|
+
* distribution environments for the SDK library would be generated.
|
|
62
|
+
*
|
|
63
|
+
* After the SDK library generation, move to the `distribute` directory,
|
|
64
|
+
* and runs `npm publish` command, then you can share SDK library with
|
|
65
|
+
* other client (frontend) developers.
|
|
66
|
+
*/
|
|
67
|
+
// distribute: "packages/api",
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Whether to use propagation mode or not.
|
|
71
|
+
*
|
|
72
|
+
* If being configured, interaction functions of the SDK library would
|
|
73
|
+
* perform the propagation mode. The propagation mode means that never
|
|
74
|
+
* throwing exception even when status code is not 200 (or 201), but just
|
|
75
|
+
* returning the {@link IPropagation} typed instance, which can specify its body
|
|
76
|
+
* type through discriminated union determined by status code.
|
|
77
|
+
*
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
// propagate: true,
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Allow simulation mode.
|
|
84
|
+
*
|
|
85
|
+
* If you configure this property to be `true`, the SDK library would be contain
|
|
86
|
+
* simulation mode. In the simulation mode, the SDK library would not communicate
|
|
87
|
+
* with the real backend server, but just returns random mock-up data
|
|
88
|
+
* with requestion data validation.
|
|
89
|
+
*
|
|
90
|
+
* For reference, random mock-up data would be generated by `typia.random<T>()`
|
|
91
|
+
* function.
|
|
92
|
+
*
|
|
93
|
+
* @default false
|
|
94
|
+
*/
|
|
95
|
+
// simulate: true,
|
|
96
|
+
};
|
|
97
|
+
export default NESTIA_CONFIG;
|
|
@@ -761,7 +761,7 @@ var NestiaConfigLoader;
|
|
|
761
761
|
}; })()(configurations);
|
|
762
762
|
}
|
|
763
763
|
catch (exp) {
|
|
764
|
-
if ((() => { const _io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true &&
|
|
764
|
+
if ((() => { const _io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack); return input => "object" === typeof input && null !== input && _io0(input); })()(exp))
|
|
765
765
|
exp.message = `invalid "${file}" data.`;
|
|
766
766
|
throw exp;
|
|
767
767
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestiaConfigLoader.js","sourceRoot":"","sources":["../../../src/executable/internal/NestiaConfigLoader.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6GAA0G;AAC1G,4CAAoB;AACpB,gDAAwB;AACxB,qCAAmC;AACnC,uCAAiC;AACjC,4DAA4B;AAC5B,kDAA0B;AAI1B,IAAiB,kBAAkB,CAmElC;AAnED,WAAiB,kBAAkB;IACpB,kCAAe,GAAG,CAC7B,OAAe,EACgB,EAAE;QACjC,MAAM,cAAc,GAAG,oBAAE,CAAC,cAAc,CACtC,OAAO,CAAC,GAAG,EAAE,EACb,oBAAE,CAAC,GAAG,CAAC,UAAU,EACjB,OAAO,CACR,CAAC;QACF,IAAI,CAAC,cAAc;YAAE,MAAM,IAAI,KAAK,CAAC,mBAAmB,OAAO,SAAS,CAAC,CAAC;QAC1E,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAA,gBAAK,EAAC,cAAc,CAAC,CAAC;QACjD,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAChD,MAAM,EAAE,MAAM,EAAE,GAAG,oBAAE,CAAC,yBAAyB,CAC7C,cAAc,EACd,cAAc,CACf,CAAC;QACF,OAAO,oBAAE,CAAC,0BAA0B,CAClC,MAAM,EACN,oBAAE,CAAC,GAAG,EACN,cAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAC7B,CAAC;IACJ,CAAC,CAAA,CAAC;IAEW,iCAAc,GAAG,CAC5B,IAAY,EACZ,eAAoC,EACV,EAAE;;QAC5B,IAAI,YAAE,CAAC,UAAU,CAAC,cAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK;YAC7C,MAAM,IAAI,KAAK,CAAC,m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AAlB,kBAAkB,QAmElC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestia/sdk",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.5-dev.20250904",
|
|
4
4
|
"description": "Nestia SDK and Swagger generator",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://nestia.io",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nestia/core": "^8.0.
|
|
36
|
-
"@nestia/fetcher": "^8.0.
|
|
35
|
+
"@nestia/core": "^8.0.5-dev.20250904",
|
|
36
|
+
"@nestia/fetcher": "^8.0.5-dev.20250904",
|
|
37
37
|
"@samchon/openapi": "^4.5.0",
|
|
38
38
|
"cli": "^1.0.1",
|
|
39
39
|
"get-function-location": "^2.0.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typia": "^9.6.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@nestia/core": ">=8.0.
|
|
50
|
+
"@nestia/core": ">=8.0.5-dev.20250904"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@nestjs/common": "^11.0.13",
|