@tsed/cli-generate-http-client 6.0.1 → 6.0.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/package.json +4 -4
- package/readme.md +9 -12
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli-generate-http-client",
|
|
3
3
|
"description": "Ts.ED CLI plugin. Export a command that generate an HTTP Client (axios or fetch) from your Ts.ED controllers and OS3 spec.",
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"source": "./src/index.ts",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"tslib": "2.7.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tsed/cli": "6.0.
|
|
29
|
-
"@tsed/cli-core": "6.0.
|
|
30
|
-
"@tsed/typescript": "6.0.
|
|
28
|
+
"@tsed/cli": "6.0.3",
|
|
29
|
+
"@tsed/cli-core": "6.0.3",
|
|
30
|
+
"@tsed/typescript": "6.0.3",
|
|
31
31
|
"cross-env": "7.0.3",
|
|
32
32
|
"swagger-typescript-api": "^13.0.22",
|
|
33
33
|
"typescript": "5.6.2",
|
package/readme.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p style="text-align: center" align="center">
|
|
2
|
-
<a href="https://tsed.
|
|
2
|
+
<a href="https://tsed.dev" target="_blank"><img src="https://tsed.dev/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
@@ -13,18 +13,17 @@
|
|
|
13
13
|
|
|
14
14
|
<br />
|
|
15
15
|
<div align="center">
|
|
16
|
-
<a href="https://tsed.
|
|
16
|
+
<a href="https://tsed.dev/">Website</a>
|
|
17
17
|
<span> • </span>
|
|
18
|
-
<a href="https://tsed.
|
|
18
|
+
<a href="https://tsed.dev/getting-started.html">Getting started</a>
|
|
19
19
|
<span> • </span>
|
|
20
|
-
<a href="https://
|
|
20
|
+
<a href="https://slack.tsed.io">Slack</a>
|
|
21
21
|
<span> • </span>
|
|
22
22
|
<a href="https://twitter.com/TsED_io">Twitter</a>
|
|
23
23
|
</div>
|
|
24
24
|
<hr />
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
|
-
|
|
28
27
|
> Ts.ED CLI plugin. Generate your HttpClient from OpenApiSpec!
|
|
29
28
|
|
|
30
29
|
## Features
|
|
@@ -44,12 +43,12 @@ Then create or edit the `src/bin/index.ts` in your project:
|
|
|
44
43
|
|
|
45
44
|
```typescript
|
|
46
45
|
#!/usr/bin/env node
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
46
|
+
import {CliCore} from "@tsed/cli-core";
|
|
47
|
+
import {GenerateHttpClientCmd} from "@tsed/cli-generate-http-client";
|
|
49
48
|
import configuration from "../config";
|
|
50
|
-
import {
|
|
49
|
+
import {CronCmd} from "./commands/CronCmd";
|
|
51
50
|
import "./db/connections";
|
|
52
|
-
import {
|
|
51
|
+
import {Server} from "../Server";
|
|
53
52
|
|
|
54
53
|
CliCore.bootstrap({
|
|
55
54
|
...configuration,
|
|
@@ -77,18 +76,16 @@ Add a new script your `package.json`:
|
|
|
77
76
|
|
|
78
77
|
## Contributors
|
|
79
78
|
|
|
80
|
-
Please read [contributing guidelines here](https://tsed.
|
|
79
|
+
Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
|
|
81
80
|
|
|
82
81
|
<a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
83
82
|
|
|
84
|
-
|
|
85
83
|
## Backers
|
|
86
84
|
|
|
87
85
|
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
|
|
88
86
|
|
|
89
87
|
<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/tiers/backer.svg?width=890"></a>
|
|
90
88
|
|
|
91
|
-
|
|
92
89
|
## Sponsors
|
|
93
90
|
|
|
94
91
|
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
|