nestia 5.4.0 → 5.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/bin/index.d.ts +1 -1
- package/bin/index.js +3 -1
- package/bin/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +3 -1
package/bin/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
declare const USAGE = "Wrong command has been detected. Use like below:\n\nnpx nestia [command] [options?]\n\n 1. npx nestia start <directory>\n 2. npx nestia template <directory>\n 3. npx nestia setup\n 4. npx nestia dependencies\n 5. npx nestia init\n 6. npx nestia sdk\n 7. npx nestia swagger\n 8. npx nestia e2e\n";
|
|
2
|
+
declare const USAGE = "Wrong command has been detected. Use like below:\n\nnpx nestia [command] [options?]\n\n 1. npx nestia start <directory>\n 2. npx nestia template <directory>\n 3. npx nestia setup\n 4. npx nestia dependencies\n 5. npx nestia init\n 6. npx nestia sdk\n 7. npx nestia swagger\n 8. npx nestia openai\n 9. npx nestia e2e\n";
|
|
3
3
|
declare function halt(desc: string): never;
|
|
4
4
|
declare function main(): Promise<void>;
|
package/bin/index.js
CHANGED
|
@@ -43,7 +43,8 @@ npx nestia [command] [options?]
|
|
|
43
43
|
5. npx nestia init
|
|
44
44
|
6. npx nestia sdk
|
|
45
45
|
7. npx nestia swagger
|
|
46
|
-
8. npx nestia
|
|
46
|
+
8. npx nestia openai
|
|
47
|
+
9. npx nestia e2e
|
|
47
48
|
`;
|
|
48
49
|
function halt(desc) {
|
|
49
50
|
console.error(desc);
|
|
@@ -73,6 +74,7 @@ function main() {
|
|
|
73
74
|
else if (type === "dependencies" ||
|
|
74
75
|
type === "init" ||
|
|
75
76
|
type === "sdk" ||
|
|
77
|
+
type === "openai" ||
|
|
76
78
|
type === "swagger" ||
|
|
77
79
|
type === "e2e") {
|
|
78
80
|
try {
|
package/bin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAM,KAAK,GAAG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAM,KAAK,GAAG;;;;;;;;;;;;;CAab,CAAC;AAEF,SAAS,IAAI,CAAC,IAAY;IACxB,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACpB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC;AAED,SAAe,IAAI;;QACjB,MAAM,IAAI,GAAuB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACjD,MAAM,IAAI,GAAa,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAE7C,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;YACrB,MAAM,CACJ,wDAAa,iBAAiB,GAAC,CAChC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC3D,CAAC;aAAM,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;YAC/B,MAAM,CACJ,wDAAa,kBAAkB,GAAC,CACjC,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAC5D,CAAC;aAAM,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;YAC5B,IAAI,CAAC;gBACH,wDAAa,cAAc,GAAC,CAAC;gBAC7B,wDAAa,UAAU,GAAC,CAAC;gBACzB,wDAAa,WAAW,GAAC,CAAC;YAC5B,CAAC;YAAC,WAAM,CAAC;gBACP,IAAI,CAAC,8DAA8D,CAAC,CAAC;YACvE,CAAC;YACD,MAAM,CAAC,wDAAa,qBAAqB,GAAC,CAAC,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;QACxE,CAAC;aAAM,IACL,IAAI,KAAK,cAAc;YACvB,IAAI,KAAK,MAAM;YACf,IAAI,KAAK,KAAK;YACd,IAAI,KAAK,QAAQ;YACjB,IAAI,KAAK,SAAS;YAClB,IAAI,KAAK,KAAK,EACd,CAAC;YACD,IAAI,CAAC;gBACH,OAAO,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;YACpD,CAAC;YAAC,WAAM,CAAC;gBACP,IAAI,CACF,oEAAoE,CACrE,CAAC;YACJ,CAAC;YACD,wDAAa,gCAAgC,GAAC,CAAC;QACjD,CAAC;;YAAM,IAAI,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;CAAA;AACD,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACnB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACzB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nestia",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Nestia CLI tool",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"inquirer": "^8.2.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@nestia/core": "^3.
|
|
40
|
-
"@nestia/sdk": "^3.
|
|
39
|
+
"@nestia/core": "^3.8.0",
|
|
40
|
+
"@nestia/sdk": "^3.8.0",
|
|
41
41
|
"@types/inquirer": "^9.0.3",
|
|
42
42
|
"@types/node": "^18.11.16",
|
|
43
43
|
"rimraf": "^3.0.2",
|
|
44
|
-
"typescript": "^5.5.
|
|
44
|
+
"typescript": "^5.5.3"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"bin",
|
package/src/index.ts
CHANGED
|
@@ -10,7 +10,8 @@ npx nestia [command] [options?]
|
|
|
10
10
|
5. npx nestia init
|
|
11
11
|
6. npx nestia sdk
|
|
12
12
|
7. npx nestia swagger
|
|
13
|
-
8. npx nestia
|
|
13
|
+
8. npx nestia openai
|
|
14
|
+
9. npx nestia e2e
|
|
14
15
|
`;
|
|
15
16
|
|
|
16
17
|
function halt(desc: string): never {
|
|
@@ -43,6 +44,7 @@ async function main(): Promise<void> {
|
|
|
43
44
|
type === "dependencies" ||
|
|
44
45
|
type === "init" ||
|
|
45
46
|
type === "sdk" ||
|
|
47
|
+
type === "openai" ||
|
|
46
48
|
type === "swagger" ||
|
|
47
49
|
type === "e2e"
|
|
48
50
|
) {
|