tsoa-next 8.0.4 → 8.0.5
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/README.MD +2 -0
- package/dist/cli-bin.d.ts +2 -0
- package/dist/cli-bin.js +16 -0
- package/dist/cli-bin.js.map +1 -0
- package/package.json +4 -4
package/README.MD
CHANGED
|
@@ -127,6 +127,8 @@ This feature is fully opt-in. If you do not use `@Validate(...)`, existing inter
|
|
|
127
127
|
|
|
128
128
|
Check out the [guides](https://tsoa-next.dev/)
|
|
129
129
|
|
|
130
|
+
Use the companion [playground repository](https://github.com/tsoa-next/playground) for runnable example apps and server-focused scenarios.
|
|
131
|
+
|
|
130
132
|
See example controllers in [the tests](https://github.com/tsoa-next/tsoa-next/tree/main/tests/fixtures/controllers)
|
|
131
133
|
|
|
132
134
|
See example models in [the tests](https://github.com/tsoa-next/tsoa-next/blob/main/tests/fixtures/testModel.ts)
|
package/dist/cli-bin.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const runCLI_1 = require("@tsoa-next/cli/dist/runCLI");
|
|
5
|
+
if (require.main === module) {
|
|
6
|
+
void (async () => {
|
|
7
|
+
try {
|
|
8
|
+
await (0, runCLI_1.runCLI)();
|
|
9
|
+
}
|
|
10
|
+
catch (err) {
|
|
11
|
+
console.error('tsoa cli error:\n', err);
|
|
12
|
+
process.exit(1);
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=cli-bin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-bin.js","sourceRoot":"","sources":["../src/cli-bin.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAEnD,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,KAAK,CAAC,KAAK,IAAI,EAAE;QACf,IAAI,CAAC;YACH,MAAM,IAAA,eAAM,GAAE,CAAA;QAChB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,GAAG,CAAC,CAAA;YACvC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QACjB,CAAC;IACH,CAAC,CAAC,EAAE,CAAA;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsoa-next",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.5",
|
|
4
4
|
"description": "Build swagger-compliant REST APIs using TypeScript and Node",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"tsoa-next-logo-590.png"
|
|
10
10
|
],
|
|
11
11
|
"bin": {
|
|
12
|
-
"tsoa": "dist/cli.js"
|
|
12
|
+
"tsoa": "dist/cli-bin.js"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "npm run tsc",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"author": "Vanna DiCatania <vanna@dicatania.me> (http://www.dicatania.me)",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tsoa-next/cli": "8.0.
|
|
36
|
-
"@tsoa-next/runtime": "8.0.
|
|
35
|
+
"@tsoa-next/cli": "8.0.5",
|
|
36
|
+
"@tsoa-next/runtime": "8.0.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "24.12.0",
|