@nestia/migrate 0.13.1 → 0.13.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/MigrateApplication.d.ts +1 -1
- package/lib/MigrateApplication.js +2488 -1022
- package/lib/MigrateApplication.js.map +1 -1
- package/package.json +78 -79
- package/src/MigrateApplication.ts +5 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateApplication.js","sourceRoot":"","sources":["../src/MigrateApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAA8E;AAC9E,kDAA2C;AAE3C,iEAA8D;AAC9D,2DAAwD;AACxD,yDAAsD;AACtD,6EAA0E;AAC1E,uFAAoF;AACpF,6EAA0E;AAC1E,+EAA4E;AAI5E,MAAa,kBAAkB;IAC7B,YAAoC,QAA2B;QAA3B,aAAQ,GAAR,QAAQ,CAAmB;IAAG,CAAC;IAE5D,MAAM,CAAO,MAAM,CACxB,
|
1
|
+
{"version":3,"file":"MigrateApplication.js","sourceRoot":"","sources":["../src/MigrateApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAA8E;AAC9E,kDAA2C;AAE3C,iEAA8D;AAC9D,2DAAwD;AACxD,yDAAsD;AACtD,6EAA0E;AAC1E,uFAAoF;AACpF,6EAA0E;AAC1E,+EAA4E;AAI5E,MAAa,kBAAkB;IAC7B,YAAoC,QAA2B;QAA3B,aAAQ,GAAR,QAAQ,CAAmB;IAAG,CAAC;IAE5D,MAAM,CAAO,MAAM,CACxB,QAIqB;;YAErB,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;gBACtC,qDAAyB,CAAC,KAAK,CAAC,OAAO,CAAC;gBACxC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,2CAAoB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC1D;oBACE,QAAQ,EAAE,EAAE;oBACZ,IAAI,EAAE,cAAc;oBACpB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;iBAChD;aACF;SACF,CAAC;IACJ,CAAC;CACF;AA7DD,gDA6DC"}
|
package/package.json
CHANGED
@@ -1,79 +1,78 @@
|
|
1
|
-
{
|
2
|
-
"name": "@nestia/migrate",
|
3
|
-
"version": "0.13.
|
4
|
-
"description": "Migration program from swagger to NestJS",
|
5
|
-
"main": "lib/index.js",
|
6
|
-
"typings": "lib/index.d.ts",
|
7
|
-
"bin": {
|
8
|
-
"@nestia/migrate": "lib/executable/migrate.js"
|
9
|
-
},
|
10
|
-
"scripts": {
|
11
|
-
"build": "rimraf lib && tsc",
|
12
|
-
"bundle": "ts-node src/executable/bundle.ts",
|
13
|
-
"dev": "npm run build -- --watch",
|
14
|
-
"package:next": "npm publish --access public --tag next",
|
15
|
-
"prepare": "ts-patch install && typia patch && npm run bundle",
|
16
|
-
"test": "node lib/test"
|
17
|
-
},
|
18
|
-
"repository": {
|
19
|
-
"type": "git",
|
20
|
-
"url": "https://github.com/samchon/nestia"
|
21
|
-
},
|
22
|
-
"keywords": [
|
23
|
-
"migration",
|
24
|
-
"swagger",
|
25
|
-
"NestJS",
|
26
|
-
"nestia",
|
27
|
-
"SDK",
|
28
|
-
"Mockup Simulator"
|
29
|
-
],
|
30
|
-
"author": "Jeongho Nam",
|
31
|
-
"license": "MIT",
|
32
|
-
"bugs": {
|
33
|
-
"url": "https://github.com/samchon/nestia/issues"
|
34
|
-
},
|
35
|
-
"homepage": "https://nestia.io",
|
36
|
-
"devDependencies": {
|
37
|
-
"@nestia/core": "^3.0.1",
|
38
|
-
"@nestia/e2e": "^0.4.3",
|
39
|
-
"@nestia/fetcher": "^3.0.1",
|
40
|
-
"@nestjs/common": "^10.3.5",
|
41
|
-
"@nestjs/core": "^10.3.5",
|
42
|
-
"@nestjs/platform-express": "^10.3.5",
|
43
|
-
"@nestjs/platform-fastify": "^10.3.5",
|
44
|
-
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
45
|
-
"@types/express": "^4.17.21",
|
46
|
-
"@types/inquirer": "^9.0.7",
|
47
|
-
"@types/node": "^20.3.3",
|
48
|
-
"@types/swagger-ui-express": "^4.1.6",
|
49
|
-
"dotenv": "^16.3.1",
|
50
|
-
"dotenv-expand": "^10.0.0",
|
51
|
-
"express": "^4.19.2",
|
52
|
-
"rimraf": "^5.0.1",
|
53
|
-
"serialize-error": "^4.1.0",
|
54
|
-
"source-map-support": "^0.5.21",
|
55
|
-
"swagger-ui-express": "^5.0.0",
|
56
|
-
"ts-node": "^10.9.1",
|
57
|
-
"ts-patch": "^3.1.0",
|
58
|
-
"typescript-transform-paths": "^3.4.6"
|
59
|
-
},
|
60
|
-
"dependencies": {
|
61
|
-
"@samchon/openapi": "^0.1.
|
62
|
-
"commander": "10.0.0",
|
63
|
-
"inquirer": "8.2.5",
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"!
|
74
|
-
"
|
75
|
-
"
|
76
|
-
"
|
77
|
-
|
78
|
-
|
79
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@nestia/migrate",
|
3
|
+
"version": "0.13.3",
|
4
|
+
"description": "Migration program from swagger to NestJS",
|
5
|
+
"main": "lib/index.js",
|
6
|
+
"typings": "lib/index.d.ts",
|
7
|
+
"bin": {
|
8
|
+
"@nestia/migrate": "lib/executable/migrate.js"
|
9
|
+
},
|
10
|
+
"scripts": {
|
11
|
+
"build": "rimraf lib && tsc",
|
12
|
+
"bundle": "ts-node src/executable/bundle.ts",
|
13
|
+
"dev": "npm run build -- --watch",
|
14
|
+
"package:next": "npm publish --access public --tag next",
|
15
|
+
"prepare": "ts-patch install && typia patch && npm run bundle",
|
16
|
+
"test": "node lib/test"
|
17
|
+
},
|
18
|
+
"repository": {
|
19
|
+
"type": "git",
|
20
|
+
"url": "https://github.com/samchon/nestia"
|
21
|
+
},
|
22
|
+
"keywords": [
|
23
|
+
"migration",
|
24
|
+
"swagger",
|
25
|
+
"NestJS",
|
26
|
+
"nestia",
|
27
|
+
"SDK",
|
28
|
+
"Mockup Simulator"
|
29
|
+
],
|
30
|
+
"author": "Jeongho Nam",
|
31
|
+
"license": "MIT",
|
32
|
+
"bugs": {
|
33
|
+
"url": "https://github.com/samchon/nestia/issues"
|
34
|
+
},
|
35
|
+
"homepage": "https://nestia.io",
|
36
|
+
"devDependencies": {
|
37
|
+
"@nestia/core": "^3.0.1",
|
38
|
+
"@nestia/e2e": "^0.4.3",
|
39
|
+
"@nestia/fetcher": "^3.0.1",
|
40
|
+
"@nestjs/common": "^10.3.5",
|
41
|
+
"@nestjs/core": "^10.3.5",
|
42
|
+
"@nestjs/platform-express": "^10.3.5",
|
43
|
+
"@nestjs/platform-fastify": "^10.3.5",
|
44
|
+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
45
|
+
"@types/express": "^4.17.21",
|
46
|
+
"@types/inquirer": "^9.0.7",
|
47
|
+
"@types/node": "^20.3.3",
|
48
|
+
"@types/swagger-ui-express": "^4.1.6",
|
49
|
+
"dotenv": "^16.3.1",
|
50
|
+
"dotenv-expand": "^10.0.0",
|
51
|
+
"express": "^4.19.2",
|
52
|
+
"rimraf": "^5.0.1",
|
53
|
+
"serialize-error": "^4.1.0",
|
54
|
+
"source-map-support": "^0.5.21",
|
55
|
+
"swagger-ui-express": "^5.0.0",
|
56
|
+
"ts-node": "^10.9.1",
|
57
|
+
"ts-patch": "^3.1.0",
|
58
|
+
"typescript-transform-paths": "^3.4.6"
|
59
|
+
},
|
60
|
+
"dependencies": {
|
61
|
+
"@samchon/openapi": "^0.1.7",
|
62
|
+
"commander": "10.0.0",
|
63
|
+
"inquirer": "8.2.5",
|
64
|
+
"prettier": "^3.2.5",
|
65
|
+
"tstl": "^3.0.0",
|
66
|
+
"typescript": "^5.4.3",
|
67
|
+
"typia": "^6.0.1"
|
68
|
+
},
|
69
|
+
"files": [
|
70
|
+
"lib",
|
71
|
+
"src",
|
72
|
+
"!lib/test",
|
73
|
+
"!src/test",
|
74
|
+
"package.json",
|
75
|
+
"README.md",
|
76
|
+
"LICENSE"
|
77
|
+
]
|
78
|
+
}
|
@@ -15,7 +15,11 @@ export class MigrateApplication {
|
|
15
15
|
private constructor(public readonly document: OpenApi.IDocument) {}
|
16
16
|
|
17
17
|
public static async create(
|
18
|
-
document:
|
18
|
+
document:
|
19
|
+
| SwaggerV2.IDocument
|
20
|
+
| OpenApiV3.IDocument
|
21
|
+
| OpenApiV3_1.IDocument
|
22
|
+
| OpenApi.IDocument,
|
19
23
|
): Promise<IValidation<MigrateApplication>> {
|
20
24
|
const result = typia.validate(document);
|
21
25
|
if (result.success === false) return result;
|